1. Access the source code
2. Using Git
Git is not easy. Be careful and read some instructions first. Among others 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 (by pushing?). Have never done this. Don't know how this works exactly.
32 or 64 bit on Windows
In principle it doesn't matter. I use 64 bit and also deliver packages in 64 bit only.
Third Party Modules for Python
Only PySide and PyYAML are required for running, Markdown and cx_Freeze are additionally required for developing.
Markdown is required for creating the HTML pages of the manual.
cx_Freeze is used for packaging Python and creating standalone versions.
- Execute "./tools/manual_markdown_converter.py" once with working directory "./tools"(all paths relative to repository root).
- 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/).
- Inno Setup is needed for the creation of the Windows installer.
- Many graphics are edited with Inkscape.
tools/package_vanilla.pyto create package in the build folder.
- Download the VC 2010 x64 redistributable and store in folder build.
tools/installer_windows.isswith Inno Setup