Hydrahypnotizer
Chieftain
As we all know, python is a good language for modding; It's got a nice syntax and does not need to be compiled. The only problem - it's slow.
Psyco is a python compiler that compiles the code before executing, resulting in a 2 to 100 times faster code.
I installed it, put the psyco folder in the FFH /assets/python, and edited some .py files to include psyco. Sure enough, it worked, but the interface was gone!
After a few edits, i found out that putting psyco in one .py file bugged the promotion system, another the interface etc. Some files seemed to work.
On the positive side, the game was noticeably faster! Especially the between-turns wait.
(Okay, it could have been placebo, as i didn't do any statistics... )
The questions i have are:
The python version shipped with Civ is 2.4; can i replace this with 2.5? The 2.5 version of psyco fixes a few bugs.
This page has the know psyco bugs. Does anybody familiar with the FFH python code know if these bugs apply to FFH/Civ?
Psyco is a python compiler that compiles the code before executing, resulting in a 2 to 100 times faster code.
I installed it, put the psyco folder in the FFH /assets/python, and edited some .py files to include psyco. Sure enough, it worked, but the interface was gone!
After a few edits, i found out that putting psyco in one .py file bugged the promotion system, another the interface etc. Some files seemed to work.
On the positive side, the game was noticeably faster! Especially the between-turns wait.
(Okay, it could have been placebo, as i didn't do any statistics... )
The questions i have are:
The python version shipped with Civ is 2.4; can i replace this with 2.5? The 2.5 version of psyco fixes a few bugs.
This page has the know psyco bugs. Does anybody familiar with the FFH python code know if these bugs apply to FFH/Civ?
Last edited: