View previous topic :: View next topic |
Author |
Message |
theWeird
|
Posted: Sun Jan 17, 2010 4:04 am Post subject: Error in starting command of WoP, please correct! |
|
|
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 |
|
|
adbot
|
Posted: Thu Mar 31, 2011 3:57 am |
|
|
|
|
|
theWeird
|
Posted: Mon Jan 18, 2010 1:55 am Post subject: Same for Freeciv |
|
|
For freeciv Gamecreate also tries to execute the folder freeciv instead of the binary inside |
|
Back to top |
|
|
Kybber
|
Posted: Fri Jan 22, 2010 8:18 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
theWeird
|
Posted: Fri Jan 22, 2010 8:30 pm Post subject: |
|
|
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 |
|
|
Kybber
|
Posted: Fri Jan 22, 2010 8:36 pm Post subject: |
|
|
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 |
|
|
theWeird
|
Posted: Sat Jan 23, 2010 12:51 am Post subject: |
|
|
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 |
|
Back to top |
|
|
theWeird
|
Posted: Wed Jan 27, 2010 1:21 am Post subject: |
|
|
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 |
|
|
hyperprotagonist
|
Posted: Fri Jan 29, 2010 1:23 am Post subject: |
|
|
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. |
|
Back to top |
|
|
theWeird
|
Posted: Tue Feb 02, 2010 4:39 am Post subject: |
|
|
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 |
|
|
Steve Mammoth
|
Posted: Fri Feb 12, 2010 3:14 pm Post subject: |
|
|
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 |
|
|
theWeird
|
Posted: Fri Feb 12, 2010 4:06 pm Post subject: |
|
|
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 |
|
|
Andrew Mammoth
|
Posted: Wed Feb 17, 2010 4:04 pm Post subject: |
|
|
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 |
|
|
|