ROM Hack looking for hacker to translate shining force feather

corblimey111

Member
OP
Newcomer
Joined
Sep 25, 2009
Messages
11
Trophies
0
Website
Visit site
XP
23
Country
i don't know the first thing about hacking, but what i do know is Japanese, so do my friends and family, if somebody can strip all the text or work with me in whatever way works best for them, i would love to translate this game, i don't see it getting an English release and i think if someone or (more than one) moved on this a lot of people would be very happy.

any other help or advice would be welcome
smile.gif
 

azerty1

Well-Known Member
Member
Joined
Mar 22, 2009
Messages
160
Trophies
1
Age
29
Website
Visit site
XP
109
Country
Canada
I took a glance at the rom once before. there are tonnes of .ahx files, which i think are sound files. i couldn't find the text from just opening the rom and searching, so i'm assuming the text is either compressed or encrypted. i didn't take that long of a look, though, so i could've missed something...hope that helps...
 

neoxephon

Well-Known Member
Member
Joined
Jul 13, 2009
Messages
437
Trophies
1
Age
36
Location
USA
XP
567
Country
United States
azerty1 said:
I took a glance at the rom once before. there are tonnes of .ahx files, which i think are sound files. i couldn't find the text from just opening the rom and searching, so i'm assuming the text is either compressed or encrypted. i didn't take that long of a look, though, so i could've missed something...hope that helps...

If I remember correctly, there is a good amount of text in arm9.bin and possibly the overlays. I'm not sure about the overlays, though, as it has been months since I looked at it.

Also, if I remember correctly, the fonts only have double byte English characters. So, those would have to be edited if there was a desire to use single byte.
 

azerty1

Well-Known Member
Member
Joined
Mar 22, 2009
Messages
160
Trophies
1
Age
29
Website
Visit site
XP
109
Country
Canada
neoxephon said:
azerty1 said:
I took a glance at the rom once before. there are tonnes of .ahx files, which i think are sound files. i couldn't find the text from just opening the rom and searching, so i'm assuming the text is either compressed or encrypted. i didn't take that long of a look, though, so i could've missed something...hope that helps...

If I remember correctly, there is a good amount of text in arm9.bin and possibly the overlays. I'm not sure about the overlays, though, as it has been months since I looked at it.

Also, if I remember correctly, the fonts only have double byte English characters. So, those would have to be edited if there was a desire to use single byte.

i haven't looked for a few months, either, but i'm sure it had an .NTFR file in there, which means the font is easy to fix...
i've still got the rom stashed in my laptop. i'll take a closer look...
 

corblimey111

Member
OP
Newcomer
Joined
Sep 25, 2009
Messages
11
Trophies
0
Website
Visit site
XP
23
Country
excellent to see people getting on to this so fast, i wish i had the time to learn the hacking side of things, unfortunately that is an unforeseeable future for me at the moment,

keep up the great work guys!
 

neoxephon

Well-Known Member
Member
Joined
Jul 13, 2009
Messages
437
Trophies
1
Age
36
Location
USA
XP
567
Country
United States
azerty1 said:
neoxephon said:
azerty1 said:
I took a glance at the rom once before. there are tonnes of .ahx files, which i think are sound files. i couldn't find the text from just opening the rom and searching, so i'm assuming the text is either compressed or encrypted. i didn't take that long of a look, though, so i could've missed something...hope that helps...

If I remember correctly, there is a good amount of text in arm9.bin and possibly the overlays. I'm not sure about the overlays, though, as it has been months since I looked at it.

Also, if I remember correctly, the fonts only have double byte English characters. So, those would have to be edited if there was a desire to use single byte.

i haven't looked for a few months, either, but i'm sure it had an .NTFR file in there, which means the font is easy to fix...
i've still got the rom stashed in my laptop. i'll take a closer look...

I wish the fonts were NFTR. From what I remember they are tile based, the kind you'd need to use a tile editor to view.
 

azerty1

Well-Known Member
Member
Joined
Mar 22, 2009
Messages
160
Trophies
1
Age
29
Website
Visit site
XP
109
Country
Canada
neoxephon said:
azerty1 said:
neoxephon said:
azerty1 said:
I took a glance at the rom once before. there are tonnes of .ahx files, which i think are sound files. i couldn't find the text from just opening the rom and searching, so i'm assuming the text is either compressed or encrypted. i didn't take that long of a look, though, so i could've missed something...hope that helps...

If I remember correctly, there is a good amount of text in arm9.bin and possibly the overlays. I'm not sure about the overlays, though, as it has been months since I looked at it.

Also, if I remember correctly, the fonts only have double byte English characters. So, those would have to be edited if there was a desire to use single byte.

i haven't looked for a few months, either, but i'm sure it had an .NTFR file in there, which means the font is easy to fix...
i've still got the rom stashed in my laptop. i'll take a closer look...

I wish the fonts were NFTR. From what I remember they are tile based, the kind you'd need to use a tile editor to view.

yeah. my memory's faulty.
oh, the overlays are definitely not the text, and i'm sure the text is going to be compressed. there's like, opening movies and all that stuff, and from what i could see on gamefaqs, it's an rpg. which means loads of text, which means some level of compression...
all the files in there are movie files, sound files and finally the .pac files. I'm sure the one labelled script.pac is the winner, but it's either compressed, encrypted, or uses some random table...i just finished with another thingy, so i'll start working on this one and see if i can find anything...
 

neoxephon

Well-Known Member
Member
Joined
Jul 13, 2009
Messages
437
Trophies
1
Age
36
Location
USA
XP
567
Country
United States
azerty1 said:
neoxephon said:
azerty1 said:
neoxephon said:
azerty1 said:
I took a glance at the rom once before. there are tonnes of .ahx files, which i think are sound files. i couldn't find the text from just opening the rom and searching, so i'm assuming the text is either compressed or encrypted. i didn't take that long of a look, though, so i could've missed something...hope that helps...

If I remember correctly, there is a good amount of text in arm9.bin and possibly the overlays. I'm not sure about the overlays, though, as it has been months since I looked at it.

Also, if I remember correctly, the fonts only have double byte English characters. So, those would have to be edited if there was a desire to use single byte.

i haven't looked for a few months, either, but i'm sure it had an .NTFR file in there, which means the font is easy to fix...
i've still got the rom stashed in my laptop. i'll take a closer look...

I wish the fonts were NFTR. From what I remember they are tile based, the kind you'd need to use a tile editor to view.

yeah. my memory's faulty.
oh, the overlays are definitely not the text, and i'm sure the text is going to be compressed. there's like, opening movies and all that stuff, and from what i could see on gamefaqs, it's an rpg. which means loads of text, which means some level of compression...
all the files in there are movie files, sound files and finally the .pac files. I'm sure the one labelled script.pac is the winner, but it's either compressed, encrypted, or uses some random table...i just finished with another thingy, so i'll start working on this one and see if i can find anything...

At the least, character names are in arm9.bin, possibly some other text as well.
 

azerty1

Well-Known Member
Member
Joined
Mar 22, 2009
Messages
160
Trophies
1
Age
29
Website
Visit site
XP
109
Country
Canada
neoxephon said:
At the least, character names are in arm9.bin, possibly some other text as well.
meh...i have zero experience with whatever is in there...there seems to be nothing i can make sense of what's in the .pac files, the overlays seem to have nothing of use and everything else is a movie or sound file...
i'm thinking it's a bit above my level...i've never dealt with anything other than LZ compression, and this is clearly not LZ77 compressed. i'm betting tales of hearts has something like this, right? it's a giant game with giant amounts of text...how did you and your team work through that?
 

neoxephon

Well-Known Member
Member
Joined
Jul 13, 2009
Messages
437
Trophies
1
Age
36
Location
USA
XP
567
Country
United States
azerty1 said:
neoxephon said:
At the least, character names are in arm9.bin, possibly some other text as well.
meh...i have zero experience with whatever is in there...there seems to be nothing i can make sense of what's in the .pac files, the overlays seem to have nothing of use and everything else is a movie or sound file...
i'm thinking it's a bit above my level...i've never dealt with anything other than LZ compression, and this is clearly not LZ77 compressed. i'm betting tales of hearts has something like this, right? it's a giant game with giant amounts of text...how did you and your team work through that?

ToH uses LZ77 compression.

Check arm9.bin, which is LZ77 compressed. You can use CT2 to decompress it. Make sure you are viewing it with Shift_JIS encoding. Go to offset 082334, there is some text that starts there.
 

DarthNemesis

Well-Known Member
Member
Joined
Feb 19, 2008
Messages
1,210
Trophies
1
XP
271
Country
United States
azerty1 said:
i'm betting tales of hearts has something like this, right? it's a giant game with giant amounts of text...how did you and your team work through that?
Hours of staring at the archive files and collecting metrics across all of them to find patterns. Also reverse-engineering an LZ77 variant by comparing the data before and after decompression.
 

valyr

Well-Known Member
Member
Joined
Sep 15, 2007
Messages
326
Trophies
1
Location
United Kingdom
XP
1,508
Country
the script.pac file can be opened with crystaltile2 by using the nds file system tool, right click on the pac file and select subfile sort. in the new window that comes up there are about 316 lz compressed files which can be extracted and decompressed from there

extract from script-1.ps13.lz (first file in script.pac)

Code:
($9A)($01)($01)($00)4($00)($00)($00)($98)($01)($01)($00)($01)($00)($00)($00)($
9B)($01)????????????($00)($00)($9B)($01)??????????
??($00)($00)($9B)($01)??????????($00)($00)($9C)($01)($9B)($01)?
????????($00)($00)($9C)($01)($9B)($01)????????????($00)($
00)($9B)($01)???????????($00)($00)($9B)($01)????($00)($00)($9C)
($01)($9B)($01)?????????($00)($00)($9B)($01)?????????($00)(
$00)($9B)($01)?????????????($00)($00)($9C)($01)($9B)($01)?
???????????($00)($00)($9B)($01)????($00)($00)($9C)($01)($9B)($
01)?????????????($00)($00)($9B)($01)????????????
?($00)($00)($9B)($01)???????????($00)($00)($9C)($01)($99)($01)($08)
($00)($9E)($01)($01)($00)c($00)($00)($00)($9A)($01)($01)($00)4($00)($00)($00)
($98)($01)($01)($00)($01)($00)($00)($00)($9B)($01)???????????
?($00)($00)($9B)($01)???????($00)($00)($9C)($01)($9B)($01)???
???????($00)($00)($9B)($01)????????????($00)($00)($9C)($01)
($9B)($01)????????????($00)($00)($9B)($01)?????????
???($00)($00)($9B)($01)?????????($00)($00)($9C)($01)($99)($01)($08)
($00)

+++($9E)($01)($01)($00)c($00)($00)($00)($9A)($01)($01)($00)4($00)($00)($00)
($98)($01)($01)($00)($01)($00)($00)($00)($9B)($01)???????????
??($00)($00)($9B)($01)????????????($00)($00)($9B)($01)??
??????????($00)($00)($9C)($01)($9B)($01)???????????
??($00)($00)($9C)($01)($9B)($01)????????????($00)($00)($9B)($01)
???????????($00)($00)($9C)($01)($99)($01)($08)($00)+++

($9E)($01)($01)
($00)c($00)($00)($00)($9A)($01)($01)($00)4($00)($00)($00)($98)($01)($01)($00)
($01)($00)($00)($00)($9B)($01)?????????????($00)($00)($9B)($01)?
????????????($00)($00)($9B)($01)?????($00)($00)($9C)($01)($99)
($01)($08)($00)($9E)($01)($01)($00)c($00)($00)($00)($9A)($01)($01)($00)4($00)
($00)($00)($98)($01)($01)($00)($01)($00)($00)($00)($9B)

sorry about the messy hex code the text dump was done with windhex

looking quickly at the code 9b01 seems to be the newline code while 9c01 seems to denote a new textbox
though i may be wrong i dont have much experience with deciphering the control codes
 

azerty1

Well-Known Member
Member
Joined
Mar 22, 2009
Messages
160
Trophies
1
Age
29
Website
Visit site
XP
109
Country
Canada
valyr said:
the script.pac file can be opened with crystaltile2 by using the nds file system tool, right click on the pac file and select subfile sort. in the new window that comes up there are about 316 lz compressed files which can be extracted and decompressed from there

extract from script-1.ps13.lz (first file in script.pac)

Code:
($9A)($01)($01)($00)4($00)($00)($00)($98)($01)($01)($00)($01)($00)($00)($00)($
9B)($01)????????????($00)($00)($9B)($01)??????????
??($00)($00)($9B)($01)??????????($00)($00)($9C)($01)($9B)($01)?
????????($00)($00)($9C)($01)($9B)($01)????????????($00)($
00)($9B)($01)???????????($00)($00)($9B)($01)????($00)($00)($9C)
($01)($9B)($01)?????????($00)($00)($9B)($01)?????????($00)(
$00)($9B)($01)?????????????($00)($00)($9C)($01)($9B)($01)?
???????????($00)($00)($9B)($01)????($00)($00)($9C)($01)($9B)($
01)?????????????($00)($00)($9B)($01)????????????
?($00)($00)($9B)($01)???????????($00)($00)($9C)($01)($99)($01)($08)
($00)($9E)($01)($01)($00)c($00)($00)($00)($9A)($01)($01)($00)4($00)($00)($00)
($98)($01)($01)($00)($01)($00)($00)($00)($9B)($01)???????????
?($00)($00)($9B)($01)???????($00)($00)($9C)($01)($9B)($01)???
???????($00)($00)($9B)($01)????????????($00)($00)($9C)($01)
($9B)($01)????????????($00)($00)($9B)($01)?????????
???($00)($00)($9B)($01)?????????($00)($00)($9C)($01)($99)($01)($08)
($00)($9E)($01)($01)($00)c($00)($00)($00)($9A)($01)($01)($00)4($00)($00)($00)
($98)($01)($01)($00)($01)($00)($00)($00)($9B)($01)???????????
??($00)($00)($9B)($01)????????????($00)($00)($9B)($01)??
??????????($00)($00)($9C)($01)($9B)($01)???????????
??($00)($00)($9C)($01)($9B)($01)????????????($00)($00)($9B)($01)
???????????($00)($00)($9C)($01)($99)($01)($08)($00)($9E)($01)($01)
($00)c($00)($00)($00)($9A)($01)($01)($00)4($00)($00)($00)($98)($01)($01)($00)
($01)($00)($00)($00)($9B)($01)?????????????($00)($00)($9B)($01)?
????????????($00)($00)($9B)($01)?????($00)($00)($9C)($01)($99)
($01)($08)($00)($9E)($01)($01)($00)c($00)($00)($00)($9A)($01)($01)($00)4($00)
($00)($00)($98)($01)($01)($00)($01)($00)($00)($00)($9B)

sorry about the messy hex code the text dump was done with windhex

looking quickly at the code 9b01 seems to be the newline code while 9c01 seems to denote a new textbox
though i may be wrong i dont have much experience with deciphering the control codes

heh...cool. maybe i should start using CT2 more often...windhex is my current favourite right now...
deciphering control codes is pretty much my specialty. i'll try it out and start an extractor once school's over. from the looks of what i see here, you're probably right. which is good. i find that things that initialize textboxes rather than count bytes make life much easier.
cool.gif
 

valyr

Well-Known Member
Member
Joined
Sep 15, 2007
Messages
326
Trophies
1
Location
United Kingdom
XP
1,508
Country
@ azerty1 ive broken out a section of text for you in my above example so you can see the complete code line
from beginning to end but i am still checking other files from the script.pac to see if the code lines match

EDIT. definitly no singlebyte font in this game have tried to edit text lol, the edit works but text is scrambled
severly. btw the 1st text file used in game is script-30.ps13.lz if that helps anyone
 

azerty1

Well-Known Member
Member
Joined
Mar 22, 2009
Messages
160
Trophies
1
Age
29
Website
Visit site
XP
109
Country
Canada
valyr said:
@ azerty1 ive broken out a section of text for you in my above example so you can see the complete code line
from beginning to end but i am still checking other files from the script.pac to see if the code lines match

EDIT. definitly no singlebyte font in this game have tried to edit text lol, the edit works but text is scrambled
severly. btw the 1st text file used in game is script-30.ps13.lz if that helps anyone

ok...i'm done the 50 lines of code to extract all the text, but it's kinda useless until we figure out how to put it back in...

for that, i'm wondering if anyone has a more efficient means of corruption-testing it.
so far, all i've been able to do was extract it with crystaltile2, decompress it, edit whatever, recompress it, put it all back into script.pac, save it somewhere else, open it back up with windhex, dump binaries, search for where script.pac is in the whole rom, and then plug it all back in. it takes eight minutes to check one byte...
and unfortunately nitroexplorer doesn't work on my computer...

well, in other news, B101 is the "new line" command. i'm fairly certain the byte that defines the picture of whoever is 10 bytes after the end of the text and i also think that the voice is defined by two bytes that seem to increase every time someone says something. it's something like the 8th and 9th byte before the new line call.
the text in script-1 seems to be menu stuff. or tutorial stuff. with the little katakana and hirogana i know, i can tell that people don't say "System Menu" and "Mithril Dagger" or whatnot.
either way, it seems to work different from the rest of the text. i should probably add that file format to the extractor as well.

here's my extractor if anyone wants it...
http://www.megaupload.com/?d=AZ6W7P0Q
 

corblimey111

Member
OP
Newcomer
Joined
Sep 25, 2009
Messages
11
Trophies
0
Website
Visit site
XP
23
Country
azerty1, thats excellent!

so what would be the next step from here to get it to me to translate?

im assuming it needs to be broken up into separate segments and whatnot?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtu.be/ZtNtSVIiitE?si=vQHuSAiWxlBVO3Yn