RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
abs



PostPosted: Thu Nov 27, 2008 10:27 pm    Post subject: Game Launcher App Reply with quote

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



PostPosted: Thu Mar 31, 2011 3:57 am 

abs



PostPosted: Thu Nov 27, 2008 10:45 pm    Post subject: Reply with quote

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.

Thanks..
Back to top
View user's profile Send private message
abs



PostPosted: Fri Nov 28, 2008 11:34 am    Post subject: Reply with quote

I relized it does not read the pid if it exsists.

If the ability exsisted to force any game server to read the pid.
Then my genric applauncher could be used with any game practicly.

This is in windows.
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Mon Dec 01, 2008 10:23 am    Post subject: Reply with quote

Hi abs,

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.
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.