Opening .BIN files (fairy tail DS game)

Discussion in 'NDS - ROM Hacking and Translations' started by sgn15, Sep 18, 2010.

Sep 18, 2010
  1. sgn15
    OP

    Newcomer sgn15 Newbie

    Joined:
    Sep 18, 2010
    Messages:
    9
    Country:
    United States
    hi, i would like to know how to open .BIN files that are inside a rom that i opened using Tahaxan

    [​IMG]

    i have tried using tahaxan to open other games (like gigant battle DS rom) but it has aar files.

    this game has few files only and they are .BIN files.

    this game is "TV Anime - Fairy Tail Gekitou! Madoushi Kessen (Japan)"

    my intention for opening the files are for ripping the sprites from this game. thanks in advance
     
    Olden likes this.


  2. Phoenix Goddess

    Member Phoenix Goddess The Ninja's Protégée

    Joined:
    Apr 25, 2009
    Messages:
    3,810
    Location:
    Away from civilization.
    Country:
    United States
    You can open them with Crystal Tile 2.
     
    Olden likes this.
  3. sgn15
    OP

    Newcomer sgn15 Newbie

    Joined:
    Sep 18, 2010
    Messages:
    9
    Country:
    United States
    thanks. i tried this file (found thru google)
    www.megaupload.com/?d=B3YGKBIV

    and it says there is a missing DLL file missing (mfc71u.dll) so i found it (mfc71u.dll) and put it in the same folder as crystal tile 2 but it still didnt worked. the error message about the DLL still appears
     
    Olden likes this.
  4. Phoenix Goddess

    Member Phoenix Goddess The Ninja's Protégée

    Joined:
    Apr 25, 2009
    Messages:
    3,810
    Location:
    Away from civilization.
    Country:
    United States
    You can grab the mfc71u.dll from one of the previous Crystal Tile 2 programs and put it in the up to date one.
     
    Olden and Rylan like this.
  5. sgn15
    OP

    Newcomer sgn15 Newbie

    Joined:
    Sep 18, 2010
    Messages:
    9
    Country:
    United States
    i downloaded a version of crystal tile 2 that works. i opened a BIN file and press F5 to open it in tile viewer.

    how can i mess with the jumbled sprites till i found the sprites i am looking for?

    and the files inside this game (as shown in the pic in the first post) are not separated into 1 file per character so i have to find the sprites.
     
    Olden likes this.
  6. Phoenix Goddess

    Member Phoenix Goddess The Ninja's Protégée

    Joined:
    Apr 25, 2009
    Messages:
    3,810
    Location:
    Away from civilization.
    Country:
    United States
    You can search for the TTLP in the hex editor.
     
    Olden likes this.
  7. sgn15
    OP

    Newcomer sgn15 Newbie

    Joined:
    Sep 18, 2010
    Messages:
    9
    Country:
    United States
    im sorry but what is TTLP? and how to search for it in hex editor? ctrl+F ?
     
    Olden likes this.
  8. Phoenix Goddess

    Member Phoenix Goddess The Ninja's Protégée

    Joined:
    Apr 25, 2009
    Messages:
    3,810
    Location:
    Away from civilization.
    Country:
    United States
    TTLP is how you find the palette.
    You Ctrl +F or just go to find, type in TTLP(After you decompress the file if it has compression) and it should come up. You'll copy the text between TTLP until you see PCMP, RCSN(I think that's it) or 00s then you right click and go to Data to Palette conversion. Then you go to the Tile Viewer and go to the the Tile Format to choose the one that looks less jumbled. You can use the arrow keys until the image is clear but don't forget to Fit Window to Tile under View.

    Someone can correct me if I'm wrong.
     
    Olden likes this.
  9. sgn15
    OP

    Newcomer sgn15 Newbie

    Joined:
    Sep 18, 2010
    Messages:
    9
    Country:
    United States
    so this is what i did:
    out of all the BIN files i extracted, only 1 bin file has the TTLP code

    i selected the text between TTLP and RCSN here

    [​IMG]

    (when i right click nothing happens, the selected codes only deselect) theres no right click menu
    click edit--->convert to palette
    then i press F5 (tile viewer)
    I see still jumbled sprites (i dont see parts that are less jumbled)
     
  10. Phoenix Goddess

    Member Phoenix Goddess The Ninja's Protégée

    Joined:
    Apr 25, 2009
    Messages:
    3,810
    Location:
    Away from civilization.
    Country:
    United States
    Did you decompress the files?
     
    Olden likes this.
  11. sgn15
    OP

    Newcomer sgn15 Newbie

    Joined:
    Sep 18, 2010
    Messages:
    9
    Country:
    United States
    decompress?

    from the NDS file i extracted the BIN files. is that what you mean? sorry if i got it wrong.
     
  12. Phoenix Goddess

    Member Phoenix Goddess The Ninja's Protégée

    Joined:
    Apr 25, 2009
    Messages:
    3,810
    Location:
    Away from civilization.
    Country:
    United States
    You have to decompress a compressed file to see what's actually inside of it.
     
  13. sgn15
    OP

    Newcomer sgn15 Newbie

    Joined:
    Sep 18, 2010
    Messages:
    9
    Country:
    United States
    yeah i extracted the files from inside the nds file. i got the bin files.

    i need to decompress the bin files?
     
  14. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,736
    Country:
    United Kingdom
    It is possible that the .bin files are compressed ( http://gbatemp.net/t232718-crystaltile2-2010-06-12 which you already have will often have a little LZ icon when it detects LZ compression when you go to browse the rom using the inbuilt file selection options)- trouble is .bin is a very generic extension and can be anything and frequently is. Do note that utility.bin is the wifi/download play binary and nothing to do with the rest of the rom- if you wanted though the same programs that pull apart DS roms will pull apart that one, it probably does include several sprites depending on how in depth the multiplayer is and TLLP is a good sign as it is the magic stamp for a common graphics format.

    In passing though you mentioned aar files- I had only seen them in Jump Ultimate Stars before but they have been reverse engineered http://gbatemp.net/index.php?showtopic=608...=30&start=0

    If however you are just sprite making what about trying desmume- it has a fairly good graphics/tile/palette viewer (certainly enough to rip some sprites). Not to mention it can drum up some equivalent hexadecimal you can use to search through the rom for. If you take into account the possible big or little endian nature of things (it should be covered in any rom hacking and a short section does not drum up what you need then chances are compression exists.
    Similarly poke around the GBA LZ tools of http://www.romhacking.net/?category=&P...itle=&desc= and there are more in depth compression searches with graphics capability.
     
    Olden likes this.
  15. sgn15
    OP

    Newcomer sgn15 Newbie

    Joined:
    Sep 18, 2010
    Messages:
    9
    Country:
    United States
    ok if this is possible then maybe ill rip them using desmume.

    this game (fairy tail on DS) automatically zooms out when a char jumps. the camera zooms out to cover both the jumping char and the opponent char on the screen.

    is it possible to hack the rom and disable the zooming out in some way?

    ill check out all the links you posted. thanks a lot. very much appreciated
     
  16. Barubary

    Newcomer Barubary Member

    Joined:
    Feb 27, 2009
    Messages:
    28
    Country:
    United States
    The sprites are all inside the arc**dat.bin files, which have a very simple format; the file starts with the offsets to the files inside, after which the file data starts.
    You can extract these kind of files with this java program (you'll probably need java 1.6 installed though). Run it by typing the following on the Command line:

    Code:
    java -jar GenericAUnpacker.jar filename1 filename2 ....
    Where filename1, etc are the names of the files you want unpacked. If you opened the command line in the same folder as the archive files, the unpacked files will be in a newly created subfolder next to them.


    However this will not get you very far with ripping the sprites, as most interesting files are compressed (.ECD files). It is a LZ-like compression scheme, but so far I've only managed to determine the proper length of the compressed blocks. (which means I can generate files of the proper length, but with large blocks of padding in them)

    There are some uncompressed PLT, IMG and SCR files though, which contain palette, image and tilemap data respectively. I think the PAT files contain animation data (like NCER files), but I'm not 100% sure about that.
     
  17. Rydian

    Member Rydian Resident Furvert™

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
  18. sgn15
    OP

    Newcomer sgn15 Newbie

    Joined:
    Sep 18, 2010
    Messages:
    9
    Country:
    United States
    Barubary
    thanks a lot for clearing a lot of things, guess i chose the wrong rom to try to rip sprites from thru extracting files and stuff

    Rydian
    it seems that forum site is either inactive or there are few or no people willing to help. i saw many threads there with 0 replies. i actually made a thread there not for this ds game but for another game (GBA game). and it seems to be full of pokemon fans lol. should i make another thread there for this problem (removing the zooming out) cheat?
     
  19. Rydian

    Member Rydian Resident Furvert™

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
    I don't know about the GBA section, but I've made two or three DS code requests and got help, though of course it took some time.
     
  20. Rylan

    Newcomer Rylan Member

    Joined:
    Jan 5, 2013
    Messages:
    12
    Country:
    United States
    Sorry to bump such an old topic but I wanted to say thank you, this solution worked for me.
    I came across this thread via google.
    If anyone else is having the same issue this may be helpful.
     
    Phoenix Goddess likes this.

Share This Page