ndstool help!

Discussion in 'NDS - ROM Hacking and Translations' started by amishsexy, Apr 10, 2009.

  1. amishsexy
    OP

    amishsexy Member

    Newcomer
    10
    0
    Mar 16, 2007
    United States
    I unpackacked the rom using the following command.
    Code:
    ndstool -x Lise.nds -9 arm9.bin -7 arm7.bin -y9 y9.bin -y7 y7.bin -d data -y overlay -t
    then repack using this command
    Code:
    ndstool -c out.nds -9 arm9.bin -7 arm7.bin -y9 y9.bin -y7 y7.bin -d data -y overlay -t
    It doesnt matter if I'm editing files or not. The original file is 128MB but recompiles as 87.9MB. What could I be doing wrong?
     
  2. Kuschel-Drow

    Kuschel-Drow GBAtemp Fan

    Member
    419
    0
    Mar 25, 2009
    Gambia, The
    Duisburg
    I don't know. Ever tested if it worked anyway?
    Because... a lot of patched Roms (even translations and stuff) are way smaller than the original one before.
    I wouldn't mind, as long as it worked...
     
  3. psycoblaster

    psycoblaster Divine

    Member
    2,132
    2
    Jan 26, 2008
    Seoul.. (in Korea)
    That's because it trims the unnecessary parts of the ROM when recompiling.
     
  4. amishsexy
    OP

    amishsexy Member

    Newcomer
    10
    0
    Mar 16, 2007
    United States
    I tested it on iDeas and on my DS and it didn't load on either [​IMG]
     
  5. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,003
    8,705
    Nov 21, 2005
    +1 to the trimming of data. As for it not loading ndstool is not the nicest of apps (but it is fairly quick and simple so most of use it at some stage), perhaps:
    http://gbatemp.net/index.php?showtopic=127411

    There are other tools though like ndsts (only able to replace same size files, you can pad files out though), crystaltile2 (has some nice inbuilt compression as well), nitro explorer and plain manual insertion and repointing with a hex editor ( http://nocash.emubase.de/gbatek.htm#dscart...roromfilesystem ).
     
  6. amishsexy
    OP

    amishsexy Member

    Newcomer
    10
    0
    Mar 16, 2007
    United States
    Thanks for suggesting ndsts its exactly what i was looking for [​IMG]