dos s0002 customFile - cwtickle/danoniplus-docs GitHub Wiki
English | Japanese
^ Return to Common setting file specification
< Maker credits and basic settings | Custom file settings | Gauge settings >
Custom file settings
g_presetObj.skinType - Default skin
-> Priority chart settings if specified : skinType
- You can set one default skin. If a chart settings is specified, it will be overwritten. The method of specifying the current directory, etc. is the same as that of the chart settings.
g_presetObj.skinType = `light`;
g_presetObj.bgCanvasUse - Setting whether to use Canvas data as background for default skin
-> Priority chart settings if specified : bgCanvasUse
- Sets whether or not to use the Canvas data as background when there is a Canvas tag for the main div (canvas-frame) of DanOni in the default skin. See the page of the same name in the chart settings for details.
g_presetObj.bgCanvasUse = false;
g_presetObj.customJs - Default custom JS files
-> Priority chart settings if specified : customJs
- Multiple default custom JS files can be set up, separated by commas. If a chart settings is specified, it will be overwritten. The method of specifying the current directory, etc. is the same as that of the chart settings.
g_presetObj.customJs = `mainCustom.js,groupCustom.js`;
g_presetObj.customCss - Default custom CSS files
-> Priority chart settings if specified : customCss
- Multiple default custom CSS files can be set up, separated by commas. If a chart settings is specified, it will be overwritten. The method of specifying the current directory, etc. is the same as that of the chart settings.
g_presetObj.customCss = `danoni_custom.css`;
g_presetObj.syncBackPath - Setting the base directory for image paths used in background and mask motion
-> Priority chart settings if specified : syncBackPath
- The method of specifying the image path to be used for background/mask motion. This is a setting to match the current directory specification, such as customjs or skinType. Enable with
true
.
g_presetObj.syncBackPath = true;
Changelog
Version | Change details |
---|---|
v33.3.0 | - Added Canvas enable setting (g_presetObj.bgCanvasUse) for default skin |
v26.3.1 | << Variable name change >> - g_presetSkinType -> g_presetObj.skinType - g_presetCustomJs -> g_presetObj.customJs - g_presetCustomCss -> g_presetObj.customCss |
v25.4.0 | - Added reference directory setting (g_presetSyncBackPath) for image paths used in background and mask motion |
v25.3.0 | - Implemented default custom Css files setting (g_presetCustomCss) |
v19.3.0 | - Implemented default skin/custom Js settings (g_presetSkinType, g_presetCustomJs) |
< Maker credits and basic settings | Custom file settings | Gauge settings >