ROM Hack Extracting sprites from .dat files?

Teraman

Member
OP
Newcomer
Joined
Jun 26, 2007
Messages
8
Trophies
0
XP
102
Country
United States
I unpacked a ROM and the /data/chr directory (where I presume all the character animations are) is filled with .dat files. I've searched several guides (including a few on this site), and I've seen other formats (such as .bin and .aar) mentioned but nothing about .dat. I tried the various tile viewers anyway but all I get is a jumbled mess no matter what program settings I use. Is there a certain method used to extract from .dat files, or do the formats have to be reverse-engineered on a game-by-game basis?

Alternatively, there's a program called CrystalTile2 that seems to be popular but the topic here about the latest version links to a site that seems to be dead. The mirror posted in that topic is also dead. Could anyone provide a download to the latest version of CrystalTile2?

The game in question, if it matters, is Nine Hours, Nine Persons, Nine Doors.
 

Knyaz Vladimir

3DS Hacker
Member
Joined
Apr 18, 2009
Messages
556
Trophies
0
Age
27
Location
Unconfirmed
Website
Visit site
XP
68
Country
Canada
Teraman said:
I unpacked a ROM and the /data/chr directory (where I presume all the character animations are) is filled with .dat files. I've searched several guides (including a few on this site), and I've seen other formats (such as .bin and .aar) mentioned but nothing about .dat. I tried the various tile viewers anyway but all I get is a jumbled mess no matter what program settings I use. Is there a certain method used to extract from .dat files, or do the formats have to be reverse-engineered on a game-by-game basis?

The game in question, if it matters, is Nine Hours, Nine Persons, Nine Doors.

If it's a jumbled mess, either tweak the settings or try to figure out what kind of encryption it has. That's the closest I can get.
 

Noitora

::
Member
Joined
Aug 9, 2007
Messages
3,760
Trophies
0
Age
31
Location
Athens
Website
www.noitora.eu.pn
XP
256
Country
Greece
Teraman said:
Noitora said:
Upload a sample file and I'll take a look. It's probably compressed.
http://www.mediafire.com/?pbhh8ay8pm4uap8

Also I found CrystalTile2 but my initial testing yields no better results.
OK, just had a look at it from a hex editor. The file seems to have a header. Bytes [0x00-0x10]. Manually remove the header, try to line up the contents of the file with a tile editor ( My personal choice is Tile Molester ) and see what you can get.
 

Teraman

Member
OP
Newcomer
Joined
Jun 26, 2007
Messages
8
Trophies
0
XP
102
Country
United States
Noitora said:
Teraman said:
Noitora said:
Upload a sample file and I'll take a look. It's probably compressed.
http://www.mediafire.com/?pbhh8ay8pm4uap8

Also I found CrystalTile2 but my initial testing yields no better results.
OK, just had a look at it from a hex editor. The file seems to have a header. Bytes [0x00-0x10]. Manually remove the header, try to line up the contents of the file with a tile editor ( My personal choice is Tile Molester ) and see what you can get.
OK, I'll try that. Thanks for the help.
 

jjjewel

Well-Known Member
Member
Joined
Dec 17, 2009
Messages
1,010
Trophies
0
XP
520
Country
United States
Bytes at Hex 0020 to Hex 021F are your color palette.

I used CrystalTile2 and got this;

akane.png


You might need to change the Tile's width and height or adjust some values to make it a proper picture.
(That's beyond my knowledge. T_T)

I tried changing some values and got this;

akane2.png
 

Teraman

Member
OP
Newcomer
Joined
Jun 26, 2007
Messages
8
Trophies
0
XP
102
Country
United States
jjjewel said:
Bytes at Hex 0020 to Hex 021F are your color palette.

I used CrystalTile2 and got this;

akane.png


You might need to change the Tile's width and height or adjust some values to make it a proper picture.
(That's beyond my knowledge. T_T)

I tried changing some values and got this;

akane2.png
I see. I've managed to get to this point as well.

Now, I'm pretty ignorant when it comes to sprite ripping, so could someone with more experience tell me if this is as far as I can hope to get and should piece the rest of the sprite together myself, or is there still more that I could do?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: Lol