ROM Hack [Help] [.bin] How do I translate Trauma Center 2 under the knife? Need help!

NOVA31

Member
OP
Newcomer
Joined
Jun 19, 2020
Messages
6
Trophies
0
Age
26
XP
58
Country
France
I want to translate Trauma Center 2 : under the knife but I can't figure out how to open / unpack the script files. I unpacked the .nds and found the script files in the directory named "/operation/msg" which contains a lot of .bin script files.
Then I simply tried to open the file with a text editor and it was, and it's still, unreadable. I opened the file with 2 hex editors and it was still unreadable.


Is there a tool to translate this game or a trick to make the files readable?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,375
Country
United Kingdom
I can't remember if it was this game or the prequel that rendered all the text as graphics so do check for that.

When you say opened with a hex editor what were you looking for and what did you try?
 

NOVA31

Member
OP
Newcomer
Joined
Jun 19, 2020
Messages
6
Trophies
0
Age
26
XP
58
Country
France
I can't remember if it was this game or the prequel that rendered all the text as graphics so do check for that.

When you say opened with a hex editor what were you looking for and what did you try?

I tried to find clear, readable text and I also tried a few times to shift the bits of the file.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,375
Country
United Kingdom
I tried to find clear, readable text and I also tried a few times to shift the bits of the file.
While not unheard of for DS games to use standard ASCII/unicode most hex editors will display things in (and some shiftJIS in the case of Japanese games, though most non hacking hex editors will not give you the option for this) a lot of games will be custom.
Assuming this is an English or European language have you tried a relative search tool? http://www.romhacking.net/utilities/513/ being my suggested one. If it is a European language one try not to do a search including an accented character or the like, or if you do use a wildcard for that character.
 

NOVA31

Member
OP
Newcomer
Joined
Jun 19, 2020
Messages
6
Trophies
0
Age
26
XP
58
Country
France
While not unheard of for DS games to use standard ASCII/unicode most hex editors will display things in (and some shiftJIS in the case of Japanese games, though most non hacking hex editors will not give you the option for this) a lot of games will be custom.
Assuming this is an English or European language have you tried a relative search tool?[...]

I downloaded the tool but I don't know how to use it...
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,375
Country
United Kingdom
Select the file (can be the whole ROM) you want to scan in the top option.
In the one below it put a line of text from the game (preferably not one split across lines, and also not with any accents, cedillas or the like). You want relative search rather than value scan at this point.

The advanced stuff can be skipped for now (it is usually used more for Japanese).

Press the search button.

It will attempt to find anything that matches the pattern in the file.

If there is no pattern it will say, or it might not find the one the text uses.

If it finds it then great you can proceed to making a table to feed to a ROM hacking hex editor that supports such things, if not then you get to play hacker to figure out the encoding (could be compression troubling the search, could be the graphics thing I mentioned before, could be a non relative encoding, could be several other things). Guide to ROM hacking https://gbatemp.net/threads/gbatemp-rom-hacking-documentation-project-new-2016-edition-out.73394/ .
 

NOVA31

Member
OP
Newcomer
Joined
Jun 19, 2020
Messages
6
Trophies
0
Age
26
XP
58
Country
France
FAST6191 said:
]Select the file (can be the whole ROM) you want to scan in the top option.
In the one below it put a line of text from the game (preferably not one split across lines, and also not with any accents, cedillas or the like). You want relative search rather than value scan at this point.

The advanced stuff can be skipped for now (it is usually used more for Japanese).

Press the search button.

It will attempt to find anything that matches the pattern in the file.

If there is no pattern it will say, or it might not find the one the text uses.

If it finds it then great you can proceed to making a table to feed to a ROM hacking hex editor that supports such things, if not then you get to play hacker to figure out the encoding (could be compression troubling the search, could be the graphics thing I mentioned before, could be a non relative encoding, could be several other things). Guide to ROM hacking [...]
I tried with "Angie" (a character from the game) and the software showed multiple results. What do I have to do with them now? I never worked with tables.
 
Last edited by NOVA31,

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,375
Country
United Kingdom
Better to try a longer thing if you can (it will guess at spaces so no need to worry there) and character names can be tricky (especially if you can set your own at some point).

Anyway if the character is likely referenced multiple times in the game script so it is probably displaying the results of that.
Either side of those when you click on the results and it will have tried to fill in the blanks (if you already have n,g,i and e then the rest of lower case should follow) and with that you can try to see if it found something readable. It will then make a start of a guess about a table (might even have got the upper case letters).
You would then get to fill in any blanks (punctuation is usually a good one) and then see about where things are in the file or game.

That said if you are aiming to translate something it also means you will likely be asking about pointers, fonts, formatting and compression before long so might need to take a step back and learn some of the more fundamental stuff. A puzzle game like this with just a bit of start mission, end mission and sometimes mid mission text is a reasonable thing to want to translate but it is not like translating a document on a computer or anything and you will benefit from having some more technical skills, or working with someone with them.
I already linked my document on ROM hacking
http://www.romhacking.net/start
https://gbatemp.net/threads/the-ultimate-nintendo-ds-rom-hacking-guide.291274/ some like as well.

Don't know what I have for French language if you would prefer that. There are usually some guides to various aspects around the place but for all the great French emulation/ROM/hacking sites there are I so rarely see a ROM hacking guide on them.
 

NOVA31

Member
OP
Newcomer
Joined
Jun 19, 2020
Messages
6
Trophies
0
Age
26
XP
58
Country
France
Better to try a longer thing if you can (it will guess at spaces so no need to worry there) and character names can be tricky (especially if you can set your own at some point).

Anyway if the character is likely referenced multiple times in the game script so it is probably displaying the results of that.
Either side of those when you click on the results and it will have tried to fill in the blanks (if you already have n,g,i and e then the rest of lower case should follow) and with that you can try to see if it found something readable. It will then make a start of a guess about a table (might even have got the upper case letters).
You would then get to fill in any blanks (punctuation is usually a good one) and then see about where things are in the file or game.

That said if you are aiming to translate something it also means you will likely be asking about pointers, fonts, formatting and compression before long so might need to take a step back and learn some of the more fundamental stuff. A puzzle game like this with just a bit of start mission, end mission and sometimes mid mission text is a reasonable thing to want to translate but it is not like translating a document on a computer or anything and you will benefit from having some more technical skills, or working with someone with them.
I already linked my document on ROM hacking
http://www.romhacking.net/start
https://gbatemp.net/threads/the-ultimate-nintendo-ds-rom-hacking-guide.291274/ some like as well.

Don't know what I have for French language if you would prefer that. There are usually some guides to various aspects around the place but for all the great French emulation/ROM/hacking sites there are I so rarely see a ROM hacking guide on them.

I re-tried with another word from the game and it found nothing. I am not sure the software found the real text files...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    hmmm 360 even lol
  • Psionic Roshambo @ Psionic Roshambo:
    Well I was getting a discount so 320 is probably right
  • BigOnYa @ BigOnYa:
    That is cheap, I used to pay $100 for a tine.
  • Psionic Roshambo @ Psionic Roshambo:
    Tine? One gram?
  • BigOnYa @ BigOnYa:
    Sixteenth
  • Psionic Roshambo @ Psionic Roshambo:
    Also it was literally out of a kilo when I got it off the boat so absolutely pure
  • Psionic Roshambo @ Psionic Roshambo:
    Holy shiz that's a lot
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I was getting 3.5 Grams for 320 could have stepped on it and doubled my money easy lol
    +1
  • BigOnYa @ BigOnYa:
    I'd be afraid to it nowdays, my heart would explode prob. I just stick beers n buds nowdays.
  • Psionic Roshambo @ Psionic Roshambo:
    I would get to drive from tarpon springs to like Miami a thousand bucks lol do that twice a week and back in 92 that was good money
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    @Psionic Roshambo what are you guys talking about?
  • Psionic Roshambo @ Psionic Roshambo:
    Blew it on women and muscle cars lol
    +1
  • BigOnYa @ BigOnYa:
    @Xdqwerty Hamster food, its pricey nowadays to keep PCs running.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I don't do anything except cigarettes and gotta stop eventually lol
    +1
  • BigOnYa @ BigOnYa:
    I'd do shrooms again if could find, and I was outside camping/fishing, and had a cooler full of beer.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I wouldn't mind some LSD, laughing until my face hurt sounds fun lol
    +1
  • BigOnYa @ BigOnYa:
    You ever try soaper powder/qauludes? I did once and like a dumbass drank beer on top of taking, I woke up laying in my backyard in the pouring rain, it knocked me out. I have not seen it around in many many years.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    No never tried a lot of things but never that lol
  • Psionic Roshambo @ Psionic Roshambo:
    I did pass out one time on a floor after taking a bunch of Ambien lol thought it would help me sleep and did it lol
  • Psionic Roshambo @ Psionic Roshambo:
    Girlfriend was working at a pharmacy and stole like 500 of them, was and still is the biggest pill bottle I have ever seen lol
  • K3Nv2 @ K3Nv2:
    Ativan is pretty legit
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    The last time I had to take something to help me sleep, I was prescribed Trazadone it was pretty OK to be honest.
  • Psionic Roshambo @ Psionic Roshambo:
    Not something I need at all these days, doing a lot better lol
    Psionic Roshambo @ Psionic Roshambo: Not something I need at all these days, doing a lot better lol