Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

[Tutorial] Dedicated Server on Ubuntu 13.10 using Wine

Discussion in 'Groups & Dedicated Servers' started by AdamAnt, May 30, 2014.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. thething Trainee Engineer

    Messages:
    5
    Thanks DarthBubi,
    everthing works fine now :)

    Can tell me how to stop the server (with saving the map) when I just logged in with putty?

    Greetz, Manuel


    EDIT:

    Found the best way: (tut for noobs like me)
    - start the server with "screen wine SpaceEngineersDedicated.exe -console"
    Press Ctrl-A, D

    now it runs in the background :)

    to close it type "screen -r" and Press Ctrl-C -> the server shuts down,
    finally type "exit"
     
  2. NolanSyKinsley Apprentice Engineer

    Messages:
    349
    Ahh, I don't have a host server to test on, I just tried everything through the shell and -q, for me at least, made no windows pop up at all, so I assumed it should work over ssh.

    Thanks for that info DarthBubi, I will add a quote to the other tutorial I made.
     
  3. thething Trainee Engineer

    Messages:
    5
    I'm having another Problem now the Server shuts down with the following error:

    Code:
    <div>2014-08-16 14:02:51.190 - Thread:   1 ->  Game ready... Press Ctrl+C to exit</div>2014-08-16 14:03:21.045 - Thread:   1 ->  GC Memory: 733,320,964 B
    ...
    2014-08-16 15:54:26.026 - Thread:   1 ->  Memory limit reached
    2014-08-16 15:54:26.026 - Thread:   1 ->  GC Memory: 836736840
    2014-08-16 15:54:26.026 - Thread:   1 ->  WARNING: MemoryLimitAddFailure reached
    2014-08-16 15:54:26.041 - Thread:   1 ->  Exception occured: System.NullReferenceException: Object reference not set to an instance of an object.
       at 5BCAC68007431E61367F5B2CF24E2D6F.98262C3F38A1199E47F2B9338045794C.8E89B8E6AB1593BDBE54D700B51B5681(98262C3F38A1199E47F2B9338045794C 78F5D68408EDA929DE46EE83A509A874, List`1 61DD18619A8AE31C17840072DE2F877E, Boolean E9D861919D562330C711D5685036D987, Int64 DCD647E51DF6C7D2B77E57612B1F40D8)
       at 6DDCED906C852CFDABA0B56B84D0BD74.AE3AABFDD1DA26E4F203DBC1207BAF42.2DF5C44E240361726FCF5E02300B5FD2(98262C3F38A1199E47F2B9338045794C 1E559CB876CAF59242D482C69A88A168, List`1 61DD18619A8AE31C17840072DE2F877E, 5C310F66276870F2B1675D219AC21873 5ABFB932A38A482BE368AF1DBB0DC1F3)
       at 6DDCED906C852CFDABA0B56B84D0BD74.AE3AABFDD1DA26E4F203DBC1207BAF42.2D86AB77FD4E0E74EDB442F990802E8E(98262C3F38A1199E47F2B9338045794C 1E559CB876CAF59242D482C69A88A168)
       at 5BCAC68007431E61367F5B2CF24E2D6F.98262C3F38A1199E47F2B9338045794C.2DB96435D1B93AB4409B8E56ED3EF0EF()
       at 5BCAC68007431E61367F5B2CF24E2D6F.98262C3F38A1199E47F2B9338045794C.1E27CDEBA1A1BF95F1C573E15E98F9B1()
       at 5BCAC68007431E61367F5B2CF24E2D6F.98262C3F38A1199E47F2B9338045794C.UpdateAfterSimulation()
       at 5BCAC68007431E61367F5B2CF24E2D6F.CAF1EB435F77C7B77580E2E16F988BED.C6A5F4D30318F3005DC853C9269C7358()
       at AAC05F537A6F0F6775339593FBDFC564.CBB94D06E8011132FF514442B0A88989.UpdateAfterSimulation()
       at AAC05F537A6F0F6775339593FBDFC564.D580AE7552E79DAB03A3D64B1F7B67F9.F672BBF9E192151CE8FD7E91E62B997D()
       at AAC05F537A6F0F6775339593FBDFC564.D580AE7552E79DAB03A3D64B1F7B67F9.EC90B1C44E3C361983D093F355FF0CC8(Single D0A668B86020514B76C774AD3D4C5778)
       at B337879D0C82A5F9C44D51D954769590.B3531963E948FB4FA1D057C4340C61B4.49A08D96A3CDC4E7C533ADCE732C33BE()
       at 168638249D29224100DB50BB468E7C07.7BAD4AFD06B91BCD63EA57F7C0D4F408.2457E95BE2F0D1F1A4A009B2B1DBBDA4()
       at 168638249D29224100DB50BB468E7C07.7BAD4AFD06B91BCD63EA57F7C0D4F408.B3119CD657D221E30C363AF98704D851()
       at B337879D0C82A5F9C44D51D954769590.B3531963E948FB4FA1D057C4340C61B4.246E732EE67F7F6F88C4FF63B3901107()
       at 83BCBFA49B3A2A6EC1BC99583DA2D399.49BCFF86BA276A9C7C0D269C2924DE2D.523C8831DA5DAB3A19F6D33A2C6437B5()
       at 83BCBFA49B3A2A6EC1BC99583DA2D399.49BCFF86BA276A9C7C0D269C2924DE2D.26A7ABEA729FAE1F24679E21470F8E98(String 8BF03A34188889479CB413E58490FC37, String 48C45E39212AAA2B19C972DA9195F48A, Boolean 7AC487C1B445CD9F481CF5FE695A7CEA, Boolean 4292A7A4DACAF323E558B7E11DD3CF00)
       at 83BCBFA49B3A2A6EC1BC99583DA2D399.49BCFF86BA276A9C7C0D269C2924DE2D.0D8AAA624C2EEA412F85ABB3AEFAF743(String[] 954514EA42AFFE4302240CE14E5D6683)
    2014-08-16 15:54:26.042 - Thread:   1 ->  Hiding window
    2014-08-16 15:54:26.263 - Thread:   1 ->  Network readers disposed
    2014-08-16 15:54:26.264 - Thread:   1 ->  Logging off Steam...
    2014-08-16 15:54:26.264 - Thread:   1 ->  Shutting down server...
    2014-08-16 15:54:26.447 - Thread:   1 ->  Done
    2014-08-16 15:54:26.460 - Thread:   1 ->  Hiding window done
    2014-08-16 15:54:26.460 - Thread:   1 ->  Showing message
    
    836mb is not that much... my server has 4 gigs of ram...

    Can you help me another time?

    Manuel

    Edit:
    It seems to be a Problem with the 32bit Version of wine... It needs to be the 64bit version of the server to run properly.
    Any chance to get the 64bit version run on ubuntu?
    Manuel
     
  4. NolanSyKinsley Apprentice Engineer

    Messages:
    349
    There currently is no option to have 64 bit work under wine, it requires dotnet40 which cannot work in a 64 bit WINE environment. It works in 32 bit for smaller worlds, but if you add too much it can easily overload the memory allowed under 32 bit.
     
  5. wuselfuzz Trainee Engineer

    Messages:
    4
    Or use

    Code:
    kill -9 %1
    
    after backgrounding the process with CTRL-Z.
     
  6. mad-rooky Trainee Engineer

    Messages:
    25
    Guys i love you that you try to run it on linux.
    Have tried to install it. But not very serious because i am a linux beginner, and i´m stuck at the install of wine... :D
    Will find out whats wrong but i´m not in a hurry...

    Code:
    xxxx:~# apt-get install wine1.6
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut.
    Statusinformationen werden eingelesen.... Fertig
    E: Paket wine1.6 kann nicht gefunden werden.
    E: Mittels regulärem Ausdruck »wine1.6« konnte kein Paket gefunden werden.
    I have a dedicated server running with debian 7 minimal (64bit), mainly for wargame red dragon. 10 of these servers running and i have a lot of ressources free for space engineers. So i hope there will be more help from keen for linux in the future.
    But i have a question for the people that have a server running. What kind of hardware you have and how much do SE make use of it?
     
  7. NolanSyKinsley Apprentice Engineer

    Messages:
    349
    You actually need wine 1.7.2+ for SE to work correctly, I have an updated tutorial here: http://forums.keenswh.com/post/tutorial-linux-updated-bug-free-wine-dedicated-server-instructions-32-bit-only-7031977

    As for the resource usage, SE can only run in 32 bit under WINE so it can't use that much memory at all, as for processing, I don't really know, I hosted a dedicated server on my computer (4gb ddr2 mem and a quad 3.0 ghz) and was able to host 3 people with no problem, except for my slow internet.
     
  8. mad-rooky Trainee Engineer

    Messages:
    25
    Thats bad, i´m happy that i have not spend too much time for that so far.
    But thanks for the tut i will test it in the next few days and give you feedback. :)
     
  9. NolanSyKinsley Apprentice Engineer

    Messages:
    349
    It's not so much SE's fault that it can only run in 32 bit, but dotnet40 which SE requires is not available for 64 bit WINE. I have tried to get to the root of the issue with dotnet40, but no matter how deep I did I just come up with people saying "it's not compatible" yet nobody giving a reason why it is not compatible. This dogma of "not compatible" has run so deep that I cannot even attempt to install it to debug it.
     
  10. bigmos69 Trainee Engineer

    Messages:
    1
    My error :confused:

    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:process:SetProcessDEPPolicy (1): stub
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
    Application tried to create a window, but no driver could be loaded.
    Make sure that your X server is running and that $DISPLAY is set correctly.
    err:systray:initialize_systray Could not create tray window
    wine: cannot find L"C:\\windows\\system32\\SpaceEngineersDedicated.exe"
    root@bigmos-P4X400-8235:~# fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    -bash: syntax error near unexpected token `nil'
    root@bigmos-P4X400-8235:~# fixme:process:SetProcessDEPPolicy (1): stub
    -bash: syntax error near unexpected token `1'
    root@bigmos-P4X400-8235:~# fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    -bash: syntax error near unexpected token `nil'
    root@bigmos-P4X400-8235:~# fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
    -bash: syntax error near unexpected token `00000380,'
    root@bigmos-P4X400-8235:~# Application tried to create a window, but no driver could be loaded.

    Thanks
     
  11. NolanSyKinsley Apprentice Engineer

    Messages:
    349
    Don't run/install or do anything as root.
     
    Last edited by a moderator: Oct 3, 2014
  12. arghargh200 Trainee Engineer

    Messages:
    44
    Posted originally here, but I figured this should be put here as well

    Not to say that any other methods are wrong, but I refuse to update my machine to Debian Squeeze because it broke the OS completely when I did last time, so here's one for the more experienced Linux user.

    Also check NolanSyKinsley's signature link to his Reddit thread for more bits n pieces.

    EDIT: Here's a script of mine that can handle automatic updates on start, as well as configuring a new server!
    Drop it in /home/yourusername/spaceengineers, make sure you've got at least Wine 1.7.22, run 'chmod +x start.sh', then './start.sh setup'!
    Code:
    #!/bin/bash
    service=spaceengineers
    procname=SpaceEngineersDedicated.exe
    cd $HOME/spaceengineers
    WINEDEBUG=-all
    whoami=`whoami` #but who AM I, really?
    case "$1" in
            start)
                    #login to steam and fetch the latest gamefiles
                    cd $HOME/spaceengineers
                    steamuser=`cat .steamuser`
                    cd Steamcmd
                    WINEDEBUG=-all wine steamcmd.exe +force_install_dir C:\\users\\$whoami\\Desktop\\spaceengineers\\client +login $steamuser +app_update 244850 -verify +quit
                    cd ..
                    #clear old binaries and get new ones
                    rm -rf DedicatedServer DedicatedServer64 Content
                    unzip client/Tools/DedicatedServer.zip
                    cd config
                    #start the DS
                    cd $HOME/.wine/drive_c/users/$whoami/Desktop/spaceengineers/DedicatedServer
                    WINEDEBUG=-all wine SpaceEngineersDedicated.exe -console
                    logstamper=`date +%s`
                    #copy server world and log to backups and logs directories
                    cd ../config
                    mv SpaceEngineersDedicated.log logs/server-$logstamper.log
                    cp -rf Saves/SBGSEWorld backups/world-$logstamper-svhalt
            ;;
            setup)  #run only once.
                    echo "Press enter to confirm complete wipe of your WINE's configuration directory. If you have installed anything under regular WINE and want to keep it, do not press enter!"
                    read things
                    echo "ARE YOU SURE?"
                    read things
                    echo "ARE YOU REALLY SURE?"
                    read things
                    rm -rf $HOME/.wine
                    #grab steamcmd, make some directories.
                    mkdir $home/spaceengineers/config
                    mkdir $home/spaceengineers/config/backups
                    mkdir $home/spaceengineers/config/logs
                    mkdir -p $HOME/spaceengineers/Steamcmd
                    cd $HOME/spaceengineers/Steamcmd
                    wget -O steamcmd.zip http://media.steampowered.com/installer/steamcmd.zip
                    unzip steamcmd.zip
                    #configure our wine directory and make some symlinks
                    cd $HOME
                    echo "configuring WINE and installing dependencies."
                    WINEARCH=win32 winecfg
                    winetricks -q msxml3
    </a><a rel="nofollow" target="_blank">                winetricks -q dotnet40
    </a><a target="_blank" rel="nofollow">                winetricks -q vb6run
    </a><a rel="nofollow" target="_blank">                ln -s $HOME/.wine/drive_c/users/$whoami/Desktop/spaceengineers $HOME/spaceengineers/
                    ln -s $HOME/.wine/drive_c/users/$whoami/Application\ Data/SpaceEngineersDedicated $HOME/spaceengineers/config/
                    #login to steam for the first time, and allow steamcmd to run itself
                    echo "We'll now try and run steamcmd. In order to install the DS, you need to have a steam account with the game purchased and activated."
                    echo "Steam username:"
                    read steamuser
                    echo $steamuser > $HOME/spaceengineers/.steamuser
                    echo "Steam password (Not stored, if you have steamguard enabled like a smart person, go get the code when it asks for one.):"
                    read steampass
                    #run twice because the first time we need to make steamcmd download its files before attempting a login
                    WINEDEBUG=-all wine steamcmd.exe +exit
                    WINEDEBUG=-all wine steamcmd.exe +login $steamuser $steampass +exit
                    echo "If you did not see something download above this line, something went wrong. Get on the forums and ask around."
                    echo "Alright, now that you have the dedicated server installed, go make a config with the copy your game files have locally. You'll need to edit it and change the &lt;LoadWorld /> part to look (roughly) like this: &lt;LoadWorld>C:\users\&lt;your username>\Application Data\SpaceEngineersDedicated\Saves\YourWorldName&lt;/LoadWorld>."
            ;;
            backupworld) #put an entry in your crontab pointing to this script with the first argument being 'backupworld'.
                    logstampworld=`date +%s`
                    cd $HOME/spaceengineers/config
                    cp -rf Saves/SBGSEWorld backups/world-$logstampworld
            ;;
            *)
                    if ps ax | grep -v grep | grep $procname > /dev/null
                    then
                            echo "$service is running, not starting"
                            exit
                    else
                            echo "$service is not running, starting"
                            screen -dmS $service -t $service $0 start
                    fi
            ;;
    esac
    
    </a>
     
    Last edited by a moderator: Jan 27, 2015
  13. Khailz Trainee Engineer

    Messages:
    2
    Just like some other people have said I also get the error
    Code:
    wine SpaceEngineersDedicated.exe -console
    
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:process:SetProcessDEPPolicy (1): stub
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
    fixme:thread:SetThreadStackGuarantee (0x33fc04): stub
    fixme:shell:URL_ParseUrl failed to parse L"System.Core"
    fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Game"
    fixme:shell:URL_ParseUrl failed to parse L"VRage.Library"
    fixme:shell:URL_ParseUrl failed to parse L"System"
    fixme:shell:URL_ParseUrl failed to parse L"System.ServiceProcess"
    fixme:shell:URL_ParseUrl failed to parse L"VRage.Common"
    fixme:nls:GetUserPreferredUILanguages stub: 0 0x33e524 (nil) 0x33e520
    fixme:thread:GetThreadPreferredUILanguages 0, 0x33e524, (nil) 0x33e520
    fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Common"
    fixme:shell:URL_ParseUrl failed to parse L"VRage.Math"
    Space engineers 01_061_014
    Is official: True [O]
    Environment.Is64BitProcess: False
    fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
    fixme:shell:URL_ParseUrl failed to parse L"System.Configuration"
    fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Common.XmlSerializers"
    fixme:shell:URL_ParseUrl failed to parse L"VRage.Render"
    fixme:shell:URL_ParseUrl failed to parse L"SharpDX"
    fixme:shell:URL_ParseUrl failed to parse L"SteamSDK"
    fixme:shell:URL_ParseUrl failed to parse L"SharpDX.Direct3D9"
    fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Graphics"
    fixme:advapi:RegisterTraceGuidsW (0x980772, (nil), {8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 1, 0x33b26c, (null), (null), 0x1446bdc): stub
    fixme:shell:URL_ParseUrl failed to parse L"HavokWrapper"
    fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms"
    fixme:shell:URL_ParseUrl failed to parse L"System.Drawing"
    fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Audio"
    fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Input"
    2014-12-22 10:03:58.028: Bind IP : 0.0.0.0:27016
    fixme:advapi:EventRegister {47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x3f006eb0, 0x3f041ce8, 0x3f041ce0
    fixme:advapi:EventRegister {58a9201e-73b0-42ce-9821-7e134361bc70}, 0x3f006eb0, 0x3f041d20, 0x3f041d18
    fixme:advapi:EventRegister {3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x3f006eb0, 0x3f041cb0, 0x3f041ca8
    fixme:advapi:EventRegister {1432afee-73b0-42ce-9821-7e134361b433}, 0x3f006eb0, 0x3f041d58, 0x3f041d50
    fixme:advapi:EventRegister {4372afee-73b0-42ce-9821-7e134361b519}, 0x3f006eb0, 0x3f041d90, 0x3f041d88
    fixme:ver:GetCurrentPackageId (0x33dc84 (nil)): stub
    Setting breakpad minidump AppID = 244850
    2014-12-22 10:03:59.764: Server successfully started
    2014-12-22 10:03:59.764: Product name: Space Engineers
    2014-12-22 10:03:59.764: Desc: Space Engineers
    2014-12-22 10:03:59.764: Public IP: ______________
    2014-12-22 10:03:59.764: Steam ID: _________________
    fixme:shell:URL_ParseUrl failed to parse L"SharpDX.DirectInput"
    fixme:advapi:RegisterTraceGuidsW (0x980942, (nil), {ec631d38-466b-4290-9306-834971ba0217}, 1, 0xf0fc3f0, (null), (null), 0xe17ca28): stub
    fixme:shell:URL_ParseUrl failed to parse L"SharpDX.XAudio2"
    2014-12-22 10:04:01.250: Loading session: _________________________
    fixme:shell:URL_ParseUrl failed to parse L"SharpDX.RawInput"
    2014-12-22 10:04:33.665: Session loaded
    fixme:crypt:SystemFunction041 (0x21c88c, 10, 0): stub [RtlDecryptMemory]
    2014-12-22 10:04:33.712: Server connected to Steam
    2014-12-22 10:04:33.713: Server PolicyResponse (1)
    fixme:ras:RasEnumConnectionsW (0x10100af0,0xf0fddf8,0xf0fddfc),stub!
    fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!
    fixme:ntdll:server_ioctl_file Unsupported ioctl 28000017 (device=2800 access=0 func=5 method=3)
    fixme:winsock:server_ioctl_sock Unsupported ioctl 28000017 (device=2800 access=0 func=5 method=3)
    fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIO(IOC_WS2, 23))
    fixme:ras:RasConnectionNotificationW (0xffffffff,0x3e0,0x00000003),stub!
    fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
    fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
    fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
    fixme:ntdll:server_ioctl_file Unsupported ioctl 28000017 (device=2800 access=0 func=5 method=3)
    fixme:winsock:server_ioctl_sock Unsupported ioctl 28000017 (device=2800 access=0 func=5 method=3)
    fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIO(IOC_WS2, 23))
    2014-12-22 10:04:34.938: Game ready... Press Ctrl+C to exit
    2014-12-22 10:05:35.647: Peer2Peer_SessionRequest 76561198039465340
    err:winsock:interface_bind Failed to bind to interface, receiving broadcast packets will not work on socket 0304.
    fixme:winsock:WS_setsockopt IP_DONTFRAGMENT is silently ignored!
    err:winsock:interface_bind Failed to bind to interface, receiving broadcast packets will not work on socket 03b0.
    err:winsock:interface_bind Failed to bind to interface, receiving broadcast packets will not work on socket 03c8.
    fixme:hnetcfg:fw_profile_get_FirewallEnabled 0x21f800, 0xc8fe790
    fixme:winsock:WS_setsockopt IP_DONTFRAGMENT is silently ignored!
    STEAMPS3 - AsyncTCPSocket created
    STEAMPS3 - AsyncTCPSocket created
    STEAMPS3 - AsyncTCPSocket created
    STEAMPS3 - AsncTCPSocket destroyed
    STEAMPS3 - AsncTCPSocket destroyed
    STEAMPS3 - AsncTCPSocket destroyed
    2014-12-22 10:05:50.648: User left
    
    Does anyone know of a fix yet?
     
  14. Perry3D Trainee Engineer

    Messages:
    1
    Well, i also get an Error (Exception while loading world: Exception has been thrown by the target of an invocation). Any ideas?


    Code:
    #  wine SpaceEngineersDedicated.exe -console
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:process:SetProcessDEPPolicy (1): stub
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
    fixme:thread:SetThreadStackGuarantee (0x32fc04): stub
    fixme:shell:URL_ParseUrl failed to parse L"System.Core"
    fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Game"
    fixme:shell:URL_ParseUrl failed to parse L"VRage.Library"
    fixme:shell:URL_ParseUrl failed to parse L"System"
    fixme:shell:URL_ParseUrl failed to parse L"System.ServiceProcess"
    fixme:shell:URL_ParseUrl failed to parse L"VRage.Common"
    fixme:nls:GetUserPreferredUILanguages stub: 0 0x32e524 (nil) 0x32e520
    fixme:thread:GetThreadPreferredUILanguages 0, 0x32e524, (nil) 0x32e520
    fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Common"
    fixme:shell:URL_ParseUrl failed to parse L"VRage.Math"
    Space engineers 01_063_008
    Is official: True [O]
    Environment.Is64BitProcess: False
    fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
    fixme:shell:URL_ParseUrl failed to parse L"System.Configuration"
    fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Common.XmlSerializers"
    fixme:shell:URL_ParseUrl failed to parse L"VRage.Render"
    fixme:shell:URL_ParseUrl failed to parse L"SharpDX"
    fixme:shell:URL_ParseUrl failed to parse L"SteamSDK"
    fixme:shell:URL_ParseUrl failed to parse L"SharpDX.Direct3D9"
    fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Graphics"
    fixme:advapi:RegisterTraceGuidsW (0x980772, (nil), {8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 1, 0x32b0ec, (null), (null), 0x1442d08): stub
    fixme:shell:URL_ParseUrl failed to parse L"HavokWrapper"
    fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms"
    fixme:shell:URL_ParseUrl failed to parse L"System.Drawing"
    fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Audio"
    fixme:shell:URL_ParseUrl failed to parse L"Sandbox.Input"
    2015-01-04 18:40:01.857: Bind IP : 0.0.0.0:27016
    fixme:advapi:EventRegister {47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x3f006eb0, 0x3f041ce8, 0x3f041ce0
    fixme:advapi:EventRegister {58a9201e-73b0-42ce-9821-7e134361bc70}, 0x3f006eb0, 0x3f041d20, 0x3f041d18
    fixme:advapi:EventRegister {3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x3f006eb0, 0x3f041cb0, 0x3f041ca8
    fixme:advapi:EventRegister {1432afee-73b0-42ce-9821-7e134361b433}, 0x3f006eb0, 0x3f041d58, 0x3f041d50
    fixme:advapi:EventRegister {4372afee-73b0-42ce-9821-7e134361b519}, 0x3f006eb0, 0x3f041d90, 0x3f041d88
    fixme:ver:GetCurrentPackageId (0x32dc84 (nil)): stub
    Setting breakpad minidump AppID = 244850
    2015-01-04 18:40:03.978: Server successfully started
    2015-01-04 18:40:03.981: Product name: Space Engineers
    2015-01-04 18:40:03.981: Desc: Space Engineers
    2015-01-04 18:40:03.982: Public IP: 92.51.165.32
    2015-01-04 18:40:03.982: Steam ID: 90093737432426501
    fixme:shell:URL_ParseUrl failed to parse L"SharpDX.DirectInput"
    fixme:advapi:RegisterTraceGuidsW (0x980942, (nil), {ec631d38-466b-4290-9306-834971ba0217}, 1, 0xfb7c3f0, (null), (null), 0xea857d8): stub
    fixme:shell:URL_ParseUrl failed to parse L"SharpDX.XAudio2"
    2015-01-04 18:40:05.352: Loading session: C:\users\oli\Application Data\SpaceEngineersDedicated\Saves\Created 2015-01-04 1433
    fixme:shell:URL_ParseUrl failed to parse L"SharpDX.RawInput"
    2015-01-04 18:40:06.438: Exception while loading world: Exception has been thrown by the target of an invocation.
    2015-01-04 18:40:06.470: Exiting..
    fixme:crypt:SystemFunction041 (0x93991e4, 10, 0): stub [RtlDecryptMemory]
    fixme:ras:RasEnumConnectionsW (0x93c3050,0xfb7de3c,0xfb7de40),stub!
    fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!
    fixme:ntdll:server_ioctl_file Unsupported ioctl 28000017 (device=2800 access=0 func=5 method=3)
    fixme:winsock:server_ioctl_sock Unsupported ioctl 28000017 (device=2800 access=0 func=5 method=3)
    fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIO(IOC_WS2, 23))
    fixme:ras:RasConnectionNotificationW (0xffffffff,0x3d0,0x00000003),stub!
    fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
    fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
    fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
    fixme:ntdll:server_ioctl_file Unsupported ioctl 28000017 (device=2800 access=0 func=5 method=3)
    fixme:winsock:server_ioctl_sock Unsupported ioctl 28000017 (device=2800 access=0 func=5 method=3)
    fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIO(IOC_WS2, 23))
    2015-01-04 18:40:07.976: Logging off Steam...
    2015-01-04 18:40:07.977: Shutting down server...
    fixme:advapi:EventUnregister deadbeef: stub
    fixme:advapi:EventUnregister deadbeef: stub
    fixme:advapi:EventUnregister deadbeef: stub
    fixme:advapi:EventUnregister deadbeef: stub
    fixme:advapi:EventUnregister deadbeef: stub
    2015-01-04 18:40:08.002: Done
    Server stopped, press any key to close this window
    fixme:msvcrt:__clean_type_info_names_internal (0x6e8fcbc) stub
    fixme:msvcrt:__clean_type_info_names_internal (0x10060538) stub
    
     
  15. tobimai Trainee Engineer

    Messages:
    4
    Hello

    I set the server up on an Ubuntu 14.04 LTS server. When I start it, it begins to start normally but the just stops and it's gone. I hope someone can help me.

    Code:
    _______@v22014112457821208:~/.wine/drive_c/users/______/SE_server/DedicatedServer$ wine SpaceEngineersDedicated.exe-console                            
    Application tried to create a window, but no driver could be loaded.
    Make sure that your X server is running and that $DISPLAY is set correctly.
    err:systray:initialize_systray Could not create tray window
    fixme:mscoree:ConfigFileHandler_startElement Unknown element L"runtime" in state 1
    fixme:mscoree:ConfigFileHandler_startElement Unknown element L"enforceFIPSPolicy" in state 3
    Space engineers 01_063_008
    Is official: True [O]
    Environment.Is64BitProcess: False
    [URL="mailto:_______@v22014112457821208:~/.wine/drive_c/users/_______/SE_server/DedicatedServer$"]_______@v22014112457821208:~/.wine/drive_c/users/_______/SE_server/DedicatedServer$[/URL]
    
    
    (I just replace the username with __ because it's the server of my friend and I don't know of it's ok if everybode can read the username)


    EDIT: I fixed the error by running
    Code:
    winetricks -q vb6run
    
     
    Last edited by a moderator: Jan 5, 2015
  16. takeaseat Trainee Engineer

    Messages:
    6
    Well I got it running, but it just says "server host left the game". I see in the log the connection trying to be made. What am I missing here?
     
  17. PTTG Trainee Engineer

    Messages:
    31
    Perry3D, I'm also seeing the same issue you are.

    I've removed wine's "fixme" messages for clarity.

    Code:
    [I]~/Desktop/DedicatedServer$ wine SpaceE* -console[/I]
    err:ole:CoGetContextToken apartment not initialised
    Space engineers 01_065_015
    Is official: True [O]
    Environment.Is64BitProcess: False
    2015-01-17 20:50:40.140: Bind IP : 0.0.0.0:27016
    Setting breakpad minidump AppID = 244850
    2015-01-17 20:50:42.149: Server successfully started
    2015-01-17 20:50:42.149: Product name: Space Engineers
    2015-01-17 20:50:42.149: Desc: Space Engineers
    2015-01-17 20:50:42.149: Public IP: 108.236.74.50
    2015-01-17 20:50:42.149: Steam ID: 90093910249569285
    2015-01-17 20:50:43.037: Server connected to Steam
    2015-01-17 20:50:43.038: Server PolicyResponse (1)
    2015-01-17 20:50:43.476: Up to date mod:  id = 297296122
    2015-01-17 20:50:43.476: Up to date mod:  id = 337774723
    2015-01-17 20:50:43.477: Up to date mod:  id = 312976851
    2015-01-17 20:50:43.477: Up to date mod:  id = 303959338
    2015-01-17 20:50:43.477: Up to date mod:  id = 372263292
    2015-01-17 20:50:43.477: Up to date mod:  id = 375315957
    2015-01-17 20:50:43.478: Up to date mod:  id = 363037395
    2015-01-17 20:50:43.478: Up to date mod:  id = 294619787
    2015-01-17 20:50:43.478: Up to date mod:  id = 303948455
    2015-01-17 20:50:43.478: Up to date mod:  id = 297528226
    2015-01-17 20:50:43.479: Up to date mod:  id = 315223329
    2015-01-17 20:50:43.479: Up to date mod:  id = 297110720
    2015-01-17 20:50:43.479: Up to date mod:  id = 294618647
    2015-01-17 20:50:43.479: Up to date mod:  id = 294621451
    2015-01-17 20:50:43.479: Up to date mod:  id = 298550266
    2015-01-17 20:50:43.480: Up to date mod:  id = 295393216
    2015-01-17 20:50:43.530: Loading session: C:\Users\PTTG\Application Data\SpaceEngineersDedicated\Saves\NPW_Universe
    2015-01-17 20:50:46.462: Exception while loading world: Exception has been thrown by the target of an invocation.
    2015-01-17 20:50:46.472: Exiting..
    2015-01-17 20:50:48.833: Logging off Steam...
    2015-01-17 20:50:48.834: Shutting down server...
    2015-01-17 20:50:48.883: Done
    Server stopped, press any key to close this window
    
    This is after several days of tinkering, so I went back to basics, put a fresh hard drive in, and installed a new copy of ubuntu today. As far as I can tell, I followed the OP perfectly. The only thing I can think of that makes this server anything other than totally clean is that I set up a vnc server on it too, but I can't imagine how that would be related.
     
  18. amylizzlep Trainee Engineer

    Messages:
    56
    I got this running on CentOS 6.6, using Wine 1.7.4. Unfortunately, the server crashes every 5-30 minutes with one of these exceptions:
    Code:
    err:seh:setup_exception_record nested exception on signal stack in thread 0009 eip 7bc7f280 esp 7ffdbc7c stack 0x242000-0x340000
    
    I had the same issue on 1.6.2, so I updated in the hope of fixing it, but no luck.
    Other than that though, it seems to be working perfectly.
     
    Last edited by a moderator: Jan 18, 2015
  19. NolanSyKinsley Apprentice Engineer

    Messages:
    349
    you need at a bare minimum wine version 1.7.12, anything lower will cause crashes and have not been tested with recent versions of SE. I have used up to 1.7.34.

    This post is quite dated and is in need of some updating. I have another post that is slightly more up to date, but it still needs updating to current information.
     
  20. NolanSyKinsley Apprentice Engineer

    Messages:
    349
    Have you tried loading a save that has no mods, or a clean save that has no ships? Also ensure you are using at least WINE version 1.7.12. I have used up to version 1.7.34(Current release I think) without issue.
     
  21. amylizzlep Trainee Engineer

    Messages:
    56
    Oh good, I guess it's back to trying to compile from source again :(
    At least I know it works, thanks!
     
  22. PTTG Trainee Engineer

    Messages:
    31
    I'm using Wine 1.7.33. I tried again with a fresh save with no mods and no ships, and I got the same error.
     
  23. amylizzlep Trainee Engineer

    Messages:
    56
    Yeah, 1.7.34, compiled from source, no x-server and as many of the components as I could be bothered sourcing RPM's for, and still:
    Code:
    err:seh:setup_exception_record nested exception on signal stack in thread 0009 eip 7bc7f280 esp 7ffdbc7c stack 0x242000-0x340000
    
     
  24. Phuriousgeorge Trainee Engineer

    Messages:
    19
    Well, I've got a server running pretty well between this tutorial and the one here:
    http://forums.keenswh.com/post/tutorial-linux-updated-bug-free-wine-dedicated-server-instructions-32-bit-only-7031977?&amp;trail=30

    Coming into a problem though I can't seem to fix...it seemed to work at one point, then I uploaded a new save...My autosave isn't working. All I'm getting from the log is:

    Code:
    Autosave
    2015-01-19 10:03:25.746 - Thread:   1 ->  Saving world - START
    2015-01-19 10:03:25.746 - Thread:   1 ->     Making world state snapshot.
    2015-01-19 10:03:25.746 - Thread:   1 ->     Before snapshot.: GC Memory: 292,868,064 B
    2015-01-19 10:03:25.763 - Thread:   1 ->     After snapshot.: GC Memory: 294,060,716 B
    2015-01-19 10:03:25.763 - Thread:   1 ->     Directory cleanup: GC Memory: 294,060,716 B
    2015-01-19 10:03:25.763 - Thread:   1 ->  Saving world - END
    2015-01-19 10:03:25.763 - Thread:   5 ->  Session snapshot save - START
    2015-01-19 10:03:25.764 - Thread:   5 ->     Checking file access for files in target dir.
    2015-01-19 10:03:25.765 - Thread:   5 ->     Couldn't access file 'Sandbox.sbc'.
    2015-01-19 10:03:28.038 - Thread:   1 ->  GC Memory: 293,065,316 B
    
    Any suggestions? Wine 1.7.33, Ubuntu 14.04
     
  25. amylizzlep Trainee Engineer

    Messages:
    56
    Could be a permissions issue. What user are you running Wine as? What permissions does the Saves folder have?
     
  26. Phuriousgeorge Trainee Engineer

    Messages:
    19
    I'm running SE with the user that installed wine. It definitely doesn't like it if I do not. The saves folder and files are all 777

    EDIT: Also, it obviously writes to the log file okay. This is the 1st time I've been forced to use wine, so hope it's something stupidly simple I'm missing.
     
    Last edited by a moderator: Jan 19, 2015
  27. PTTG Trainee Engineer

    Messages:
    31
    I solved my problem with
    Code:
    2015-01-1720:50:46.462:Exceptionwhile loading world:Exception has been thrown by the target of an invocation
    somehow.

    There was a BIG set of updates today, I can't rule out that one of them fixed the problem. They literally just came out overnight, so maybe wine devs read this thread? As always, give
    Code:
    sudo apt-get update
    and
    Code:
    sudo apt-get upgrade
    a shot first.

    If not that, I copied Content to the parent directory next to DedicatedServer. This definitely solved one problem I was having- the server can now create new maps, and maybe? had something to do with everything else.

    I also tried these commands from the other linux thread. If the first two steps don't work for you, give them a try.
    Code:
    winetricks -q dotnet40
    winetricks oleaut32=native
    
    I'm still in the process of testing, and the server's only been up for like ten minutes, but we'll see what happens. Oh, and I am able to use both new maps and old maps equally well.
     
    Last edited by a moderator: Jan 19, 2015
  28. Phuriousgeorge Trainee Engineer

    Messages:
    19
    Well, reinstalling everything and running as the rot user made everything work correctly, but I certainly hate running anything as root =/
     
  29. amylizzlep Trainee Engineer

    Messages:
    56
    I've just updated to 1.7.35, and everything seems to be working perfectly now. I'll update if it crashes, but so far it's been stable for an hour.


    EDIT: Goddammit
    Code:
    err:seh:setup_exception_record nested exception on signal stack in thread 0009 eip 7bc7f950 esp 7ffdbc7c stack 0x242000-0x340000
    
     
    Last edited by a moderator: Jan 24, 2015
  30. fntc Trainee Engineer

    Messages:
    16
    I just recognized that the Dedicated Server is available via steamcmd for installing with anonymous login:

    ./steamcmd.sh +login anonymous +force_install_dir ./game +app_update 298740 +quit

    Just change the path from "./game" to wherever your Dedicated Server files shall reside.

    Steamcmd is available here:
    https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD
     
Thread Status:
This last post in this thread was made more than 31 days old.