Kingdom Hearts: Final Mix Translation Patch (In progress)

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

  1. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    I am happy to see Sora in English on KHFM !!!! And when this is done . I am willing to test out the codes that are on here
     
  2. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Crap, this couldn't be easy. :(
    So apparently, the game doesn't use the full "slot" for every character. For example, the slot that used to be a semicolon is VERY slim. Now the letter "m" wants to be there, and is getting cut off. I'm going to have to remap everything.
    I'm probably just going to move all the punctuation into the same slot it was in the FM font, and all Latin characters into one of the full-width kanji slots. This will break compatibility with... pretty much everything so far, but the font won't look horrible then.
     
  3. Hidden Smithery King's Apprentice

    Joined:
    Feb 2, 2010
    81
    452
    Well, the only alternatives are to leave it, which would look weird, or to squish the letters so they fit.
     
  4. gledson999 Destiny Islands Resident

    Joined:
    Mar 15, 2013
    Gender:
    Male
    Location:
    Brazil
    28
    96
    Crazycatz00 I need a help from you, is to add more space to display the entire text?

    I have the Spanish version and the Final Mix Version, if you want to compare the structures
    the picture is so MENU i send for you, if you want
    [​IMG]

    the image inserted are here
    [​IMG]
     
  5. Hidden Smithery King's Apprentice

    Joined:
    Feb 2, 2010
    81
    452
    Nice. If you were ever curious as to what I was doing with those tools you sent me, this is part of it.

    Fixing the capitalization of enemy names, weapons, a few item descriptions, minor text strings, and I'm going to, when I can, see if I can make some of the cutscenes a little less wonky.
     

    Attached Files:

  6. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Almost got the font rebuilt. Just a few oddities left in it.

    Unfortunately, the game just cuts some stuff off. It's probably somewhere in "title.2ld", but I have no idea how to read that file... I can try taking a look at it later when I have time though.

    Someone else working on KH2FM, nice. ^^
     
  7. Hidden Smithery King's Apprentice

    Joined:
    Feb 2, 2010
    81
    452
    I'm not really "working on it". Just fixing some things I don't like.
     
  8. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
     
  9. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    Ok, so I believe I've finished the font. I'm going to start trying to get a compression function now for re-inserting files (Ohh boy...).
    Attached the sysfont.bin + a character map. By the way, sysfont.bin is stored non-compressed, you can hex edit it in. It's at offset: 384,901,120 bytes on my ISO.

    Edit: Removed horribly outdated attachment.
     
  10. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    R u going to try replace English text with the Japanese ?
     
  11. Hidden Smithery King's Apprentice

    Joined:
    Feb 2, 2010
    81
    452
    Not to sound like an idiot, but how would I put the sysfont file back into the iso? Explain it to me like I'm a child.
     
  12. crazycatz00 Twilight Town Denizen

    Joined:
    Apr 12, 2013
    40
    236
    No problem.

    Well, I got this into a workable state now, so this will be the easiest way: I attached a version of my file replacer to this post. It can't replace compressed files at the moment (it will complain), or files that are too much bigger then their originals, but works perfectly for the font.
    The usage for this is: Put a copy (that way if the program does mess up, you still have an ISO) of the KH1 iso in the same folder as it, name it "kh.iso". Make a folder called "export", and in that folder another called "menu"; put sysfont.bin in there.
    Run the program, it will tell you to make sure to have a back-up and press enter, you should see something like this:
    Code:
    DEBUG: Size=3540123648
    found boot2
    Sector: 282
    found IDX
    Sector: 2450
    Hash to check:
    Now you can type either the hash or name of the file to replace. For us, "menu/sysfont.bin" will work. It will tell you filesize is the same, that means it has written it to the ISO. Then press enter twice to exit (it will complain about bad hash, ignore).
    The ISO should be patched now.

    Alternative hex-editor way:
    I'm going to use wxHexEditor (v0.21beta).
    Open the ISO in the hex editor, and open the sysfont.bin in another hex editor window.
    In the font.bin editor, click on the hex view and press Ctrl+A to select everything. Press Ctrl+C to copy.
    In the ISO editor, click in the hex view, press Ctrl+G and enter 384901120 (Decimal From beginning) and click Go. Then press Ctrl+V to paste. It should overwrite the data (font) that was there.
    Now just Click File->Save, and close both windows.

    Edit: --Removed old program, see newer post--
     
  13. Hidden Smithery King's Apprentice

    Joined:
    Feb 2, 2010
    81
    452
    Many thanks!~TF2 Heavy voice
     
  14. sora6645 Kingdom Keeper

    Joined:
    Feb 17, 2011
    51
    909
    R
     
  15. Hiro ✩ Guardian

    Joined:
    Dec 28, 2010
    Gender:
    Enby
    3,222
    Ooh, I've been following you guys' progress. All I have to say is Nice job and keep it up :3
     
  16. Hidden Smithery King's Apprentice

    Joined:
    Feb 2, 2010
    81
    452
    Bit of a problem.

    I ran the program and it said that it was missing a file.

    "imgextract.log"

    After making that file (a blank text file renamed .log instead of .txt), it gives me the prompt to type something.

    After typing "menu/sysfont.bin" (with or without quotes, same result), it says "Filename not found or Bad number format! Please enter either in decimal <1337> or hex BEEFC0DE> or a filename <al.wdt>!"

    Long story short, it no work ;~;

    Then again I might just be a massive idiot.
     
  17. root670 Destiny Islands Resident

    Joined:
    Feb 28, 2013
    5
    52
    When you run IMGextract, it should generate a file called imgextract.log in the same folder as the EXE. If you have already run the extractor from a different folder, copy the imgextract.log file to the folder where you have imgreplace.exe
     
  18. Hidden Smithery King's Apprentice

    Joined:
    Feb 2, 2010
    81
    452
    The file is now there, still empty (but this one was generated by the extractor) and it's still giving me the error.
     
  19. root670 Destiny Islands Resident

    Joined:
    Feb 28, 2013
    5
    52
  20. Hidden Smithery King's Apprentice

    Joined:
    Feb 2, 2010
    81
    452
    I've learned that I should probably let the extractor do it's thing first before I start whining. Here's to letting it work! :D

    (Also, I'm not sure why I'm just now noticing this [it's not important], but Xemnas' battle stance is different in KH1, Kh2, and DDD. Damn I love that Nobody.)

    Anyway, now it's giving me this:
    "Unhandled Exception: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.

    at System.IO.BinaryReader.ReadString()
    at JScript 0.main(Object this, UsaEngine vsa Engine)
    at JScript 0.Global Code()
    at JScript Main.Main(String[])