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

Author Topic: Help with Crayon Shin-chan - Taiketsu! Kantam Panic!! (GameGear)  (Read 2015 times)

Jate

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Help with Crayon Shin-chan - Taiketsu! Kantam Panic!! (GameGear)
« on: February 19, 2021, 02:22:08 pm »
Hi, I need help

I am trying to translate this game into Spanish and I need to include characters from Spanish.



I have opened the file with the Tile Layer Pro and I find the letters of the dialogs and explanations of the game, but they have several colors and in the game they are completely white. I have tried to edit some letter and that letter shows pixels of different color.

I have also tried other graphic editors and those letters also appear with different colors.





Other graphics in the game I can edit without problems.


Thanks

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 613
  • I am the baldest romhacker
    • View Profile
Re: Help with Crayon Shin-chan - Taiketsu! Kantam Panic!! (GameGear)
« Reply #1 on: February 19, 2021, 02:57:31 pm »
Quote
I find the letters of the dialogs and explanations of the game, but they have several colors and in the game they are completely white

It means that in this moment both colors for letters are white in video memory. There might be a game scenario when colors will be different, and so will be letters.


Quote
I have tried to edit some letter and that letter shows pixels of different color.

Sounds like you have used another color number to redraw the letter. If for example there are 2 same brown colors at line 6 just like in your screenshot, that doesn't mean they are identical, because their index is different.

mziab

  • Sr. Member
  • ****
  • Posts: 319
    • View Profile
    • mteam
Re: Help with Crayon Shin-chan - Taiketsu! Kantam Panic!! (GameGear)
« Reply #2 on: February 19, 2021, 02:59:17 pm »
The address is probably off by a few bytes. Try pressing the -/+ keys until it looks better. That should fix it.

As for the colors, unless you load the palette from the game, what you see in the tile editor is bound to look different. But this shouldn't be a problem when all you're editing is a simple font.
« Last Edit: February 21, 2021, 04:36:45 am by mziab »

Jate

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Re: Help with Crayon Shin-chan - Taiketsu! Kantam Panic!! (GameGear)
« Reply #3 on: February 20, 2021, 07:06:58 am »
It means that in this moment both colors for letters are white in video memory. There might be a game scenario when colors will be different, and so will be letters.


Sounds like you have used another color number to redraw the letter. If for example there are 2 same brown colors at line 6 just like in your screenshot, that doesn't mean they are identical, because their index is different.

Thanks for the explanation, it is good to learn when you are starting.

The address is probably off by a few bytes. Try pressing the -/+ keys until it looks better. That should fix it.

As for the colors, unless you load the palette from the game, what you see in the tile editor is bound to look different. But this shouldn't be problem when all you're editing is a simple font.

Perfect, thanks.

Now I can work without failures.


Psyklax

  • Hero Member
  • *****
  • Posts: 1112
    • View Profile
    • Psyklax Translations
Re: Help with Crayon Shin-chan - Taiketsu! Kantam Panic!! (GameGear)
« Reply #4 on: February 20, 2021, 12:16:30 pm »
Just thought I'd pop in here since I did the translation on which you're basing it, and I put that alphabet in there. You're not quite right on that last screenshot: the tile for number 0 is at $622DA, so you need to go to that tile and push + until you've got it there.

I could give you a zip file with my work if it helps? I should point out that there is compression in the game which I had to reverse engineer, and I don't know if you will need to deal with that (I did this over 2 years ago).

Here's a map that I made of the ROM contents:
Code: [Select]
CRAYON SHIN CHAN GG

661 Checks compression type (see below)
136D Screen location for "Push Start" 1
1374 Screen location for "Push Start" 2
F1A0 Graphics "Shin-chan/Masao-kun Wins"
26C61 Tilemaps for game mode graphics
2CBE0 Mini-game title graphics
2EC4E Tilemaps for mini-game title graphics
4D3FC Start of "Omake" graphics (compressed)
4DD87 Start of compression table
4E073 Story Mode text
55286 Toy Hunt sign graphics
5C2B8 Story Mode font (compressed)
60294 Graphics "Push Start (compressed)
60A88 Start of title graphics (0000-1FFF, compressed)
614D7 Start of compression table (0000-1FFF)
6151D Start of title graphics (2000+, compressed)
61DE7 Start of compression table (2000+)

622DA Mini-game font
642DC Mini-game text
66C00 Quantum Battle graphics
68950 Graphics "Push Button 2"

I also wrote a lot about how the graphics compression works, but I won't put that in the thread right now since it's probably overkill at this point.

Jate

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Re: Help with Crayon Shin-chan - Taiketsu! Kantam Panic!! (GameGear)
« Reply #5 on: February 20, 2021, 09:04:45 pm »
Just thought I'd pop in here since I did the translation on which you're basing it, and I put that alphabet in there. You're not quite right on that last screenshot: the tile for number 0 is at $622DA, so you need to go to that tile and push + until you've got it there.

I could give you a zip file with my work if it helps? I should point out that there is compression in the game which I had to reverse engineer, and I don't know if you will need to deal with that (I did this over 2 years ago).

Here's a map that I made of the ROM contents:
Code: [Select]
CRAYON SHIN CHAN GG

661 Checks compression type (see below)
136D Screen location for "Push Start" 1
1374 Screen location for "Push Start" 2
F1A0 Graphics "Shin-chan/Masao-kun Wins"
26C61 Tilemaps for game mode graphics
2CBE0 Mini-game title graphics
2EC4E Tilemaps for mini-game title graphics
4D3FC Start of "Omake" graphics (compressed)
4DD87 Start of compression table
4E073 Story Mode text
55286 Toy Hunt sign graphics
5C2B8 Story Mode font (compressed)
60294 Graphics "Push Start (compressed)
60A88 Start of title graphics (0000-1FFF, compressed)
614D7 Start of compression table (0000-1FFF)
6151D Start of title graphics (2000+, compressed)
61DE7 Start of compression table (2000+)

622DA Mini-game font
642DC Mini-game text
66C00 Quantum Battle graphics
68950 Graphics "Push Button 2"

I also wrote a lot about how the graphics compression works, but I won't put that in the thread right now since it's probably overkill at this point.

Yes, I already knew that you did the translation and I wanted to ask you in private, but I did not want to bother and I have put it in the forum so that more people can comment.

Anything you have could help me, if it's not too much of a hassle.

Thanks!

Psyklax

  • Hero Member
  • *****
  • Posts: 1112
    • View Profile
    • Psyklax Translations
Re: Help with Crayon Shin-chan - Taiketsu! Kantam Panic!! (GameGear)
« Reply #6 on: March 02, 2021, 05:10:07 am »
I just quickly zipped up my work folder on this project, removing all the binary files so that it's fine to share.

http://s346165667.websitehome.co.uk/psyktrans/crayonshinchangg-source.zip

No idea how helpful this will be - I haven't looked at any of it for ages, so it's a mess - but hopefully you or anyone else might get something from it. :)

Jate

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Re: Help with Crayon Shin-chan - Taiketsu! Kantam Panic!! (GameGear)
« Reply #7 on: March 02, 2021, 06:28:38 am »
I just quickly zipped up my work folder on this project, removing all the binary files so that it's fine to share.

http://s346165667.websitehome.co.uk/psyktrans/crayonshinchangg-source.zip

No idea how helpful this will be - I haven't looked at any of it for ages, so it's a mess - but hopefully you or anyone else might get something from it. :)
Thanks, it sure helps something ;)

RadioTails

  • Sr. Member
  • ****
  • Posts: 380
  • Holding the Mega Drive controller
    • View Profile
Re: Help with Crayon Shin-chan - Taiketsu! Kantam Panic!! (GameGear)
« Reply #8 on: March 05, 2021, 01:53:13 pm »
Use the latest version of YY-CHR. It has some wonderful editing features, and you can tell the game which format to use, which sets up the encodings automatically. https://w.atwiki.jp/yychr

Now the font is uncompressed, which is good news. The new English font can be found at location 61FFA. Go to that address, and then keep pressing the - button until the font displays correctly (look at the Copyright symbol, as that is 8 pixels high and 8 pixels wide). You should have something like this:


Just a quick edit test:


That should get you started. :)

----------------------------------------------------------

So I sort of understand how the font compression works:

Code: [Select]
First, make the tile. Display in binary and convert to hex.

00000000 = 00
01111110 = 7E
00000110 = 06
01100000 = 60
01111110 = 7E
01100000 = 60
00000110 = 06
01111110 = 7E


You have to XOR the bytes like so:

00 XOR 7E = 7E

7E XOR 06 = 78

06 XOR 60 = 66

60 XOR 7E = 1E

7E XOR 60 = 1E

60 XOR 06 = 66

06 XOR 00 = 06


First four bytes are the header (the first bye is always 00):
30 33 33 33

Then we take each XOR, and repeat it. So:

7E 7E 78 78 66 66 1E 1E 1E 1E 66 66 06 06


So the compressed date is:
30 33 33 33 7E 7E 78 78 66 66 1E 1E 1E 1E 66 66 06 06

Although it's not displaying the shape I wanted.
« Last Edit: March 06, 2021, 05:03:38 am by RadioTails »
Avatar by LazyNinjartist