+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Ds file hacking
Pages: [1]
Author Topic: Ds file hacking  (Read 2 times)
floral
Guest
« on: November 15, 2009, 12:36:50 pm »

will someone please figure out how to get inside these files and at what they contain? Past any barriers like compression. i want to get inside and get at the game files but am stuck. it is from a japanese ds game.

And then tell how it was done please.

.iear http://www.sendspace.com/file/bilua9
.sad http://www.sendspace.com/file/c6qndc
.bin http://www.sendspace.com/file/yz6sr5

thankyou for your time,
floral

Tauwasser
Guest
« Reply #1 on: November 15, 2009, 03:35:42 pm »

A030_00.iear contains the following:

Main header:
OffsetSizeContents
0x000x04magic bytes "MAIN"
0x040x040x39
0x080x040x00
0x0C0x040x00
Subheader
0x000x04magic bytes "JTBL"
0x040x04Number of Words following this header
0x080x040x00
0x0C0x040x00
List of Words:
[File offset relative to file start][Size]...
End header
0x000x04magic bytes "ENDT"
0x040x040x00
0x080x040x00
0x0C0x040x00

The files referenced themselves seem to be common Nintendo files: http://llref.emutalk.net/nds_formats.htm

A0117.SAD: Not much info, could mean anything basically.

utility.bin:

Start of file
OffsetSizeContents
0x000x04Start of name table
0x040x04Size of following name table
0x080x04Start of pointer table
0x0C0x04Size of pointer table
Name table
0x000x04Begin of folder names
0x000x04??
0x040x04Begin of Folder 1 names
0x080x04??
...
Name format: [Folder bit|Length][Name] Folder only: [Pointer table number][??] Folder bit is bit 7
Pointer table
Table format: [Start offset][End offset+1]...

So you can go pretty much from there. utility bin may follow the general nds file system, so you may want to find a guide on that; I couldn't locate one quickly.

cYa,

Tauwasser
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC