Rizline:AssetList: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 2: | Line 2: | ||
== 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| |
Revision as of 11:31, 2 December 2024
Default.asset
is a YAML asset file that contains information about Rizline's songs, illustrations, layouts, and other data.
File structure
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 song, 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. Always 0.discName
(string) - Full name of the disc that the level is in. EitherDisc 1
,Disc 2
orDisc EX
.
-
(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 song, in the format ofillustration.NoSpacesTitle.NoSpacesArtist.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.
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.
discNames
(array) - List of all discs.-
(string)
- Full name of a disc (for example
Disc 1
.
-
(string)
- Full name of a disc (for example
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
- (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.