Kingdom Hearts: Final Mix Translation Patch (In progress)

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

  1. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Temporary fix: Delete the non-string TXT files. The only string TXT files in di01 are 6, 8, 10, 18, and 31.

    I'll look at a real fix now...

    Edit: Ok, so here's what's happening: File 7 says it starts at A, and goes to C. So my program outputs the data up to C. But then file 8 says it starts at B, so my program tries to read backwards, which doesn't work out so well...
    This happens because my reader is made for string tables, and file 7 is not one. What it's reading, I know not. But because I can't tell which are and aren't string tables (without potentially not extracting some real ones), I extract anything the code accepts.
    Essentially, it comes down to my reader reading entry 7 as a string table when it's not, and screwing up later.

    TL;DR: If the TXT file is not a string table OR you are not changing it, delete or rename it.

    And because I could, here's a spreadsheet. It lists all the ARDs in the game (that are known), and has spots for status and which TXTs contain strings. Anyone can edit atm.
     
  2. gledson999 Destiny Islands Resident

    Joined:
    Mar 15, 2013
    Gender:
    Male
    Location:
    Brazil
    28
    96
    I got a gift in return that helped the puppy!
    I was at hand only
    I was at hand
    I was at hand
    I remember the ability of Mi
    I remember the party ability of Mi

    +/- this
     
  3. Trilix Twilight Town Denizen

    Joined:
    Jun 23, 2013
    56
    222
    gotcha, removing them ended up working thanks. Now I get stuck with IMGreplace lol.

    EDIT: I'm dumb, I was using my US Kingdom Hearts not my Final Mix :P
     
  4. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    I can kind of help you with this. Please bear I am still learning japanese

    First three is the message when you open treasure cheats and obtain items. Etc

    Last two are learning abilities when you level up
     
  5. Trilix Twilight Town Denizen

    Joined:
    Jun 23, 2013
    56
    222
    He said he wanted a human to read it, not google translate lol.
     
  6. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    The first line is when you get rewards for rescuing dalmatians

    I am on my tablet so I can't give you the exact lines from the US version but you know where to look now crazycat. Hope to help again in the future
     
  7. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Is that the US version? :p My program only had support for the FM version, but US was simple enough to patch in. It might work on other non-FM and non-US now too, not sure.
    Also updated HashPairs.txt.
    Updated: http://crazycatz00.x10host.com/KH/files/app_IMGTools.7z

    Well, it supports US now too, lol. ;)

    ----
    EDIT: And about the lines I asked to be translated, they're new to Final Mix only. No direct match in the US version, so I'm assuming they're a little different at least.
     
  8. Trilix Twilight Town Denizen

    Joined:
    Jun 23, 2013
    56
    222
    Yeah you are correct :p I updated my original post.

    EDIT: Success! The translation worked! The only downsides were that some of the text was misaligned and the cutscene froze after my last translation. Probably due to the english font.
     
  9. root670 Destiny Islands Resident

    Joined:
    Feb 28, 2013
    5
    52
    What sort of service should be used to allow for collaboration on this? It would have to be a site/tool that would host all of the text files extracted from the ARD files and allow multiple users to edit and comment on the files. Something like Git or SVN might be overkill, but would allow for some flexibility. Then again, DropBox is much more simple and allows for revisions and collaboration. Bottom line is posting little translations for individual files within this thread is going to get supper messy and ineffective very quickly

    Also, I have a feature request: comment lines in the text extracted from ARD files. So any line starting with # or //, for example, would be ignored by ARDedit.exe. Useful for keeping notes and rough translations I suppose...

    One more thing: I noticed that if you replace the first 145 lines in dh01.ard-8.txt from FInal Mix with all the lines from the same file's US version, it all matches up properly in game (provided the text formats have been converted with your tool and the 2 font files replaced with your custom ones). This leads me to think that many more can be "translated" like this, as long as the same cutscene exists in both versions and has equivalent text in the same sections.

    Why the Final Mix version contains 15 additional lines in dh01.ard-8.txt is a mystery, but it does NOT end with "Obtained Postcard." like others commonly do.

    Again, crazycat, your work is invaluable and I appreciate that you've been continuing to help and provide tools and information to help with the translation.
     
  10. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Not sure on the file collab, but I agree we're going to need something.

    As for that feature request: Done!
    Any line beginning with # is a comment now. (It must be the FIRST character on the line.) I also fixed a bug in the (normally unused) string length function.

    I think most line up, but I know a few don't exactly (as seen here http://youtu.be /jRl9YbPaPI0). There's also a few new scenes (I can only remember Xemnas atm) though.

    And I'm happy to help. Once I have an idea what I actually need to do, I find this fun. ^^ Just wish the guys over at Xentax knew as much about this game as KH2, would of made things much faster.
     

    Attached Files:

  11. Jadentheman Hollow Bastion Committee

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

    Joined:
    Jun 23, 2013
    56
    222
    So I know how to translate all the message boxes and cutscene text. And now I just learned how to change images within text. For example, in the US version of the game, a message box pops up during the tutorial saying "Press [O] to Jump". Well in the Final Mix version the X and O buttons are swapped so in Japanese it says "[X] でジャンプ". I was able to change the image that was displayed in the message box, see screenshot below.

    [​IMG]

    crazycatz00, you should add the image codes to your string mapper. So far I know that {0x09}{0x02} is [X] and {0x09}{0x03} is [O]. I think {0x09}{0x04} was an analog stick image. I could look further into it but I just wanted to change this part as of right now.

    Also one more thing. The text extends past the message box sometimes, so we need to figure out how to change the size of it. Or copy the code in the US version somewhere.
    [​IMG]

    One morrreee thing. Were you able to change text on the menu/character screen? I want to take a shot at either that or the command menu next but I cant find them in the ARDs.
     
  13. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Been wanting to add that, and a few other functions to it. Felt ARDs were a priority though, sorta useless to have all the functions with no way to replace yet. ;)
    I expect I'll have something done today.

    I think the boxes are character codes too, but not sure. Something else that will help is making the space match the size of the US version (I'm pretty sure the FM space is wider).

    Menu's might be in "@noname\2c30d43d.bin", but that files uses the sysfont. The sysfont is somewhat broken right now (characters are way to wide). Since I might have to remap it, again, I'd recommend not messing with it too much at the moment.

    And nice to finally see non-garbled text. ;)

    ---
    EDIT: Updated the string mapper: Now supports images (only in the table, can't put them in the textbox). Also added the exact controller images the game uses for code 0x09.
     
  14. Jadentheman Hollow Bastion Committee

    Joined:
    Mar 31, 2007
    Location:
    None of your business
    51
    742
    Cool can we replace the Japanese with the US/EU controlled scheme? I know we can use the remapper but having the images seaport d would be good
     
  15. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    Can u be able to upload the most recent patch u made ?
     
  16. Roxas75 Moogle Assistant

    Joined:
    Mar 18, 2013
    Gender:
    Male
    Location:
    Italy
    1
    5
    Really good job crazycat! i was working/waiting for this for so long ! :P
    I wanna give a hand.
    For those who wanna play around with the menu file or any Message file i made this tool.
    It works in the same way of the ard tools, just drag and drop the file on the tool and follow the instructions.
    http://www.mediafire.com/?k8agmydhqt2cdhm
     
  17. gledson999 Destiny Islands Resident

    Joined:
    Mar 15, 2013
    Gender:
    Male
    Location:
    Brazil
    28
    96
    @crazycatz00 if the files are bigger than normal? how i do?
     
  18. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Not sure what you're asking here, sorry?

    ---

    Ok, a little news with filenames and such. So you've seen the 1.11GB kingdom.img? It's actually a container, that has every other files (excluding the ELF, IRX's, and movies) in it. This means two things:
    1. My extractor is extracting every file 2 times, once with a name and once in kingdom.img
    2. If the game accesses the file through the kingdom.img method, instead of the normal way, it might get the original location of the file. This means if you append the file to the ISO because it was too big, the kingdom.img will possibly get the original file anyway.
    Don't know if I can do anything about #2, but about #1: Should I just skip extracting it? Seems a little useless to me, to have it knowing this.
    As for why they made this img file: It's what is installed on the HDD should you do that; that way most the files would be loaded from off-disc.
     
  19. gledson999 Destiny Islands Resident

    Joined:
    Mar 15, 2013
    Gender:
    Male
    Location:
    Brazil
    28
    96
    after I edit the file ew36.ard and the size is larger as normal, what I do to insert the iso without any problem?
     
  20. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    For now, just use the replacer and when it says the file is larger, tell it to continue (yes, or w\e). It should handle it itself.
    ---
    And I might of hit another problem. The game has tried to load both these files: "eventse/ex_368.dat" and "eventse/pp_006.dat"; There's quite a few like this. Both files have the same hash: 0x20018599. Some files might have the wrong name because of this, and it almost certainly affects older hashpair versions.