Hi, thanks everyone for the help so far.
I’ve been testing the injector and everything seems to be working as long as no replacements are made. If I leave replace_list.txt empty (i.e. don’t replace any files), the game runs perfectly fine after injection.
However, as soon as I try to replace any file, the game crashes.
For example, if I add Weapon_cannonade.lua to the replace_list.txt (and yes, the file exists in the provided scripts folder), the game instantly crashes during or right after injection — even if I use the original, unmodified .lua files.
So the injector itself works, but the moment it attempts to apply replacements, the game closes without error.
Just injecting without replacing anything works completely fine.
Has anyone else experienced this? Or is there anything specific about how the files need to be formatted/encoded?
Thanks in advance!