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.)
UOCPatch
Re: UOCPatch
It now includes seeing supply on enemy territory (a long-requested feature...)
- Tomislav Uzelac
- 2x2 Games
- Posts: 2211
- Joined: Mon Apr 04, 2011 11:24 pm
- Location: Zagreb, Croatia
Re: UOCPatch
Hi Panno,
I have to ask you to take down this "uoc-patch" github repo. The repo contains our source code, which is copyrighted, and which we do not allow to be published.
Please take the repo down ASAP. If you don't I will have to talk to github directly, which I prefer not to but I will if needed.
I appreciate your dedication, and the technical achievement of reverse engineering the game is cool, but you can't publish our source code.Your "binary" mods are still OK though, like the one in this post: viewtopic.php?f=37&t=8038
Cheers,
Tomislav
I have to ask you to take down this "uoc-patch" github repo. The repo contains our source code, which is copyrighted, and which we do not allow to be published.
Please take the repo down ASAP. If you don't I will have to talk to github directly, which I prefer not to but I will if needed.
I appreciate your dedication, and the technical achievement of reverse engineering the game is cool, but you can't publish our source code.
Cheers,
Tomislav
Re: UOCPatch
the mentioned ones are not binary ones, they are just portions of src...
- Tomislav Uzelac
- 2x2 Games
- Posts: 2211
- Joined: Mon Apr 04, 2011 11:24 pm
- Location: Zagreb, Croatia
Re: UOCPatch
You're right, I haven't looked carefully.
It would be OK if you compiled it to .pyc, but as source it's not.
It would be OK if you compiled it to .pyc, but as source it's not.
Re: UOCPatch
Well, then please take them down ASAP. Originally I tried to compile them, but I've failed because installing dependencies for 2.6 is awfully hard, and this is not 2.7.
Re: UOCPatch
Or come up with a creative solution
- Tomislav Uzelac
- 2x2 Games
- Posts: 2211
- Joined: Mon Apr 04, 2011 11:24 pm
- Location: Zagreb, Croatia
Re: UOCPatch
I just removed the post.
You should take down the repo now.
You should take down the repo now.
Re: UOCPatch
I did it.
- Tomislav Uzelac
- 2x2 Games
- Posts: 2211
- Joined: Mon Apr 04, 2011 11:24 pm
- Location: Zagreb, Croatia
Re: UOCPatch
Thanks!