Home - Community - Sources - Download - Tasks - Contact
The source code is on GitHub. You can also download a zipped one-time snapshot. Otherwise just register with GitHub and fork the project.
Download Git or on Windows install TortoiseGit which conveniently integrates git with the explorer.
Git is not easy. Be careful and read some instructions first. I liked this tutorial.
- Once you forked the project, clone it on your computer with "git clone https://github.com/USER/Imperialism-Remake.git"
- Regularly get updates with fetch/pull
- Programm as usual (commit)
- When task is done, create pull request.
Download and install latest Python 3.X. The Python documentation is quite good.
Although it doesn't matter here, I use 64 bit and also deliver packages in 64 bit only.
Only PyQt5 and PyYAML are required for running.
Sphinx, PyInstaller are additionally required for development.
PyQt5 is a Python binding of the Qt framework and is required for running.
PyQt5 has not much documentation on its own but the API classes overview of the underlying C++ Qt 5.X framework is very useful since PyQt5 is almost 100% recreating it.
PyYAML is required for running.
- Run file "./source/start.py" with working directory "./".
- Start with command line parameter "debug" for (more) output on the console.
- A folder with log files and settings is created under "user folder/Imperialism Remake User Data" where "user folder" is the typical user folder of your system (Windows C:/Users/XXX/).
I use PyCharm Community Edition. Since the .idea folder is contained the project can probably be opened directly with PyCharm. Another nice IDE is Spyder.
- Inno Setup is needed for the creation of the Windows installer.
- Many graphics are edited with Inkscape.
Under construction.