#Reminder that the game expects the unzipped data files to be in /usr/local/games/scorched3d/share (copy the sourcecode data directory) Strip -strip-unneeded -remove-section=.comment /usr/local/games/scorched3d/* Sudo chown -R yourloginusername:yourloginusername /usr/local/games/scorched3d/Ĭhmod 755 -R /usr/local/games/scorched3d/Ĭhmod 755 /usr/local/games/scorched3d/sorched3dĬhmod 755 /usr/local/games/scorched3d/sorched3dcĬhmod 755 /usr/local/games/scorched3d/sorched3ds Sudo mkdir /usr/local/games/scorched3d/share/documentation Sudo mkdir /usr/local/games/scorched3d/share/data Sudo mkdir /usr/local/games/scorched3d/share/ The cost of -fstack-protector-all, -fstack-protector-strong, -fstack-protector was stated to be 10 %, 1-5% and < 1% reduced performance to safeguard the computer system, as a side note -fprofile-generate -fprofile-use could eaisly make up for the reduced performance and overall be worthwhile for a dedicated server with many of AI players. I'd suggest adding -fstack-protector-all or at a minimum -fstack-protector. #For those looking to run a dedicated server or to host games on the internet exposed to random access by others. gcda files will be hard linked to the path compiled from, this will improve game cpu performance dramatically and the game uses lots of cpu power with many AI players #optionally unzip and add -fprofile-use to all ldflags and cflags option or go through the process of -fprofile-generate, run the program to stress its most common path and then recompile with -fprofile-use. #unzip with 7zip data/globalmods/apoc.7z and none.7z.001 none.7z.002 Sudo apt-get install debhelper dh-autoreconf gawk libalut-dev libexpat1-dev libfftw3-dev libfreetype6-dev libgl1-mesa-dev libglew-dev libglu1-mesa-dev libjpeg-dev libogg-dev libopenal-dev libpng-dev libsdl-net1.2-dev libsdl1.2-dev libvorbis-dev libwxgtk2.8-dev pkg-config jackd2 #Compile & Install: Any linux distro (game version 44) The release contains the compiled binary and the zipped up game files are included in the mods folder as. An adaptable open source user interface for android could be Xash3d (halflife for android). My goal was to get the best/fastest game code and hopefully pass on a great reference for others projects (Android). The other updates included only typos where the functions required an numerical definition that was missing ie wxsizer(4, 4) was updated to (0, 4, 4, 0). configure file for the removal of debug and addition of the stated gcc flags. The game source code typos were modified so that it would compile with gcc with the flags O3 and standard c++ 17.
0 Comments
Leave a Reply. |