To build for linux64:
$ make -j$(nproc)
To build for win64 (can only build on linux):
$ PLATFORM=win64 make -j$(nproc)
Requires GNU make and gcc/mingw.
This program is based on the source code to SimCityPak and SporeModder-FX.
What do the programs do:
- test_update: Downloads the SimCity game scripts into ./update. (You first have to run
mkdir update
for it to work.) - test_package
file
: Prints information in parsing the .package filefile
. - test_rast, test_rw4, test_heightmap, test_sdelta, test_prop
file
: Prints information in parsing the file format. - test_crcbin
dir
: Prints information in parsing the directory containins .bin files. - opensc5_editor: GUI editor based on the design of s3pe.
Quick "style guide":
- Source files must not exceed 1000 lines. If it is longer than 1000 lines, break it up into smaller modules.
- Each source file must have it's own header file, unless it has an entrypoint (main() function).
Running test_update will download ~80 GB of files from update.prod.simcity.com (the entire server contents.) Running opensc5_editor will unpack ~1 GB of files into the corrupted folder because the program can't read it.