ROM Hack Extracting sprites from .dat files?

Teraman

Member
OP
Newcomer
Joined
Jun 26, 2007
Messages
8
Trophies
0
XP
112
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
28
Location
Unconfirmed
Website
Visit site
XP
78
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
1
Age
32
Location
Athens
Website
www.noitora.eu.pn
XP
289
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
112
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
522
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
112
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?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    @Veho, where's the poll at?
  • Julie_Pilgrim @ Julie_Pilgrim:
    they're giving the internet an open text box?
  • BigOnYa @ BigOnYa:
    I never played or own any of they devices, but I like small style, but with a somewhat grip
  • Julie_Pilgrim @ Julie_Pilgrim:
    oh man, that always goes great!
  • Julie_Pilgrim @ Julie_Pilgrim:
    im sure half the responses won't be literal racial slurs or "drop table" jokes
  • Veho @ Veho:
    Look, it's China. They know what it's like when you give a poll to half a billion trolls.
  • K3Nv2 @ K3Nv2:
    How much dollar do you think it is?
  • Veho @ Veho:
    ONE MILLION DOLLA
  • Veho @ Veho:
    I know the pricing of electronics nowadays isn't "how much it actually costs" but "how much we can get away with", but putting up a poll is just cynical.
  • K3Nv2 @ K3Nv2:
    Probably $150 someone said Anbernic said around the same price as rg556
  • Julie_Pilgrim @ Julie_Pilgrim:
    you know which game i wish they would rerelease
  • Julie_Pilgrim @ Julie_Pilgrim:
    sonic unleashed
  • K3Nv2 @ K3Nv2:
    Make it a happy meal toy
  • Julie_Pilgrim @ Julie_Pilgrim:
    that game's engine is really fucking intensive so it runs like literal shit on xbox 360 and ps3
  • Veho @ Veho:
    Nah I'm getting value creep again. I look at a $50 console "but for just a few more dollars you could get XYZ" and I end up considering the Steam Deck.
  • Julie_Pilgrim @ Julie_Pilgrim:
    like the lighting in that game was genuinely so good
  • Veho @ Veho:
    Not getting dragged into that again.
  • Julie_Pilgrim @ Julie_Pilgrim:
    i dont get why they didn't port the one game that ran the worst on consoles, to pc
  • Julie_Pilgrim @ Julie_Pilgrim:
    like you port everything to pc except the one game where it would make the most sense. why. what do you gain from this
  • Julie_Pilgrim @ Julie_Pilgrim:
    is sega just personally fucking with me? are they laughing while watching me through my kinect camera as i get up to restart my xbox for the third time because the game froze again
  • K3Nv2 @ K3Nv2:
    Buy handhelds from five below better quality
  • K3Nv2 @ K3Nv2:
    Valve probably going to do another refresh of the deck this fall with rog ally like specs tbh
  • Veho @ Veho:
    A smaller form factor would be nice too.
  • K3Nv2 @ K3Nv2:
    A shield portable 2 would be nice aye Nvidia
    +1
    K3Nv2 @ K3Nv2: A shield portable 2 would be nice aye Nvidia +1