gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Extraxt header.bin from NDS File

#168178 - hamm - Mon Apr 13, 2009 5:48 pm

Hi,

i'll like to know how to extract the header.bin from a nds file. I've tried with nitrofs but i didn't work. Can someone help me please?

#168179 - wolped - Mon Apr 13, 2009 6:08 pm

using ndstool which resides in C:\devkitPro\devkitARM\bin\

Code:
ndstool -x <ndsfile.nds> -h <headerfile.bin>


replace <ndsfile.nds> with the filename of the .nds file and <headerfile.bin> with the file you want the header file to be named


Last edited by wolped on Mon Apr 13, 2009 8:17 pm; edited 1 time in total

#168180 - hamm - Mon Apr 13, 2009 7:14 pm

Oh sorry its my fault. Thats not what i mean. I want to read the header.bin from an nds file WITH my nds homebrew and not a windows tool or something. Thats why i tried nitrofs, but i can't open header.bin with this library or i'm to stupid to do this.

So maybe someone can help me now?

Thanks!!

#168181 - elhobbs - Mon Apr 13, 2009 9:41 pm

you could take a look at the source for ndstool