RegisterRegister    Log inLog in    SearchSearch   

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



PostPosted: Sun Jan 17, 2010 4:04 am    Post subject: Error in starting command of WoP, please correct! Reply with quote

Hey there
I found an error in startup command of World of Padman.
I ran the Gamecreate client in foreground mode and realized that Gamecreate attempts to start /home/gamecreate/padman [params]
But padman is the directory the game is installed in, not the executable itself.
Command line must be either
/home/gamecreate/padman/wopded.i386 for X86 machines or
/home/gamecreate/padman/wopded.x86_64 on 64 bit machines.

Please correct this in WoP server start command for linux servers.
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

theWeird



PostPosted: Mon Jan 18, 2010 1:55 am    Post subject: Same for Freeciv Reply with quote

For freeciv Gamecreate also tries to execute the folder freeciv instead of the binary inside
Back to top
View user's profile Send private message
Kybber



PostPosted: Fri Jan 22, 2010 8:18 pm    Post subject: Reply with quote

Several games don't have linux binaries defined. GC devs need to add
the relevant binaries to the game config. Hopefully they'll get to it soon Smile
Back to top
View user's profile Send private message
theWeird



PostPosted: Fri Jan 22, 2010 8:30 pm    Post subject: Reply with quote

The problem are not the binaries, I installed them by myself.
I also tried starting a server from the command line, works great.
The problem is the startup command.

Example for Padman:
If I run GC in foreground mode, I can see the following startup command GC tries to execute for Padman:
# /home/gamecreate/padman [Parameters]
The big problem is: this is not an executable file, this is the directory the binaries are installed in.
GC tries to 'execute' a folder instead of a binary.
The binary that shoud be startet is:
/home/gamecreate/padman/wopded.i386 for X86 machines or
/home/gamecreate/padman/wopded.x86_64 on 64 bit machines.
Back to top
View user's profile Send private message
Kybber



PostPosted: Fri Jan 22, 2010 8:36 pm    Post subject: Reply with quote

Yes, that's what I mean: The GC devs need to configure which binary should
be executed. In this case, they have defined the directory, but the binary is
left blank. So when GC creates the launch-command, it has no knowledge of
the binary, and thus the launch-command ends with the directory name.

In this particular case there may be another problem as well, since there are
two binaries, depending on whether the system is 32 og 64 bit. The easiest
is probably to create a wrapper script which determines the system architecture
and launches the corresponding binary. This should really be the responsibility
of the game developers themselves.
Back to top
View user's profile Send private message
theWeird



PostPosted: Sat Jan 23, 2010 12:51 am    Post subject: Reply with quote

Padman and freeciv have to be installed manually on linux, GC doesn't offer the binaries.
For me it would be enough if they would try to execute a binary instead of a directory. So I would rename the x64 binary to match the command line Wink
Back to top
View user's profile Send private message
theWeird



PostPosted: Wed Jan 27, 2010 1:21 am    Post subject: Reply with quote

I wrote a PN to Andrew and asked him to correct this error.
No response up to now...
Are the guys of Mammoth Media still active in this forum?
Back to top
View user's profile Send private message
hyperprotagonist



PostPosted: Fri Jan 29, 2010 1:23 am    Post subject: Reply with quote

theWeird wrote:
I wrote a PN to Andrew and asked him to correct this error.
No response up to now...
Are the guys of Mammoth Media still active in this forum?


Yes. But occasionally. Sad
Back to top
View user's profile Send private message MSN Messenger
theWeird



PostPosted: Tue Feb 02, 2010 4:39 am    Post subject: Reply with quote

Seems that no one will fix this little bug?
As I said, in my eyes it would be enough to call ANY filename inside the directories.
Advanced serveradmins won't have problems to get the filename from client's console output to rename the correct binary for their cpu architecture.

PLEASE, Mammoth Media Serveradmins, fix the paths of this games to any binary inside the folders instead of the folders themselve.
Back to top
View user's profile Send private message
Steve
Mammoth


PostPosted: Fri Feb 12, 2010 3:14 pm    Post subject: Reply with quote

Sorry for the late response.

When there are different executable files that may be used, we have often left the executable out of the command line, so the user can choose which one they want to use, and prepend it to the command line in the game's options.
Back to top
View user's profile Send private message
theWeird



PostPosted: Fri Feb 12, 2010 4:06 pm    Post subject: Reply with quote

I already tried to do it this way.
The problem is that there is always a space added between the defined execution path and the parameters I can define for the command line.

(| marks the ends of the line)
example with defined binary:
your path: |/path/to/gamefolder/server.run|
commandline options: |-port 8888 ...|
Result: |/path/to/gamefolder/server.run -port 8888 ...|

without defined binary:
your path: |/path/to/gamefolder| (without trailing /)
commandline options: |/server.run -port 8888 ...|
Result: |/path/to/gamefolder /server.run -port 8888 ...|

As you can see there is a space in the execution path.
Doesn't matter if there is a trailing / in the defined path or not, there will be a space in the path that will cause errors on linux.

If you could add spaces like this ONLY if there is a executable file defined, everything would work fine ^^
Back to top
View user's profile Send private message
Andrew
Mammoth


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

Hi guys,

Apologies for the delayed response, our support team has been pretty busy since the new year and some priorities had to be shifted for a while.

I've corrected this problem, the WoP executable is now defined in linux as 'server'.

Also note that every other GameCreate game now has 'server' as its executable, if one was previously not defined (such as Freeciv).

New games will always contain 'server' as the executable if one is not initially found by us at the time we create a new game.

You should be able to rename the appropriate binary to 'server' (32 or 64bit) depending on your OS.
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.