Tales of Hearts DS: n00b romhacker (me) attempting to rip compressed (?) scripts from the game, keeps hitting roadblocks and needs help

itsScarfy

New Member
OP
Newbie
Joined
Aug 19, 2022
Messages
4
Trophies
0
Age
30
Location
owo
XP
44
Country
United States
I've spent a large chunk of August trying to rip the script of a JRPG called Tales of Hearts for the Nintendo DS. Me and some friends are planning a translation patch project for it, and it's my job in the group to figure out the programming side of things.

Problem is, 99% of the text seems to be behind compressed files. And I'm having a hell of a time finding any sort of guide on the internet about ripping from + editing text in those.

(Background: I'm a newbie who's only just learning rom hacking, and am also only starting to learn programming so I can't write any of my own tools just yet. So atm I've only looked into pre-made utilities like CrystalTile2 for hex editing/searching roms, etc, Cartographer for script ripping and formatting, WindHex for general hex editing, stuff like that. I acknowledge that patching text into this video game is most likely a task that will require extra programming on my end, and I'm more than willing to learn more about the craft in order to accomplish what I need to. But I'm scoping "easier" methods out first to see what I can do right now, at least)

In any case, I've found two files that I believe hold (most of*) the text: m.dat and fcsr.dat. The former holding the main scenario text, and the latter holding text from something called "skits". I need to rip these text scripts from both of them, and also later figure out how to reinsert them into the game. However:
  1. Unless it's there and I just haven't figured it out, Cartographer isn't able to rip from compressed scripts
  2. Even if I export the .dat files from the rom and run them through a decompression program, I can't find anything on the net about ripping from sole files. Just from roms. Which I can't do if I don't have something that can decompress -and- rip at the same time
  3. I'm not even sure if I know how to decompress the files properly. I attempted to run them through a program called BatchLZ77 that's ostensibly made for DS files, but when I peeked inside the decompressed files with a hex editor they seemed even -more- messed up than they were before
  4. I could be wrong about all of this, but among the compressed, garbled chaos of those two files I did find text that matched up perfectly with stuff I know to be from the story cutscenes and skits respectively, so fairly sure/hoping that I'm right

Is anyone able to help me out/point me in the right direction? Thanks in advance!

*(The menu text (items, status screen text, in-game synopsis, etc), is mercifully located in uncompressed files, so they're not an issue right now)
 
  • Like
Reactions: jonhon and Fel

itsScarfy

New Member
OP
Newbie
Joined
Aug 19, 2022
Messages
4
Trophies
0
Age
30
Location
owo
XP
44
Country
United States
Oh snap, I absolutely have not seen that yet! This looks like exactly what I need, thank you so much! I'll take a stab at this and figure out what to do later if something goes horribly wrong!
 

itsScarfy

New Member
OP
Newbie
Joined
Aug 19, 2022
Messages
4
Trophies
0
Age
30
Location
owo
XP
44
Country
United States
Okay update, unfortunately there were problems. Many, many problems.
  1. Could not successfully insert the tods3 files after editing them (they're the uncompressed menu files that I mentioned before). I attempted to edit the file with the synopsis, TODS3_OutLineData.dat, but when I try to insert the file with CrystalTile2 it gives me this error (the attached picture), and trying to repack the ROM with DS Lazy decreases the ROM's file size by a notable amount too. Whether I pack it with DS Lazy or insert it into the ROM using CrystalTile2 (I just pressed OK on CrystalTile without changing anything bc I had no idea what to do), the ROM will boot up fine, but attempting to visit the synopsis section will give me a completely blank selection screen and make the game lock up (thankfully for my ears, the music keeps playing)
  2. There are absolutely no instructions on how to open and edit the files from m.b and m.dat (the files that hold the story script (I was half right! whoo!!). The Hearts tool lets you extract from the files, which creates a ton of folders with SCP files, but I can't find anything on how to edit them and opening the files in a hex editor Or text editor even after decompression just reveals a bunch of garbage (admittedly I didn't go through a lot of them, but there are a LOT of them and I have a feeling everything else would be more of the same + take me hours)
  3. The read me file states that the toolmaker was unable to make a tool for the skits (which are in fcscr.b and fcscr.dat, again turns out I was half right! \o/), which is. Gonna be a problem.
If any of you guys are able to help a little with at least one of these things, that'd be grand. Though, especially in regards to the skit tool problem, this looks like something that's big enough to the point I would probably have to commission help from someone instead of soliciting free help on a ROMhacking forum... Regardless, if anyone's able to help me out, thanks in advance!
 

Attachments

  • Illustration5.png
    Illustration5.png
    7 KB · Views: 45
Last edited by itsScarfy,

Fel

GBAtemp's Adventurer
Member
Joined
May 5, 2009
Messages
1,035
Trophies
1
Location
So close and yet so far away.
Website
Visit site
XP
857
Country
Okay update, unfortunately there were problems. Many, many problems.
  1. Could not successfully insert the tods3 files after editing them (they're the uncompressed menu files that I mentioned before). I attempted to edit the file with the synopsis, TODS3_OutLineData.dat, but when I try to insert the file with CrystalTile2 it gives me this error (the attached picture), and trying to repack the ROM with DS Lazy decreases the ROM's file size by a notable amount too. Whether I pack it with DS Lazy or insert it into the ROM using CrystalTile2 (I just pressed OK on CrystalTile without changing anything bc I had no idea what to do), the ROM will boot up fine, but attempting to visit the synopsis section will give me a completely blank selection screen and make the game lock up (thankfully for my ears, the music keeps playing)
  2. There are absolutely no instructions on how to open and edit the files from m.b and m.dat (the files that hold the story script (I was half right! whoo!!). The Hearts tool lets you extract from the files, which creates a ton of folders with SCP files, but I can't find anything on how to edit them and opening the files in a hex editor Or text editor even after decompression just reveals a bunch of garbage (admittedly I didn't go through a lot of them, but there are a LOT of them and I have a feeling everything else would be more of the same + take me hours)
  3. The read me file states that the toolmaker was unable to make a tool for the skits (which are in fcscr.b and fcscr.dat, again turns out I was half right! \o/), which is. Gonna be a problem.
If any of you guys are able to help a little with at least one of these things, that'd be grand. Though, especially in regards to the skit tool problem, this looks like something that's big enough to the point I would probably have to commission help from someone instead of soliciting free help on a ROMhacking forum... Regardless, if anyone's able to help me out, thanks in advance!
You could try joining @PhantomGhost AGT Discord and try asking one of the hackers there for help, as they're active. :)
 

mn1712trungson

Member
Newcomer
Joined
Oct 15, 2022
Messages
14
Trophies
0
Age
30
XP
273
Country
Vietnam
Okay update, unfortunately there were problems. Many, many problems.
  1. Could not successfully insert the tods3 files after editing them (they're the uncompressed menu files that I mentioned before). I attempted to edit the file with the synopsis, TODS3_OutLineData.dat, but when I try to insert the file with CrystalTile2 it gives me this error (the attached picture), and trying to repack the ROM with DS Lazy decreases the ROM's file size by a notable amount too. Whether I pack it with DS Lazy or insert it into the ROM using CrystalTile2 (I just pressed OK on CrystalTile without changing anything bc I had no idea what to do), the ROM will boot up fine, but attempting to visit the synopsis section will give me a completely blank selection screen and make the game lock up (thankfully for my ears, the music keeps playing)
  2. There are absolutely no instructions on how to open and edit the files from m.b and m.dat (the files that hold the story script (I was half right! whoo!!). The Hearts tool lets you extract from the files, which creates a ton of folders with SCP files, but I can't find anything on how to edit them and opening the files in a hex editor Or text editor even after decompression just reveals a bunch of garbage (admittedly I didn't go through a lot of them, but there are a LOT of them and I have a feeling everything else would be more of the same + take me hours)
  3. The read me file states that the toolmaker was unable to make a tool for the skits (which are in fcscr.b and fcscr.dat, again turns out I was half right! \o/), which is. Gonna be a problem.
If any of you guys are able to help a little with at least one of these things, that'd be grand. Though, especially in regards to the skit tool problem, this looks like something that's big enough to the point I would probably have to commission help from someone instead of soliciting free help on a ROMhacking forum... Regardless, if anyone's able to help me out, thanks in advance!
Can you upload skits file (.tss or something)?
 

TheCopulator

New Member
Newbie
Joined
Dec 18, 2023
Messages
4
Trophies
0
Age
35
XP
36
Country
Canada
Hello guys,
I know this is an old post for Tales of Hearts.

I was wondering if any of you would be interested on working on a translation of this game. What we need right now would be some translators. We have an App in .net C# that is very helpfull for our translators.

Hit me up on our Tales of ABCDE discord
Stewie on
discord.gg/ukP4JJKX
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
    +1
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
    +1
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    +1
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
  • SylverReZ @ SylverReZ:
    @rqkaiju2, Physical media is a great source for archiving your data, none of that cloud storage shiz.
    +1
  • AncientBoi @ AncientBoi:
    [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box] :tpi::rofl2::tpi:
    +1
  • BakerMan @ BakerMan:
    guys, should i change my pfp to one of these or keep it the same?
    iu

    iu

    (i guess i could change it to one of my other pfps too, but i just want to see what you guys think first)
  • SylverReZ @ SylverReZ:
    @BakerMan, Up to you.
  • BakerMan @ BakerMan:
    smug sonic time lmao
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Chronic The HempHog
    Psionic Roshambo @ Psionic Roshambo: Chronic The HempHog