Rizline:AssetList: Difference between revisions

No edit summary
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>Default.asset</code> is a YAML asset file that contains information about ''[[Rizline]]''<nowiki>'</nowiki>s songs, illustrations, layouts, and other data.
'''AssetList''' (also known as <code>Default.asset</code>) is a YAML asset file that contains information about ''[[Rizline]]''<nowiki>'</nowiki>s [[Rizline:songs|songs]], [[Rizline:illustrations|illustrations]], [[Rizline:Rizcard Layout|layouts]], and other data.


== File Structure ==
== File structure ==
 
This is the file structure of the <code>Default.asset</code> file as of [[Rizline:Rizline 1.2.6|Rizline 1.2.6]]. This structure might be different in older or newer versions of the game.


{{DataStructure|
{{DataStructure|
Line 10: Line 12:
         {{DataStructureField|id|string|Named ID of the level, in the format of <code>NoSpacesTitle.NoSpacesArtist.0</code> (for example <code>PastelLines.RekuMochizuki.0</code>).}}
         {{DataStructureField|id|string|Named ID of the level, in the format of <code>NoSpacesTitle.NoSpacesArtist.0</code> (for example <code>PastelLines.RekuMochizuki.0</code>).}}
         {{DataStructureField|musicId|string|Named ID of the song, in the format of <code>NoSpacesTitle.NoSpacesArtist.0</code> (for example <code>PastelLines.RekuMochizuki.0</code>). Usually the same as <code>id</code>.}}
         {{DataStructureField|musicId|string|Named ID of the song, in the format of <code>NoSpacesTitle.NoSpacesArtist.0</code> (for example <code>PastelLines.RekuMochizuki.0</code>). Usually the same as <code>id</code>.}}
         {{DataStructureField|illustrationId|string|Named ID of the song, in the format of <code>illustration.NoSpacesTitle.NoSpacesArtist.0</code> (for example <code>illustration.PastelLines.RekuMochizuki.0</code>). Usually the same as <code>id</code>, but with <code>illustration.</code> at the beginning.}}
         {{DataStructureField|illustrationId|string|Named ID of the [[Rizline:illustration|illustration]], in the format of <code>illustration.NoSpacesTitle.NoSpacesArtist.0</code> (for example <code>illustration.PastelLines.RekuMochizuki.0</code>). Usually the same as <code>id</code>, but with <code>illustration.</code> at the beginning.}}
         {{DataStructureField|chartIds|array|List of charts in the song. Usually, this list has 3 entries.|
         {{DataStructureField|chartIds|array|List of charts in the song. Usually, this list has 3 entries.|
           {{DataStructureField||string|Named ID of the chart, in the format of <code>chart.NoSpacesTitle.NoSpacesArtist.0.DIFF</code> (for example <code>chart.PastelLines.RekuMochizuki.0.EZ</code>). Usually the same as <code>id</code>, but with <code>chart.</code> at the beginning, and either <code>.EZ</code>, <code>.HD</code>, <code>.IN</code>, or <code>.AT</code> at the end.}}
           {{DataStructureField||string|Named ID of the chart, in the format of <code>chart.NoSpacesTitle.NoSpacesArtist.0.DIFF</code> (for example <code>chart.PastelLines.RekuMochizuki.0.EZ</code>). Usually the same as <code>id</code>, but with <code>chart.</code> at the beginning, and either <code>.EZ</code>, <code>.HD</code>, <code>.IN</code>, or <code>.AT</code> at the end.}}
         }}
         }}
         {{DataStructureField|appearType|int|Unknown. Always 0. {{verify|Has this changed?}}}}
         {{DataStructureField|appearType|int|Unknown. Always <code>0</code>.}}
         {{DataStructureField|discName|string|Full name of the disc that the level is in. Either <code>Disc 1</code> or <code>Disc EX</code>. {{verify|What about Disc 2?}}}}
         {{DataStructureField|discName|string|Full name of the disc that the level is in. Either <code>Disc 1</code>, <code>Disc 2</code> or <code>Disc EX</code>.}}
        {{DataStructureField|isNewLevel|int|Set to <code>1</code> if the level has a small "new" text on the [[Rizline:Song Select screen|Song Select screen]]. <code>0</code> otherwise.}}
       }}
       }}
     }}
     }}
Line 25: Line 28:
         {{DataStructureField|previewStartTime|float|Beginning time of preview audio, in seconds (for example <code>51.8</code>).}}
         {{DataStructureField|previewStartTime|float|Beginning time of preview audio, in seconds (for example <code>51.8</code>).}}
         {{DataStructureField|previewOverTime|float|End time of preview audio, in seconds (for example <code>71.8</code>). Usually is <code>previewStartTime</code> + 20.}}
         {{DataStructureField|previewOverTime|float|End time of preview audio, in seconds (for example <code>71.8</code>). Usually is <code>previewStartTime</code> + 20.}}
         {{DataStructureField|themeBackgroundColor|object|Background color of the song {{verify|Where is this color used?}} (for example <code>(1, 1, 1, 1)</code>). See [[#Color object format]] for details.}}
         {{DataStructureField|themeBackgroundColor|color object|Background color of the song {{verify|Where is this color used?}} (for example <code>(1, 1, 1, 1)</code>). See [[#Color object format]] for details.}}
         {{DataStructureField|themeUiColor|object|Accent color of the song {{verify|Where is this color used?}} (for example <code>(0.4509804, 0.63529414, 0.88235295, 1)</code>). See [[#Color object format]] for details.}}
         {{DataStructureField|themeUiColor|color object|Accent color of the song {{verify|Where is this color used?}} (for example <code>(0.4509804, 0.63529414, 0.88235295, 1)</code>). See [[#Color object format]] for details.}}
       }}
       }}
     }}
     }}
     {{DataStructureField|illustrations|array|List of all illustrations.|
     {{DataStructureField|illustrations|array|List of all [[Rizline:illustrations|illustrations]].|
       {{DataStructureField||object|An illustration.|
       {{DataStructureField||object|An illustration.|
         {{DataStructureField|id|string|Named ID of the song, in the format of <code>illustration.NoSpacesTitle.NoSpacesArtist.0</code> (for example <code>illustration.PastelLines.RekuMochizuki.0</code>). Usually the same as a level's <code>id</code> field, but with <code>illustration.</code> at the beginning. This field is most likely referenced by the level's <code>illustrationId</code> field.}}
         {{DataStructureField|id|string|Named ID of the [[Rizline:illustration|illustration]], in the format of <code>illustration.NoSpacesSongTitle.NoSpacesSongArtist.0</code> (for example <code>illustration.PastelLines.RekuMochizuki.0</code>). Usually the same as a level's <code>id</code> field, but with <code>illustration.</code> at the beginning. This field is most likely referenced by the level's <code>illustrationId</code> field.}}
        {{DataStructureField|artist|string|Artist of the illustration (for example <code>山山奇</code>).}}
      }}
    }}
    {{DataStructureField|altIllustrationInfos|array|List of all [[Rizline:alt illustration|alt illustration]]s.|
      {{DataStructureField||object|An alt illustration.|
        {{DataStructureField|id|string|Named ID of the [[Rizline:alt illustration|alt illustration]], in the format <code>altIllustration.IllustrationName.0</code>, where <code>IllustrationName</code> is either the song ID (for example <code>altIllustration.MilK.morimoriatsushi.0.0</code>), or just a unique illustration name (for example <code>altIllustration.MuseDashCollab.0</code>).}}
         {{DataStructureField|artist|string|Artist of the illustration (for example <code>山山奇</code>).}}
         {{DataStructureField|artist|string|Artist of the illustration (for example <code>山山奇</code>).}}
        {{DataStructureField|name|string|Either the song name (for example <code>MilK</code>), or a separate illustration name (for example <code>Muse Dash</code>).}}
       }}
       }}
     }}
     }}
Line 46: Line 56:
       {{DataStructureField||object|A difficulty.|
       {{DataStructureField||object|A difficulty.|
         {{DataStructureField|difficultyName|string|Name of the difficulty (for example <code>EZ</code>). This field is most likely referenced by the chart's <code>level</code> field.}}
         {{DataStructureField|difficultyName|string|Name of the difficulty (for example <code>EZ</code>). This field is most likely referenced by the chart's <code>level</code> field.}}
         {{DataStructureField|color|object|Color of the difficulty (for example <code>(0.34117648, 0.8941177, 0.7686275, 1)</code>). See [[#Color object format]] for details.}}
         {{DataStructureField|color|color object|Color of the difficulty (for example <code>(0.34117648, 0.8941177, 0.7686275, 1)</code>). See [[#Color object format]] for details.}}
       }}
       }}
     }}
     }}
Line 52: Line 62:
       {{DataStructureField||object|A layout.|
       {{DataStructureField||object|A layout.|
         {{DataStructureField|id|string|Named ID of the layout, in the format of <code>layout.XXXXX</code> where <code>XXXXX</code> is a five-digit number (for example <code>layout.00001</code>).}}
         {{DataStructureField|id|string|Named ID of the layout, in the format of <code>layout.XXXXX</code> where <code>XXXXX</code> is a five-digit number (for example <code>layout.00001</code>).}}
         {{DataStructureField|bgColor1|object|First background color of the layout {{verify|Where is this color used?}} (for example <code>(0.49803922, 0.83137256, 1, 1)</code>). See [[#Color object format]] for details.}}
         {{DataStructureField|bgColor1|color object|First background color of the layout {{verify|Where is this color used?}} (for example <code>(0.49803922, 0.83137256, 1, 1)</code>). See [[#Color object format]] for details.}}
         {{DataStructureField|bgColor2|object|Second background color of the layout {{verify|Where is this color used?}} (for example <code>(0.49803922, 0.83137256, 1, 1)</code>). See [[#Color object format]] for details.}}
         {{DataStructureField|bgColor2|color object|Second background color of the layout {{verify|Where is this color used?}} (for example <code>(0.49803922, 0.83137256, 1, 1)</code>). See [[#Color object format]] for details.}}
         {{DataStructureField|fgColor|object|Foreground color of the layout {{verify|Where is this color used?}} (for example <code>(1, 1, 1, 1)</code>). See [[#Color object format]] for details.}}
         {{DataStructureField|fgColor|color object|Foreground color of the layout {{verify|Where is this color used?}} (for example <code>(1, 1, 1, 1)</code>). See [[#Color object format]] for details.}}
       }}
       }}
     }}
     }}
     {{DataStructureField|discNames|array|List of all discs.|
     {{DataStructureField|discs|array|List of all [[Rizline:discs|discs]].|
       {{DataStructureField||string|Full name of a disc (for example <code>Disc 1</code>.}}
       {{DataStructureField||object|A disc.|
        {{DataStructureField|name|string|Full name of a disc (for example <code>Disc 1</code>.}}
        {{DataStructureField|requiredProduct|int|ID of the required product to access the disc. Set to <code>10019</code> for [[Rizline:Disc 2|Disc 2]], and set to <code>-1</code> (no product required) for all other discs.}}
      }}
     }}
     }}
     {{DataStructureField|specialLevels|array|List of special levels.|
     {{DataStructureField|specialLevels|array|List of special levels.|
Line 79: Line 92:
   {{DataStructureField|a|float|Alpha value of the color, from 0 (fully transparent) to 1 (fully opaque). Usually 1.}}
   {{DataStructureField|a|float|Alpha value of the color, from 0 (fully transparent) to 1 (fully opaque). Usually 1.}}
}}
}}
== Navigation ==
{{RizlineGameNavBox}}


[[Category:Rizline Asset Bundle]]
[[Category:Rizline Asset Bundle]]