Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Mon Apr 22, 2019 3:11 am

All times are UTC




Post new topic  Reply to topic  [ 28 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Sat Feb 09, 2019 12:29 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Mon May 31, 2004 9:21 am
Posts: 1312
leifbk wrote:
Great! Where are the Linux Nightlies?

There are none! The way we used to create them, turned out to only work on a very few Linux OSes. So someone (not me :D) should invest some time creating a Docker for us that produce Linux binaries that run on many more systems. This issue is tracked here: https://github.com/OpenTTD/CompileFarm/issues/22

Any and all contributions are welcome :D

_________________
The only thing necessary for the triumph of evil is for good men to do nothing.


Top
   
PostPosted: Tue Feb 12, 2019 8:15 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon Dec 23, 2013 4:33 pm
Posts: 745
Location: Bærum, Norway
I've managed to compile the nightlies as well as the new 1.9.0-beta2 on my Gentoo Linux x86-64 system. I'm just wondering what I need to run it. Is it sufficient to keep the /bundle directory, or do I need some more, eg. the /media directory? I can't find anything about it in the documentation, and the directory structure after "make install" is quite different from what I'm used to from the old generic nightlies.

_________________
My screenshots
The 1700-2050 Ships & RVs thread
Norwegian Alternate Town Names


Top
   
PostPosted: Wed Feb 20, 2019 3:32 pm 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 7312
you can run the game directly from the place where you compiled with "bin/openttd" or "make run" (the latter also automatically recompiles if you made changes)

_________________
You might not exactly be interested in Ferion, but if you are, have fun :)


Top
   
PostPosted: Wed Feb 20, 2019 4:04 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon Dec 23, 2013 4:33 pm
Posts: 745
Location: Bærum, Norway
Eddi wrote:
you can run the game directly from the place where you compiled with "bin/openttd"

That's basically what I'm doing right now, or actually I've copied the entire build directory from my /home/leif to /usr/local/games/ and run it from there. I don't like to run executables from /home. That wasn't what my question was about. I asked what parts of the build directory constitutes the actual installation after I've run "./configure; make; make install". The source code and the build files are basically clutter when you're done with building the binaries.

Code:
leif@balapapa ~/projects/openttd $ ls -l openttd-1.9.0-beta2
total 952
drwxr-xr-x  3 leif users   4096 feb.   9 22:41 azure-pipelines
-rw-r--r--  1 leif users   1596 feb.   9 22:41 azure-pipelines-ci.yml
-rw-r--r--  1 leif users    160 feb.   9 22:41 azure-pipelines-release-stable.yml
-rw-r--r--  1 leif users    121 feb.   9 22:41 azure-pipelines-release.yml
drwxr-xr-x  7 leif users   4096 feb.  11 15:17 bin
drwxr-xr-x 10 leif users   4096 feb.  11 15:18 bundle
-rw-r--r--  1 leif users 520450 feb.   9 22:41 changelog.txt
-rw-r--r--  1 leif users   1751 feb.  11 15:14 config.cache
-rw-r--r--  1 leif users     48 feb.  11 15:14 config.cache.pwd
-rw-r--r--  1 leif users  22990 feb.  11 15:14 config.cache.source.list
-rw-r--r--  1 leif users 113589 feb.   9 22:41 config.lib
-rw-r--r--  1 leif users   7566 feb.  11 15:14 config.log
-rw-r--r--  1 leif users      0 feb.  11 15:14 config.pwd
-rwxr-xr-x  1 leif users   6123 feb.   9 22:41 configure
-rw-r--r--  1 leif users   9012 feb.   9 22:41 CONTRIBUTING.md
-rw-r--r--  1 leif users  18211 feb.   9 22:41 COPYING
drwxr-xr-x  3 leif users   4096 feb.   9 22:41 docs
-rw-r--r--  1 leif users  12855 feb.   9 22:41 Doxyfile
-rwxr-xr-x  1 leif users   3228 feb.   9 22:41 findversion.sh
-rw-r--r--  1 leif users  24414 feb.   9 22:41 known-bugs.txt
-rw-r--r--  1 leif users   7621 feb.  11 15:14 Makefile
-rw-r--r--  1 leif users    457 feb.  11 15:14 Makefile.am
-rw-r--r--  1 leif users  10992 feb.  11 15:14 Makefile.bundle
-rw-r--r--  1 leif users  10992 feb.   9 22:41 Makefile.bundle.in
-rw-r--r--  1 leif users   4471 feb.   9 22:41 Makefile.grf.in
-rw-r--r--  1 leif users   6742 feb.   9 22:41 Makefile.in
-rw-r--r--  1 leif users   3537 feb.   9 22:41 Makefile.lang.in
-rw-r--r--  1 leif users   1696 feb.   9 22:41 Makefile.msvc
-rw-r--r--  1 leif users   3004 feb.   9 22:41 Makefile.setting.in
-rw-r--r--  1 leif users  11070 feb.   9 22:41 Makefile.src.in
drwxr-xr-x  4 leif users   4096 feb.  11 15:18 media
drwxr-xr-x  6 leif users   4096 feb.  11 15:14 objs
drwxr-xr-x  9 leif users   4096 feb.   9 22:41 os
drwxr-xr-x  2 leif users   4096 feb.   9 22:41 projects
-rw-r--r--  1 leif users  39249 feb.   9 22:41 README.md
-rw-r--r--  1 leif users  22990 feb.   9 22:41 source.list
drwxr-xr-x 25 leif users  20480 feb.  11 15:14 src

Do I really need all this to run openttd? I can of course experiment to find out, but I thought someone here were able to give me a quick answer.

_________________
My screenshots
The 1700-2050 Ships & RVs thread
Norwegian Alternate Town Names


Top
   
PostPosted: Wed Feb 20, 2019 5:27 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 31, 2007 2:23 pm
Posts: 4825
Location: Lost in Music
leifbk wrote:
Do I really need all this to run openttd? I can of course experiment to find out, but I thought someone here were able to give me a quick answer.

The Mac build has a 'make bundle' target which produces a bundle dir, containing what is needed to run OpenTTD, including media dir etc.

That target is possibly available on other platforms, give it a go?

_________________
FIRS Industry Replacement Set (Released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (Finished)
Squid Ate FISH (ships) (Released) | CHIPS Has Improved Players' Stations (Finished)
Iron Horse (trains, released) | Termite (tracks for Iron Horse, released) | Busy Bee (game script, released)

Road Hog (road vehicles, released)


Top
   
PostPosted: Wed Feb 20, 2019 5:33 pm 
Offline
Route Supervisor
Route Supervisor
User avatar

Joined: Wed Jan 08, 2003 11:09 pm
Posts: 443
Location: Denmark
Nothing outside of bin/ is required to run the game. There are also a few things inside bin/ that aren't required to run it (mainly the regression tests under bin/ai/) but try copying out just bin/.


Top
   
PostPosted: Wed Feb 20, 2019 5:36 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9260
Location: Sol d
On our servers I run
Code:
make bundle
and copy that dir to where I run the server from. The bundle target is mean to provide just that: everything needed to run the game in one dir.

On my PC I just call make and then start the binary in bin:
Code:
./bin/openttd

_________________
Image
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML


Top
   
PostPosted: Wed Feb 20, 2019 6:29 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon Dec 23, 2013 4:33 pm
Posts: 745
Location: Bærum, Norway
planetmaker wrote:
On our servers I run
Code:
make bundle
and copy that dir to where I run the server from. The bundle target is mean to provide just that: everything needed to run the game in one dir.

Thank you very much, that was exactly the kind of answer I was hoping for :bow:

Code:
leif@balapapa ~ $ ls -l /usr/local/games/openttd
lrwxrwxrwx 1 root root 26 feb.  20 19:19 /usr/local/games/openttd -> openttd-1.9.0-beta2-bundle
leif@balapapa ~ $ ls -l /usr/local/games/openttd-1.9.0-beta2-bundle/
total 8276
drwxr-xr-x 2 root root    4096 feb.  20 18:40 ai
drwxr-xr-x 2 root root    4096 feb.  20 18:40 baseset
-rw-r--r-- 1 root root  520450 feb.  20 18:40 changelog.txt
-rw-r--r-- 1 root root   18211 feb.  20 18:40 COPYING
drwxr-xr-x 2 root root    4096 feb.  20 18:40 docs
drwxr-xr-x 2 root root    4096 feb.  20 18:40 game
-rw-r--r-- 1 root root   24414 feb.  20 18:40 known-bugs.txt
drwxr-xr-x 2 root root    4096 feb.  20 18:40 lang
drwxr-xr-x 2 root root    4096 feb.  20 18:40 man
drwxr-xr-x 2 root root    4096 feb.  20 18:40 media
-rwxr-xr-x 1 root root 7830712 feb.  20 18:40 openttd
-rw-r--r-- 1 root root   39249 feb.  20 18:40 README.md
drwxr-xr-x 2 root root    4096 feb.  20 18:40 scripts

This looks a lot cleaner :)

_________________
My screenshots
The 1700-2050 Ships & RVs thread
Norwegian Alternate Town Names


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


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-2019 phpBB Limited

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