1. master801

    OP master801 GBAtemp Fan
    Member

    Joined:
    Feb 24, 2011
    Messages:
    449
    Country:
    United States
    English translation project for the PS Vita game Mahouka Koukou no Retousei: Out of Order

    Update:
    Text can now be injected during runtime on physical copies of the game using the kuio plugin. Although it takes a long time for the game to start up now due to how kuio works, text injection is finally the last hurdle of this project.
    The last issue to tackle now, is for the game to actually be translated into English.​

    Sub-Projects:
    • OoE-Plugin
      • Description: A plugin to replace the Japanese text in the game's eboot.bin file. (This should technically support other games as well, although with a couple of tweaks.)
      • Link: https://github.com/master801/OoE-Plugin
      • State: Complete


    • Out-of-Py:
      • Description: Contains scripts to convert binary files containing Japanese text to .json files. - Makes translating binary files streamlined and clean. No need to mess with files in a hex editor anymore.
      • Link: https://github.com/master801/Out-of-Py
      • State: Complete


    • Out-of-Textures:
      • Description: Script to make converting .dds/.tga texture files into .dds.phyre files streamlined and clean. No need to mess with files in a hex editor anymore.
      • Link: https://github.com/master801/Out-of-Textures
      • State: Complete

    Credits:
    • Neoaga - For translating some Japanese text into English in the project's immature state.
    • xyz - For giving me help and pointers when I was creating OoE-Plugin
    • Rinnegatamante
    • Davee


    Want to help? Send me a message.
     
    Last edited by master801, Aug 21, 2019 - Reason: Update
  2. froid_san

    froid_san GBAtemp Regular
    Member

    Joined:
    Oct 16, 2015
    Messages:
    153
    Country:
    Philippines
    that OoE-Plugin is quite interesting, can't wait to try it on other games
     
    Kazuto-Z- likes this.
  3. master801

    OP master801 GBAtemp Fan
    Member

    Joined:
    Feb 24, 2011
    Messages:
    449
    Country:
    United States
    Yes, but the plugin only works for Vitamin dumps currently, since I guess that user modules cannot be loaded while NoNpDrm is present. Or at least that's what happened when I tried using the plugin on the NoNpDrm dump.

    I poked around and eventually found this repo https://github.com/hz86/mask_of_truth stating that sadly, NoNpDrm cannot be modified.

    Support for Vitamin dumps is complete and is pushed to the repo. Support for NoNpDrm is currently being worked on.
     
    Last edited by master801, Apr 28, 2019
  4. froid_san

    froid_san GBAtemp Regular
    Member

    Joined:
    Oct 16, 2015
    Messages:
    153
    Country:
    Philippines
    Not really a dev here but didn't we already have a way to do NoNpDrm modification of eboot/modules/asset via repatch plugin? though you still need to hex edit the eboot, but maybe you can use the decrypted eboot on the repatch folder to do memory editing of the eboot?


    [edit]
    wait... I was wrong just remembered NoNpDrm eboot usually have dynamic memory address right?
     
    Last edited by froid_san, Apr 29, 2019
  5. master801

    OP master801 GBAtemp Fan
    Member

    Joined:
    Feb 24, 2011
    Messages:
    449
    Country:
    United States
    It seems that NoNpDrm does not allow for modules to be loaded, even if the eboot.bin file is decrypted using FAGDec and put it in the rePatch directory. You still end up at square-one with modules not being properly loaded.

    The suggested way (from here) is to decrypt the eboot.bin, patch it and put it in rePatch's directory.
     
  6. master801

    OP master801 GBAtemp Fan
    Member

    Joined:
    Feb 24, 2011
    Messages:
    449
    Country:
    United States
    Thanks to some help by Davee, I've managed to solve the issue with text not being injected on encrypted versions (physical copies).

    Turns out, encrypted games do not have permissions to read/write from any other storage device (ex: ux0) if they have not already been given permission and plugins use the same permissions as the parent process (the encrypted game). To sum it up, encrypted games do not have permissions to read/write from/to ux0, our target storage device. So, to work around this issue, Davee recommended I use the kuio plugin or something of that nature which bypasses the game's limited permissions.

    Due to how kuio works, there is a large overhead when reading/writing files. Currently with 98% eboot text translated to english, the game takes almost 5 minutes to boot up. There are of course other ways to work around this (use an unencrypted version of the game and avoid kuio's overhead entirely), but that would mean limiting it only for that specific platform, which I don't plan on supporting.
     
  7. froid_san

    froid_san GBAtemp Regular
    Member

    Joined:
    Oct 16, 2015
    Messages:
    153
    Country:
    Philippines
    Correct me on this one, I think ioplus by dots-tb fuction similarly to kuio since I've seen dev post bout advising the dev of forcelang plugin to use ioplus instead of kuio since i believe it has better fuctionality and more recent.

    you may also want to look into that.
     
  8. master801

    OP master801 GBAtemp Fan
    Member

    Joined:
    Feb 24, 2011
    Messages:
    449
    Country:
    United States
    The plugin and tools are now finished.

    I consider the project complete and at an entire standstill until the game's text is translated into English.
     
    raystriker likes this.
  9. raxioncelestial

    Newcomer

    Joined:
    May 6, 2020
    Messages:
    2
    Country:
    Indonesia
    Where i can find the plugins sir? i already check the realease at your git
     
  10. master801

    OP master801 GBAtemp Fan
    Member

    Joined:
    Feb 24, 2011
    Messages:
    449
    Country:
    United States
    I've published the releases.

    https://github.com/master801/OoE-Plugin/releases/tag/Alpha-1
    https://github.com/master801/Out-of-Bin/releases/tag/Alpha-1

    Remember to use either the official game that comes on a cartridge or NoNpDrm and the most updated version of the game.

    Using the vpk or mai versions of the game will not work due to how games are loaded and since both loaders modify the eboot.
     
    Last edited by master801, May 6, 2020
    raxioncelestial and froid_san like this.
  11. raxioncelestial

    Newcomer

    Joined:
    May 6, 2020
    Messages:
    2
    Country:
    Indonesia
  12. master801

    OP master801 GBAtemp Fan
    Member

    Joined:
    Feb 24, 2011
    Messages:
    449
    Country:
    United States
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Translation, Retousei, English]