ROM Hack [Help] Ragnarök DS Ripping request

Leeg

Well-Known Member
OP
Member
Joined
May 29, 2009
Messages
104
Trophies
1
Age
32
Location
Spain
XP
1,640
Country
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.
 

Auryn

Well-Known Member
Member
Joined
Jul 21, 2011
Messages
559
Trophies
1
Age
51
XP
706
Country
Swaziland
.CEPK?? Sound like Compressed Package. I believe you have to study the format and program yourself a splitter/decompressor.
 

Auryn

Well-Known Member
Member
Joined
Jul 21, 2011
Messages
559
Trophies
1
Age
51
XP
706
Country
Swaziland
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.

bodyim.png
 
  • Like
Reactions: Leeg

Auryn

Well-Known Member
Member
Joined
Jul 21, 2011
Messages
559
Trophies
1
Age
51
XP
706
Country
Swaziland
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
70922732.png
 
  • Like
Reactions: Leeg

Leeg

Well-Known Member
OP
Member
Joined
May 29, 2009
Messages
104
Trophies
1
Age
32
Location
Spain
XP
1,640
Country
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?
 

Auryn

Well-Known Member
Member
Joined
Jul 21, 2011
Messages
559
Trophies
1
Age
51
XP
706
Country
Swaziland
I didn't say that.
this is just one subfile from many and many cepk.
You have to find the right one you want
 
  • Like
Reactions: Leeg

Auryn

Well-Known Member
Member
Joined
Jul 21, 2011
Messages
559
Trophies
1
Age
51
XP
706
Country
Swaziland
11000726.png
15517637.png
30664776.png


Here just some other examples of the same file.
They are so "broken" because i extracted only the NCGR and not the NCER.
 
  • Like
Reactions: Leeg

Leeg

Well-Known Member
OP
Member
Joined
May 29, 2009
Messages
104
Trophies
1
Age
32
Location
Spain
XP
1,640
Country
Could you briefly explain me how to extract them? because I can't see any header in the cepk file... :S

Thanks a lot ^^
 

Auryn

Well-Known Member
Member
Joined
Jul 21, 2011
Messages
559
Trophies
1
Age
51
XP
706
Country
Swaziland
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
 
  • Like
Reactions: Leeg

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: :discuss: