Files
Diddy-Kong-Racing/compile_all.sh
T
David BenepeandGitHub c8a755a5c9 DKR Assets Tool v0.5 (#577)
* Saving files before attempting to integrate custom crash screen

* Put code under DkrAssetsTool namespace

* More progress

* Lots of work done.

* Forgot to revert back to v77 in the makefile

* Included cstdint in bytes_view.hpp

* Hopefully fixed issue with CEnum::tostring(), removed asset_enums from tracking, and modified gitignore to allow obj files from the mods folder

* .mtl file and the textures should now check if the path is absolute or relative.

* Fixed compile_all.sh

* Doing a thing that is technically not valid.

* Removed 'make assets', now assets are built in the normal 'make' setting.
2025-05-16 17:51:40 -04:00

14 lines
579 B
Bash
Executable File

#!/bin/bash
# do us v77 last as that will make it easier to keep decompiling with the default version
regions=('pal' 'jpn' 'us' 'pal' 'us')
versions=('v77' 'v79' 'v80' 'v80' 'v77')
for i in ${!regions[@]}; do
region=${regions[$i]}
version=${versions[$i]}
echo "Compiling $region.$version"
make REGION=$region VERSION=$version cleanextract && make assets REGION=$region VERSION=$version -j12
if [[ $(sha1sum -c --quiet ver/verification/dkr.$region.$version.sha1) = "" ]]; then echo "$region.$version OK"; else echo "Failed $region.$version"; exit 1; fi
done