Linux: Difference between revisions

From Spring
Jump to navigationJump to search
mNo edit summary
Kujeger (talk | contribs)
→Running Spring via wine: some spelling fixes and note about possible mouse troubles
Line 33: Line 33:
'''1 - You'll need, of course, Wine installed.'''<br>
'''1 - You'll need, of course, Wine installed.'''<br>
Just use the version included with your distribution.<br>
Just use the version included with your distribution.<br>
You can try to compile from source but that probably just more difficult.
You can compile from source but that is generally unnecessary.


'''2 - Be sure to have 3D hardware acceleration enabled.'''<br>
'''2 - Be sure to have 3D hardware acceleration enabled.'''<br>
Spring is a fully 3D game and will require those. This usually means you have to install the nVidia/Ati comercial drivers.
Spring is a fully 3D accelerated game and will require this. This usually means you have to install the nVidia/Ati commercial drivers.
Just install the package from you distribution.
Install the package from you distribution.
If you're having problems installing these, you'll also probably find better help at their web sites.
If you're having problems installing these, you'll also probably find better help at their web sites.
Don't expect much from the Spring forum as they almost all run MS Windows.
The Spring forums are not really for general linux help, so refer to your distribution's forums - if they have any.




To know if you have 3D acceleration working, you can execute in a comand line the comand:
To know if you have 3D acceleration working, you can execute the following command:
glxinfo
glxinfo
If it shows the line:
If it shows the line:
direct rendering: yes
direct rendering: yes
You probably have them working.
You probably have it working.




Line 52: Line 52:
* If you already have Spring installed in Windows, make sure that partition is accessible in Linux, use a comand line to change directory (cd) into it and execute:
* If you already have Spring installed in Windows, make sure that partition is accessible in Linux, use a comand line to change directory (cd) into it and execute:
wine TASClient.exe
wine TASClient.exe
* If you don't have Spring installed yet, install it executing in a comand line where the installer file is located:
* If you don't have Spring installed yet, install it executing in a command line where the installer file is located:
wine taspring_0.73b3.exe
wine taspring_0.73b3.exe
(or whatever else the installer might be called)
(or whatever else the installer might be called)
Then, change directory to where you installed it to, generally:
Then, change directory to where you installed it to, generally:
cd ~/.wine/drive_c/Program Files/TASpring
cd ~/.wine/drive_c/Program\ Files/TASpring
(the comand line only accepts " " spaces in paths if they have an "\" before, like: cd Program\ Files)
(the comand line only accepts " " spaces in paths if they have an "\" before, like: cd Program\ Files)
And, similarly, execute:
And, similarly, execute:
wine TASClient.exe
wine TASClient.exe


My Linux instalation, Suse Linux 9.3, installed by default Wine and had the option, through the YOU auto-updating tool, to automatically install the commercial drivers. If your distribution also has such options, it can save you much work.
Suse Linux 9.3 installs Wine by default and had the option, through the YOU auto-updating tool, to automatically install the commercial drivers. If your distribution also has such options, it can save you much work.
 
It should be noted that in the multiplatform code releases of Spring (0.7x) you may need to run Spring in fullscreen or the mouse will not work. Only spring needs to run in fullscreen though, so you can have wine emulate a virtual desktop and run spring fullscreen inside that.


[[Category:Source development]]
[[Category:Source development]]


[[Category:Linux Port]]
[[Category:Linux Port]]

Revision as of 20:51, 2 June 2006

Spring is running on Linux! But it's not ready for a release, networking and sound need love for example.

To compile spring yourself, refer to the SetupGuide.

The Linux release Roadmap is useful if you want to know how you can help. The Linux porting effort is underway at BerliOS.
http://developer.berlios.de/projects/taspring-linux/
The linux port wiki startpoint is: http://taspring.clan-sy.com/wiki/MultiplatformSpring The old linux port wiki (which may or may not work at the moment) was: http://taspring-linux.berlios.de/wikka.php?wakka=HomePage
The old location for Linux development was https://opensvn.csie.org/traccgi/taspring_linux/trac.cgi/wiki

The Linux porting mailinglist can be found at http://lolut.utbm.info/cgi-bin/mailman/listinfo/taspring-linux a move to the mailinglist provided by BerliOS is posible in the (near) future.


The first sceenshot of Spring running on Linux.

Running Spring via wine

Even though a native Linux port of Spring is progressing well you can play Spring on Linux using Wine:

This is unconfirmed, if it's not working please figure it out and update this wiki page!
And if you had success with these guidelines please let us know.


1 - You'll need, of course, Wine installed.
2 - Be sure to have 3D hardware acceleration enabled.
3 - Install Spring or use an already installed Spring in Windows.


1 - You'll need, of course, Wine installed.
Just use the version included with your distribution.
You can compile from source but that is generally unnecessary.

2 - Be sure to have 3D hardware acceleration enabled.
Spring is a fully 3D accelerated game and will require this. This usually means you have to install the nVidia/Ati commercial drivers. Install the package from you distribution. If you're having problems installing these, you'll also probably find better help at their web sites. The Spring forums are not really for general linux help, so refer to your distribution's forums - if they have any.


To know if you have 3D acceleration working, you can execute the following command: glxinfo If it shows the line: direct rendering: yes You probably have it working.


3 - Install Spring or use an already installed Spring in Windows.

  • If you already have Spring installed in Windows, make sure that partition is accessible in Linux, use a comand line to change directory (cd) into it and execute:

wine TASClient.exe

  • If you don't have Spring installed yet, install it executing in a command line where the installer file is located:

wine taspring_0.73b3.exe (or whatever else the installer might be called) Then, change directory to where you installed it to, generally: cd ~/.wine/drive_c/Program\ Files/TASpring (the comand line only accepts " " spaces in paths if they have an "\" before, like: cd Program\ Files) And, similarly, execute: wine TASClient.exe

Suse Linux 9.3 installs Wine by default and had the option, through the YOU auto-updating tool, to automatically install the commercial drivers. If your distribution also has such options, it can save you much work.

It should be noted that in the multiplatform code releases of Spring (0.7x) you may need to run Spring in fullscreen or the mouse will not work. Only spring needs to run in fullscreen though, so you can have wine emulate a virtual desktop and run spring fullscreen inside that.