text stringlengths 0 1.99k |
|---|
maxes out at 365k [24], so this process is relatively fast. Once these times |
are sorted, and known ranks checked against their ordering in this list, |
unknown, either by accident of the player or by intention, runs can be added |
to the leaderboard [23]. |
The ability to automate previously impossible tasks also means the ability |
to automate very boring tasks. After previous event leaderboards were |
rounded out current active events could be monitored in realtime. This |
enables a pretty comprehensive world record progression. |
It's one thing to enable more comprehensive historical data collection and |
another thing entirely to impact the active competitive scene. Lets go on a |
brief tangent and discuss course files. |
By late 2021 the course format was well known [25]. It's a packed binary |
format in little endian. The file is also always the same size, as the |
variable length lists for objects, ground tiles and other data is placed |
within a fixed length null initialized area. These files are also |
"encrypted" using a simple scheme: A sead::Random (a simple pseudo-random |
number generator used by a number of Switch games) instance is initialized |
using random bytes, which are then embedded in the course file, and then |
used to initialize an AES-128 instance, whose initial vector is also |
embedded in the course file, which is used to encrypt the file sent to the |
client [26]. While this scheme does require a blob within the game in order |
to perform AES this blob was easily found and dumped. As a result, every |
course file from the servers is way larger than it needs to be. By |
decrypting and then gzipping the course file it is possible to bring the |
size from 0x5BFD bytes to 3 kilobytes, an eighth the size. |
meta: |
id: level |
endian: le |
seq: |
- id: start_y |
type: u1 |
doc: Starting Y position of level |
- id: goal_y |
type: u1 |
doc: Y position of goal |
- id: goal_x |
type: s2 |
doc: X position of goal |
- id: timer |
type: s2 |
doc: Starting timer |
- id: clear_condition_magnitude |
type: s2 |
doc: Clear condition magnitude |
- id: year |
type: s2 |
doc: Year made |
- id: month |
type: s1 |
doc: Month made |
- id: day |
type: s1 |
doc: Day made |
- id: hour |
type: s1 |
doc: Hour made |
- id: minute |
type: s1 |
doc: Minute made |
- id: autoscroll_speed |
type: u1 |
enum: autoscroll_speed |
doc: Autoscroll speed |
- id: clear_condition_category |
type: u1 |
enum: clear_condition_category |
doc: Clear condition category |
- id: clear_condition |
type: s4 |
enum: clear_condition |
doc: Clear condition |
- id: unk_gamever |
type: s4 |
doc: Unknown gamever |
- id: unk_management_flags |
type: s4 |
doc: Unknown management_flags |
- id: clear_attempts |
type: s4 |
doc: Clear attempts |
- id: clear_time |
type: s4 |
doc: Clear time |
- id: unk_creation_id |
type: u4 |
doc: Unknown creation_id |
- id: unk_upload_id |
type: s8 |
doc: Unknown upload_id |
- id: game_version |
type: s4 |
enum: game_version |
doc: Game version level was made in |
- id: unk1 |
size: 0xBD |
- id: gamestyle |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.