UOCPatch
Posted: Thu Jun 07, 2018 4:41 pm
Hello!
While UoC2 is coming (and we are still on 1.05), I've spent approximately 2 years figuring out how to disassemble/patch the game.
My efforts have become fruitful by now... hereby I present you UOCPatch!
On its own, it does nothing now, and will not do automatically. You have to enable needed features from the .uocpatch file in the root directory of the game.
For testing, it has only one feature now: disabling AI disbanding of units.
Installation is simple, unzip the downloaded thing into base game folder. You can clean the game from it though, using `uocpatch.py clear`
http://github.com/Pannoniae/uoc-patch
Good luck, have fun!
(P.S. there is only one thing which is not possible in reasonable amount of time [read: within a couple of years from now], and that is porting it to newer Python versions. Sadly, due to how bytecode works, the whole game would be needed to manually pruned from bugs as decompilation causes errors and faulty control flow, and libraries would need to be updated. It is a nightmare to compile pango and cairo under Windows, but for cairo, there are prebuilt binaries.)
While UoC2 is coming (and we are still on 1.05), I've spent approximately 2 years figuring out how to disassemble/patch the game.
My efforts have become fruitful by now... hereby I present you UOCPatch!
On its own, it does nothing now, and will not do automatically. You have to enable needed features from the .uocpatch file in the root directory of the game.
For testing, it has only one feature now: disabling AI disbanding of units.
Installation is simple, unzip the downloaded thing into base game folder. You can clean the game from it though, using `uocpatch.py clear`
http://github.com/Pannoniae/uoc-patch
Good luck, have fun!
(P.S. there is only one thing which is not possible in reasonable amount of time [read: within a couple of years from now], and that is porting it to newer Python versions. Sadly, due to how bytecode works, the whole game would be needed to manually pruned from bugs as decompilation causes errors and faulty control flow, and libraries would need to be updated. It is a nightmare to compile pango and cairo under Windows, but for cairo, there are prebuilt binaries.)