Kingdom Hearts: Final Mix Translation Patch (In progress)

Discussion in 'Code Vault' started by Trilix, Feb 20, 2012.

  1. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    This game! Lol. No wonder it is taking 6 months to localize 1.5 Remix.
     
  2. Trilix Twilight Town Denizen

    Joined:
    Jun 23, 2013
    56
    222
    1. The subtitles during the opening cutscene ("I've been having these weird thoughts lately....") are baked into the video. So I replaced it with the one from the US version to successfully remove them. Only downside, I now have a 300mb bigger ISO since the cutscene had to be appended. Is there no way to delete the old video after the new one was replaced?

    2. Also, translating is working great. But sometimes the text will be off-center or sometimes even off-screen. Have you seen a code somewhere that determines the position of text? I don't think it is contained in the same line as the text itself.

    3. The string mapper doesn't convert spaces or "00"s, so it ends up removing them FYI. I have to manually add them back in.
    For example:

    KH1 Final Mix English EVT
    0D 00 1E 00 0A 00 00 02 08 3D 9E A6 94 A1 01 A2 9B 94 94 9F A2 01 A6 98 A3 97 98 9D 01 A8 9E A4 4F 05 23 00 0D 01 14 00 00
    The above line says "Power sleeps within you".

    But when pasted or converted with your string mapper it becomes:
    0D 1E 0A 02 08 3d 9e a6 94 a1 01 a2 9b 94 94 9f a2 01 a6 98 a3 97 98 9d 01 a8 9e a4 4f 05 23 0D 01 14

    See how small it became? The text table stays exactly same but those extra "00"s are needed for the game, without them, the game loses timing.
    Also, would it be possible to make the string mapper spit out codes in upper case instead?

    4. Other than that I would say that the only thing missing so far is to figure out the actual names of the @noname folder so we can start importing .bin files and see some changes. Then, I would guess that these tools would then be 100% complete!
     
  3. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Not without re-shuffling the whole ISO.
    After seeing a little more in how this game works, I think I will make another tool for recreating the ISO from scratch. It will be potentially a lot slower though, so it would be better suited for when we have the game "done" and are bug-testing and such. This would also make PPF patches and such unfavorable, since the patch would be near the size of the final ISO.


    I saw some command codes that change text location, though I didn't spend a whole lot of time on them.
    Code:
    Confirmed in SYS font:
    
    0C {size}: Change text size. Default is 0x0F
    
    0E {distance} {offset}: Move text. Default is 0x00 0x00 (no movement)
    
    Confirmed in EVT:
    
    00: End Of Line
    01: Space
    02: Linefeed
    03: ?
    04 {}?: ? (Some tests showed as working, with arg, some without arg)
    05 {?} {?}: ?
    06 {?} {?}: ?
    07 {Y offset} {?}: ?
    08: Center text
    09 {icon #}: Icon
    0a:
        00 {WTF?} {delay between characters}: Show 1 character at a time
        {else}: Off
    0b
        00 {} {}: ?
        01 {} {}: ?
        {else}: ?
    0c {flag}: White text+border (flag===0xFF is normal text, else is white+black border)
    0d
        00 {?} {?}: ?
        01 {?} {?}:    ?
        {else}:    ?
    0e {?}: Show string (from where???)
        {0x0E}{0x03} = Raft name in [di]
    0f {?}: ?
    10: ?
    11: ?
    12: ?
    13: ?
    14: ?
    15: ?
    16: ?
    17: ?
    18 {#}: Font subset, show character #
    19 {#}: Font subset, show character #
    1a {#}: Font subset, show character #
    1b {#}: Font subset, show character #
    1c {#}: Font subset, show character #
    1d {#}: Font subset, show character #
    1e {#}: Font subset, show character #
    1f {#}: Font subset, show character #

    Looks like a recent bug, I'll fix that today. And I can swap it to uppercase no problem.


    I got about 100 of them figured yesterday, then found out some files have the same hash. I think I have a way to figure out which is the "real" one, but it will take some time.
     
  4. gledson999 Destiny Islands Resident

    Joined:
    Mar 15, 2013
    Gender:
    Male
    Location:
    Brazil
    28
    96
    hmm alright, excellent tools, you're a awesome programmer
     
  5. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Fixed the string mapper, forgot to add the extendable part to the hex->string function. :oops: It also uses uppercase hex now.

    I'm going to work on some of those file names now....
     
  6. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    Will you start working on the BR Portuguese version?
     
  7. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    Hey craycat00 can I get involed in this project ? Mabey u can pm me your laser patch so I can test it out . Can I can make it works with free Mcboot .
     
  8. gledson999 Destiny Islands Resident

    Joined:
    Mar 15, 2013
    Gender:
    Male
    Location:
    Brazil
    28
    96
    yes, but i finishing the Kingdom Heart 2 Final Mix+ Portuguese version yet
     
  9. RoxKraft Moogle Assistant

    Joined:
    Jul 7, 2013
    Gender:
    Male
    Location:
    Florida, Use
    0
    3
    Sora, that's like the third time you've asked for the patch. The thing isn't like ready for any kind of public release I don't think? They are still figuring out everything...

    (Btw, I wanted to check out your YouTube channel, but its suspended D: )
     
  10. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    If u don't mind . Can u give me your files so I can try and translate kh2fm? I want to learn this stuff .[DOUBLEPOST=1373677867][/DOUBLEPOST]
    Oh . Thanks for wanted to check of my YouTube channel . I made a ne one because of it . I will update my link to my new one . Sorry bout that !
     
  11. RoxKraft Moogle Assistant

    Joined:
    Jul 7, 2013
    Gender:
    Male
    Location:
    Florida, Use
    0
    3
    I think you might be able to find some tools HERE.
    I'm not sure how much there is, but some of it may help you. (I'm not really the guy to ask D: )
     
  12. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    RoxKraft is right, there's not really a patch yet. Just a few random files that seem to work for now.

    I must ask though, what are you translating it to?

    In addition, at least some of gledson's tools are mine, and I don't exactly want mine distributed around. I might open-source them sometime, but until then they're kept private.
    ---
    Making progress on getting the names correct. They go alphabetical from start to back, so that makes it easy. ;)
     
  13. gledson999 Destiny Islands Resident

    Joined:
    Mar 15, 2013
    Gender:
    Male
    Location:
    Brazil
    28
    96
    sorry but I can not share the Crazycatz00 tools with anyone
     
  14. Trilix Twilight Town Denizen

    Joined:
    Jun 23, 2013
    56
    222
    Dude THANK YOU for the update on the string mapper! I can translate lines in bulk now without having to worry about spaces and whatnot! So far I essentially have the entire tutorial of the game translated, maybe I'll make a video of what it looks like later.

    It's awesome that you are getting progress with the nonames as well. The only one I really care for at the moment is 2c30d42d.bin which contains the game menu and command menu.

    As for the sharing of "patches" go, I suppose we could just send each other ARDs and then whoever wants it would have to import them into their game manually to see the changes. I wouldn't really recommend this unless we have completely translated ARDs we want to just share for bug-testing as sending a million updated revisions of one ARD wouldn't be ideal.
     
  15. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    can u be able to translate the menu and abbiltlys ?[DOUBLEPOST=1373699838][/DOUBLEPOST]
    edit . u can aslo hex edit it with the hex editor by sershing the inside the iso
     
  16. Trilix Twilight Town Denizen

    Joined:
    Jun 23, 2013
    56
    222
    Can't do the menu stuff yet. The only thing working as of right now are cutscene text/subtitles and message boxes.
     
  17. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    hmm . hidden smittly(what ever her last name is . i cant spell it) she tranaslated the menu with the Hex editor with caps
     
  18. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
  19. Trilix Twilight Town Denizen

    Joined:
    Jun 23, 2013
    56
    222
    I had to do it ;)

     
  20. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    So your going to help with the English translating ? Thanks man . Keep up the good work