Difference between revisions of "TTDonLinux"

From TTWiki
Jump to navigationJump to search
 
(Add note about Wine)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
 
The most reliable ways of running TTD on Linux are
 
The most reliable ways of running TTD on Linux are
* The Windows version of TTD+TTDPatch using [http://www.winehq.com/|Wine]
+
* The Windows version of TTD+TTDPatch using [http://www.winehq.org/ Wine]
* The DOS or Windows versions of TTD (with or without the patch) on [http://www.vmware.com/|VMWare Workstation 5.0]
+
* The DOS or Windows versions of TTD (with or without the patch) on [http://www.vmware.com/ VMWare Workstation 5.0]
  +
  +
Note that the '''easiest''' way, by far, of getting TTD to work on Linux (or OS X) is to use [[OpenTTD]] instead. But if you want to get TTDPatch or plain TTD working, this page may be useful to you.
   
 
If you have a method, or suggestion for a method, create it on a new page here on the wiki, and put a link to it down below in the relevant section (e.g. a method using WineX goes under WineX).
 
If you have a method, or suggestion for a method, create it on a new page here on the wiki, and put a link to it down below in the relevant section (e.g. a method using WineX goes under WineX).
   
'''NOTE''': A method is classified as &quot;'''<span style='color:#C0C000'>Has Worked</span>'''&quot; if you know it works. &nbsp;It counts as &quot;'''<span style='color:#00C000'>Working</span>'''&quot; once lots of other people have got it working.
+
'''NOTE''': A method is classified as "'''<span style='color:#C0C000'>Has Worked</span>'''" if you know it works. It counts as "'''<span style='color:#00C000'>Working</span>'''" once lots of other people have got it working.
   
-=Wine=-
+
==Wine==
   
 
'''<span style='color:#00C000'>Working</span>''', requires 2.0.1 '''alpha 16''' or later
 
'''<span style='color:#00C000'>Working</span>''', requires 2.0.1 '''alpha 16''' or later
Line 16: Line 17:
 
For details on getting it working, see [[TTDWineDave]]
 
For details on getting it working, see [[TTDWineDave]]
   
  +
'''Update (July 2011):''' Note that Wine has improved hugely in the 6 years since this was written. You should have no real trouble running TTDPatch on Wine these days, and Wine is conveniently included in most distributions too. There should be no reason to try grappling with old versions of WineX/Cedega (which are no longer maintained or supported).
-=WineX/Cegeda=-
 
   
 
==WineX/Cegeda==
'''<span style='color:#C0C000'>Has worked</span>''', but needs testing with recent alphas. &nbsp;Volunteers?
 
  +
 
'''<span style='color:#C0C000'>Has worked</span>''', but needs testing with recent alphas.
  +
<!-- Volunteers? -->
   
 
Methods under consideration:
 
Methods under consideration:
Line 26: Line 30:
 
Phil has some screenshots of successfully running TTDPatch Alpha 25 under WineX: [[TTDWinexPhil]]
 
Phil has some screenshots of successfully running TTDPatch Alpha 25 under WineX: [[TTDWinexPhil]]
   
-=VMWare=-
+
==VMWare==
 
'''<span style='color:#00C000'>Working</span>''', in [http://www.vmware.com/ VMWare Workstation 5.0]
 
'''<span style='color:#00C000'>Working</span>''', in [http://www.vmware.com/|VMWare Workstation 5.0]
 
   
 
Both the DOS and Windows versions work well. For the Windows version, disable the VMWare Tools and install a native mouse driver so that TTD can move the mouse cursor about. Otherwise right-click scrolling will be extremely sensitive.
 
Both the DOS and Windows versions work well. For the Windows version, disable the VMWare Tools and install a native mouse driver so that TTD can move the mouse cursor about. Otherwise right-click scrolling will be extremely sensitive.
   
-=dosemu=-
+
==dosemu==
   
 
'''<span style='color:#C0C000'>Has Worked</span>''', with dosemu 1.2.1; tested with TTDPatch 2.0.1 alpha 51.
 
'''<span style='color:#C0C000'>Has Worked</span>''', with dosemu 1.2.1; tested with TTDPatch 2.0.1 alpha 51.
Line 39: Line 42:
   
 
If you do use the patch,
 
If you do use the patch,
* Make sure to give dosemu lots of memory if you want to use the a fair number of new graphics sets &nbsp;(the default 16 MB aren't enough).
+
* Make sure to give dosemu lots of memory if you want to use the a fair number of new graphics sets (the default 16 MB is not enough).
* Deactivate the CPU saver feature: either set `-+miscmods.notimegiveaway on+-' or run the game with `-+ttdpatch --miscmods.notimegiveaway on+-'
+
* Deactivate the CPU saver feature: either set `<tt>miscmods.notimegiveaway on</tt>' or run the game with `<tt>ttdpatch --miscmods.notimegiveaway on</tt>'
   
-=dosbox=-
+
==dosbox==
   
 
'''<span style='color:#C0C000'>Has Worked</span>''', using the dos version of ttd+patch
 
'''<span style='color:#C0C000'>Has Worked</span>''', using the dos version of ttd+patch
   
-=Bochs=-
+
==Bochs==
   
 
Untested.
 
Untested.
   
-=ttdload=-
+
==ttdload==
   
 
This is a port of [[TTDPatch]] and the latest information suggests that it is not up-to-date (based on one of the pre-2.0 betas)
 
This is a port of [[TTDPatch]] and the latest information suggests that it is not up-to-date (based on one of the pre-2.0 betas)
Line 56: Line 59:
 
(Any word from the PatchTeam on whether this will be maintained along with DOS and Windows if it proves successful? - C.)
 
(Any word from the PatchTeam on whether this will be maintained along with DOS and Windows if it proves successful? - C.)
   
-=LoadTycoon=-
+
==LoadTycoon==
   
[http://pasky.or.cz/~pasky/dev/ttd|LoadTycoon] is native loader for TTDX, originally done by Daniel Mantione, then shortly maintained by Petr &quot;pasky&quot; Baudis. It requires SDL and native framebuffer (!) and it does not support sounds, music and multiplayer.
+
[http://pasky.or.cz/~pasky/dev/ttd LoadTycoon] is native loader for TTDX, originally done by Daniel Mantione, then shortly maintained by Petr "pasky" Baudis. It requires SDL and a native framebuffer and it does not support sounds, music and multiplayer.
   
  +
=== Note from the author ===
 
I've been maintaining LoadTycoon for some time but I never really got to porting TTDPatch there. The 0.4 version works with plain TTDX, it also contains some support code for TTDPatch, but it is for a _VERY_ old version and has some bugs. Regarding porting it to new TTDPatch, you could get some insights from the tp1 version and ttdpatch-linttdx, but then I ran out of time and now I will probably work on enhancing OpenTTD instead. So if you want to maintain this and finish the port (you should know assembler enough to understand and mangle TTDPatch sources as well as some lowlevel Linux programming experience), just tell me at pasky@ucw.cz. -- pasky
 
I've been maintaining LoadTycoon for some time but I never really got to porting TTDPatch there. The 0.4 version works with plain TTDX, it also contains some support code for TTDPatch, but it is for a _VERY_ old version and has some bugs. Regarding porting it to new TTDPatch, you could get some insights from the tp1 version and ttdpatch-linttdx, but then I ran out of time and now I will probably work on enhancing OpenTTD instead. So if you want to maintain this and finish the port (you should know assembler enough to understand and mangle TTDPatch sources as well as some lowlevel Linux programming experience), just tell me at pasky@ucw.cz. -- pasky
  +
[[Category:TTD on Linux]]

Latest revision as of 13:45, 30 July 2011

The most reliable ways of running TTD on Linux are

  • The Windows version of TTD+TTDPatch using Wine
  • The DOS or Windows versions of TTD (with or without the patch) on VMWare Workstation 5.0

Note that the easiest way, by far, of getting TTD to work on Linux (or OS X) is to use OpenTTD instead. But if you want to get TTDPatch or plain TTD working, this page may be useful to you.

If you have a method, or suggestion for a method, create it on a new page here on the wiki, and put a link to it down below in the relevant section (e.g. a method using WineX goes under WineX).

NOTE: A method is classified as "Has Worked" if you know it works. It counts as "Working" once lots of other people have got it working.

Wine

Working, requires 2.0.1 alpha 16 or later

Wine versions up to 20041201 or after 20050531 (latest CVS snapshot) work. 0.9.2 may cause some issues with sound.

For details on getting it working, see TTDWineDave

Update (July 2011): Note that Wine has improved hugely in the 6 years since this was written. You should have no real trouble running TTDPatch on Wine these days, and Wine is conveniently included in most distributions too. There should be no reason to try grappling with old versions of WineX/Cedega (which are no longer maintained or supported).

WineX/Cegeda

Has worked, but needs testing with recent alphas.

Methods under consideration:

Phil has some screenshots of successfully running TTDPatch Alpha 25 under WineX: TTDWinexPhil

VMWare

Working, in VMWare Workstation 5.0

Both the DOS and Windows versions work well. For the Windows version, disable the VMWare Tools and install a native mouse driver so that TTD can move the mouse cursor about. Otherwise right-click scrolling will be extremely sensitive.

dosemu

Has Worked, with dosemu 1.2.1; tested with TTDPatch 2.0.1 alpha 51.

The patch is not needed, the game works fine without it too

If you do use the patch,

  • Make sure to give dosemu lots of memory if you want to use the a fair number of new graphics sets (the default 16 MB is not enough).
  • Deactivate the CPU saver feature: either set `miscmods.notimegiveaway on' or run the game with `ttdpatch --miscmods.notimegiveaway on'

dosbox

Has Worked, using the dos version of ttd+patch

Bochs

Untested.

ttdload

This is a port of TTDPatch and the latest information suggests that it is not up-to-date (based on one of the pre-2.0 betas)

(Any word from the PatchTeam on whether this will be maintained along with DOS and Windows if it proves successful? - C.)

LoadTycoon

LoadTycoon is native loader for TTDX, originally done by Daniel Mantione, then shortly maintained by Petr "pasky" Baudis. It requires SDL and a native framebuffer and it does not support sounds, music and multiplayer.

Note from the author

I've been maintaining LoadTycoon for some time but I never really got to porting TTDPatch there. The 0.4 version works with plain TTDX, it also contains some support code for TTDPatch, but it is for a _VERY_ old version and has some bugs. Regarding porting it to new TTDPatch, you could get some insights from the tp1 version and ttdpatch-linttdx, but then I ran out of time and now I will probably work on enhancing OpenTTD instead. So if you want to maintain this and finish the port (you should know assembler enough to understand and mangle TTDPatch sources as well as some lowlevel Linux programming experience), just tell me at pasky@ucw.cz. -- pasky