RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
RS.Pat



PostPosted: Fri Jan 08, 2010 1:45 am    Post subject: Custom Content Server Reply with quote

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)
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Andrew
Mammoth


PostPosted: Wed Feb 17, 2010 4:09 pm    Post subject: Reply with quote

Hi,

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.