Editing
Rizline:Chart file
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
''[[Rizline:Rizline|Rizline]]'' chart files use the [[Wikipedia:JSON|JSON]] file format. A chart file contains information about colors, lines, notes, challenge time, BPM and other information. == JSON structure == {{DataStructure| {{DataStructureField|fileVersion|int|File format version. This is usually 0, but in some charts like [[Rizline:Tempest|Tempest]] (on <code>IN</code> difficulty), this is set to 1. {{verify|Are there more charts/more file format numbers? What is the difference between different file format versions?}}}} {{DataStructureField|songsName|string|Title of the song; often it is an empty string. This seems to be a leftover value from charting software, it is unused in-game.}} {{DataStructureField|themes|array|List of themes; there is always two {{verify|This was written before Rizline 1.1 - is this still correct?}} themes:| {{DataStructureField|0|theme object|Default theme. See [[#Theme object structure]] for details.}} {{DataStructureField|1|theme object|Challenge-time theme. See [[#Theme object structure]] for details.}} }} {{DataStructureField|challengeTimes|array|Challenge times of the chart; currently there is always exactly one challenge time, but there could be more in the future. {{verify|This was written before Rizline 1.1 - this is outdated}}| {{DataStructureField||object|A challenge time.| {{DataStructureField|checkPoint|float|Purpose currently unknown. {{verify}}}} {{DataStructureField|start|float|Start of challenge time (in beats).}} {{DataStructureField|end|float|End of challenge time (in beats).}} {{DataStructureField|transTime|float|Transition time (in beats). {{verify|The transitions seem instant in game, what is this actually?}}}} }} }} {{DataStructureField|bPM|float|Initial BPM of the song.}} {{DataStructureField|bpmShifts|array|Changes of BPM in the song.| {{DataStructureField||key point object|The value of the key point is a multiplier of the initial song BPM. If the initial BPM is 120, then a key point with a value of 1.5 means a new BPM of 180. A value of 0.5 would mean the new BPM is 60. These key points, unlike other key points, are not interpolated in any way. The changes of BPM are always instant. The <code>easeType</code> property of the key point has no effect. See [[#Key point object structure]] for details.}} }} {{DataStructureField|offset|float|Audio or chart offset. It is currently unknown if this value shifts the audio or the chart forwards, nor is it known if this value is in milliseconds or seconds (or beats!). Always <code>0.0</code>. {{verify|Is this still true?}}}} {{DataStructureField|lines|array|List of all lines in the chart. This part usually takes up most of the chart file.| {{DataStructureField||object|A line.| {{DataStructureField|linePoints|array|Line points that determine the shape and position-based colors of the line.| {{DataStructureField||object|A line point| {{DataStructureField|time|float|Time of the point (in beats).}} {{DataStructureField|xPosition|float|Position of the note relative to the canvas. As with all other X coordinates: -0.5 is the left edge of the screen, 0.0 is the center of the screen, 0.5 is the right edge of the screen. Note that the value can be outside the -0.5..0.5 range, and the line point still may be visible (for example, if the xPosition is -10.0, but the canvas x position is 10.0, the line point will be visible in the middle of the screen).}} {{DataStructureField|color|color object|Color of the point. See [[#Color object structure]] for details.}} {{DataStructureField|easeType|int|ID of the ease type used for this point. See [[#Ease type enum]] for details.}} {{DataStructureField|canvasIndex|int|ID of the canvas that the point is on.}} {{DataStructureField|floorPosition|float|Pre-calculated time of the point (in seconds). This value is not always accurate.}} }} }} {{DataStructureField|notes|array|Notes that are on that line.| {{DataStructureField||object|A note.| {{DataStructureField|type|int|Type of the note. See [[#Note type enum]] for details.}} {{DataStructureField|time|float|Time of the note (in beats).}} {{DataStructureField|floorPosition|float|Pre-calculated time of the note (in seconds). This value should not be trusted, as it is not always accurate or present.}} {{DataStructureField|otherInformations|array|This array is empty for most notes, but it contains 3 entries for {{IconLink|Rizline|Hold Note|Hold Notes}}:| {{DataStructureField|0|float|End time of the note (in beats).}} {{DataStructureField|1|float|Duration of the note (in beats).}} {{DataStructureField|2|float|Pre-calculated end time of the note (in seconds).}} }} }} }} {{DataStructureField|judgeRingColor|array|Changes of the color of the judge ring.| {{DataStructureField||color key point object|A color change. See [[#Color key point object structure]] for details.}} }} {{DataStructureField|lineColor|array|Gradient line color changes, based on time.| {{DataStructureField||color key point object|A color change. See [[#Color key point object structure]] for details.}} }} }} }} {{DataStructureField|canvasMoves|array|Changes of canvas' positions.| {{DataStructureField||object|A move pattern for one canvas. The index of the element in the array is the canvas index.| {{DataStructureField|index|int|Index of the canvas; should always the same as the index of the item in the parent array.}} {{DataStructureField|xPositionKeyPoints|array|Position changes of the canvas in the song.| {{DataStructureField||key point object|A position change. The value of the key point is the absolute X position of the center of the canvas. As with all other X coordinates: -0.5 is the left edge of the screen, 0.0 is the center of the screen, 0.5 is the right edge of the screen. See [[#Key point object structure]] for details.}} }} {{DataStructureField|speedKeyPoints|array|Speed changes of the canvas in the song.| {{DataStructureField||key point object|A speed change. The value of the key point indicates a scroll speed multiplier, that is applied to a base scroll speed based on the user's preference. See [[#Key point object structure]] for details.}} }} }} }} {{DataStructureField|cameraMove|object|Changes of camera position.| {{DataStructureField|scaleKeyPoints|array|Scale/zoom changes of the camera in the song.| {{DataStructureField||key point object|A scale change. {{Unfinished|Which values correspond to zooming-in vs. zooming out?}} See [[#Key point object structure]] for details.}} }} {{DataStructureField|xPositionKeyPoints|array|Position changes of the camera in the song.| {{DataStructureField||key point object|A position change. The value of the key point is the absolute X position of the center of the canvas. As with all other X coordinates: -0.5 is the left edge of the screen, 0.0 is the center of the screen, 0.5 is the right edge of the screen. See [[#Key point object structure]] for details.}} }} }} }} === Theme object structure === {{DataStructure| {{DataStructureField|colorsList|array|List of colors; there are always 3 {{verify|This was written before Rizline 1.1 - is this still correct?}} colors:| {{DataStructureField|0|color object|Background color. See [[#Color object structure]] for details.}} {{DataStructureField|1|color object|Note color. See [[#Color object structure]] for details.}} {{DataStructureField|2|color object|Particle color. See [[#Color object structure]] for details.}} }} }} === Color object structure === {{DataStructure| {{DataStructureField|r|int|Red value (from 0 to 255).}} {{DataStructureField|g|int|Green value (from 0 to 255).}} {{DataStructureField|b|int|Blue value (from 0 to 255).}} {{DataStructureField|a|int|Alpha value (from 0 to 255).}} }} === Key point object structure === {{DataStructure| {{DataStructureField|time|float|Time of the key point (in beats).}} {{DataStructureField|value|float|Value of the key point.}} {{DataStructureField|easeType|int|ID of the ease type used for this key point. See [[#Ease type enum]] for details.}} {{DataStructureField|floorPosition|float|Pre-calculated time of the key point (in seconds). This value is not always accurate.}} }} === Ease type enum === {{Unfinished|This enum is currently unknown - to fill it, we have to find ease types in official charts and compare them to curves on https://easings.net/ .}} <ul> <li><code>0</code> - unknown</li> <li><code>1</code> - unknown</li> <li><code>2</code> - unknown</li> <li><code>3</code> - unknown</li> <li><code>4</code> - unknown</li> <li><code>5</code> - unknown</li> <li><code>6</code> - unknown</li> <li><code>7</code> - unknown</li> <li><code>8</code> - unknown</li> <li><code>9</code> - unknown</li> <li><code>10</code> - unknown</li> <li><code>11</code> - unknown</li> <li><code>12</code> - unknown</li> <li><code>13</code> - unknown</li> </ul> === Note type enum === <ul> <li><code>0</code> - {{IconLink|Rizline|Tap Note}}</li> <li><code>1</code> - {{IconLink|Rizline|Catch Note}}</li> <li><code>2</code> - {{IconLink|Rizline|Hold Note}}</li> </ul> === Color key point object structure === Color key points change the color of the entire line (or judge ring) over time, as opposed to line point colors, which change the color of the line in a gradient fashion, locally. Color key points always interpolate linearly. The current color can be calculated with the following formula: <pre> // prev = key point that's the closest to `currentTime`, but not after it // next = next key point, one that's right after `prev` t = (currentTime - prev.time) / (next.time - prev.time) color = ((1.0 - t) * prev.startColor) + (t * prev.endColor)) </pre> {{DataStructure| {{DataStructureField|startColor|color object|Starting color. See [[#Color object structure]] for details.}} {{DataStructureField|endColor|color object|Ending color. See [[#Color object structure]] for details.}} {{DataStructureField|time|float|Time of the start of the key point (in beats).}} }} == Navigation == {{RizlineGameNavBox}}
Summary:
Please note that all contributions to Rhythm Game Wiki are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Rhythm Game Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:DataStructure
(
edit
)
Template:DataStructureField
(
edit
)
Template:Icon
(
edit
)
Template:IconLink
(
edit
)
Template:NavBox
(
edit
)
Template:NavBoxRow
(
edit
)
Template:NavBoxSection
(
edit
)
Template:Removed
(
edit
)
Template:RizlineGameNavBox
(
edit
)
Template:Unfinished
(
edit
)
Template:Verify
(
edit
)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Rizline
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Style guide
Archival efforts
Special pages
Games
Rizline
Gadvia
Arcaea
Rizline pages
Rizline
Trivia
Songs
Discs
Bio
Badges
Scoring
App Version History
Asset Version History
Issues
Rizline discs
Disc 1
Disc 2
Disc EX
Rizline files
game_config.json
catalog_catalog.json
AssetList
Chart file
Music files
Sound effects
Gadvia islands
Gadvia buildings
Tools
What links here
Related changes
Page information