Posted: Fri Jan 08, 2010 1:45 am Post subject: Custom Content Server
Hello,
I've managed to successfully install a custom content server. I've put all my gamefiles in the appropriate directory, and tested them - they all work.
But I've noticed that when I install a STEAM game (call of dutys and battelfields didn't have this problem), using my custom content server, on any of my other hosts, the game servers crash.
I've also noticed that the downloading of the game files (still using my own content server) does not restore the permissions such as +x, so I had to make a wrapper script (thanks kybber for that part by the way).
So here is my question : How is it that the steam games work on my content server, and don't after being copied on another host, despite the fact that all executables are fixed ? Why are some files corrupted when you check the md5s during install ? (I've noticed the file created by the buid-package.php script contained the md5s)
You can create an 'operations' file to have the installer script automatically chmod files for you.
Inside the /linux/ directory of your content server, create a file such as:
/linux/hlserver.op.txt
Quote:
file1_x86
file2_amd
...
Inside this file, simply add each filename (relative to the game directory) you want to have an executable bit set during the install.
Note that you don't need to list the server's main executable in this file, GameCreate automatically marks it executable before trying to start the server.
As for corrupted files, GameCreate does not attempt to check the md5sum of the file after a download.
If you have corrupted files, try opening them in Notepad (or whatever) on the server host and see what was downloaded. Perhaps it is a 404 error page for example?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum