Rizline:AssetList: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(5 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 [[Rizline:songs|songs]], [[Rizline:illustrations|illustrations]], [[Rizline:Rizcard Layout|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 == | ||
Line 12: | 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 | {{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.}} | ||
Line 34: | Line 34: | ||
{{DataStructureField|illustrations|array|List of all [[Rizline:illustrations|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 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|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|artist|string|Artist of the illustration (for example <code>山山奇</code>).}} | ||
}} | }} | ||
Line 40: | Line 40: | ||
{{DataStructureField|altIllustrationInfos|array|List of all [[Rizline:alt illustration|alt illustration]]s.| | {{DataStructureField|altIllustrationInfos|array|List of all [[Rizline:alt illustration|alt illustration]]s.| | ||
{{DataStructureField||object|An alt illustration.| | {{DataStructureField||object|An alt illustration.| | ||
{{DataStructureField|id|string|Named ID of the 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|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>).}} | {{DataStructureField|name|string|Either the song name (for example <code>MilK</code>), or a separate illustration name (for example <code>Muse Dash</code>).}} | ||
Line 92: | 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]] |
Latest revision as of 11:03, 17 March 2025
AssetList (also known as Default.asset
) is a YAML asset file that contains information about Rizline's songs, illustrations, layouts, and other data.
File structure
[edit | edit source]This is the file structure of the Default.asset
file as of Rizline 1.2.6. This structure might be different in older or newer versions of the game.
- (root)
MonoBehaviour
(object)- (Unity data: m_*)
levels
(array) - List of all levels.-
(object)
- A level.
id
(string) - Named ID of the level, in the format ofNoSpacesTitle.NoSpacesArtist.0
(for examplePastelLines.RekuMochizuki.0
).musicId
(string) - Named ID of the song, in the format ofNoSpacesTitle.NoSpacesArtist.0
(for examplePastelLines.RekuMochizuki.0
). Usually the same asid
.illustrationId
(string) - Named ID of the illustration, in the format ofillustration.NoSpacesTitle.NoSpacesArtist.0
(for exampleillustration.PastelLines.RekuMochizuki.0
). Usually the same asid
, but withillustration.
at the beginning.chartIds
(array) - List of charts in the song. Usually, this list has 3 entries.-
(string)
- Named ID of the chart, in the format of
chart.NoSpacesTitle.NoSpacesArtist.0.DIFF
(for examplechart.PastelLines.RekuMochizuki.0.EZ
). Usually the same asid
, but withchart.
at the beginning, and either.EZ
,.HD
,.IN
, or.AT
at the end.
-
(string)
- Named ID of the chart, in the format of
appearType
(int) - Unknown. Always0
.discName
(string) - Full name of the disc that the level is in. EitherDisc 1
,Disc 2
orDisc EX
.isNewLevel
(int) - Set to1
if the level has a small "new" text on the Song Select screen.0
otherwise.
-
(object)
- A level.
musics
(array) - List of all songs (music).-
(object)
- A song.
id
(string) - Named ID of the song, in the format ofNoSpacesTitle.NoSpacesArtist.0
(for examplePastelLines.RekuMochizuki.0
). Usually the same as a level'sid
field. This field is most likely referenced by the level'smusicId
field.musicName
(string) - Title of the song (for examplePastel Lines
).artist
(string) - Artist of the song (for exampleReku Mochizuki
).previewStartTime
(float) - Beginning time of preview audio, in seconds (for example51.8
).previewOverTime
(float) - End time of preview audio, in seconds (for example71.8
). Usually ispreviewStartTime
+ 20.themeBackgroundColor
(color object) - Background color of the song [verify] (for example(1, 1, 1, 1)
). See #Color object format for details.themeUiColor
(color object) - Accent color of the song [verify] (for example(0.4509804, 0.63529414, 0.88235295, 1)
). See #Color object format for details.
-
(object)
- A song.
illustrations
(array) - List of all illustrations.-
(object)
- An illustration.
id
(string) - Named ID of the illustration, in the format ofillustration.NoSpacesSongTitle.NoSpacesSongArtist.0
(for exampleillustration.PastelLines.RekuMochizuki.0
). Usually the same as a level'sid
field, but withillustration.
at the beginning. This field is most likely referenced by the level'sillustrationId
field.artist
(string) - Artist of the illustration (for example山山奇
).
-
(object)
- An illustration.
altIllustrationInfos
(array) - List of all alt illustrations.-
(object)
- An alt illustration.
id
(string) - Named ID of the alt illustration, in the formataltIllustration.IllustrationName.0
, whereIllustrationName
is either the song ID (for examplealtIllustration.MilK.morimoriatsushi.0.0
), or just a unique illustration name (for examplealtIllustration.MuseDashCollab.0
).artist
(string) - Artist of the illustration (for example山山奇
).name
(string) - Either the song name (for exampleMilK
), or a separate illustration name (for exampleMuse Dash
).
-
(object)
- An alt illustration.
charts
(array) - List of all charts.-
(object)
- A chart.
id
(string) - Named ID of the chart, in the format ofchart.NoSpacesTitle.NoSpacesArtist.0.DIFF
(for examplechart.PastelLines.RekuMochizuki.0.EZ
). Usually the same as a level'sid
field, but withchart.
at the beginning, and either.EZ
,.HD
,.IN
, or.AT
at the end. This field is most likely referenced by an element in the level'schartIds
field.level
(string) - Difficulty name of the chart. EitherEZ
,HD
,IN
, orAT
.difficulty
(float) - Difficulty number of the chart, from 1 (easiest) to 15 (hardest). Numbers with+
are represented as number + 0.5 (for example12.5
is displayed as12+
).designer
(string) - Name of the charter (for exampleNerSAN
).
-
(object)
- A chart.
difficultyColors
(array) - List of all difficulties.-
(object)
- A difficulty.
difficultyName
(string) - Name of the difficulty (for exampleEZ
). This field is most likely referenced by the chart'slevel
field.color
(color object) - Color of the difficulty (for example(0.34117648, 0.8941177, 0.7686275, 1)
). See #Color object format for details.
-
(object)
- A difficulty.
layoutColors
(array) - List of all usable Rizcard Layouts.-
(object)
- A layout.
id
(string) - Named ID of the layout, in the format oflayout.XXXXX
whereXXXXX
is a five-digit number (for examplelayout.00001
).bgColor1
(color object) - First background color of the layout [verify] (for example(0.49803922, 0.83137256, 1, 1)
). See #Color object format for details.bgColor2
(color object) - Second background color of the layout [verify] (for example(0.49803922, 0.83137256, 1, 1)
). See #Color object format for details.fgColor
(color object) - Foreground color of the layout [verify] (for example(1, 1, 1, 1)
). See #Color object format for details.
-
(object)
- A layout.
discs
(array) - List of all discs.-
(object)
- A disc.
name
(string) - Full name of a disc (for exampleDisc 1
.requiredProduct
(int) - ID of the required product to access the disc. Set to10019
for Disc 2, and set to-1
(no product required) for all other discs.
-
(object)
- A disc.
specialLevels
(array) - List of special levels.-
(object)
- A special level.
discName
(string) - Full name of a disc (for exampleDisc 1
).musicIndex
(int) - Song index (for example36
).processerPrefab
(file reference) - Unknown (for example{fileID: 114340900683893326, guid: bbaaa5183855bb14b8500e1d1ee7ffc8, type: 2}
).
-
(object)
- A special level.
staticCardsInfoAsset
(file reference) - Reference to the StaticCardsInfoAsset.asset file (for example{fileID: 11400000, guid: 1f34e5b2e8694344d88ef886a2bf5e49, type: 2}
).
Color object format
[edit | edit source]- (root)
r
(float) - Red value of the color, from 0 (no red) to 1 (fully red).g
(float) - Green value of the color, from 0 (no green) to 1 (fully green).b
(float) - Blue value of the color, from 0 (no blue) to 1 (fully blue).a
(float) - Alpha value of the color, from 0 (fully transparent) to 1 (fully opaque). Usually 1.
Navigation
[edit | edit source]
![]() | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||
|