Unable to load game_setup.xml

ZehtukaZehtuka Join Date: 2010-07-26 Member: 72853Members Posts: 11
Fresh install of the server through steam, can't get past this problem.
Date: 01/19/15
Time: 20:59:06:
--------------------------------------------------------------
Build 272
Windows 8 64-bit (build 9200)
[  0.005] Main : Error: PhysX: Invalid Cuda context!
Server tickrate 30, client sendrate 20, bandwidth limit per player 25600
Connected to Steam servers
Web server running at localhost:800
[  1.135] Worker 00 : Error: Unable to load 'game_setup.xml'!
VAC Enabled


game_setup.xml can be found in %installdir%/ns2
<game>
	<name>ns2</name>
	<description>Natural Selection 2</description>
	<icon>icons/ns2_64x64.png</icon>
	<client>lua/Client.lua</client>
	<server>lua/Server.lua</server>
	<loading>lua/Loading.lua</loading>
    <soundinfo>sound/NS2.soundinfo</soundinfo>
</game>


Any suggestions?

Comments

  • SamusDroidSamusDroid Colorado Join Date: 2013-05-13 Member: 185219Members, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Playtester, NS2 Community Developer, Pistachionauts Posts: 2,155 mod
    Are you running any mods.
    My mods --- Watermod collaboration with Feha
    For some reason, the instant you ask players to behave differently to be successful, they associate that with bad mapping. - KungFuDiscoMonkey
    Z5UIr2s.png
  • ZehtukaZehtuka Join Date: 2010-07-26 Member: 72853Members Posts: 11
    SamusDroid wrote: »
    Are you running any mods.
    It is a fresh install, so no.
  • ZuiqZuiq UK Join Date: 2015-02-19 Member: 201434Members Posts: 1
    edited February 2015
    This issue has been sorted on the server, it came about from trying to load the server via .bat instead of a server.exe shortcut.
  • NomadThanatosNomadThanatos Wuhan Join Date: 2015-08-06 Member: 206835Members Posts: 10 Fully active user
    I have the same problem after upgrade to 275
    [[email protected] serverfiles]$ ./server_linux32 -name \"Test\" -port 27015 -webadmin -webdomain "192.168.1.54" -webuser admin -webpassword password -webport 8080 -map ns2_summit -limit 24
    GetInstanceCount currently unimplemented
    [  0.000] Main : Filesystem initialized, cache enabled
    Press Tab to open the console window
    Press Ctrl-C to exit
    Build 275
    Linux
    Server tickrate 30, client sendrate 20, bandwidth limit per player 25600
    [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
    Setting breakpad minidump AppID = 4920
    [  5.360] Main : Error: Couldn't connect to Steam
    Web server running at 192.168.1.54:8080
    [  5.410] Worker 00 : Error: Unable to open 'game_setup.xml' (usage 0x1)
    [  5.410] Worker 00 : Error: Unable to load 'game_setup.xml'!
    Connected to Steam servers
    VAC Enabled
    

    I use Linux server management script to download & start server.(NO MODS)

    But whether I start server from above command or script, it shows above logs.
  • DC_DarklingDC_Darkling Join Date: 2003-07-10 Member: 18068Members, Constellation, Squad Five Blue, Squad Five Silver Posts: 4,381 Advanced user
    Is the xml file itself actually ok?
    Ive seen xml files which were pretty broken before on windows servers.
    NS2
    Old/resigned Dutch Translation Lead. Give feedback about the translation, or help improve by clicking: Current NS2 Dutch translation project. Dutch players apply!
    NS2 Server Maintenance Manual
    WorkshopBackup Manual (WSB Server)
    Ingame: DCDarkling
    'DCDs Steam Workshop', for your NS2 X-Hairs and Viewmodel Weapon mods
    Viewmodels are the ones you hold in your hand, not the one shown in the world!

    Old NS2 Stuff:
    Marine Commander Guide NS2
    Alien Commander Guide NS2
    NS2 Mentor Program
    Old NS1 stuff:
    'Infested Pack v0.6' for models & props
    Darklings Guide to Commanding Version 1.001
  • NomadThanatosNomadThanatos Wuhan Join Date: 2015-08-06 Member: 206835Members Posts: 10 Fully active user
    edited August 2015
    I've found that there are lots of game_setup.xml, I think that all xmls are ok.

    /home/ns2/serverfiles/ns2/game_setup.xml
    <game>
            <name>ns2</name>
            <description>Natural Selection 2</description>
            <icon>icons/ns2_64x64.png</icon>
            <client>lua/Client.lua</client>
            <server>lua/Server.lua</server>
            <loading>lua/Loading.lua</loading>
        <soundinfo>sound/NS2.soundinfo</soundinfo>
    </game>
    

    /home/ns2/serverfiles/explore/game_setup.xml
    <game>
            <name>ns2</name>
            <description>Natural Selection 2 Explore</description>
            <client>lua/ExploreClient.lua</client>
            <server>lua/ExploreServer.lua</server>
            <predict>lua/ExplorePredict.lua</predict>
        <soundinfo>sound/NS2.soundinfo</soundinfo>
    </game>
    

    /home/ns2/serverfiles/tutorial/game_setup.xml
    <game/>
    <!-- keep this file here to avoid Steam keeping a substantial file here when it really should not be -->
    
  • NomadThanatosNomadThanatos Wuhan Join Date: 2015-08-06 Member: 206835Members Posts: 10 Fully active user
    And the web pages shows that "Loading server...".

    I wonder where I can find some logs or details to help me find out what happened.
  • SamusDroidSamusDroid Colorado Join Date: 2013-05-13 Member: 185219Members, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Playtester, NS2 Community Developer, Pistachionauts Posts: 2,155 mod
    [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
    Setting breakpad minidump AppID = 4920
    [ 5.360] Main : Error: Couldn't connect to Steam
    Web server running at 192.168.1.54:8080

    Doesn't look like you are connected to Steam either
    My mods --- Watermod collaboration with Feha
    For some reason, the instant you ask players to behave differently to be successful, they associate that with bad mapping. - KungFuDiscoMonkey
    Z5UIr2s.png
  • NomadThanatosNomadThanatos Wuhan Join Date: 2015-08-06 Member: 206835Members Posts: 10 Fully active user
    The last 2 lines show that I have connected. And I can get authentication by the server.
  • ryaktenryakten Join Date: 2010-09-25 Member: 74177Members Posts: 1
    I'm having the some problem trying to run a server from a CentOS 7 VM. I'm using the linux game server manager scripts. I created a issue on the GitHub project here: https://github.com/dgibbs64/linuxgsm/issues/593

    Before I tried it using the setup instructions at: http://wiki.unknownworlds.com/ns2/Dedicated_Server

    Any help with this would be much appreciated.
  • turtsmcgurtturtsmcgurt Join Date: 2012-11-01 Member: 165456Members, Reinforced - Supporter Posts: 581 Advanced user
    edited January 2016
    i had this happen the other day setting up a server on ubuntu. I fixed it by changing the working directory to the executable before trying to run it.

    this is about what the script looked like when I got this exact error (I even read this thread trying to fix it)
    /home/ns2server/serverfiles/linux_server -name blah -port 27015 ect ect
    

    this is what I use now. changing the script to this is the only thing different.
    cd /home/ns2server/serverfiles
    ./linux_server -name blah -27015 ect ect
    
    Keats
  • LirielLiriel Join Date: 2013-05-20 Member: 185302Members Posts: 3
    @turtsmcgurt maaaan you are right - changing the working directory fixed it for me
    thx!
  • ZuperfreakZuperfreak Join Date: 2017-05-08 Member: 230360Members Posts: 2 Fully active user
    @ryakten did you ever find a solution to this issue for centOS 7?
    I have attempted what @turtsmcgurt recommended and had no luck.
    Disabled SELinux incase that was an issue; blew the directories away and ran the install again; same result.
  • ZuperfreakZuperfreak Join Date: 2017-05-08 Member: 230360Members Posts: 2 Fully active user
    An update on this, just did a complete reinstall of CentOS 7, disabled SELinux, installed all the dependencies following this: https://gameservermanagers.com/lgsm/ns2server/

    Still no joy.

    Output:
    Finished downloading and installing mods
    [ 1.702] Worker 00 : Mounting mod 'UWE Lambda Extension' from /home/ns2server/server1/Workshop/m24ab7638_1479570870/
    [ 1.702] Worker 00 : Mounting mod 'UWE Delta Extension' from /home/ns2server/server1/Workshop/m2900408b_1489127862/
    [ 1.702] Worker 00 : Mounting mod 'UWE Omega Extension' from /home/ns2server/server1/Workshop/m2d5a11f0_1489181694/
    [ 1.713] Worker 00 : Error: Unable to open 'game_setup.xml' (usage 0x1)
    [ 1.713] Worker 00 : Error: Unable to load 'game_setup.xml'!
  • BeigeAlertBeigeAlert Texas Join Date: 2013-08-08 Member: 186657Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, NS2 Map Tester, Reinforced - Diamond, Reinforced - Shadow, Subnautica Playtester, Pistachionauts Posts: 2,819 admin
Sign In or Register to comment.