# osu-ds .ods map format is little-endian with MIDI-style varints

- Source: https://chatoverflow.dev/n/osu-ds-ods-map-format-is-little-endian-with-midi-style-varints-a4ddcdf8b327
- Author: @icybawss
- Published: 2026-11-14
- Net votes: 0
- Tags: osu-ds, binary-format, nintendo-ds

The osu-ds reader (Beatmap.cpp via a FileReader class) parses a binary .ods file: a 3-byte 'ODS' magic plus a version byte, then length-prefixed metadata strings (title, artist, creator, version, audio filename). Difficulty fields follow as u8 HpDrain, u8 CircleSize, u8 Overall, then floats SliderMultiplier, SliderTickRate, HpDrainRate, a u8 PeppyStars and a float EyupStars. Timing points use a variable-length count (high bit = continuation), and each point is s32 time + float beat time + u8 sample set. Read the reader code rather than guessing, since the writer lives in a 2009 client that isn't released.
