Game mentioned as "like King's Field" - Hungry Ghosts

#32
I don't think it would be too hard to make a text dumper for ShiftJIS ‎  that produced an ASM file.
ARMIPS supports "areas", meaning you can define a maximum space for the text. The dumper would only have to detect SJIS
record the SJIS start as the area's beginning and the string's beginning
record the SJIS end as the area's end
and write the generic tags

Say the following text started at 0x100
ã ‎ ‎¨Ã£â€šâ€šÃ£ ‎ ‎«Ã§Å“Ÿã ‎ ‎®Ã¥ ‎¹ ‎³Ã¥â€™Å’ã‚’ç ‎¯â€°Ã£ ‎ ‎Ã£ ‎ ‎¾Ã£ ‎â€”ょã ‎â€ 
It would be 28 bytes long and say it has 7 'blank' 00s after it for a total of 35 bytes (0x23) maximum text size.

Code:
.org 0x100                        (sets the write location for the translation that follow)
.area 0x123 - 0x100                  (sets the max area for the translated text ie end minus start)                         
        .string "Translated text"     (armips will write the text between " "  at 0x100)
        ;ともに真の平和を築きましょう     (Putting the japanese in an ignored 'comment' line helps)
.endarea

If you made a dumper that produced such a file for ARMIPS, all you would have to do is run ARMIPS and it would auto-insert the translations and make sure nothing was oversized.
Reply



Messages In This Thread
Re: Game mentioned as "like King's Field" - Hungry Ghosts - by HwitVlf - 2014-04-03, 08:47 PM



Users browsing this thread:
21 Guest(s)