Multiplayer doomsday-host help

edited 2014 May 25 in Technical Support
I have compiled doomsday with CONFIG+=deng_host

and have followed the wiki, but... don't understand the
<hostconfig>
	<doomsday>/home/jaakko/usr/bin/doomsday-server</doomsday>
<option>-parse</option>
<option>/home/jaakko/host.cfg</option>
and then
<server port="13209" game="doom1-ultimate" 
			name="Deng Team (Co-op)" 
			info="Public multiplayer testing; everyone is welcome to join"
			dir="/home/jaakko/runtime/doom">
<option>-parse</option>
<option>/home/jaakko/coop.cfg</option>


what's the difference between the cfg files?
is the first one like autoexec.conf?

Comments

  • An <option> under <hostconfig> affects all defined servers, while <option> inside <server> is specific to that one.

    So in that example I have "host.cfg" containing variables that apply to all the configured servers, and "coop.cfg" is a smaller config that justs defines coop game rules. On our test server, "host.cfg" is for the common setup while different game rules (dm, coop) are set up using separate files.

    If you're only running a single server, you'll probably only need a single .cfg.
  • thanks.

    I just got this output running doomsday-host
    &#91;dave@theHostess bin&#93;$ ./doomsday-host 
    /home/dave/.doomsdayhost.pid is stale, ignoring it.
    Traceback (most recent call last):
      File "./doomsday-host", line 360, in &lt;module&gt;
        main()
      File "./doomsday-host", line 323, in main
        cfg = parseConfig(homeFile('.doomsdayhostrc'))
      File "./doomsday-host", line 107, in parseConfig
        mainLogFileName = getContent(cfg.getElementsByTagName('logFile')&#91;0&#93;)
    IndexError: list index out of range
    
  • I'm having problems starting my servers With Git revision build1235

    My Doomsday servers wont start
    I get this in the doomsdayhost.log
    Tue May 20 22:43:43 2014: Failed to start server at port 13209: terminated
    
    There is no doomsday.out log file
  • What is printed if you start the server manually with "doomsday-server -stdout" + any other options you're using? That way you can at least see how far the launch gets.
  • stdout
    &#91;dave@theHostess qm&#93;$ /opt/doomsday/bin/doomsday-server -stdout -game doom2 -file /opt/doomwads/DOOM2.wad
    Library_New: Error opening "/bin/libdoom.so": &#91;LoadError&#93; (Library::Library) Cannot load
                                                  library /opt/doomsday/lib/doomsday/
                                                  libdoom.so: (libassimp.so.3: cannot open
                                                  shared object file: No such file or
                                                  directory)
    Failed to load "/bin/libdoom.so": &#91;LoadError&#93; (Library::Library) Cannot load library /opt/
                                      doomsday/lib/doomsday/libdoom.so: (libassimp.so.3:
                                      cannot open shared object file: No such file or
                                      directory)
    Library_New: Error opening "/bin/libdoom64.so": &#91;LoadError&#93; (Library::Library) Cannot
                                                    load library /opt/doomsday/lib/doomsday/
                                                    libdoom64.so: (libassimp.so.3: cannot
                                                    open shared object file: No such file or
                                                    directory)
    Failed to load "/bin/libdoom64.so": &#91;LoadError&#93; (Library::Library) Cannot load library /
                                        opt/doomsday/lib/doomsday/libdoom64.so:
                                        (libassimp.so.3: cannot open shared object file: No
                                        such file or directory)
    Library_New: Error opening "/bin/libheretic.so": &#91;LoadError&#93; (Library::Library) Cannot
                                                     load library /opt/doomsday/lib/doomsday/
                                                     libheretic.so: (libassimp.so.3: cannot
                                                     open shared object file: No such file or
                                                     directory)
    Failed to load "/bin/libheretic.so": &#91;LoadError&#93; (Library::Library) Cannot load library /
                                         opt/doomsday/lib/doomsday/libheretic.so:
                                         (libassimp.so.3: cannot open shared object file: No
                                         such file or directory)
    Library_New: Error opening "/bin/libhexen.so": &#91;LoadError&#93; (Library::Library) Cannot load
                                                   library /opt/doomsday/lib/doomsday/
                                                   libhexen.so: (libassimp.so.3: cannot open
                                                   shared object file: No such file or
                                                   directory)
    Failed to load "/bin/libhexen.so": &#91;LoadError&#93; (Library::Library) Cannot load library /
                                       opt/doomsday/lib/doomsday/libhexen.so: (libassimp.so.3:
                                       cannot open shared object file: No such file or
                                       directory)
    Application path: /opt/doomsday/bin/doomsday-server
    Created a new 32.0 MB memory volume.
    Executable: Doomsday Engine 1.15.0 (Unstable 64-bit) May 20 2014 17:54:36
    Command line options:
      0: /opt/doomsday/bin/doomsday-server
      1: -stdout
      2: -game
      3: doom2
      4: -file
      5: /opt/doomwads/DOOM2.wad
    No playable games available.
    Z_Shutdown: Used 1 volumes, total 33554432 bytes.
    &#91;dave@theHostess qm&#93;$ 
    

    libassimp location
    &#91;dave@theHostess qm&#93;$ locate libassimp
    /home/dave/Src/assimp/cm/code/libassimp.so
    /home/dave/Src/assimp/cm/code/libassimp.so.3
    /home/dave/Src/assimp/cm/code/libassimp.so.3.0.1
    /usr/local/lib/libassimp.so
    /usr/local/lib/libassimp.so.3
    /usr/local/lib/libassimp.so.3.0.1
    

    Tree of the install dir
    &#91;dave@theHostess qm&#93;$ tree /opt/doomsday/
    /opt/doomsday/
    ├── bin
    │   ├── doomsday
    │   ├── doomsday-host
    │   ├── doomsday-server
    │   └── launch-doomsday
    ├── lib
    │   ├── doomsday
    │   │   ├── libdehread.so -&gt; libdehread.so.2.0.0
    │   │   ├── libdehread.so.2 -&gt; libdehread.so.2.0.0
    │   │   ├── libdehread.so.2.0 -&gt; libdehread.so.2.0.0
    │   │   ├── libdehread.so.2.0.0
    │   │   ├── libdoom64.so -&gt; libdoom64.so.1.15.0
    │   │   ├── libdoom64.so.1 -&gt; libdoom64.so.1.15.0
    │   │   ├── libdoom64.so.1.15 -&gt; libdoom64.so.1.15.0
    │   │   ├── libdoom64.so.1.15.0
    │   │   ├── libdoom.so -&gt; libdoom.so.1.15.0
    │   │   ├── libdoom.so.1 -&gt; libdoom.so.1.15.0
    │   │   ├── libdoom.so.1.15 -&gt; libdoom.so.1.15.0
    │   │   ├── libdoom.so.1.15.0
    │   │   ├── libexample.so -&gt; libexample.so.1.2.0
    │   │   ├── libexample.so.1 -&gt; libexample.so.1.2.0
    │   │   ├── libexample.so.1.2 -&gt; libexample.so.1.2.0
    │   │   ├── libexample.so.1.2.0
    │   │   ├── libheretic.so -&gt; libheretic.so.1.15.0
    │   │   ├── libheretic.so.1 -&gt; libheretic.so.1.15.0
    │   │   ├── libheretic.so.1.15 -&gt; libheretic.so.1.15.0
    │   │   ├── libheretic.so.1.15.0
    │   │   ├── libhexen.so -&gt; libhexen.so.1.15.0
    │   │   ├── libhexen.so.1 -&gt; libhexen.so.1.15.0
    │   │   ├── libhexen.so.1.15 -&gt; libhexen.so.1.15.0
    │   │   ├── libhexen.so.1.15.0
    │   │   ├── libsavegameconverter.so -&gt; libsavegameconverter.so.1.0.0
    │   │   ├── libsavegameconverter.so.1 -&gt; libsavegameconverter.so.1.0.0
    │   │   ├── libsavegameconverter.so.1.0 -&gt; libsavegameconverter.so.1.0.0
    │   │   ├── libsavegameconverter.so.1.0.0
    │   │   ├── libwadmapconverter.so -&gt; libwadmapconverter.so.1.1.1
    │   │   ├── libwadmapconverter.so.1 -&gt; libwadmapconverter.so.1.1.1
    │   │   ├── libwadmapconverter.so.1.1 -&gt; libwadmapconverter.so.1.1.1
    │   │   └── libwadmapconverter.so.1.1.1
    │   ├── libdeng_appfw.so -&gt; libdeng_appfw.so.1.15.0
    │   ├── libdeng_appfw.so.1 -&gt; libdeng_appfw.so.1.15.0
    │   ├── libdeng_appfw.so.1.15 -&gt; libdeng_appfw.so.1.15.0
    │   ├── libdeng_appfw.so.1.15.0
    │   ├── libdeng_core.so -&gt; libdeng_core.so.2.0.0
    │   ├── libdeng_core.so.2 -&gt; libdeng_core.so.2.0.0
    │   ├── libdeng_core.so.2.0 -&gt; libdeng_core.so.2.0.0
    │   ├── libdeng_core.so.2.0.0
    │   ├── libdeng_gui.so -&gt; libdeng_gui.so.1.15.0
    │   ├── libdeng_gui.so.1 -&gt; libdeng_gui.so.1.15.0
    │   ├── libdeng_gui.so.1.15 -&gt; libdeng_gui.so.1.15.0
    │   ├── libdeng_gui.so.1.15.0
    │   ├── libdeng_legacy.so -&gt; libdeng_legacy.so.1.15.0
    │   ├── libdeng_legacy.so.1 -&gt; libdeng_legacy.so.1.15.0
    │   ├── libdeng_legacy.so.1.15 -&gt; libdeng_legacy.so.1.15.0
    │   ├── libdeng_legacy.so.1.15.0
    │   ├── libdeng_shell.so -&gt; libdeng_shell.so.1.15.0
    │   ├── libdeng_shell.so.1 -&gt; libdeng_shell.so.1.15.0
    │   ├── libdeng_shell.so.1.15 -&gt; libdeng_shell.so.1.15.0
    │   ├── libdeng_shell.so.1.15.0
    │   ├── libdoomsday.so -&gt; libdoomsday.so.1.15.0
    │   ├── libdoomsday.so.1 -&gt; libdoomsday.so.1.15.0
    │   ├── libdoomsday.so.1.15 -&gt; libdoomsday.so.1.15.0
    │   └── libdoomsday.so.1.15.0
    └── share
        ├── applications
        │   └── doomsday-engine.desktop
        └── doomsday
            ├── data
            │   ├── doomsday.pk3
            │   ├── fonts
            │   │   ├── console11.dfn
            │   │   ├── console14.dfn
            │   │   ├── console18.dfn
            │   │   ├── normal12.dfn
            │   │   ├── normal18.dfn
            │   │   ├── normal24.dfn
            │   │   ├── normalbold12.dfn
            │   │   ├── normalbold18.dfn
            │   │   ├── normalbold24.dfn
            │   │   ├── normallight12.dfn
            │   │   ├── normallight18.dfn
            │   │   └── normallight24.dfn
            │   ├── jdoom
            │   │   └── libdoom.pk3
            │   ├── jdoom64
            │   │   └── libdoom64.pk3
            │   ├── jheretic
            │   │   └── libheretic.pk3
            │   └── jhexen
            │       └── libhexen.pk3
            ├── modules
            │   ├── appconfig.de
            │   ├── bootstrap.de
            │   ├── Config.de
            │   ├── gui.de
            │   ├── Log.de
            │   ├── recutil.de
            │   └── Updater.de
            └── snowberry
                ├── cfparser.py
                ├── conf
                │   ├── snowberry.conf
                │   ├── x-appearance.conf
                │   ├── x-components.conf
                │   └── x-doomsday.conf
                ├── events.py
                ├── graphics
                │   ├── about.jpg
                │   ├── addons.png
                │   ├── banner-default.png
                │   ├── banner-doom1.jpg
                │   ├── banner-doom1-share.jpg
                │   ├── banner-doom1-ultimate.jpg
                │   ├── banner-doom2.jpg
                │   ├── banner-doom2-plut.jpg
                │   ├── banner-doom2-tnt.jpg
                │   ├── banner-heretic.jpg
                │   ├── banner-hexen-demo.jpg
                │   ├── banner-hexen-dk.jpg
                │   ├── banner-hexen.jpg
                │   ├── checked.bmp
                │   ├── closedfolder.bmp
                │   ├── defaults.png
                │   ├── defcheck.bmp
                │   ├── deng2.bmp
                │   ├── deng3.bmp
                │   ├── deng4.bmp
                │   ├── deng.png
                │   ├── developer.png
                │   ├── display.png
                │   ├── general.png
                │   ├── graphics.png
                │   ├── help-logo.jpg
                │   ├── input.png
                │   ├── openfolder.bmp
                │   ├── orb-doom.png
                │   ├── orb-heretic.png
                │   ├── orb-hexen.png
                │   ├── scaled27x27-defaults.png
                │   ├── scaled27x27-orb-doom.png
                │   ├── scaled27x27-orb-heretic.png
                │   ├── scaled27x27-orb-hexen.png
                │   ├── snowberry.icns
                │   ├── snowberry.ico
                │   ├── snowberry.png
                │   ├── sound.png
                │   ├── unchecked.bmp
                │   ├── uninstaller.ico
                │   └── wizard.png
                ├── host.py
                ├── lang
                │   ├── english.lang
                │   ├── finnish.lang
                │   ├── german.lang
                │   ├── italian.lang
                │   └── portuguese-br.lang
                ├── language.py
                ├── logger.py
                ├── paths.py
                ├── plugins
                │   ├── about.py
                │   ├── help.py
                │   ├── launcher.py
                │   ├── observer.py
                │   ├── preferences.py
                │   ├── profilelist.py
                │   ├── tab10_summary.py
                │   ├── tab20_maps.py
                │   ├── tab30.plugin
                │   │   └── Contents
                │   │       └── tab30
                │   │           ├── __init__.py
                │   │           ├── inspector.py
                │   │           ├── installer.py
                │   │           ├── loadorder.py
                │   │           └── main.py
                │   ├── tab40_settings.py
                │   └── wizard.py
                ├── plugins.py
                ├── profiles
                │   ├── defaults.prof
                │   ├── doom1.prof
                │   ├── doom1-share.prof
                │   ├── doom1-ultimate.prof
                │   ├── doom2-plut.prof
                │   ├── doom2.prof
                │   ├── doom2-tnt.prof
                │   ├── doomchex.prof
                │   ├── hacx.prof
                │   ├── heretic-ext.prof
                │   ├── heretic.prof
                │   ├── heretic-share.prof
                │   ├── hexen-demo.prof
                │   ├── hexen-dk.prof
                │   ├── hexen.prof
                │   └── README
                ├── sb
                │   ├── addon.py
                │   ├── aodb.py
                │   ├── confdb.py
                │   ├── conf.py
                │   ├── expressions.py
                │   ├── __init__.py
                │   ├── profdb.py
                │   ├── profile.py
                │   ├── util
                │   │   ├── dialog.py
                │   │   └── __init__.py
                │   └── widget
                │       ├── area.py
                │       ├── bar.py
                │       ├── base.py
                │       ├── button.py
                │       ├── field.py
                │       ├── __init__.py
                │       ├── list.py
                │       ├── tab.py
                │       ├── text.py
                │       └── tree.py
                ├── snowberry.py
                ├── ui.py
                └── widgets.py
    
    25 directories, 197 files
    &#91;dave@theHostess qm&#93;$ 
    
  • Currently these are the supported ways to use assimp on Unix:
    1. You can get it via pkg-config if you don't specify ASSIMP_DIR.
    2. You can specify ASSIMP_DIR, which makes Doomsday link with the libassimp.so in that location. The library is not included in the installation, however rpath is set so that dependent binaries use it directly from the provided location.
    3. You can use CONFIG+=deng_extassimp, which tells Doomsday you've compiled libassimp manually under "doomsday/external/assimp". The library is copied from there to the installation. (This is the configuration used in the official distribution packages.)

    Which options are you using for the build?
  • I was using this
    /usr/local/Trolltech/Qt-4.8.5/bin/qmake -r ../doomsday/doomsday.pro CONFIG+=deng_notools CONFIG+=deng_host CONFIG+=deng_extassimp
    

    I also just tried putting this in config_user.pri
    PREFIX = /opt/doomsday
    deng_nosdlmixer = DENG_DISABLE_SDLMIXER
    CONFIG+=deng_host
    ASSIMP_DIR = /usr/local/lib/
    
    and compiled again with
    /usr/local/Trolltech/Qt-4.8.5/bin/qmake -r ../doomsday/doomsday.pro CONFIG+=deng_notools CONFIG+=deng_host
    but I still get the same error about libassimp
  • When you run "make install", libassimp.so.3 is supposed to be copied to the "PREFIX/lib/doomsday " directory. For instance (when I run make install):
    (...make output...)
    install -m 755 -p /home/jaakko/src/deng/doomsday/external/assimp/lib/libassimp.so.3 /home/jaakko/test/lib/doomsday/
    (...make output...)
    

    Does "external/assimp/lib/libassimp.so.3" exist in your source folder? I.e., the assumption is that an in-tree build was made with cmake, in "external/assimp".
  • ok, I compiled assimp from the git and installed it into external/assimp, which put libassimp.so.3 into external/assimp/lib/
    then compiled doomsday with "/usr/local/Trolltech/Qt-4.8.5/bin/qmake -r ../doomsday/doomsday.pro CONFIG+=deng_notools CONFIG+=deng_host CONFIG+=deng_extassimp" and it's now working.

    thanks for the help.:)

    Servers are now back up
Sign In or Register to comment.