how to edit nds .bin files

Discussion in 'NDS - ROM Hacking and Translations' started by loismustdie555, Apr 13, 2011.

Apr 13, 2011
  1. loismustdie555
    OP

    Newcomer loismustdie555 Advanced Member

    Joined:
    Apr 11, 2011
    Messages:
    74
    Country:
    United States
    i extracted a kirby squeak squad rom and found a bin file i wanted to edit which is
    Data\collection\spray.bin
    this im guessing contains the spraypaint color pallets which i would like to edit
    could anyone please explain (in detail) how to do this, because i dont know much about this kind of stuff
     
  2. coolness

    Banned coolness PSN: Dutch_DarkLord

    Joined:
    Jun 14, 2009
    Messages:
    2,016
    Location:
    Rotterdam Bitches!!
    Country:
    Netherlands
    unpacked with DSlazy?
    EDIT:1000th post (Y)
     
  3. loismustdie555
    OP

    Newcomer loismustdie555 Advanced Member

    Joined:
    Apr 11, 2011
    Messages:
    74
    Country:
    United States
    no unpacked with dsbuff
    dslazy contains "dsbrick.signature" which is a trojan/ds bricking virus
     
  4. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,744
    Country:
    United Kingdom
    DSlazy contains a check for it- I suspect your AV saw the signature inside DSlazy if it popped up with something.

    Anyhow this is an example of the .bin extension being a generic extension*, afraid I am not going to be very useful at this point though as I am about to pass out and I have not played the game.
    The bin file however does seem to contain a bunch of imagery (GBA 4bpp)
    The .cla files are quite small and firing them through the data2palette options of crystaltile2 they appear to half work at least although I have nothing to reference. Some of the later ones like bigmetalum.cla are almost certainly palettes. Do note not all games use a static palette and ones with things you can edit yourself I find are even more likely to have things change at run time.
    There are also a bunch of more traditional palettes in the map folder and another in subgame (although with a different extension).

    I will however thank you for bringing this rom to my attention. At first glance this has a lot of nice things to learn hacking with (not necessarily easy perhaps more representative of what is usually out there).

    *the only notable .bin files across roms normally are
    overlays, binaries and the other files from that directory (fat, banner, - food for your disassembler and hex editor (occasionally some text is in them)
    utility.bin- this is the download play section of the rom (it is essentially a rom within a rom and most DS file parsers will do something with it- be warned everything is usually compressed and you can not edit this unless your receiving DS will have flashme).
     
  5. loismustdie555
    OP

    Newcomer loismustdie555 Advanced Member

    Joined:
    Apr 11, 2011
    Messages:
    74
    Country:
    United States
    thanks and btw i did what i wanted with the old "swich the file" trick
    and actually i assumed that a file named "dsbrick.signature" would brick my ds so i searched google and found a page in some other language, the title was translated by google which said "do not use ds lazy" or something like that so i didnt use dslazy
     
  6. Quincy

    Member Quincy Your own personal guitarist :3

    Joined:
    Nov 13, 2008
    Messages:
    1,435
    Location:
    Your house, robbing your stuff
    Country:
    Netherlands
    I am wondering this too. Is there even a way to edit the BIN files? (Already tried opening them in a hex editor, just want to change the title of the AK2i 3DS update)
     
  7. shadowmanwkp

    Member shadowmanwkp Your roms are on another rom site

    Joined:
    Apr 17, 2008
    Messages:
    486
    Location:
    Vleuten, The Netherlands
    Country:
    Netherlands
    FAST gave a pretty good explanation on what *.bin files are, they are usually a generic file format that can contain about anything. You have to figure it out yourself what it probably contains, because ds roms can be programmed in a variety of ways. You can usually look at the folder it is in, or the filename to get an idea what the file contains. That said, there is no editor for *.bin files, because there is no standard for it, so the best way to view them is with a hex editor because with that you will be the closest to the source code.
     
  8. Quincy

    Member Quincy Your own personal guitarist :3

    Joined:
    Nov 13, 2008
    Messages:
    1,435
    Location:
    Your house, robbing your stuff
    Country:
    Netherlands
    Well mainly I want to edit the header and banner files of the "rom" (It is the AK2I update) and hex editing didnt get me any further
     
  9. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,744
    Country:
    United Kingdom
    Be very aware that the banner and header files of such things will be checked quite harshly so if you are planning on using it on a DSi or 3ds you are going to need to do a full rebuild of the file/hackset (something I am not sure I would even want to try my hand at)- http://hackmii.com/2010/02/lawsuit-coming-in-3-2-1/ should provide an overview of what will be coming your way and why the methods used were used.

    If you are on a DS then carry on if you want- a minor rebuild might be necessary but that should be easy enough to pull off. Frankly though it sounds like a lot of work for no gain.
     

Share This Page