Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Thu Apr 27, 2017 8:44 pm

All times are UTC




Post new topic  Reply to topic  [ 34 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Tue Feb 19, 2008 12:15 am 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Wed Jan 04, 2006 6:16 pm
Posts: 222
Location: Alphen aan den Rijn, The Netherlands
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" svn://80.247.163.104/trunk/te2

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(#transportempire @ irc.oftc.net).

      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.

    _________________
    NukeBuster

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

    OpenTTD patch(es): Password at join


    Last edited by NukeBuster on Sun Jan 25, 2009 9:36 pm, edited 17 times in total.

    Top
       
    PostPosted: Tue Feb 19, 2008 5:20 pm 
    Offline
    Transport Coordinator
    Transport Coordinator
    User avatar

    Joined: Wed Oct 08, 2003 2:07 pm
    Posts: 322
    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


    Top
       
    PostPosted: Tue Feb 19, 2008 6:37 pm 
    Offline
    Traffic Manager
    Traffic Manager
    User avatar

    Joined: Wed Jan 04, 2006 6:16 pm
    Posts: 222
    Location: Alphen aan den Rijn, The Netherlands
    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: irc://irc.oftc.net/transportempire !

    OpenTTD patch(es): Password at join


    Top
       
    PostPosted: Tue Feb 19, 2008 7:02 pm 
    Offline
    Transport Coordinator
    Transport Coordinator
    User avatar

    Joined: Wed Oct 08, 2003 2:07 pm
    Posts: 322
    Naturally...

    Code:
    [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


    Top
       
    PostPosted: Tue Feb 19, 2008 8:52 pm 
    Offline
    Traffic Manager
    Traffic Manager
    User avatar

    Joined: Wed Jan 04, 2006 6:16 pm
    Posts: 222
    Location: Alphen aan den Rijn, The Netherlands
    You could compile FreeImage from source....

    README.linux:
    Code:
    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)

    _________________
    NukeBuster

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

    OpenTTD patch(es): Password at join


    Last edited by NukeBuster on Wed Feb 20, 2008 12:43 am, edited 1 time in total.

    Top
       
    PostPosted: Tue Feb 19, 2008 11:56 pm 
    Offline
    Transport Coordinator
    Transport Coordinator
    User avatar

    Joined: Wed Oct 08, 2003 2:07 pm
    Posts: 322
    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


    Top
       
    PostPosted: Wed Feb 20, 2008 1:23 pm 
    Offline
    Traffic Manager
    Traffic Manager
    User avatar

    Joined: Wed Jan 04, 2006 6:16 pm
    Posts: 222
    Location: Alphen aan den Rijn, The Netherlands
    If you need some help with compiling, please contact me in IRC.
    irc://irc.oftc.net/transportempire

    _________________
    NukeBuster

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

    OpenTTD patch(es): Password at join


    Top
       
    PostPosted: Wed Feb 20, 2008 7:40 pm 
    Offline
    Tycoon
    Tycoon
    User avatar

    Joined: Mon Aug 09, 2004 12:14 am
    Posts: 1293
    Location: Gouda, The Netherlands
    Could you please use cmake instead of autoconf/automake?


    Top
       
    PostPosted: Wed Feb 20, 2008 7:50 pm 
    Offline
    Traffic Manager
    Traffic Manager
    User avatar

    Joined: Wed Jan 04, 2006 6:16 pm
    Posts: 222
    Location: Alphen aan den Rijn, The Netherlands
    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: irc://irc.oftc.net/transportempire !

    OpenTTD patch(es): Password at join


    Top
       
    PostPosted: Thu Feb 21, 2008 11:16 am 
    Offline
    Traffic Manager
    Traffic Manager
    User avatar

    Joined: Wed Jan 04, 2006 6:16 pm
    Posts: 222
    Location: Alphen aan den Rijn, The Netherlands
    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: irc://irc.oftc.net/transportempire !

    OpenTTD patch(es): Password at join


    Top
       
    PostPosted: Mon Feb 25, 2008 1:56 pm 
    Offline
    Traffic Manager
    Traffic Manager
    User avatar

    Joined: Wed Jan 04, 2006 6:16 pm
    Posts: 222
    Location: Alphen aan den Rijn, The Netherlands
    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: irc://irc.oftc.net/transportempire !

    OpenTTD patch(es): Password at join


    Top
       
    PostPosted: Wed Mar 12, 2008 2:01 pm 
    Offline
    Traffic Manager
    Traffic Manager
    User avatar

    Joined: Wed Jan 04, 2006 6:16 pm
    Posts: 222
    Location: Alphen aan den Rijn, The Netherlands
    Here are some screenshots from r113 for those who like to watch but not compile.


    Attachments:
    screen1.png
    screen1.png [ 149.64 KiB | Viewed 12695 times ]
    screen2.png
    screen2.png [ 418.38 KiB | Viewed 12699 times ]
    screen3.png
    screen3.png [ 455.69 KiB | Viewed 12690 times ]

    _________________
    NukeBuster

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

    OpenTTD patch(es): Password at join
    Top
       
    PostPosted: Wed Mar 12, 2008 4:48 pm 
    Offline
    OpenTTD Developer
    OpenTTD Developer

    Joined: Tue Oct 03, 2006 6:26 pm
    Posts: 351
    Location: Prague, Czech Republic
    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


    Top
       
    PostPosted: Wed Mar 12, 2008 5:59 pm 
    Offline
    TTDPatch Developer
    TTDPatch Developer

    Joined: Wed Feb 18, 2004 3:06 am
    Posts: 10285
    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


    Top
       
    PostPosted: Wed Mar 12, 2008 6:00 pm 
    Offline
    Transport Coordinator
    Transport Coordinator
    User avatar

    Joined: Wed Oct 08, 2003 2:07 pm
    Posts: 322
    :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


    Top
       
    PostPosted: Wed Mar 12, 2008 6:58 pm 
    Offline
    Tycoon
    Tycoon
    User avatar

    Joined: Sat Jan 10, 2004 8:19 pm
    Posts: 2085
    Location: London
    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


    Top
       
    PostPosted: Wed Mar 12, 2008 9:12 pm 
    Offline
    Traffic Manager
    Traffic Manager
    User avatar

    Joined: Wed Jan 04, 2006 6:16 pm
    Posts: 222
    Location: Alphen aan den Rijn, The Netherlands
    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: irc://irc.oftc.net/transportempire !

    OpenTTD patch(es): Password at join


    Top
       
    PostPosted: Fri Mar 14, 2008 1:39 pm 
    Offline
    Traffic Manager
    Traffic Manager
    User avatar

    Joined: Wed Jan 04, 2006 6:16 pm
    Posts: 222
    Location: Alphen aan den Rijn, The Netherlands
    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.
    irc://irc.oftc.net/transportempire

    _________________
    NukeBuster

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

    OpenTTD patch(es): Password at join


    Top
       
    PostPosted: Fri Mar 14, 2008 4:52 pm 
    Offline
    Tycoon
    Tycoon
    User avatar

    Joined: Sat Nov 30, 2002 5:10 pm
    Posts: 6938
    I've totally f*** up my Linux partition, so I won't be able to test this for quite some time I'm afraid.


    Top
       
    PostPosted: Fri Mar 14, 2008 9:06 pm 
    Offline
    Administrator
    Administrator
    User avatar

    Joined: Fri Jan 26, 2001 8:18 pm
    Posts: 23702
    Skype: orudge
    Location: Banchory, UK
    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

    _________________
    Owen Rudge
    owenrudge.net | Owen's Transport Tycoon Station | Owen's Locomotion Depot | The Transport Tycoon Wiki


    Top
       
    Display posts from previous:  Sort by  
    Post new topic  Reply to topic  [ 34 posts ]  Go to page 1 2 Next

    All times are UTC


    Who is online

    Users browsing this forum: No registered users and 1 guest


    You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum

    Search for:
    Jump to:  
    Powered by phpBB © 2000-2017 phpBB Limited

    Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2017.
    Hosted by Zernebok Hosting.