Skip to content

AMA EoJ Mod V2 - Release 1

Compare
Choose a tag to compare
@lemon07r lemon07r released this 19 Feb 10:55
· 24 commits to v2-mod since this release

This is probably the biggest update we've ever had for this mod. All credits to Cadenza, and the others that helped with this mod (rfc_club for the template, Beast for help troubleshooting bugs, etc).

This new mod should work better with updates since in theory it will work with any version of the game. It will patch and generate the translated DLLs for you in a very automated and straight forward process.

CAUTION - There will be bugs. Cadenza has found and fixed as many as he could before greenlighting this release but we still need a lot more testing and feedback from you guys! Find more info on how the mod works and how to use it below, straight from the mod maker himself, Cadenza. I will be working to make a simpler more beginner friendly guide in the future.

IMPORTANT - This mod breaks old saves because some untranslated stuff gets hardcoded into the save for some reason. We also need help improving the translation since a lot of old manual translations had to be removed for MTL because of a lot of big changes from the developer. Also make sure to delete any files from the old mod by either doing a clean install of the game or verifying the game files with steam from properties.

Important files and procedure :

The translation dict file used to patch the .dll file (hereafter DLLKV) is in BepinEx\plugins\Translations\DLLKV.txt
The translation dict file used to patch the TextAssets file (hereafter TAKV) is in BepinEx\plugins\Translations\TA.txt

If you need to update DLLKV, then, you need to modify this file, same goes for TAKV.

In BepinEx\plugins\Translations\Log, you will find useful informations to update the mod.

=>> Update procedure for DLL Patching :

Everything is automatic. The code will fetch strings from DLLKV, put them in a dict, patch the .dll.
Anything that is untranslated (string found in the .DLL but not in DLLKV, will be added to Log\DLLUN.txt.
Anything that is obsolete (i.e. is in DLLKV but not in the .DLL file) will be removed.
Resulting new DLLKV (= DLLKV - Obsolete) will be in Log\NewDLLKV.txt

So if you want to update the KV, you need to :

Take this NewDLLKV file, translate DLLUN.txt, add it and its translation (with a "¤" separator as always) at the end of NewDLLKV.txt. Rename the file to DLLKV.txt and copy it to the "Translations" dir, overwrite the old file.

=>> Update procedure for TA Patching :

Same than before, there are 3 files :
Translations\TAKV.txt
Log\NewTAKV.txt
Log\TAUN.txt

To update the TA, you need to have clean files in steamapps\common\大衍江湖\EvolutionOfJiangHu_Data

In-game, press F10.
TAKV will be used to patch the assets, TTAUN and NewTAKV will be generated.
The generated files will be :

大衍江湖\EvolutionOfJiangHu_Data\resources.assets.modded
大衍江湖\EvolutionOfJiangHu_Data\sharedassets1.assets.modded

I can't have the game replace them directly because they are loaded by the game when it starts, so they can't be modified before the game is exited.

So when it's done (approx 2-4 min), exit the game. Backup your resources.assets and sharedassets1.assets files, rename the .modded files by removing the ".modded" part of their name (so they match the name of the original files).

Relaunch the game.