This is a set of scripts used to pack the game as a package for various platforms.
All build pacakges are architecture-independend, and they should depend on the thextech-bin package that contains runtime engine itself.
- Install on the debian host next packages:
apt install git dpkg debconf lintian hashdeep 7zip p7zip p7zip-full- Run the
./build-7z.shscript with two arguments (reposotory URL and the name of archive without extension) to make the package of archive:
./build-7z.sh <repo URL> <name-of-archive-with-no-extension>
#example
./build-7z.sh https://host.ru/user/repo.git just-a-repo-pack- Run the
./build-deb.shscript with three arguments (reposotory URL, game ID, and the package name) to build the DEB package:
./build-deb.sh <repo URL> <game-id> <package-name>
#example
./build-deb.sh https://host.ru/user/repo.git repopack just-a-repo-pack- Run the
./build-all.shscript with four arguments (reposotory URL, game ID, the package name, and hte archive name without extension) to perform all actions explained above at one run:
./build-all.sh <repo URL> <game-id> <package-name> <name-of-archive-with-no-extension>
#example
./build-all.sh https://host.ru/user/repo.git repopack just-a-repo-pack just-a-repo-archive-packImportant note: The "game-id" specified as the script argument MUST MATCH to the value of GAMENAME field at the stroy_config.sh game assets package config.