This tool patches Malie engine executables by injecting a modified EXEC.bin directly into the EXE file.
Normally, replacing EXEC.bin using tools like Resource Hacker can corrupt the .rsrc section and break the executable when the file size changes. This patcher solves that problem by creating a new section in the EXE and redirecting the resource entry, allowing larger EXEC.bin files to be injected safely.
Note:
This patcher only works on unpacked executables.
If the executable is still protected by DRM, the patch may fail because the internal PE structure or resource access can be altered by the protection.
Additionally, while this tool was designed for Karin games (Karin Entertainment(Otome)/ Karin Chat Noir Omega(BL)) that use the Malie engine, other Malie-based games may have different EXE structures and may not be compatible.
- Inject EXEC.bin directly into a Malie engine executable
- Prevents .rsrc corruption caused by Resource Hacker replacement
- Automatically:
- overwrites in-place if size allows
- creates a new PE section if the file becomes larger
- Recalculates the PE checksum
- Works with Karin Entertainment Malie engine games
This patcher is designed for Karin Entertainment(BL : Karin Chat noir Omega) games using the Malie engine, including:
- Omerta -Chinmoku no Okite- (オメルタ -沈黙の掟-) ※BL
- Omerta CODE:TYCOON (オメルタ CODE:TYCOON) ※BL
- Omega Vampire (オメガヴァンパイア) ※BL
- Danzai no Maria -The Exorcism of Maria- (断罪のマリア THE EXORCISM OF MARIA)
- Zettai Meikyuu Grimm -Nanatsu no Kagi to Rakuen no Otome- (絶対迷宮グリム -七つの鍵と楽園の乙女-)
Place the executable and EXEC.bin in the same directory and run:
Example:
python malie_exe_patcher.py original.exe EXEC.bin patched.exeReplacing EXEC.bin through normal resource editing tools often causes:
- resource table corruption
- broken .rsrc alignment
- EXE crash on launch
This tool avoids those issues by patching the PE structure directly.
- Python 3.x
This tool modifies PE structure directly. Always keep a backup of the original executable before patching.