Posted: Thu Nov 27, 2008 10:27 pm Post subject: Game Launcher App
Hello Andrew,
I was just wondering if it would be possible to allow for a launcher app for every game. Like you did for cod2 and cod4. I was able to take what you had started in those launchers and added the ability to set affinity and create the pid file as well as set cpu priority. Basicly with a launcher the possiblities are greatly enhanced.
So I was dissapointed when I could not do the same for COD Waw. Seems like its not setup to run a launcher so i just renamed the game executable and named my launcher "codwawmp.exe". Alll worked as expected, kinda. The pid file would not read correctly.
I assume by the responses in the gamecreate console, ther might be a problem computing the pid somehow.
I realized when thers a pid file gamecreate reads it. If not , I assume, it uses the pid of the proccess it launches directly. But for some reason its not reading the pid value in the pid file correctly. I was hoping you could help me with that.
The folllowing is a sample of what I get in the gamecreate console:
LOG: Thu Nov 27 06:12:59 2008: Process 2392 was confirmed by master
LOG: Thu Nov 27 06:12:59 2008: Received PING request
LOG: Thu Nov 27 06:13:08 2008: ** Check Booking Performance: ID 9327667 **
LOG: Thu Nov 27 06:13:08 2008: ** Check Booking Performance: ID 9327726 **
LOG: Thu Nov 27 06:13:08 2008: ** Check Booking Performance: ID 9328897 **
LOG: Thu Nov 27 06:13:08 2008: ** Check Booking Performance: ID 9330228 **
LOG: Thu Nov 27 06:13:08 2008: ** Check Booking Performance: ID 9330256 **
LOG: Thu Nov 27 06:13:10 2008: Could not format memory value
Then the server starts up endlessly, until I stop it in gamecreate panel.
So I was hoping you could allow the pid to be read the same way for all games.
This would allow me to use the launcher with any game i chose.
I am also willing to share the launcher with the community. If anyone is interested. If thats ok with you of course.
Thanks,
Abs
Last edited by abs on Thu Nov 27, 2008 10:49 pm; edited 1 time in total
One quick addition, maybe allowing for a filename override in the game configuration tab. To allow us to specify the name of the file to execute when starting a server. This would be a bit more elegant, but it can be done the way i described above by renaming files for now.
Not every game is setup to have a pidfile read by GameCreate - only those that need it.
CoD WaW does not use a pidfile (in our game setup) and so GameCreate wont look for one, it will use the started process ID.
GameCreate does support process affinity, however its only performed at the system level for a few select games (namely CS 1.6) and is not currently configurable.
Launcher style applications is something we want to look in to, but no ETA - it would be good to be able to start a server by starting BF2CC 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