LocalStorage - cwtickle/danoniplus-docs GitHub Wiki
English | Japanese
| < Colored objects specification | Local storage specification | Audio Specification > |
Local storage specification
- This is the data storage specification for local storage used by Dancing☆Onigiri (CW Edition). Data is stored by domain and is not shared across domains.
Locale / Common
- Key:
danoni-locale
.
Key | Example configurations | Description |
---|---|---|
locale | Ja | language(Ja: Japanese, En: English) |
safeMode | OFF | Safe mode (ON to not use local storage information when reading) |
Localstorage by works
- Key: work URL (http://...)
- The URL parameter
scoreId
is ignored. - Other URL parameters are considered part of the URL and are distinguished.
- The URL parameter
- Value
- Custom key types here refer to the keys listed in "keyExtraList" defined on the score side.
Definition of custom key types (g_presetObj.keysData) in the common settings file are not included.
- Custom key types here refer to the keys listed in "keyExtraList" defined on the score side.
Key | Example configurations | Description |
---|---|---|
adjustment | 0 | Default adjustment by works |
volume | 75 | Initial value of volume by works |
highscores | 7k-Normal:{ii:700, shakin:20, matari:3, ...}11k-Hard:{ii:1100, shakin:15, matari:2, ...} | Stores high score information by chart and by number of judgments. Since the distinction is made by key types + chart name (+ creator's name ), it is necessary to decide the chart name so that duplication does not occur in this combination. Only if makerView=true |
reverseX | ON | Initial value of Reverse in custom key type |
keyCtrlX | 37, 40, (38,0), 39, 83, 68, 70, 32, 74, 75, 76 | Initial value of key config in custom key type |
keyCtrlPtnX | 0 | Default key configuration pattern in custom key type |
colorX | [3, 3, 3, 3, 0, 1, 0, 2, 0, 1, 0] | Array for specifying color group numbers for each lane in custom key type |
shuffleX | [0, 0, 0, 0, 1, 1, 1, 2, 3, 3, 3] | Array for specifying shuffle group numbers for each lane in custom key type |
setColorX | ["#ffffff", "#ccccff", "#99ccff", "#ffccff", "#ffcccc"] | Arrow color code per color number in custom key type |
setShadowColorX | ["#66666660", "#6666ff60", "#3366cc60", "#99339960", "#99333360"] | Arrow color code per color number (shadow arrow) in custom key type |
frzColorX | [ ["#cccccc","#999999","#cccc33","#999933"], ["#ff66e3","#0011ff","#cccc33","#999933"], ["#66ffff","#6600ff","#cccc33","#999933"], ["#cc99cc","#ff99ff","#cccc33","#999933"], ["#ff6666","#ff9999","#cccc33","#999933"]] | Freeze-arrow color code for each color number (body and band for normal, body and band for hit) in custom key type |
frzShadowColorX | ー | Freeze-arrow color code for each color number (shadow arrow) in custom key type *currently unused |
appearance | Visible | Initial value of Appearance |
opacity | 100 | Initial value of Opacity |
hitPosition | 0 | Initial value of hitPosition |
colorType | Default | Initial value of ColorType |
highscores details
- Key: "number of keys (in alternate key mode) - chart name - assist information - Mirror availability - creator name*". *Creator name only if makerView is specified.
Key | Example configurations | Description |
---|---|---|
ii | 700 | Number of Perfect judgments in the high score |
shakin | 20 | Number of Great judgments in the high score |
matari | 3 | Number of Good judgments in the high score |
shobon | 0 | Number of Bad judgments in the high score |
uwan | 0 | Number of Miss judgments in the high score |
kita | 70 | Number of O.K. judgments in the high score |
iknai | 3 | Number of N.G. judgments in the high score |
maxCombo | 200 | Max combos of Arrows in the high score |
fmaxCombo | 50 | Max combos of Freeze Arrows in the high score |
score | 947000 | High score |
rankMark | AAA | Rank in the high score |
rankColor | #ff6666 | Rank color in the high score |
fast | 30 | Number of fast judgments in the high score |
slow | 22 | Number of slow judgments in the high score |
adj | 0.7 | Estimated adjustment timing in the high score |
excessive | --- |
Number of excessive judgments in the high score |
dateTime | 2024/5/1 14:30:00 | High score update date and time |
playStyle | 3.5x, Brake | Configuration options in the high score (for CopyResult) |
fullCombo | true | Full combo lamp |
perfect | Prefect lamp | |
allPerfect | All Perfect lamp | |
clearLamps | Normal, Hard | Clear lamps list |
(Custom variables) | Custom variable values at high score (variables set in g_presetObj.resultVals)* Only variables specified in resultValsView can be displayed on screen |
Localstorage by key types (excluding key types specified in "keyExtraList" defined on chart side)
- Key: danonicw-Nk (N is the number of keys)
- Value:
Key | Example configurations | Description |
---|---|---|
reverse | ON | Initial value of Reverse |
keyCtrl | 37, 40, (38,0), 39, 83, 68, 70, 32, 74, 75, 76 | Initial value of key config |
keyCtrlPtn | 0 | Default key configuration pattern |
color | [3, 3, 3, 3, 0, 1, 0, 2, 0, 1, 0] | Array for specifying color group numbers for each lane |
shuffle | [0, 0, 0, 0, 1, 1, 1, 2, 3, 3, 3] | Array for specifying shuffle group numbers for each lane |
setColor | ["#ffffff", "#ccccff", "#99ccff", "#ffccff", "#ffcccc"] | Arrow color code per color number |
setShadowColor | ["#66666660", "#6666ff60", "#3366cc60", "#99339960", "#99333360"] | Arrow color code per color number (shadow arrow) |
frzColor | [ ["#cccccc","#999999","#cccc33","#999933"], ["#ff66e3","#0011ff","#cccc33","#999933"], ["#66ffff","#6600ff","#cccc33","#999933"], ["#cc99cc","#ff99ff","#cccc33","#999933"], ["#ff6666","#ff9999","#cccc33","#999933"]] | Freeze-arrow color code for each color number (body and band for normal, body and band for hit) |
frzShadowColor | ー | Freeze-arrow color code for each color number (shadow arrow) |
Changelog
Version | Change details |
---|---|
v39.6.0 | - Added safe mode to locale (common) settings. |
v36.2.0 | - Added Fast/Slow, rank, etc. information to highscores. |
v31.5.0 | - Added a key type and Mirror enable/disable setting for another key mode to the highscores management keys. |
v31.0.0 | - Automatic saving of HitPosition to local storage by work is implemented. |
v28.2.1 | - Stop saving Display settings from local storage by work. |
v28.1.0 | - Added ability to save sets of arrow and freeze-arrow colors to local storage by key types |
v24.0.0 | - Add locale setting |
v18.3.0 | - Automatic saving of ColorType to local storage by work is implemented. |
v18.1.0 | - Automatic saving of Display settings, Appearance, and Opacity to local storage by work is implemented. |
v8.7.0 | - Changed to remove "scoreId" from local storage key by work |
v6.6.0 | - Reverse and key config save functions for special keys (keys specified in keyExtraList) are implemented. |
v4.6.0 | - Reverse and automatic saving of key configurations to local storage by key types is implemented. |
v4.3.0 | - Automatic saving of score and judgment information at the time of high score to local storage by work is implemented. |
v4.1.0 | - Implemented a function to automatically save Adjustment, Volume to local storage by work (first time implemented). |
| < Colored objects specification | Local storage specification | Audio Specification > |