Rizline:AssetList: Difference between revisions

Created page with "`Default.asset` is a YAML asset file that contains information about ''Rizline''<nowiki>'</nowiki>s songs, illustrations, layouts, and other data. == File Structure == {{DataStructure| {{DataStructureField|MonoBehaviour|object|| <li>(Unity data: m_*)</li> {{DataStructureField|levels|array|List of all levels.| {{DataStructureField||object|A level.| {{DataStructureField|id|string|Named ID of the level, in the format of <code>NoSpacesTitle.NoSp..."
 
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
`Default.asset` 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|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|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 [[Rizline:illustrations|illustrations]].|
      {{DataStructureField||object|An illustration.|
        {{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|name|string|Either the song name (for example <code>MilK</code>), or a separate illustration name (for example <code>Muse Dash</code>).}}
       }}
       }}
     }}
     }}
    {{DataStructureField|charts|array|List of all charts.|
      {{DataStructureField||object|A chart.|
        {{DataStructureField|id|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 a level's <code>id</code> field, 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. This field is most likely referenced by an element in the level's <code>chartIds</code> field.}}
        {{DataStructureField|level|string|Difficulty name of the chart. Either <code>EZ</code>, <code>HD</code>, <code>IN</code>, or <code>AT</code>.}}
        {{DataStructureField|difficulty|float|Difficulty number of the chart, from 1 (easiest) to 15 (hardest). Numbers with <code>+</code> are represented as number + 0.5 (for example <code>12.5</code> is displayed as <code>12+</code>).}}
        {{DataStructureField|designer|string|Name of the charter (for example <code>NerSAN</code>).}}
      }}
    }}
    {{DataStructureField|difficultyColors|array|List of all difficulties.|
      {{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|color|color object|Color of the difficulty (for example <code>(0.34117648, 0.8941177, 0.7686275, 1)</code>). See [[#Color object format]] for details.}}
      }}
    }}
    {{DataStructureField|layoutColors|array|List of all usable [[Rizline:Rizcard Layout|Rizcard Layouts]].|
      {{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|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|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|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|discs|array|List of all [[Rizline:discs|discs]].|
      {{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||object|A special level.|
        {{DataStructureField|discName|string|Full name of a disc (for example <code>Disc 1</code>).}}
        {{DataStructureField|musicIndex|int|Song index (for example <code>36</code>).}}
        {{DataStructureField|processerPrefab|file reference|Unknown (for example <code>{fileID: 114340900683893326, guid: bbaaa5183855bb14b8500e1d1ee7ffc8, type: 2}</code>).}}
      }}
    }}
    {{DataStructureField|staticCardsInfoAsset|file reference|Reference to the [[Rizline:StaticCardsInfoAsset.asset|StaticCardsInfoAsset.asset]] file (for example <code>{fileID: 11400000, guid: 1f34e5b2e8694344d88ef886a2bf5e49, type: 2}</code>).}}
   }}
   }}
}}
}}
=== Color object format ===
{{DataStructure|
  {{DataStructureField|r|float|Red value of the color, from 0 (no red) to 1 (fully red).}}
  {{DataStructureField|g|float|Green value of the color, from 0 (no green) to 1 (fully green).}}
  {{DataStructureField|b|float|Blue value of the color, from 0 (no blue) to 1 (fully blue).}}
  {{DataStructureField|a|float|Alpha value of the color, from 0 (fully transparent) to 1 (fully opaque). Usually 1.}}
}}
== Navigation ==
{{RizlineGameNavBox}}
[[Category:Rizline Asset Bundle]]