Hello all. I've been wrestling with installing and getting 0TTD to work on my computer all day
I'm using Freespire 2.0
I downloaded the source code,
./configure
make install
I copied the necessary files into the data folder.
But when I try to start the game from the console I get this...
dbg: [net] [core] starting network...
dbg: [net] [core] network online, multiplayer available
dbg: [net] Detected broadcast addresses:
dbg: [net] 0) 172.16.255.255
dbg: [net] Listening on 0.0.0.0:3979
dbg: [net] [server] could not start network: bind() failed
dbg: [net] Generating map, please wait...
dbg: [net] Map generation percentage complete: 5
dbg: [net] Map generation percentage complete: 11
dbg: [net] Map generation percentage complete: 15
dbg: [net] Map generation percentage complete: 20
dbg: [net] Map generation percentage complete: 25
dbg: [net] Map generation percentage complete: 30
dbg: [net] Map generation percentage complete: 35
dbg: [net] Map generation percentage complete: 40
dbg: [net] Map generation percentage complete: 45
dbg: [net] Map generation percentage complete: 50
dbg: [net] Map generation percentage complete: 55
dbg: [net] Map generation percentage complete: 60
dbg: [net] Map generation percentage complete: 65
dbg: [net] Map generation percentage complete: 70
dbg: [net] Map generation percentage complete: 75
dbg: [net] Map generation percentage complete: 80
dbg: [net] Map generation percentage complete: 85
dbg: [net] Map generation percentage complete: 90
dbg: [net] Map generation percentage complete: 95
dbg: [net] Map generated, starting game
dbg: [net] Dedicated server could not be started, aborting
dbg: [net] [udp] closed listeners
dbg: [net] [core] shutting down network
So i search through the archives here and discovered that I needed to point it to an available port.
I used the command ./openttd -D [][:4932] which gave me:
dbg: [net] [core] starting network...
dbg: [net] [core] network online, multiplayer available
dbg: [net] Detected broadcast addresses:
dbg: [net] 0) 172.16.255.255
dbg: [net] Listening on 255.255.255.255:4932
dbg: [net] [udp] listening on port 255.255.255.255:4932
dbg: [net] Generating map, please wait...
dbg: [net] Map generation percentage complete: 5
dbg: [net] Map generation percentage complete: 11
dbg: [net] Map generation percentage complete: 15
dbg: [net] Map generation percentage complete: 20
dbg: [net] Map generation percentage complete: 25
dbg: [net] Map generation percentage complete: 30
dbg: [net] Map generation percentage complete: 35
dbg: [net] Map generation percentage complete: 40
dbg: [net] Map generation percentage complete: 45
dbg: [net] Map generation percentage complete: 50
dbg: [net] Map generation percentage complete: 55
dbg: [net] Map generation percentage complete: 60
dbg: [net] Map generation percentage complete: 65
dbg: [net] Map generation percentage complete: 70
dbg: [net] Map generation percentage complete: 75
dbg: [net] Map generation percentage complete: 80
dbg: [net] Map generation percentage complete: 85
dbg: [net] Map generation percentage complete: 90
dbg: [net] Map generation percentage complete: 95
dbg: [net] Map generated, starting game
dbg: [net] Closed listener
dbg: [net] [udp] closed listeners
dbg: [net] [udp] closed listeners
dbg: [net] [core] shutting down network
It just paused for a long time right after "Map generated, starting game"
Where did I go wrong?
so i'm really lost and would greatly appreciate any and all help
Map generated, starting game.... then nothing
Moderator: OpenTTD Developers
-
- Tycoon
- Posts: 1656
- Joined: 08 Jun 2007 08:00
Re: Map generated, starting game.... then nothing
Changing your text size would help you more because then ppl would actually read it too.. And put the code in quote or code tags if you wish them to be different from other text
Re: Map generated, starting game.... then nothing
You compiled a dedicated server for which this is the correct behaviour.
When you want something with a GUI you need to install libsdl-devel (or something similarly named), as described in the readme. The configure script has warned you about the fact that it was making a dedicated server.
When you want something with a GUI you need to install libsdl-devel (or something similarly named), as described in the readme. The configure script has warned you about the fact that it was making a dedicated server.
Re: Map generated, starting game.... then nothing
thanks very much. I will post the ./configure readout.Rubidium wrote:You compiled a dedicated server for which this is the correct behaviour.
When you want something with a GUI you need to install libsdl-devel (or something similarly named), as described in the readme. The configure script has warned you about the fact that it was making a dedicated server.
Freespire is not listed in the Readme.txt. Reading under Unix, FreeBSD, or OpenBSD, it says to use "gmake". However gmake is not an available command after I use ./configure. Is there a certain command that needs to accompany ./configure ?checking awk... awk
detecting OS... UNIX
checking build system type... i486-linux-gnu
checking host system type... i486-linux-gnu
checking universal build... no
checking build cc... gcc
checking host cc... gcc
checking build c++... g++
checking host c++... g++
checking host strip... strip
checking makedepend... makedepend
detecting cpu-type... 32 bits
checking static... no
checking unicode... no
using debug level... no
using desync debug level... no
checking SDL... not found
checking COCOA... not OSX, skipping
checking GDI video driver... not Windows, skipping
WARNING: no video driver found, building dedicated only
checking dedicated... found
checking network... found
checking translator... no
checking assert... disabled
checking zlib... found
checking libpng... not found
checking libfreetype... not found
checking libfontconfig... not found
checking iconv... not OSX, skipping
checking psp-config... not PSP, skipping
checking libtimidity... not found
checking direct-music... not Windows, skipping
checking sort... sort
checking endianess... AUTO
suppress language errors... no
checking stripping... strip -s
checking distcc... no (only used when forced)
checking ccache... no (only used when forced)
checking OSX sysroot... not OSX, skipping
checking OSX application bundle... not OSX, skipping
checking revision... release (0.6.1)
personal home directory... .openttd
shared data directory... none
installation directory... /
using CFLAGS... -O2 -fomit-frame-pointer -DUNIX -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -Wno-uninitialized -W -Wno-unused-parameter -fno-strict-aliasing -DWITH_ZLIB -DDEDICATED -DENABLE_NETWORK -DNDEBUG -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\".openttd\" -DGLOBAL_DATA_DIR=\"/usr/local/share/games/openttd\" -Wstrict-prototypes -Wdeclaration-after-statement -Wold-style-definition
using LDFLAGS... -lstdc++ -lpthread -lrt -lc -lz
Generating Makefile...
Generating lang/Makefile...
Generating objs/Makefile...
Re: Map generated, starting game.... then nothing
FreeSpire is a Unix variant which has "make" instead of "gmake". You need to install sdl-devel in order to create a binary that has a Graphical UI instead of a dedicated server only binary.
Who is online
Users browsing this forum: No registered users and 10 guests