AMPTemplates icon indicating copy to clipboard operation
AMPTemplates copied to clipboard

Space Engineers Torch APi Configuration

Open m-leonoff opened this issue 1 year ago • 9 comments

Module Request

Note: Please try setting up a configuration yourself before raising an issue to request a configuration: ~~https://config.getamp.sh/~~ ***There is a newer beta version available at https://iceofwraith.github.io/GenericConfigGen/

Game Information:

Game Title: Space Engineers Torch API How to obtain: https://torchapi.com

This is super necessary for well-established space engineer servers. Torch API enables the use of server management plugins.

I confirm:

  • [x] that I have searched for an existing module request for this application.
  • [x] that the server is an official server distributed by the games publishers/developers.
  • [x] that the server is available to the general public.
  • [x] that the server can be run headless (without a GUI).
  • [x] I have already attempted to create a configuration myself using the configuration tool

m-leonoff avatar Nov 17 '23 22:11 m-leonoff

I would also like this to be added

PepperJackExA avatar Jan 11 '24 05:01 PepperJackExA

So any chances of this coming to life?

m-leonoff avatar Jan 11 '24 23:01 m-leonoff

Not possible on Windows given the system user that AMP runs under normally on that platform.

I played around with it on Linux (obv with Wine) and iirc it worked but it's not great since Torch starts a separate process for the server but AMP can't manage it.

Greelan avatar Jan 11 '24 23:01 Greelan

have you tried the nogui mode? i can msg Bishbash777 see if he could help make a workaround it only really needs to have a plugin in your torch server that can communicate with your api

Bitenode avatar Jan 13 '24 23:01 Bitenode

So from the Torch github - https://github.com/TorchAPI/Torch/issues/449

This was the original issue with Torch running as the network service just immediately shutting down. Torch could theoretically work with AMP now utilizing whatever development build you already have there @Greelan (if that was the problem in the first place given the NETWORK SERVICE user being non-interactive).

southnode avatar Mar 26 '24 04:03 southnode

The server complains about being run as a service

Greelan avatar Mar 26 '24 04:03 Greelan

Right, I've looked at the commit now. I see they've made a change to address the parent process being a service. Will test if this fixes the previous issue in AMP

Greelan avatar Mar 26 '24 07:03 Greelan

Derp, that commit was only 4 days ago and hasn't made it into a build yet

Greelan avatar Mar 26 '24 07:03 Greelan

Actually, it seems it has, last build was a day ago.

But still:

Cannot start service from the command line or a debugger. A Windows Service must first be installed (using installutil.exe) and then started with the ServerExplorer, Windows Services Administrative tool or the NET START command.

Greelan avatar Mar 26 '24 08:03 Greelan