Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
FacePalmGamer

Registered:
Posts: 2
Reply with quote  #1 

I am trying to run this game on a headless server running windows server 2012 r2 for me and some friends. I am connecting to the server with remote desktop to control the server. The issue is similar to the tiny window thread. when I start the game it appears as a small window in the top left. I am able to start with in windowed borderless and windowed bypassing the select resolution screen. Trying to start it in fullscreen causes a crash "DXUTERR_CREATINGDEVICE". starting it in either other mode gets me to the main menu but still small and all buttons are crammed in the corner. I just need a way to host the server so I and my friends can join

Things I have tried:

Compatibility modes: all of them,
Forced start in 480,
shortcut -> start maximized,
different resolutions in the ini file,
changing the resolution of the remote session

None of them have worked. an interesting one is if I disconnect from the server while the game is running it always crashes because the user is logging off or because there is no longer a window to display too if I had to guess. I saw someone say keep the game running and change the resolution in the tiny window thread, but like I said that causes my game to crash.

If there is a different way to run a headless instance of the game and just start the server I will gladly do that. or if there is a fix someone knows of please let me know. I don't mind leaving the remote desktop session running but no matter what I try I cant fix the tiny window issue.
tiny isue.png   


NoseyNick

Avatar / Picture

Registered:
Posts: 349
Reply with quote  #2 
If you have to run on Windows / on your LAN, I'm not sure I can help you, but my https://noseynick.net/artemis/nebula/ is a set of scripts to run a headless Artemis Server in the cloud (with apologies for the obvious Artemis / cloud / Nebula pun) specifically under WINE on a Linux VM in AWS (some other clouds have experimental support).

You can remote-control it via a web browser, and your players connect to the IP address anywhere across the internet (subject to bandwidth and latency / lag and so on at their end). It can fetch various Mods and Missions. I f you have a discord server it can post "Game Over" results there. If you prefer TeamSpeak, you can run a ts3server on the same VM, unlicensed but limited, or bring-your-own-license for more connections.

Cost varies depending on exactly which AWS datacentres you wish to run in, but is typically in the order of 20c per hour, so you can play for half a day for less than the cost of a coffee (you're paying AWS, not me).

No idea if that helps or not?   [wave]
FacePalmGamer

Registered:
Posts: 2
Reply with quote  #3 
Quote:
If you have to run on Windows / on your LAN, I'm not sure I can help you, but my https://noseynick.net/artemis/nebula/ is a set of scripts to run a headless Artemis Server in the cloud (with apologies for the obvious Artemis / cloud / Nebula pun) specifically under WINE on a Linux VM in AWS (some other clouds have experimental support).

Is there any reason, in particular, you have to use a cloud server like AWS? I bought an old dell proliant 1u server a while back to set up game servers for me and my friends like Minecraft, ark, and other games of the sort. If it can work on any ubuntu server I can duel boot the server and run the scripts on that however I haven't had time to look at how your scripts work.

Also if you are running a headless version on servers like AWS that at least tells me there is a way to run a headless server so there should be a way to get it to work on my home server, maybe not windows server 2012, but definitely something I could do.
NoseyNick

Avatar / Picture

Registered:
Posts: 349
Reply with quote  #4 
Quote:
Originally Posted by FacePalmGamer

Is there any reason, in particular, you have to use a cloud server like AWS? I bought an old dell proliant 1u server a while back to set up game servers for me and my friends like Minecraft, ark, and other games of the sort. If it can work on any ubuntu server I can duel boot the server and run the scripts on that however I haven't had time to look at how your scripts work.


Well, though it does TRY to access some AWS APIs, it's arguably not NEEDED, if it can't find what it wants from AWS, it will try to find them in 3 or 4 other places instead. I have in fact proved it will "almost entirely work" in Azure cloud (basically all except some of the tasks where it wants to "click buttons" on artemis but has to make some guesses about screen/window size etc), I think I tried google cloud once too and it again "basically worked".

However one thing that would make me a bit uneasy is it does assume it can barge in and install all the stuff it needs, without any regard for other users / files on the system, because Nebula / Artemis ARE the only things on the brand new fresh Ubuntu install. Was also never designed to be super-secure, because when you're done with a game you're going to nuke the VM, so it didn't particularly matter if my scripts had left the place a bit messy or if some hacker exploited any security holes, the machine has evaporated after a few hours anyway.

If you're happy to accept that it MIGHT leave your Ubuntu a mess, it will install a bunch of stuff you may not want/need, it will run a webserver and might ruin the contents of any existing webserver you had there ... and if you're about ready to reinstall Ubuntu from scratch if you have to... Then go ahead. It has been best tested on Ubuntu 20.04 LTS but might work on newer and certainly one or two older versions.

You can PROBABLY log in as ubuntu, make sure that "sudo id" works without asking for a password (should say "uid=0(root) gid=..."), then (back as Ubuntu) run ...

wget -t3 -T3 -O- https://noseynick.org/artemis/nebula/init.sh \
  | NAME=280stock bash


... and let me know if it works, or ruins everything, but don't say I didn't warn you!   :-D
NoseyNick

Avatar / Picture

Registered:
Posts: 349
Reply with quote  #5 
Oh also if it DOES work, there's a bunch of other options you can provide after the "|" and before the "bash" - in place of "NAME=280stock" - see https://noseynick.net/artemis/nebula/ for other options like mods, teamspeak install, ability to send scores to discord, etc etc
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.