AHC on Linux |
Wed, 29 March 2017 05:49 |
|
theene | | Crewman 1st Class | Messages: 27
Registered: January 2014 Location: UK | |
|
Is there anyone out there that can get this fully working?
I can get it working except when I launch stars it doesn't open my turn. It just says:
Then dumps me at the starts menu screen.
See log:
[(10:10:30) warning] Running /home/user/Stars/stars.exe /home/user/Stars/beg.m4 -p
[(10:10:30) warning] from /home/user/Stars
I tried following the FAQ suggestion to put the path to stars as a bash script to launch stars using wine but I get the exact same issue.
I noticed that if I run this from the shell I get the same problem. The issue is that it only works if I don't use the full path.
i.e.
/home/user/Stars/stars.exe beg.m4
not
/home/user/Stars/stars.exe /home/user/Stars/beg.m4
I've tried leaving it blank which I fully expected to work, but I get this instead.
[(10:46:35) warning] Running /home/user/Stars/stars.exe /beg.m4 -p
[(10:46:35) warning] from /home/user/Stars
[(10:46:35) warning] java.io.IOException: Cannot run program "/home/user/Stars/stars.exe" (in directory ""): error=2, No such file or directory
In which case Stars doesn't run at all...
Edit: I suspect that /beg.m4 tries to launch the game from '/'. I tried creating a hard-link in / to test but it still doesn't launch. I think this is a bug/compatability issue. Just wanted to check.
[Updated on: Wed, 29 March 2017 05:54] Report message to a moderator
|
|
|
|
|
|
Re: AHC on Linux |
Thu, 30 March 2017 18:34 |
|
theene | | Crewman 1st Class | Messages: 27
Registered: January 2014 Location: UK | |
|
Okay... the way I got around it was by manually setting the stars path to a script and putting the script contents as:
wine stars.exe beg.m4 2>/dev/null &
I don't understand you having variables in your script, unless there's more to it that I don't understand.
This way I will only be able to use AHC for one game at a time though...
Also, I'm running the wrong version! Ahhh! edit: maybe not. Your version doesn't have sound effects?
[Updated on: Thu, 30 March 2017 18:38] Report message to a moderator
|
|
|
Re: AHC on Linux |
Sat, 01 April 2017 16:41 |
|
XAPBob | | Lt. Commander | Messages: 957
Registered: August 2012 | |
|
No sound effects...
The variables are obvious - I have a config file which sets shell variables - allowing me to have various game setups running.
Report message to a moderator
|
|
|