 |
Author |
|
 |
|
Fost Pod Team


Joined: 14 Oct 2002 Posts: 3734

|
Posted: Thu Feb 19, 2004 12:53 pm Post subject: linux / wine |
|
|
We've had 5 reports of people playing the game through to the end under wine with no problems. If anyone has any experiences/recommendations/setup suggestions regarding this, we'd be interested to hear. We'll try and compile a small faq about this at some point incase anyone needs it. |
|
|
|
Back to top |
|
|
 |
|
creature
Joined: 24 Apr 2004 Posts: 12

|
Posted: Sat Apr 24, 2004 1:50 pm Post subject: |
|
|
i tried it with wine 20040309 (Debian). Setup works.
But what then?
There is
$ cd ~/.wine/fake_windows/Program Files/Starscape$
$ wine Starscape.exe
Wine exited with a successful status
$
nothing happens. What can I do? |
|
|
|
Back to top |
|
|
 |
|
Fost Pod Team


Joined: 14 Oct 2002 Posts: 3734

|
Posted: Sat Apr 24, 2004 1:56 pm Post subject: |
|
|
Not being Linux experts in any way, there's not a lot we can do to give you an official answer.
Although one thing no one mentioned, were they running wine or winex? Starscape can use opengl or direct3d, however we still use directX for input (amongst other things), so at a guess you would think winex is needed.
Any linux experts out there can helps us? |
|
|
|
Back to top |
|
|
 |
|
creature
Joined: 24 Apr 2004 Posts: 12

|
Posted: Sat Apr 24, 2004 2:01 pm Post subject: |
|
|
i have checked Starscape.cfg but its not human readable so i hope there is a menu, to change defaults from directx to openGL.
And one compliment: you are very fast
Under Windows , you start with: "Starscape.exe" without parameters? |
|
|
|
Back to top |
|
|
 |
|
Goober Pod Team


Joined: 11 Oct 2002 Posts: 449 Location: Moonpod Central

|
Posted: Sat Apr 24, 2004 2:10 pm Post subject: |
|
|
Starscape.cfg is unicode, so you'll need to use an editor that's supports unicode to read/edit it.
Are you using the latest version of Starscape? Version 1.4e should bring up a dialog box on first run to allow you to change the settings (rather than editing the cfg file). On subsequent runs you can use "starscape -c" (without quote, obviously) to force it to pop up the options box. |
|
|
|
Back to top |
|
|
 |
|
creature
Joined: 24 Apr 2004 Posts: 12

|
Posted: Sat Apr 24, 2004 2:22 pm Post subject: |
|
|
i do not know which version, i have downloaded.
It s demo version from today.
$ pwd
/home/leo/.wine/fake_windows/Program Files/Starscape
$ wine -- Starscape.exe -c
Wine exited with a successful status
$ echo $?
0
$
maybe one of the five reads this ... |
|
|
|
Back to top |
|
|
 |
|
Fost Pod Team


Joined: 14 Oct 2002 Posts: 3734

|
Posted: Sat Apr 24, 2004 2:25 pm Post subject: |
|
|
creature wrote: | i do not know which version |
look in the file 'readme.txt' it should say which version. 1.4e (the latest version) should pop up a standard dialogue box which we are guessing works ok under Wine. If you downloaded from our site today though, you should have 1.4e. |
|
|
|
Back to top |
|
|
 |
|
creature
Joined: 24 Apr 2004 Posts: 12

|
Posted: Sat Apr 24, 2004 2:28 pm Post subject: |
|
|
Goober wrote: | Starscape.cfg is unicode, so you'll need to use an editor that's supports unicode to read/edit it.
|
OK, vim is my friend
cat is able to print unicode, vim too, but not less ... thats new to me.
Code: |
{
r_renderer d3d
r_runOnce false
r_colorBits 32
r_depthBits 16
r_hiQualityTextures true
r_disableCVA false
r_ultraSafeRenderMethod false
r_safeRenderMethod false
r_forcewindowed false
a_disableAudio false
a_force8bitSamples false
a_outputFrequencyId 0
a_maxSimultaneousSamples 32
a_masterfxvolume 6
a_mastermusicvolume 6
i_forcedi5 false
}
|
so which options i could try?
Which options for GL? |
|
|
|
Back to top |
|
|
 |
|
creature
Joined: 24 Apr 2004 Posts: 12

|
Posted: Sat Apr 24, 2004 2:30 pm Post subject: |
|
|
Fost wrote: | creature wrote: | i do not know which version |
look in the file 'readme.txt' it should say which version. 1.4e (the latest version) should pop up a standard dialogue box which we are guessing works ok under Wine. If you downloaded from our site today though, you should have 1.4e. | it is 1.4e
but no box ... i will try another wine |
|
|
|
Back to top |
|
|
 |
|
Fost Pod Team


Joined: 14 Oct 2002 Posts: 3734

|
Posted: Sat Apr 24, 2004 2:36 pm Post subject: |
|
|
The above will force opengl mode, however you still may have problems as we mentioned. I'll try and find time to install a linux distro and get winex on there - at least we would have first hand experience of it. |
|
|
|
Back to top |
|
|
 |
|
creature
Joined: 24 Apr 2004 Posts: 12

|
Posted: Sat Apr 24, 2004 11:25 pm Post subject: |
|
|
just tried winex. Now everything works. Very simple with winex.
only mouse does not work, but who needs mice ...
now i will test a bit
thanks for your help |
|
|
|
Back to top |
|
|
 |
|
Fost Pod Team


Joined: 14 Oct 2002 Posts: 3734

|
Posted: Sat Apr 24, 2004 11:40 pm Post subject: |
|
|
creature wrote: | but who needs mice ... |
too true! True professionals use keys
I've got a linux distro on it's way, which should hopefully allow us to at least have an FAQ about this available in the future. |
|
|
|
Back to top |
|
|
 |
|
The DataBeaver
Joined: 24 Apr 2004 Posts: 24

|
Posted: Mon Apr 26, 2004 11:43 am Post subject: |
|
|
Works with WineX 3.1 on Debian unstable. The framerate is something like 1fps, but I'd address that to missing hardware acceleration. WineX seems to fake that 3D acceleration is present even though it isn't.
Will you be making a native Linux version in the future? If you need help, I'm available. |
|
|
|
Back to top |
|
|
 |
|
Fost Pod Team


Joined: 14 Oct 2002 Posts: 3734

|
Posted: Mon Apr 26, 2004 12:26 pm Post subject: |
|
|
The DataBeaver wrote: | The framerate is something like 1fps |
I suppose I should have quizzed the people who were played the game to the end: I'm sure they wouldn't have played if that were the case! Were you using d3d or opengl?
The DataBeaver wrote: | Will you be making a native Linux version in the future? | Obviously using WineX is only ever going to be second best. We had hoped to support Linux and also the Mac from the start, and did a lot of groundwork in this area. Unfortunately we had to stop work on it. As great as sales for Starscape have been, we simply need to get another game completed so we can stop dipping into our overdrafts and pay our mortgages. Since releasing Starscape, supporting it has eaten up fair chunks of our time, so making Battlescape is a much harder prospect than Starscape was (It's also a much complicated game behind the scenes because we wanted to do some interesting stuff ).
Anyway, all that is excuses at the end of the day. It's unlikely we would even reclaim development costs on a Linux version, but if we have the time to do it we will do. I just just can't say if that will ever be possible, just that the intention is there. |
|
|
|
Back to top |
|
|
 |
|
The DataBeaver
Joined: 24 Apr 2004 Posts: 24

|
Posted: Mon Apr 26, 2004 8:45 pm Post subject: |
|
|
Fost wrote: | Were you using d3d or opengl? |
Tried both, with equally bad results. I'll test on a 3D accelerated machine soon, perhaps tomorrow.
Fost wrote: | Obviously using WineX is only ever going to be second best. |
Native is always better.
Fost wrote: | Anyway, all that is excuses at the end of the day. It's unlikely we would even reclaim development costs on a Linux version, but if we have the time to do it we will do. I just just can't say if that will ever be possible, just that the intention is there. |
I don't think it is really that much more work. Starscape already uses OpenGL and I assume that all the in-game graphics are rendered with it? That only leaves sound and input. Both can be done using SDL, which is portable among other things.
Of course I haven't seen your source code so I might be wrong. I have programmed for both Linux and Windows, though, and prefer Linux because it's actually easier. |
|
|
|
Back to top |
|
|
 |
|
|
|
|
|
|