PyCity is written in C/C++ using the ultra-lightweight Raylib graphics library. To keep things fast and transparent, the game features a native Windows Master Builder script (build.bat).
You can build modern 64-bit production builds or legacy 32-bit compatibility builds directly on your PC without installing massive IDEs, heavy development tools, or Linux emulation layers.
The build script relies on a portable C/C++ toolchain called w64devkit. Because it cuts out unnecessary bloat, you must grab the individual architecture files for the builds you want to make:
https://github.com/skeeto/w64devkit/releasesw64devkit-x64-X.X.X.zip) for the main 64-bit executable.w64devkit-x86-X.X.X.zip) if you want to build the legacy 32-bit compatibility version.C:\w64devkit and C:\w32devkit).When you double-click the build.bat script for the first time, it automatically detects that no settings exist and launches the Path Configuration Wizard:
build.bat.bin directories.gcc.exe and make.exe:
C:\w64devkit\binC:\w32devkit\binconfig.ini.Once your configuration paths are saved, the main builder menu will load. Choose your target compilation mode:
1 - x64 Production Build: Sets the path to your 64-bit compiler, hooks into the raylib64/src folder, and uses make to compile the standard 64-bit version (pycity-win64.exe).2 - x86 Legacy Compatibility Build: Temporarily changes your active system execution path to your 32-bit compiler, maps out the raylib32/src folder, and outputs the 32-bit version (pycity-win32.exe).3 - Build Both Architectures (Simultaneously): Spawns two independent, parallel background threads (start /b cmd /c). This fires off both the 64-bit and 32-bit compiler engines at the exact same moment to save time.If you ever move your compiler directories, move your project folders, or type a path incorrectly during the first setup:
build.bat to pull up the menu interface.r to choose “Reset Configuration Paths”.config.ini file and immediately loop you back into the step-by-step setup wizard to put in fresh paths.