[Help] Ragnarök DS Ripping request

Discussion in 'NDS - ROM Hacking and Translations' started by Leeg, Jan 10, 2013.

Jan 10, 2013
  1. Leeg
    OP

    Newcomer Leeg Advanced Member

    Joined:
    May 29, 2009
    Messages:
    87
    Location:
    Spain
    Country:
    Spain
    Hi!

    I'm using tinke to extract the sprites of shaman and dark knight in the Ragnarök DS game. They're placed in the folder chr > body. The problem is that these are only diagonal views, not front, side or rear. However, I've found that in chrex>body there are other files, but I can't get to see them properly. Although I believe these files contain what I want, since with hexadecimal view I got to see things like 'front_pose3'. These are .CEPK files... but I don't know anything about them.

    Anyone willing to help?

    Thank you very much.
     
  2. Auryn

    Member Auryn GBAtemp Advanced Fan

    Joined:
    Jul 21, 2011
    Messages:
    529
    Country:
    Switzerland
    .CEPK?? Sound like Compressed Package. I believe you have to study the format and program yourself a splitter/decompressor.
     
  3. Auryn

    Member Auryn GBAtemp Advanced Fan

    Joined:
    Jul 21, 2011
    Messages:
    529
    Country:
    Switzerland
    Yeap,
    I took a look at it.
    The files are compressed and every file contains multiple subfiles mostly compressed by themself.
    The graphics are in standard NCLR/NCGR/NCGR/NANR format. So or you study the pointers that start probably at x344 or just search for the magic words and go back 4 bytes from there (if you are on a x10, it's compressed, if not, it's not compressed.
    All compression are standart ID10 bios compression.
    Just to give you the idea of what it's in there. It's the wrong palette, i don't have time to go search for it because i have to go to work now.

    [​IMG]
     
    Leeg likes this.
  4. Leeg
    OP

    Newcomer Leeg Advanced Member

    Joined:
    May 29, 2009
    Messages:
    87
    Location:
    Spain
    Country:
    Spain
    Is that image from a .cepk in chrex folder? That's the same I found in the chr folder :S
     
  5. Auryn

    Member Auryn GBAtemp Advanced Fan

    Joined:
    Jul 21, 2011
    Messages:
    529
    Country:
    Switzerland
    Yeap, chrex/body/00/b00.cepk the first subfile
    and it's looking like you are right because the chr/body/body_00.NCLR is the right palette for it
    [​IMG]
     
    Leeg likes this.
  6. Leeg
    OP

    Newcomer Leeg Advanced Member

    Joined:
    May 29, 2009
    Messages:
    87
    Location:
    Spain
    Country:
    Spain
    So, there are no sprites for other camera angles? Just diagonals... :S how does the game shows front, rear and side views, then? mixing two diagonal sprites?
     
  7. Auryn

    Member Auryn GBAtemp Advanced Fan

    Joined:
    Jul 21, 2011
    Messages:
    529
    Country:
    Switzerland
    I didn't say that.
    this is just one subfile from many and many cepk.
    You have to find the right one you want
     
    Leeg likes this.
  8. Auryn

    Member Auryn GBAtemp Advanced Fan

    Joined:
    Jul 21, 2011
    Messages:
    529
    Country:
    Switzerland
    [​IMG] [​IMG] [​IMG]

    Here just some other examples of the same file.
    They are so "broken" because i extracted only the NCGR and not the NCER.
     
    Leeg likes this.
  9. Leeg
    OP

    Newcomer Leeg Advanced Member

    Joined:
    May 29, 2009
    Messages:
    87
    Location:
    Spain
    Country:
    Spain
    Could you briefly explain me how to extract them? because I can't see any header in the cepk file... :S

    Thanks a lot ^^
     
  10. Auryn

    Member Auryn GBAtemp Advanced Fan

    Joined:
    Jul 21, 2011
    Messages:
    529
    Country:
    Switzerland
    Take Crystal Tile 2 (can download in the download section of this forum)
    load the game
    click the nds icon
    choose the file(s) you want to extract (by the way you see the icon on the left that say LZ (compressed)
    file > extract
    now load the extracted cepk in CT2 again.
    you can try to make tools > LZSS compression search but it will probably give you false positives and crash the program when you batch extract or try to extract a false positive.
    so the best way is to search for the magic words NCGR/NCER/NANR all backwards.
    Usually the NCGR is compressed, NCER and NANR are not.
    To check if it's compressed, go back/up 4 bytes from the magic word
    if you are on a 10 xx xx 00 "RGCN" it's compressed (the part on " " is any magic word).
    if else it's not compressed.
    The best would be to study the pointers format and write yourself a splitter, then use a batch extractor.
    I usually just checked if it's compressed or not, and copied the subfile with an hex editor to another file.
    Then i extracted /viewed them with CT2.

    inside the NCER you usually find a "little description" (it's actually the name of the layer) about what is inside the NCGR just before it. example front_talk, front_walk1, left_die1
     
    Leeg likes this.

Share This Page