ROM Hack how do I extrat text from a rom??

  • Thread starter Thread starter corr0126
  • Start date Start date
  • Views Views 6,059
  • Replies Replies 52
rastsan said:
I'm assuming that code page 932 worked and you did find the text?
Do you know what I mean by find the text?

first what system is your computer using (I'm on 32bit vista basic)?
the system thing is important becuase it really is not that hard to get japanese support for your computer.
Get yourself EMeditor (it has multi-langauge support in it, it can auto detect the language from your dslazy dsbuff dumped files, from the rom you are opening (if it doesn't have compression, which is something else we will deal with later if we need too).
this is important becuase it will also tell you what table file you might need for your game, (utf 16le or whatever...), and from there you just google it and download that table file.

what I meant by find the text is that play the game and write down the text that you need to change or look for and use the hex editor to search for it...
the table file is useful if your to cheap to get an on screen japanese keyboard, you just copy and paste the characters that you are looking for in a new file in EMeditor, and then use this to search in the hexeditor.
found text what now
 
I forgot the part about tile viewing (example- ziods coliseum - alot of stuff in it is graphically laid out and actually very easy to find)
for finding images I like to use Tahaxan first (used to note the size of images and offset of where the images are and to save a couple images to use in crystaltile2 as an imported pallete).
I then go to ct2 and view the file system of the rom(ctrl and n)
from that menu I take a look at the files usually the files ct2 recognizes it leaves little icons for A little image icon, a little pallete file little movie clip thing for animations, and so on) click on the file and use the menu to see your options.
so lets take alook at derby stallion...
when you change it to code page 932 don't forget to change the font also to ms gothic and alos to change the scipt option in that window from western to japanese.
the first text I've managed to find is at offset 107E20 in a ovelay file, just wi-fi messages, lets move on surprisingly this game has an english language staff listing in a actual text file, well makes things easier...
offset 43A800 is somewhere you will find letters useful in making a table file (highlight the letter and see the corresponding hex code light up- this # is the hex value for that letter/character 824F=0
offset 5AB600 in the properties (on the lfet side of ct2)
change the width to 256 and the height to 192, tileform should be changed to gba 8bpp

right beside properties is palete in palete you will see a palete button click it and go down to gray division
now you can see an example of ingame graphics that will need to be exported edited and changed
mess around with the properties pane and look through the rom (useful for generally finding images)
more info to come but if I have lost you just post again...
 
Found text what NOW?
Really, oh come on, your whole purpose for starting this was to start hacking a game right?
Now that you have found the text - translate it...
So do you know what pointers are? if you do start finding them and get ready to write them down somewhere, if you don't find out cause the only text sofar I can find doesn't have any breathing room, so You migh get stuck doing (SHORT FORM TEXT) shrtfrmtxt so example コマンドウルフAC is Command wolf AC the problem コマンドウルフ is 7 characters long so unless this game lets you use single byte characters your stuck fitting Command wolf AC into 7 characters or repointing other stuff...\

Now some bad news I can find the file that lists the font I am just having trouble viewing it graphically (theres 2 by the way one is a 10 and the other is a 16) this is important- if you can edit the font and make the two byte characters take up less screen space you can fit more english 2byte characters on screen- oh and see if the english is actually two bytes
the 8142 thing 81 one byte 8142 two bytes

the only way ro test this is to test it change the wifi text to test in one byte and test in two bytes (EMeditor can help with this It can change the text to two bytes highlight and right click then select convert selection - full width now its two bytes copy and paste the two bytes test into the wifi thing right beside the normal width one. Save the changes and play the game- find the wifi setting menu and see if you changed it... if you can see both then great you can edit it in regularly if not then you are going to have to convert everything before inserting (its a pain I know but you do what ya gotta do)

let me know what happens
 
rastsan said:
Found text what NOW?
Really, oh come on, your whole purpose for starting this was to start hacking a game right?
Now that you have found the text - translate it...
So do you know what pointers are? if you do start finding them and get ready to write them down somewhere, if you don't find out cause the only text sofar I can find doesn't have any breathing room, so You migh get stuck doing (SHORT FORM TEXT) shrtfrmtxt so example ???????AC is Command wolf AC the problem ??????? is 7 characters long so unless this game lets you use single byte characters your stuck fitting Command wolf AC into 7 characters or repointing other stuff...\

Now some bad news I can find the file that lists the font I am just having trouble viewing it graphically (theres 2 by the way one is a 10 and the other is a 16) this is important- if you can edit the font and make the two byte characters take up less screen space you can fit more english 2byte characters on screen- oh and see if the english is actually two bytes
the 8142 thing 81 one byte 8142 two bytes

the only way ro test this is to test it change the wifi text to test in one byte and test in two bytes (EMeditor can help with this It can change the text to two bytes highlight and right click then select convert selection - full width now its two bytes copy and paste the two bytes test into the wifi thing right beside the normal width one. Save the changes and play the game- find the wifi setting menu and see if you changed it... if you can see both then great you can edit it in regularly if not then you are going to have to convert everything before inserting (its a pain I know but you do what ya gotta do)

let me know what happens
ok I followed everything you said now how can I copy the text to notepad for later use
 
highlight
then goto edit - copy
notepad -no emeditor yes
njstar japanese wp yes also (although I haven't used it since I got emeditor
you may have to install a japanese font onto your computer (I gave up on wordpad notepad and such
Emeditor has those nice other functions that make it way more useful)
try OpenOffice maybe that will be better for you.
the spreadsheet just comes in so handy
offset, pointer, text, stringlength, translation, new string length, possible repointing pointers.

and then paste from the edit menu in your worpprocessor (openoffice has multlangauge support)
 
rastsan said:
highlight
then goto edit - copy
notepad -no emeditor yes
njstar japanese wp yes also (although I haven't used it since I got emeditor
you may have to install a japanese font onto your computer (I gave up on wordpad notepad and such
Emeditor has those nice other functions that make it way more useful)
try OpenOffice maybe that will be better for you.
the spreadsheet just comes in so handy
offset, pointer, text, stringlength, translation, new string length, possible repointing pointers.

and then paste from the edit menu in your worpprocessor (openoffice has multlangauge support)
where can I find jp font??
 
actaully easier to get openoffice now that I've re-looked this font thing up
website www.openoffice.org download and enjoy.
but Agian I'm going to suggest Emeditor something I would keep reinstalling on every computer I own... but if you have no money openoffice will do the job.
 
corr0126 said:
ok I followed everything you said now how can I copy the text to notepad for later use

QUOTE(corr0126 @ Apr 5 2010, 02:16 AM) where can I find jp font??

Seriously...
i'm okay to help you with some stuff but if you can't just google "Japanese font" ....
 
StorMyu said:
corr0126 said:
ok I followed everything you said now how can I copy the text to notepad for later use

QUOTE(corr0126 @ Apr 5 2010, 02:16 AM) where can I find jp font??

Seriously...
i'm okay to help you with some stuff but if you can't just google "Japanese font" ....
who are you???
 
A man who tried to help you since you ask on the translation request thread...
but nvm...
 
rastsan said:
if you have vista or xp you already have the jp font so don't bother its just that wordpad and notepad are very basic and aren't much help.
ok so vista basic 32 already has the font?
 
oh and to make your own text inserter extractor the romhacking documentation project WIP has a how to just use the search function and look it up
(unfortunately not something I would do, easier to use a premade text inserter and extractor and repoint myself)
 
rastsan said:
now that I've tried it wordpad will let you paste the text you just have to save it with utf8 encoding and not the one it uses by default
sorry about asking so many question I'm using a net book and the windows install on net books are kind of messed up its not even a full install
 
corr0126 said:
rastsan said:
ohh, so will it let you save in wordpad?
if not openoffice is probably the answer.
yes it did
so ok I followed the instructions word for word and whne I try to copy the text and paste it some were it copies the hex code instead of the text what did I do wrong
 
did you select the hex to copy or the text in ct2 cause it will let you copy both (uh nevermind it only copies text).
hmm let me try, strange i don't have this problem. whats going on then are you using ct2?
its working just fine what version are you using and are using ct2?
 

Site & Scene News

Popular threads in this forum