ROM Hack Need Help: Chrono Trigger Translation

nIxx

Well-Known Member
OP
Member
Joined
Sep 30, 2007
Messages
1,544
Trophies
0
Location
Germany
Website
Visit site
XP
337
Country
Gambia, The
Hmm it seems that Wastor´s values are not right
here is what i have found in system.msg at 0xa25 starts the "text" for the special characters (0x6c21 for the normal characters)
so it was not difficult to find the rest
wink.gif
(I think the values between the normal and special characters are for the japanese characters)
Code:
C288=ö
C581=¡
C582=¿
C583=Á
C584=Ä
C585=È
C586=Ë
C587=Ì
C588=Í
C589=Î
C58A=Ï
C58B=Ñ
C58C=Ò
C58D=Ó
C58E=Ö
C58F=ß
C590=Ù
C591=Ú
C592=Û
C593=Ü
C594=á
C595=ä
C596=ë
C597=ì
C598=ñ
C599=ò
C59A=ó
C59B=ü
C281=ú
 

Mentz

Well-Known Member
Newcomer
Joined
Jul 7, 2008
Messages
80
Trophies
0
Location
Italy, Rome
Website
www.mentzland.co.uk
XP
151
Country
Italy
This is what I see in system.msg (using my viewer)
tag is for 0x02

CODE0123456789

0123456789

ABCDEFGHIJKLMNOPQRSTUVWXYZ

ABCDEFGHIJKLMNOPQRSTUVWXYZ

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

CODE!?/&'.() -

!?/&'.() -

ÀÂÇÉÊÔà âçèéêíîïôùûŒœ

ÀÂÇÉÊÔà âçèéêíîïôùûŒœ

Back

Retour

Accept

Confirmer


Obtained !


Obtenu :ÂÂ!


It's empty!


Il est vide !


ObtainedÂÂG!


Obtenu :ÂÂG !


It's correct?
 

nIxx

Well-Known Member
OP
Member
Joined
Sep 30, 2007
Messages
1,544
Trophies
0
Location
Germany
Website
Visit site
XP
337
Country
Gambia, The
@Mentz: Except the missing special characters your dump is right
If you use my values you will see them
wink.gif


@Wastor: Possibly these are the values for the small don´t know anyway know we have two "sets" of characters xD
 

Mentz

Well-Known Member
Newcomer
Joined
Jul 7, 2008
Messages
80
Trophies
0
Location
Italy, Rome
Website
www.mentzland.co.uk
XP
151
Country
Italy
A dumper need a reinserter/repointer...
An editor si all in one without creating a lot of txt file...
I'm trying to finish my app, but i must complete other tools for other translation before complete this...
 

Rigle

Well-Known Member
Member
Joined
Apr 15, 2008
Messages
169
Trophies
1
XP
620
Country
Spain
Mentz said:
A dumper need a reinserter/repointer...
An editor si all in one without creating a lot of txt file...
I'm trying to finish my app, but i must complete other tools for other translation before complete this...
Ok, I'll wait your app ^^
 

nIxx

Well-Known Member
OP
Member
Joined
Sep 30, 2007
Messages
1,544
Trophies
0
Location
Germany
Website
Visit site
XP
337
Country
Gambia, The
Mentz said:
A dumper need a reinserter/repointer...
An editor si all in one without creating a lot of txt file...
I'm trying to finish my app, but i must complete other tools for other translation before complete this...

Of course this needs a reinserter
wink.gif
but this shouldn´t be a problem since the msg File Format is really easy.
And if i wanted i could make a GUI
tongue.gif

Anyway i´m open to learn
wink.gif
(I´m still new in translating games)
So if you want possibly we can help us !?
(at least the table file could be usefull for you only the japanes characters should be missing)

cYa nIxx
 

Wastor

Member
Newcomer
Joined
Apr 7, 2008
Messages
13
Trophies
0
Website
Visit site
XP
73
Country
I wrote a repointer program (only repointer) for a spanish translation and it works fine. I used a rare program for this job, but it's efficient. If anyone needs help for write or feel curiosity, feel free to give me a PM.
 

Crosser

Active Member
Newcomer
Joined
Mar 1, 2009
Messages
26
Trophies
0
Age
37
Location
Italy
Website
gemini.aerdan.org
XP
111
Country
Italy
So nIxx (or should I call you Takti?), everything's dead already on your side? Anybody? This looked quite promising. Maybe I should also contribute to the cause of researching CT DS by posting my junk from the rh.net thread:
QUOTE said:
QUOTE said:
Hey and i would like to know where do you found these font images and got the images
smile.gif
.
I'm not really sure what you are asking, as you should already know where the fonts are.
ohmy.gif
If you mean where I found those images, I can tell for sure that they weren't floating on the net.
tongue.gif
I made them with a little program of mine used for testing my Image class (which works pretty good even with 2bpp graphics, it seems). I haven't reversed everything of the .fnt format used by TOSE, but most of it. Here goes the structure for the first 16 bytes:
Code:
typedef struct FONT_HEADER
{
ÂÂÂÂBYTE magic[8];ÂÂÂÂ// always "\x00\x00\x00\x00FONT"
ÂÂÂÂBYTE height;ÂÂÂÂ// overall height for the font
ÂÂÂÂBYTE depth;ÂÂÂÂ// it's not actually used in game
ÂÂÂÂshort total;ÂÂÂÂ// counter for characters stored
ÂÂÂÂULONG unk2;ÂÂÂÂ// unknown crap, MARIO THISS NEED MORE SHIT
};
Other than this, there's other data that I really dunno what's used for (didn't bother to check in a debugger). AFTER this huge unknown chunk there is a series of 32 bit absolute pointers (which can be also NULL'd, meaning garbage that can be ignored) to all the tile glyphs. Each item pointed varies in size, depending oh what's in the subheader. This subheader is made of 2 bytes, the first with the character width, the second with the size specification. There are 4 size specs:
0=empty character;
1=4x? (1 byte for each row)
2=8x? (2 bytes for each row)
3=12x? (3 bytes for each row)
Repace '?' with the height value in the main header. I guess that's all.
According to a post on rh.net, it seems like this format is shared among other portings made by TOSE. I suspect it's the same also used for GBA portings of FF. And while we're at it...

- Japanese big:
fontj_big.png

- Japanese small:
fontj_small.png

- American/European big:
font_big.png

- American/European small:
font_small.png

Each of these corresponds to the big/small folders in "msg", and each has its own encoding. Anything above 0x80 is decoded using this simple formula:
CODE
if(data&0x80) res=(data[i+1]&0x3F)|((data21);
Where data is a byte array. This should solve the "OMG! How do I get the values!?" issue, I hope.
 

nIxx

Well-Known Member
OP
Member
Joined
Sep 30, 2007
Messages
1,544
Trophies
0
Location
Germany
Website
Visit site
XP
337
Country
Gambia, The
Hi
smile.gif

nope i´m still working on it but Kaioshin from rh.net had a good argument that here in germany it´s not really needed because most of us can english. That seems a reason why the german translation scene here is not so active
frown.gif
.
But from time to time i´m working on it.

PS: Sorry if this is a stupid question
wink.gif

But the code
CODEif(data&0x80) res=(data[i+1]&0x3F)|((data21);
is to decode the msg files !?
I´m only asking out of interest.
 

Mentz

Well-Known Member
Newcomer
Joined
Jul 7, 2008
Messages
80
Trophies
0
Location
Italy, Rome
Website
www.mentzland.co.uk
XP
151
Country
Italy
nIxx said:
Hi
smile.gif

nope i´m still working on it but Kaioshin from rh.net had a good argument that here in germany it´s not really needed because most of us can english. That seems a reason why the german translation scene here is not so active
frown.gif
.
But from time to time i´m working on it.

PS: Sorry if this is a stupid question
wink.gif

But the code
CODEif(data&0x80) res=(data[i+1]&0x3F)|((data21);
is to decode the msg files !?
I´m only asking out of interest.


I don't think need a "special" code to edit msg files...
Only a table and a simple tool...
Pointers are very simple and rebuilding the whole msg file is very very easy... There are only pointers at beginning and dialogs after...
Actually I'm not developing the editor 'couse I'm solving problems of other games...
 

Crosser

Active Member
Newcomer
Joined
Mar 1, 2009
Messages
26
Trophies
0
Age
37
Location
Italy
Website
gemini.aerdan.org
XP
111
Country
Italy
That wasn't for editing in fact, but for dumping without having to use awkward tables made out of rabid trial&error. The same formula also applies for special codes, not just text symbols. Samples of what you can get with that code:
CODE


???????????




???????



??????????????????
??????????



???????????
??????????

CODE


It is firmly sealed.




Obtained !



Walk when the wind dies down, and hide
behind trees when it picks up strength.



The footing here is icy and slick. Be careful.
Fall, and you'll have to start over.

Muuuuuuch better now.​
 

Mentz

Well-Known Member
Newcomer
Joined
Jul 7, 2008
Messages
80
Trophies
0
Location
Italy, Rome
Website
www.mentzland.co.uk
XP
151
Country
Italy
Crosser said:
That wasn't for editing in fact, but for dumping without having to use awkward tables made out of rabid trial&error. The same formula also applies for special codes, not just text symbols. Samples of what you can get with that code....

Ah... Ok...
tongue.gif

Thanks a lot for your contribute/explaining...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
    K3Nv2 @ K3Nv2: Tell Kanye I need power