News: 11 March 2016 - Forum Rules

Author Topic: File format decode  (Read 1785 times)


  • Jr. Member
  • **
  • Posts: 26
    • View Profile
File format decode
« on: January 19, 2013, 05:04:29 pm »
How do you decode the file format of a file in a DS rom?

Gideon Zhi

  • Discord Staff
  • Hero Member
  • *****
  • Posts: 3535
    • View Profile
    • Aeon Genesis
Re: File format decode
« Reply #1 on: January 19, 2013, 05:21:35 pm »
With a secret decoder ring found in select boxes of Kelloggs(tm) brand cereal! Collect the whole set!

In all honesty? You either stare at it really hard until the pattern emerges, or you use some kind of debugger, watch the game as it executes, and figure out what it's doing while it's doing it.
« Last Edit: January 19, 2013, 06:03:03 pm by Gideon Zhi »


  • Hero Member
  • *****
  • Posts: 3301
    • View Profile
Re: File format decode
« Reply #2 on: January 19, 2013, 06:14:20 pm »
Gideon Zhi has the short of it. To add to that though DS formats usually follow certain patterns (examples of known formats- there are lots more out there) so it helps to know common formats for the "stare at it" method* and once you have found out what a file does you can tweak things in file/memory and then run the game to see what changed- tracing and assembly level debugging are flawless methods but bloody hard to do (not helped by the DS debuggers being considerably more annoying the many other systems).

*though staring works having a hex editor to change things and/or a way to fiddle with numbers also helps.