The TE Linux effort - Get your copy running now!

Discussions related to programming Transport Empire.

Moderator: Transport Empire Moderators

User avatar
NukeBuster
Traffic Manager
Traffic Manager
Posts: 222
Joined: 04 Jan 2006 18:16
Location: Alphen aan den Rijn, The Netherlands
Contact:

The TE Linux effort - Get your copy running now!

Post by NukeBuster » 19 Feb 2008 00:15

The Transport Empire Linux effort
The main goal for this topic is to get Transport Empire run on as many Linux distributions as possible.

UPDATE 25-01-2009:
As of revision 141 the renewed linux effort is in the Transport Empire trunk.

Transport Empire is now built using CMake. Due to recent engine changes a part of the port had to be redone.
Currently I have not been able to get more then a black screen. If you manage to get an image, please reply to this topic along with the version of Ogre you are using.


Building:
To build TE on linux please read README.linux.
Get yourself a copy from svn, "check out" [url]svn://80.247.163.104/trunk/te2[/url]

Edit: 25 Feb 2008
As of revision r86 you can now use "./configure" followed by "make" to compile the game on any distribution. Please report if you have any problems with running the game on the distribution your using.

Confirmed to build:
  • CentOS 5.0

    Confirmed to run:
    • CentOS 5.0
    Confirmed to actually show something:
      If you are interested in building TE on linux or have tried to build TE on linux and need support please post your findings in this topic or contact me in IRC([url=irc://irc.oftc.net/transportempire]#transportempire @ irc.oftc.net[/url]).

      To build TE on linux please read README.linux.

      Todo:
      • Remove the need for pkg-config
      Dependencies:(for a full list please view README.linux)
      • pkg-config
      • CMake
      • OGRE
      • OIS - version used by Transport Empire included.
      • CEGUI
      • Freeimage
      Credits:
      • Many thanks to Neroden for the intial port to Linux, which made porting the current trunk easier.
    Edits:
    25-01-2009: Renewed linux support.
    20-08-2008: Updated the svn adress(again).
    12-03-2008: Updated the svn adress.
    Last edited by NukeBuster on 25 Jan 2009 21:36, edited 17 times in total.
    NukeBuster

    Transport Empire: The Transport Empire Linux effort
    Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !

    OpenTTD patch(es): Password at join

    User avatar
    charlieg
    Transport Coordinator
    Transport Coordinator
    Posts: 323
    Joined: 08 Oct 2003 14:07
    Contact:

    Re: The TE Linux effort - First Linux support in trunk since r79

    Post by charlieg » 19 Feb 2008 17:20

    Hrm, no FreeImage in Fedora... *twiddles thumbs*
    Open source tycoon games
    --
    Free Gamer - open source and Free Software games
    FreeGameDev forums - open source game development community

    User avatar
    NukeBuster
    Traffic Manager
    Traffic Manager
    Posts: 222
    Joined: 04 Jan 2006 18:16
    Location: Alphen aan den Rijn, The Netherlands
    Contact:

    Re: The TE Linux effort - First Linux support in trunk since r79

    Post by NukeBuster » 19 Feb 2008 18:37

    charlieg wrote:Hrm, no FreeImage in Fedora... *twiddles thumbs*
    Have you tried yum?
    NukeBuster

    Transport Empire: The Transport Empire Linux effort
    Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !

    OpenTTD patch(es): Password at join

    User avatar
    charlieg
    Transport Coordinator
    Transport Coordinator
    Posts: 323
    Joined: 08 Oct 2003 14:07
    Contact:

    Re: The TE Linux effort - First Linux support in trunk since r79

    Post by charlieg » 19 Feb 2008 19:02

    Naturally...

    Code: Select all

    [root@localhost charles]# yum search freeimage
    Loading "priorities" plugin
    78 packages excluded due to repository priority protections
    No Matches found
    [root@localhost charles]# yum search FreeImage
    Loading "priorities" plugin
    78 packages excluded due to repository priority protections
    No Matches found
    Open source tycoon games
    --
    Free Gamer - open source and Free Software games
    FreeGameDev forums - open source game development community

    User avatar
    NukeBuster
    Traffic Manager
    Traffic Manager
    Posts: 222
    Joined: 04 Jan 2006 18:16
    Location: Alphen aan den Rijn, The Netherlands
    Contact:

    Re: The TE Linux effort - First Linux support in trunk since r79

    Post by NukeBuster » 19 Feb 2008 20:52

    You could compile FreeImage from source....

    README.linux:

    Code: Select all

    1. FreeImage 
    		Get the latest source package from: http://freeimage.sourceforge.net
    			make
    			make install (Make sure you are logged in as root for this step)
    Last edited by NukeBuster on 20 Feb 2008 00:43, edited 1 time in total.
    NukeBuster

    Transport Empire: The Transport Empire Linux effort
    Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !

    OpenTTD patch(es): Password at join

    User avatar
    charlieg
    Transport Coordinator
    Transport Coordinator
    Posts: 323
    Joined: 08 Oct 2003 14:07
    Contact:

    Re: The TE Linux effort - First Linux support in trunk since r79

    Post by charlieg » 19 Feb 2008 23:56

    d'oh, so that what's readmes are for...
    Open source tycoon games
    --
    Free Gamer - open source and Free Software games
    FreeGameDev forums - open source game development community

    User avatar
    NukeBuster
    Traffic Manager
    Traffic Manager
    Posts: 222
    Joined: 04 Jan 2006 18:16
    Location: Alphen aan den Rijn, The Netherlands
    Contact:

    Re: The TE Linux effort - First Linux support in trunk since r79

    Post by NukeBuster » 20 Feb 2008 13:23

    If you need some help with compiling, please contact me in IRC.
    [url]irc://irc.oftc.net/transportempire[/url]
    NukeBuster

    Transport Empire: The Transport Empire Linux effort
    Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !

    OpenTTD patch(es): Password at join

    User avatar
    Expresso
    Tycoon
    Tycoon
    Posts: 1709
    Joined: 09 Aug 2004 00:14
    Location: Gouda, the Netherlands

    Re: The TE Linux effort - First Linux support in trunk since r79

    Post by Expresso » 20 Feb 2008 19:40

    Could you please use cmake instead of autoconf/automake?

    User avatar
    NukeBuster
    Traffic Manager
    Traffic Manager
    Posts: 222
    Joined: 04 Jan 2006 18:16
    Location: Alphen aan den Rijn, The Netherlands
    Contact:

    Re: The TE Linux effort - First Linux support in trunk since r79

    Post by NukeBuster » 20 Feb 2008 19:50

    I will look into your suggestion, as I'm struggling with autoconf. It's not really the easiest thing to set up.
    NukeBuster

    Transport Empire: The Transport Empire Linux effort
    Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !

    OpenTTD patch(es): Password at join

    User avatar
    NukeBuster
    Traffic Manager
    Traffic Manager
    Posts: 222
    Joined: 04 Jan 2006 18:16
    Location: Alphen aan den Rijn, The Netherlands
    Contact:

    Re: The TE Linux effort - configure script testing in progress

    Post by NukeBuster » 21 Feb 2008 11:16

    A version which has a configure script is being tested at the moment. As soon as it is tested and working as expected, I will commit it to the trunk. As soon as this is done it should compile on other distributions.

    Nuke
    NukeBuster

    Transport Empire: The Transport Empire Linux effort
    Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !

    OpenTTD patch(es): Password at join

    User avatar
    NukeBuster
    Traffic Manager
    Traffic Manager
    Posts: 222
    Joined: 04 Jan 2006 18:16
    Location: Alphen aan den Rijn, The Netherlands
    Contact:

    Re: The TE Linux effort - First Linux support in trunk since r79

    Post by NukeBuster » 25 Feb 2008 13:56

    As of r86 you can build Transport Empire on linux using "./configure" followed by "make".
    Please read the first post for more details.

    Updated the first post.
    NukeBuster

    Transport Empire: The Transport Empire Linux effort
    Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !

    OpenTTD patch(es): Password at join

    User avatar
    NukeBuster
    Traffic Manager
    Traffic Manager
    Posts: 222
    Joined: 04 Jan 2006 18:16
    Location: Alphen aan den Rijn, The Netherlands
    Contact:

    Re: The TE Linux effort - Get your copy running now!

    Post by NukeBuster » 12 Mar 2008 14:01

    Here are some screenshots from r113 for those who like to watch but not compile.
    Attachments
    screen1.png
    screen1.png (149.64 KiB) Viewed 15464 times
    screen2.png
    screen2.png (418.38 KiB) Viewed 15468 times
    screen3.png
    screen3.png (455.69 KiB) Viewed 15459 times
    NukeBuster

    Transport Empire: The Transport Empire Linux effort
    Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !

    OpenTTD patch(es): Password at join

    SmatZ
    OpenTTD Developer
    OpenTTD Developer
    Posts: 351
    Joined: 03 Oct 2006 18:26
    Location: Prague, Czech Republic
    Contact:

    Re: The TE Linux effort - Get your copy running now!

    Post by SmatZ » 12 Mar 2008 16:48

    NukeBuster wrote: Edit: Get yourself a copy from svn "check out" svn://svn.tempire.zernebok.net/trunk/
    Hello,

    I am not able to do "svn co svn://svn.tempire.zernebok.net/" - I get "unknown host svn.tempire.zernebok.net"
    I even tried "svn co http://tempire.zernebok.net/svn/", but it doesn't work, too

    Do you have any other svn mirror?
    Image

    DaleStan
    TTDPatch Developer
    TTDPatch Developer
    Posts: 10285
    Joined: 18 Feb 2004 03:06
    Contact:

    Re: The TE Linux effort - Get your copy running now!

    Post by DaleStan » 12 Mar 2008 17:59

    Same here; svn.tempire.zernebok.net and tempire.zernebok.net are both NXDOMAIN. zernebok.net and http://www.zernebok.net are not.

    You might just need to wait for a dns refresh or use the IP; dnsstuff.com can find them.
    To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
    Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser

    User avatar
    charlieg
    Transport Coordinator
    Transport Coordinator
    Posts: 323
    Joined: 08 Oct 2003 14:07
    Contact:

    Re: The TE Linux effort - Get your copy running now!

    Post by charlieg » 12 Mar 2008 18:00

    :roll: Just use Sourceforge's SVN :roll: It's not hard ;)
    Open source tycoon games
    --
    Free Gamer - open source and Free Software games
    FreeGameDev forums - open source game development community

    User avatar
    Steve
    Tycoon
    Tycoon
    Posts: 2085
    Joined: 10 Jan 2004 20:19
    Location: London
    Contact:

    Re: The TE Linux effort - Get your copy running now!

    Post by Steve » 12 Mar 2008 18:58

    orudge changed the svn domain details in anticipation of the transportempire.com domain being moved over. Fact is, that isn't going to happen until my brain starts working again.
    For now, you can use:

    svn://81.171.98.104/trunk

    User avatar
    NukeBuster
    Traffic Manager
    Traffic Manager
    Posts: 222
    Joined: 04 Jan 2006 18:16
    Location: Alphen aan den Rijn, The Netherlands
    Contact:

    Re: The TE Linux effort - Get your copy running now!

    Post by NukeBuster » 12 Mar 2008 21:12

    Sorry guys, my mistake for not updating the svn link.

    Did update the first post now.
    NukeBuster

    Transport Empire: The Transport Empire Linux effort
    Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !

    OpenTTD patch(es): Password at join

    User avatar
    NukeBuster
    Traffic Manager
    Traffic Manager
    Posts: 222
    Joined: 04 Jan 2006 18:16
    Location: Alphen aan den Rijn, The Netherlands
    Contact:

    Re: The TE Linux effort - First Linux support in trunk since r79

    Post by NukeBuster » 14 Mar 2008 13:39

    If you are able to get Transport Empire running on your box. Please let me know, so I can add your distribution to my list.
    If you are not able to get Transport Empire running on your box. Let me know aswell, so I can see if I can solve the problem.

    If you like to help and contribute to Transport Empire or are just seeking support. The fastest method is by joining our IRC channel.
    [url]irc://irc.oftc.net/transportempire[/url]
    NukeBuster

    Transport Empire: The Transport Empire Linux effort
    Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !

    OpenTTD patch(es): Password at join

    User avatar
    Arathorn
    Tycoon
    Tycoon
    Posts: 6939
    Joined: 30 Nov 2002 17:10

    Re: The TE Linux effort - Get your copy running now!

    Post by Arathorn » 14 Mar 2008 16:52

    I've totally f*** up my Linux partition, so I won't be able to test this for quite some time I'm afraid.

    User avatar
    orudge
    Administrator
    Administrator
    Posts: 23995
    Joined: 26 Jan 2001 20:18
    Skype: orudge
    Location: Banchory, UK
    Contact:

    Re: The TE Linux effort - Get your copy running now!

    Post by orudge » 14 Mar 2008 21:06

    Steve wrote:orudge changed the svn domain details in anticipation of the transportempire.com domain being moved over. Fact is, that isn't going to happen until my brain starts working again.
    And yet you said you'd be doing it "later in the week"... pfft. :P

    Post Reply

    Return to “Transport Empire Coding”

    Who is online

    Users browsing this forum: No registered users and 1 guest