ROM Hack Kimi no yuusha translation project

Status
Not open for further replies.

DarthNemesis

Well-Known Member
Member
Joined
Feb 19, 2008
Messages
1,210
Trophies
0
XP
260
Country
United States
It's pretty much complete for one of the file types; I just haven't had much time to work on it since then. I'll send you the part that's working as soon as I figure out the best way to format the output, what with all the event script interspersed with the text. Should be ready within a week.
 

DarthNemesis

Well-Known Member
Member
Joined
Feb 19, 2008
Messages
1,210
Trophies
0
XP
260
Country
United States
Alright, here it is.

Download YushaTrans v0.2

Currently supports most files in the Event folder. Only the text itself is editable right now, but I plan to turn it into a full-fledged event editor (for adding/removing lines, etc.) if I can get all of the opcode formats identified. Some of them are fairly straightforward, but others can be different lengths or don't have an obvious effect. This is what I've got so far:
0x00: Anchor (00aa) a = label number
0x01: Jump (01aa) a = unconditional jump to label
0x02: Branch (02????????????????????+) conditional branch, format unclear
0x03: Dialogue (03????qqssssLLTT+) q = unknown but optional, s = speaker, L = length, T = text
0x04: Delay (04tttt) t = ticks to wait
0x05: WaitForTextDraw (05) halts until text drawing routine has finished
0x06: WaitForUserInput (06) halts until user manually advances the text
0x07: unknown (length 1)
0x0D: unknown (length 2)
0x13: FadeIn (13cctt) c = color, t = duration
0x14: FadeOut (14cctt) c = color, t = duration
0x1F: unknown (length 5)
0x21: unknown (length 2)
0x22: unknown (length 1)
0x23: ColorEffect (23cccccceetttt) c = color, e = effect, t = duration
0x24: EffectFade (24tttt) t = duration
0x25: SetPortrait (25cceess) c = character, e = expression, s = side
0x26: PortraitTranslate (26xxxxyyyyss) [x/y can be negative] s = side
0x27: PortraitTween (27xxxxyyyyvvss??) [x/y can be negative] v = speed, s = side, may have additional byte
0x28: BackgroundChange (28bbbb) b = number (2 bytes for Script files, 1 for Event files)
0x29: ShowTextBox (29)
0x2A: HideTextBox (2A)
0x2B: SetSpeakerSide (2Bss) s = side
0x2C: DecisionBox (2Cnn[aaLLTT]+) n = number of choices, a = label to jump to, L = length, T = text
0x2F: unknown (length 3)
0x30: unknown (length 3)
0x31: unknown (length 5)
0x32: unknown (length 5)
0x34: unknown (length 4)
0x35: unknown (length 3)
0x36: unknown (length 3)
0x37: unknown (length 3)
0x38: Battle (38??bbnn[eeee]+) b = background, n = number of enemies, e = enemy data
0x39: unknown (length 5)
0x3A: unknown (length 4)
0x3C: unknown (length 3 in Script files, 5 in Event files)
0x3D: unknown (length 5)
0x3E: ExperienceBonus (3E????nnnnnnnn) n = EXP amount
0x40: unknown (length 3)
0x41: unknown (length 4)
0x42: unknown (length 5)
0x45: unknown (length 3)
0x46: PortraitFade (46ss??tt) s = side, t = duration
0x47: unknown (length 2)
0x4A: PortraitFlip (4Assdd) s = side, d = direction
0x4B: unknown (length 1)
0x4C: unknown (length 10)
0x4D: unknown (length 2)
0x4E: unknown (length 2)
0x5D: unknown (length 2)
0x61: unknown (length 2)
0x66: unknown (length 1)
0x67: unknown (length 3)
0x68: unknown (length 3)
0x69: PortraitToggle (69ssee) s = side, e = active/grayed out
0x6A: unknown (length 1)
0x6B: unknown (length 2)
0x6C: unknown (length 3)
0x6E: unknown (length 4)
0x6F: unknown (length 5)
0x78: WipeIn (78sscc??) s = side, c = color
0x7A: unknown (length 3)
0x7C: WipeOut (7Csscc??) s = side, c = color
0x7E: unknown (length 3)
0x81: PortraitAnimate (81ssee) s = side, e = effeect
0x82: PortraitAnimStop (82ss) s = side
0x84: unknown (length 5)
0x85: unknown (length 3)
0x86: unknown (length 2)
0x87: PlayMusic (87nntttt) n = track number, t = duration
0x88: PlaySound (88nn??) n = clip number
0x89: unknown (length 4)
0x8A: unknown (length 3)
0x8B: unknown (length 4)
0x8D: unknown (length 2)
0x90: unknown (length 2)
0x91: unknown (length 1)
0x92: unknown (length 3)
0x93: unknown (length 1)
0x94: unknown (length 2)
0x96: unknown (length 2)
0x9B: unknown (length 1)
0x9C: unknown (length 3)
0x9E: DrawSpriteEffect (9Exxxxyyyyeetttt) [x/y can be negative] e = effect, t = duration
0x9F: unknown (length 2)
0xA2: unknown (length 6)
0xA6: unknown (length 1)
0xA9: Message (A9LLTT+????) L = length, T = text
0xAB: unknown (length 3)
0xAC: unknown (length 4)
0xAD: unknown (length 1)
0xAE: MaskIn (AE????????????????cccccc) c = color
0xAF: unknown (length 1)
0xB0: MaskOut (B0????????????????)
0xB1: unknown (length 4)
0xB2: ShowMessageBox (B2??)
0xB3: HideMessageBox (B3)
0xB4: unknown (length 2)
0xB8: unknown (length 1)
0xB9: unknown (length 7)
0xBA: unknown (length 2)
0xBB: unknown (length 1)
0xBD: unknown (length 2)
0xBE: unknown (length 4)
0xC1: unknown (length 2)
0xC3: unknown (length 1)
0xC4: unknown (length 1)
0xC5: unknown (length 2)
0xC7: unknown (length 3)
0xC8: unknown (length 3)
0xC9: unknown (length 3)
I could really use some help from an expert like FAST or KC with finding the code that parses these files, to figure out exactly what the rules are...

Anyway, are you going to set up a translation spreadsheet? Also, if you can send me a patch with what you've done so far, that would make things easier.
 

valyr

Well-Known Member
OP
Member
Joined
Sep 15, 2007
Messages
326
Trophies
1
Location
United Kingdom
XP
1,505
Country
cheers darth prog works just great will send you a patch tomoz as i want to edit some of the script
for you to compare with the originals
 

DarthNemesis

Well-Known Member
Member
Joined
Feb 19, 2008
Messages
1,210
Trophies
0
XP
260
Country
United States
valyr said:
cheers darth prog works just great will send you a patch tomoz as i want to edit some of the script
for you to compare with the originals
Well, I already know the format of the text; the problem is figuring out the format of everything else so that the program can reliably determine where each text block starts.
 

valyr

Well-Known Member
OP
Member
Joined
Sep 15, 2007
Messages
326
Trophies
1
Location
United Kingdom
XP
1,505
Country
GoogleDocs Page Started for anyone who would like to help

Googledocs page

anyone can edit the file any and all help is gratefully received,
also can anybody that edits anything leave their gbatemp username in one of the comments boxes
so i know who you are to add you to the credits area
 

DrkXShadowZ

Well-Known Member
Newcomer
Joined
Jan 30, 2009
Messages
45
Trophies
0
XP
55
Country
United States
I'd like to help out with some of the translations but my translating ability is somewhat limited to katakana and hiragana. And also, how do I edit the spreadsheet on Google? I signed onto my account but am unable to edit.
 

Noitora

::
Member
Joined
Aug 9, 2007
Messages
3,760
Trophies
1
Age
32
Location
Athens
Website
www.noitora.eu.pn
XP
289
Country
Greece
Whoo translated some, doesn't seem really hard
tongue.gif
 

valyr

Well-Known Member
OP
Member
Joined
Sep 15, 2007
Messages
326
Trophies
1
Location
United Kingdom
XP
1,505
Country
the names arent lol but it quicker if other ppl help lol normally that doc would have taken me all night.
its mostly done now in about 2 hrs or so
 

mrfatso

That guy!!
Member
Joined
Apr 17, 2008
Messages
4,932
Trophies
0
Age
33
Location
@Your Home,behind the sofa
Website
Visit site
XP
251
Country
Senegal
well, i try and help out as much as i can
biggrin.gif
hopefully they are correct
biggrin.gif


edit: did some of the spells
biggrin.gif

edit2: once i have time, i have a quick look at the rest of the status spells and sorry if they are not accurate, they are just being based on my rpg knowledge and chinese language check
biggrin.gif

edit3: hmm, didn't noticed the screenshots, thanks to those, i be getting the rest of the status skills done in a min
biggrin.gif

edit4: hmm, i try and translated as many of those chinese name as i can, chinese/kanji no diff to me
biggrin.gif
 

DarthNemesis

Well-Known Member
Member
Joined
Feb 19, 2008
Messages
1,210
Trophies
0
XP
260
Country
United States
New version out...

Download YushaTrans 0.3

Added support for the following files:
Event\CharaName\CharaName.dat
System\BaseName\AreaName.dat
System\BaseName\DungeonName.dat
System\BaseName\TownName.dat
System\ItemData\AccessoryInfo.dat
System\ItemData\AccessoryParam.dat
System\ItemData\ArmorInfo.dat
System\ItemData\ArmorParam.dat
System\ItemData\ItemInfo.dat
System\ItemData\ItemParam.dat
System\ItemData\SkillBookInfo.dat
System\ItemData\SkillBookParam.dat
System\ItemData\StarDustInfo.dat
System\ItemData\StarDustParam.dat
System\ItemData\WeaponInfo.dat
System\ItemData\WeaponParam.dat
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Playing the Judge Dredd arcade game prototype lol I can see why they didn't finish it but at the...