News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Gameboy Color Translation Patching Where to Start  (Read 369 times)

Burntends

  • Newbie
  • *
  • Posts: 2
    • View Profile
Gameboy Color Translation Patching Where to Start
« on: January 17, 2021, 03:54:05 pm »
Hello all. I recently joined the Sakura Wars translation group and wanted to start up a side project for the translators to work on as the Saturn developers are busy doing other projects. This being localizing the two gameboy color games. one's a visual novel with support for a pocket pikachu clone called the pocket sakura, and the other apparently is a full on RPG.

Currently I have managed to get the game running on retroarch but was curious as to where i should go from there to do things like extracting the script. I have almost no programming experience but am willing to learn at least the basics. Of course, if anyone wanted to join the project, feel free to let me know as well. Could use all the help I could get.

Psyklax

  • Hero Member
  • *****
  • Posts: 1113
    • View Profile
    • Psyklax Translations
Re: Gameboy Color Translation Patching Where to Start
« Reply #1 on: January 18, 2021, 06:12:41 am »
I pulled the game up on Youtube and I see it uses kanji, which will make dumping the text a lot more difficult since you'll have to identify every single kanji. I just opened the ROM in Tile Molester, displayed the data in 1bpp planar, and found the character set at $18100. I counted 1247 kanji - yes, over a thousand. So any text dump will require identifying all of those, and I don't know how the text is stored either. It's a 4MB ROM, which is huge for the Game Boy, so if you're lucky it won't be compressed.

Just out of curiosity, I did a relative search for four characters on the intro screen and found the text in the ROM (starting $106091), and I see how it is done: normal characters just take a normal byte, while kanji takes the number of the 'page' (whatever) and then the kanji on that page. So Sakura Taisen is "B6 B0 EB 04 0E 03 A8", if that makes sense.

I had a go at a simple table (in Romaji) but there are a lot of kanji that need to be done here. Still, gives you a starting point.

Code: [Select]
10=
11=0
12=1
13=2
14=3
15=4
16=5
17=6
18=7
19=8
1A=9
1B=A
1C=B
1D=C
1E=D
1F=E
20=F
21=G
22=H
23=I
24=J
25=K
26=L
27=M
28=N
29=O
2A=P
2B=Q
2C=R
2D=S
2E=T
2F=U
30=V
31=W
32=X
33=Y
34=Z
35=a
36=b
37=c
38=d
39=e
3A=f
3B=g
3C=h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=VU
F7=XKA
F8=XKE
F9=?
FA=!
FB=-
FC=~
FD=[open]
FE=[close]
FF=[..]

This might have errors and I think everything under $10 is a control code (next line, choose kanji page etc) so someone will have to check that out.

I won't be doing this myself, but at least someone else knows where to begin. Good luck! :)

Burntends

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Gameboy Color Translation Patching Where to Start
« Reply #2 on: January 18, 2021, 04:18:13 pm »
Alright thanks for what advice you were able to give.

So I interpreted this right I need to open up the rim in tile molester and identify all the kanji and put them into this table?