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:
    Fish wire
  • Xdqwerty @ Xdqwerty:
    What's going on?
  • Xdqwerty @ Xdqwerty:
    I'm a fuckin stupid, a stupid, a stupid, a stupid, a stupid, a stupid, a stupid,
  • K3Nv2 @ K3Nv2:
    It's okay we're all stupid on the inside
  • Xdqwerty @ Xdqwerty:
    My damn brain forgets everything
  • Xdqwerty @ Xdqwerty:
    I know nothing about anything
  • BakerMan @ BakerMan:
    hell, i'm stupid on the outside
  • Xdqwerty @ Xdqwerty:
    The only things in my mind are useless stuff
  • K3Nv2 @ K3Nv2:
    @Xdqwerty Use Google to your advantages 90% of the time it has answers for hardware and software
  • Xdqwerty @ Xdqwerty:
    But that stuff should be in my mind, not on the internet
  • K3Nv2 @ K3Nv2:
    No it really shouldn't none of us know everything
    +1
  • Xdqwerty @ Xdqwerty:
    I'll maybe slam my head until i become smarter
  • Xdqwerty @ Xdqwerty:
    Good night
  • wolffangalchemist @ wolffangalchemist:
    as a child i ate crayons, i feel like i have come a long way since then.
    +1
  • K3Nv2 @ K3Nv2:
    I shoved rocks in my ear
  • BakerMan @ BakerMan:
    ngl i find it hilarious when a new twitch streamer blows up
  • BakerMan @ BakerMan:
    bc then all the memes are about them, for better (like caseoh) or for worse (like kai cenat)
  • K3Nv2 @ K3Nv2:
    I like it when they get canceled over flashing a tit
  • BakerMan @ BakerMan:
    some guy got banned forever for saying "l ratio" or smth, and a woman gets it on stream and gets banned for a week
  • BakerMan @ BakerMan:
    like what the fuck
  • K3Nv2 @ K3Nv2:
    We need to ban man nipples from being on the internet but female ones should be fine
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    pokimane gets naked, "AWOOOGA!", case gets naked, and he gets a taste of his own medicine lmao
  • BakerMan @ BakerMan:
    actually, it still may be an "AWOOOGA!" from his chat remembering some of the messages he gets
    BakerMan @ BakerMan: actually, it still may be an "AWOOOGA!" from his chat remembering some of the messages he gets