[News Post] New website and nightlies are back

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1312
Joined: 31 May 2004 09:21

Re: [News Post] New website and nightlies are back

Post by TrueBrain » 09 Feb 2019 12:29

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.

User avatar
leifbk
Chief Executive
Chief Executive
Posts: 756
Joined: 23 Dec 2013 16:33
Location: Bærum, Norway
Contact:

Re: [News Post] New website and nightlies are back

Post by leifbk » 12 Feb 2019 20:15

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.

Eddi
Tycoon
Tycoon
Posts: 7410
Joined: 17 Jan 2007 00:14

Re: [News Post] New website and nightlies are back

Post by Eddi » 20 Feb 2019 15:32

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

User avatar
leifbk
Chief Executive
Chief Executive
Posts: 756
Joined: 23 Dec 2013 16:33
Location: Bærum, Norway
Contact:

Re: [News Post] New website and nightlies are back

Post by leifbk » 20 Feb 2019 16:04

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: Select all

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.

User avatar
andythenorth
Tycoon
Tycoon
Posts: 4922
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: [News Post] New website and nightlies are back

Post by andythenorth » 20 Feb 2019 17:27

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?

User avatar
jfs
Director
Director
Posts: 536
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: [News Post] New website and nightlies are back

Post by jfs » 20 Feb 2019 17:33

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/.

User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9280
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [News Post] New website and nightlies are back

Post by planetmaker » 20 Feb 2019 17:36

On our servers I run

Code: Select all

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: Select all

./bin/openttd

User avatar
leifbk
Chief Executive
Chief Executive
Posts: 756
Joined: 23 Dec 2013 16:33
Location: Bærum, Norway
Contact:

Re: [News Post] New website and nightlies are back

Post by leifbk » 20 Feb 2019 18:29

planetmaker wrote:On our servers I run

Code: Select all

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: Select all

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

User avatar
jfs
Director
Director
Posts: 536
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: [News Post] New website and nightlies are back

Post by jfs » 06 Jul 2019 12:03

There was an issue with the website not being updated for almost a month, so the nightlies didn't pop up for download (despite being built and uploaded), that should be fixed now. Nightlies are back again-again :)

Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 8 guests