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 »

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 »

    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 »

    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 »

    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 »

    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 »

    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 »

    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: 1760
    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 »

    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 »

    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 »

    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 »

    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 »

    Here are some screenshots from r113 for those who like to watch but not compile.
    Attachments
    screen1.png
    screen1.png (149.64 KiB) Viewed 31338 times
    screen2.png
    screen2.png (418.38 KiB) Viewed 31342 times
    screen3.png
    screen3.png (455.69 KiB) Viewed 31333 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 »

    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 »

    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 »

    :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 »

    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 »

    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 »

    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: 6937
    Joined: 30 Nov 2002 17:10

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

    Post by Arathorn »

    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: 25129
    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 »

    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 2 guests