ROM Hack Ace Attorney Investigations French Translation

Tychon

Active Member
Newcomer
Joined
Feb 22, 2010
Messages
41
Trophies
0
Website
deutschdeduktionspiel.blogspot.com
XP
431
Country
Canada
QUOTE said:
I'm from Germany. That means I could help you with translating the game into German, if you wouldn't mind. I already wanted to start a translations and now I just came across with your post. So, here's my question: Could I help you with translating AAI:ME into German?

Sure. I just created a blog for that in my sig; if you'd like to join in, send me an e-mail to the e-mail address on the blog, along with whatever IM address you're using.

I have dumped all the text, but right now, it's not pleasant to read. I'm going to make it look all nice before sharing it around.

Sorry to stray alittle off topic but why are you guys talking about a german translation in a french translation thread? ;x
Because my thread wasn't receiving much attention initially, so I jumped over here. There's been talk of an Italian patch too.
 

Tychon

Active Member
Newcomer
Joined
Feb 22, 2010
Messages
41
Trophies
0
Website
deutschdeduktionspiel.blogspot.com
XP
431
Country
Canada
Dark315055Vash said:
could you write down some documentation about the overlay files' structure please?

It actually wasn't particularly easy getting something out of those overlays, but basically, besides including the text in the game, they control how the text flows as xvirus has already mentioned, and probably when certain sounds should sound, the quaking, their color, etc. Unfortunately, I have no idea how they determine who's speaking, and which text to go to next because it's not in the right order. I mean the cases are probably all in the correct order, as 0000 starts with the first case and goes from there, but within each overlay, the text isn't in the right order.

*
:centered dialogue?
= centered line break
T moderate pause
E pause
4 other in game event?
7 short pause
B stop event?
F pause
J long pause
N pause
(no break between words) line break in the middle of a paragraph (so basically, if you were to change the text and ignored the maximum number of characters allowed on one line, your next word would start on the space after the first, and it would look something like this:
Capcom
(space)Capcom)
s, . centered line break?
2 player can click to continue
thought text
7 0 chime
AI Not too sure, but I think it might have something to do with wrapping the dialogue in parentheses.
L5 elipses are sometimes preceded by this
L2 line break?
!
8117 0 text quake
10 Emphasis (orange) 1

I think you are allowed at most 32 characters per line.

If other people have been doing some debugging, some sharing around would be nice.
 

azerty1

Well-Known Member
Member
Joined
Mar 22, 2009
Messages
160
Trophies
0
Age
29
Website
Visit site
XP
99
Country
Canada
watch out for pointers. text in overlay files are usually pointed by the y9.bin. even if you know what commands there are in the text, you will still need to repoint the y9.
 

DarthNemesis

Well-Known Member
Member
Joined
Feb 19, 2008
Messages
1,210
Trophies
0
XP
260
Country
United States
That's not surprising, since y9.bin is the overlay table. You shouldn't need to update it unless you're changing the size of the overlay, but you do need it to get the memory offset for each overlay.

Each overlay has a 32-byte entry with the following data (4 bytes each):
overlay ID
RAM address
RAM size
BSS size
stat start
stat end
file ID
reserved (usually compressed size, for overlays with LZ77)

Add the offset of the text in the overlay file to the RAM address to get the pointer.
Subtract the RAM address from the pointer to get the offset of the text in the overlay file.
 

azerty1

Well-Known Member
Member
Joined
Mar 22, 2009
Messages
160
Trophies
0
Age
29
Website
Visit site
XP
99
Country
Canada
Dark315055Vash said:
y9 is too small to point everything but it contains 221 "portions" enumerated...221 like overlays..suspicious
Yes, that's what I meant. It points to where the text is in the rom, rather than in the overlay file.
Darth explains it better than i can, though.

oh, and DarkVash, does the rom crash upon booting, or is it only when you get to that specific point in the text, or is the whole scene that screws up?
there might be a pointer table in the overlays themselves, which would thus need to be updated.
 

DarthNemesis

Well-Known Member
Member
Joined
Feb 19, 2008
Messages
1,210
Trophies
0
XP
260
Country
United States
Dark315055Vash said:
thanks, I'll try to write something down but I have a problem..I saw that size before your post and I tried to add 0x10 byte to the text portion and manually edit the size bytes but the rom crashes...
Since overlays work by overwriting parts of the arm9, expanding an overlay runs the risk of corrupting any executable code that comes after it. If that's what's happening in this case, I don't know of any easy way around that.
 

Dark315055Vash

Active Member
Newcomer
Joined
Jul 28, 2007
Messages
31
Trophies
1
Website
vash.romhacking.it
XP
326
Country
Italy
I'll try to use the padding 0x00s at the beginning and at the end of the file.

QUOTE said:
oh, and DarkVash, does the rom crash upon booting, or is it only when you get to that specific point in the text, or is the whole scene that screws up?

It crashes when it loads the file. I just added 0x10 bytes at the end of the file and I updated the size in the y9.bin file wthout modifying anything else.

Mmm wait..maybe i have to update the ram pointers of the other overlay files...
 

koimayeul

Well-Known Member
Member
Joined
Dec 2, 2009
Messages
1,362
Trophies
1
Age
44
Location
France
XP
482
Country
France
sweet game and project im offering my support and help, being french myself.. i could help some with eng to french, just PM
smile.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Not even once, but 100's of times
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    My girlfriend at the time, she had me stay up with her all night because some how the crazy bitch had spent like 12 hours snorting 2 8 balls, didn't use any water (gotta clean your nose) so she had so much crusted in her nose I was sure she was gonna blow up her heart. I mean this was the stuff right off the boat so absolutely pure. ugghh so annoying
  • Psionic Roshambo @ Psionic Roshambo:
    Also doing like 320 dollars worth of coke in half a day lol damn it
  • Psionic Roshambo @ Psionic Roshambo:
    hmmm 360 even lol
  • Psionic Roshambo @ Psionic Roshambo:
    Well I was getting a discount so 320 is probably right
  • BigOnYa @ BigOnYa:
    That is cheap, I used to pay $100 for a tine.
  • Psionic Roshambo @ Psionic Roshambo:
    Tine? One gram?
  • BigOnYa @ BigOnYa:
    Sixteenth
  • Psionic Roshambo @ Psionic Roshambo:
    Also it was literally out of a kilo when I got it off the boat so absolutely pure
  • Psionic Roshambo @ Psionic Roshambo:
    Holy shiz that's a lot
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I was getting 3.5 Grams for 320 could have stepped on it and doubled my money easy lol
    +1
  • BigOnYa @ BigOnYa:
    I'd be afraid to it nowdays, my heart would explode prob. I just stick beers n buds nowdays.
  • Psionic Roshambo @ Psionic Roshambo:
    I would get to drive from tarpon springs to like Miami a thousand bucks lol do that twice a week and back in 92 that was good money
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    @Psionic Roshambo what are you guys talking about?
  • Psionic Roshambo @ Psionic Roshambo:
    Blew it on women and muscle cars lol
    +1
  • BigOnYa @ BigOnYa:
    @Xdqwerty Hamster food, its pricey nowadays to keep PCs running.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I don't do anything except cigarettes and gotta stop eventually lol
    +1
  • BigOnYa @ BigOnYa:
    I'd do shrooms again if could find, and I was outside camping/fishing, and had a cooler full of beer.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I wouldn't mind some LSD, laughing until my face hurt sounds fun lol
    +1
  • BigOnYa @ BigOnYa:
    You ever try soaper powder/qauludes? I did once and like a dumbass drank beer on top of taking, I woke up laying in my backyard in the pouring rain, it knocked me out. I have not seen it around in many many years.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    No never tried a lot of things but never that lol
  • Psionic Roshambo @ Psionic Roshambo:
    I did pass out one time on a floor after taking a bunch of Ambien lol thought it would help me sleep and did it lol
  • Psionic Roshambo @ Psionic Roshambo:
    Girlfriend was working at a pharmacy and stole like 500 of them, was and still is the biggest pill bottle I have ever seen lol
    Psionic Roshambo @ Psionic Roshambo: Girlfriend was working at a pharmacy and stole like 500 of them, was and still is the biggest...