How can I extract the game icon from the nds roms?

Discussion in 'NDS - ROM Hacking and Translations' started by windy2000, Apr 29, 2010.

  1. windy2000
    OP

    Newcomer windy2000 Member

    Joined:
    Mar 23, 2010
    Messages:
    18
    Country:
    United States
    With the command line of

    ndstool -x xxx.nds -b xxx.bmp

    I just got a non-image file ....

    Is there anything wrong with me ?
     
  2. BlueStar

    Member BlueStar GBAtemp Psycho!

    Joined:
    Jan 10, 2006
    Messages:
    4,094
    Location:
    UK
    Country:
    United Kingdom
  3. windy2000
    OP

    Newcomer windy2000 Member

    Joined:
    Mar 23, 2010
    Messages:
    18
    Country:
    United States
    Thanks for your reply, but I need a command line tool to do this work...

    Thank you anyway...
     
  4. twiztidsinz

    Member twiztidsinz Taiju Yamada Fan

    Joined:
    Dec 23, 2008
    Messages:
    4,981
    Country:
    United States
    If you just need the icon, you can always go here: http://gbatemp.net/newgon/
    Search for the game you want, then copy the icon..

    [​IMG] [​IMG] [​IMG]
     
  5. windy2000
    OP

    Newcomer windy2000 Member

    Joined:
    Mar 23, 2010
    Messages:
    18
    Country:
    United States
    Thank you guy, I knew the site of nds list, it's cool, but it's not my need...

    I am coding for a batch tool for my nds collection, one of the functions is extract icon from the rom

    And it seems that the file extract with "ndstool -x xxx.nds -b xxx.bmp" just like "ndstool -x xxx.nds -t banner.bin", it's not the icon file, it's a bug ?
     
  6. twiztidsinz

    Member twiztidsinz Taiju Yamada Fan

    Joined:
    Dec 23, 2008
    Messages:
    4,981
    Country:
    United States
    It seems that the command CODEndstool.exe -x ".nds" -b file.bmp exports the WHOLE banner.bin file, including the image.
    Yes, "-t" also extracts the whole banner.bin file as well.

    I've also tried including the game info text -- I used Ragnarok DS, so my line was:
    Code:
    ndstool.exe -x "Ragnarok DS (U).nds" -b file.bmp "Ragnarok DS;XSEED Games;"
    but no luck with that either.

    Maybe NDSTool can't extract the icon alone?


    I'm going to try something, that might work... if it does, I'll update here and let you know.
     
  7. windy2000
    OP

    Newcomer windy2000 Member

    Joined:
    Mar 23, 2010
    Messages:
    18
    Country:
    United States
    Thank you very much, the two command you tried just got the same file -_-!

    I've made some try, but no one work ...

    Keep trying or finding another way ...

    Thanks again ! (^o^)
     
  8. twiztidsinz

    Member twiztidsinz Taiju Yamada Fan

    Joined:
    Dec 23, 2008
    Messages:
    4,981
    Country:
    United States
    Well... you can unpack DSBuff with .NET Reflector, so I've been looking at the code and trying to see what it does... but I have no skill or knowledge when it comes to coding at all...

    It seems that the save icon is "button12" if you want to have a look at it yourself.
     
  9. tk_saturn

    Member tk_saturn GBAtemp Psycho!

    Joined:
    Jan 26, 2010
    Messages:
    3,327
    Country:
    United Kingdom
    What is it you are trying to do?

    Just use NDSCrc, it will package the rom into an archive along with it's Icon, Nfo file, cover and ingame screen shot. All the icons will be downloaded from Advanscene.
     

Share This Page