S
S
spectralwhite2021-08-10 22:18:42
Steam
spectralwhite, 2021-08-10 22:18:42

How to run an application through steamcmd?

There is a game on Steam for which you can raise a server. After installing Steam and the game, replacing the launcher with the server manager in the game, you can raise the game server.
In any OS of the Windows family, including Windows Server in which the Steam client is running, the server is working properly. But on a Windows Server without a GUI, you cannot install the Steam client, but you can install steamcmd in order to raise the game server. The problem is that steamcmd refuses to run both the original game launcher and the changed server manager launcher, giving an error after entering the following command (where XXXXXX is the game ID):

app_run XXXXXX 
ERROR! AppId XXXXXX launch failed (Dependency failure)

After restarting steamcmd just once and running server manager, steamcmd gave the following error:
ERROR! AppId XXXXXX launch failed (Missing configuration)

but unfortunately I was not able to repeat it.

Just for reference: If you run the server manager via Steam on another PC, and at the same time try to run the server manager, steamcmd throws this error:
ERROR! AppId XXXXXX launch failed (Other session playing)


If you try to run the server manager directly, without using steamcmd, it gives an error:
[Steamworks.NET] SteamAPI_Init() failed. Verify Steam is running, that you have launched the game from steam, and
try again.

Which is more than logical since he needs Steam authorization.

It turns out that I need a Steam client through which I could run the server manager to raise the game server. The official steamcmd client for non-GUI OS is ideal for this role, but for some reason unknown to me, it refuses to perform its function.
I assume that steamcmd is designed exclusively for running servers and for specific games, and in my case it is required to run the server manager for a game that is "not in the list" of supported ones. To simplify the formula, then I need to launch the game through steamcmd. Apparently this script is not included in the steamcmd functionality so that players cannot use it to launch games, and use a full-fledged Steam.

I really hope that there is still a way to run the server manager through steamcmd, but there is very little documentation and information on the Internet.

According to the instructions, the game should be launched with the following command:
app_run <appId> [LaunchOptionIndex] [Arguments]
I use the command without [LaunchOptionIndex] [Arguments]

I don't know where to dig and what to do. At least take it and install Windows Server with a GUI while I don’t need it and everything can be simplified to the minimum set.

If someone wants to try this steamcmd on their own, you can install any game with the exception of those on the list of supported ones, which include at least the following:
  • Alien Swarm
  • Counter-Strike: Global Offensive
  • Counter-Strike: Source
  • Day of Defeat: Source
  • Dota 2
  • Garry's Mod
  • Half Life Dedicated Server
  • Half-Life 2: Deathmatch<
  • Left 4 Dead
  • Left 4 Dead 2
  • Team Fortress 2

After installing the game, it is enough that it starts with steamcmd. The main thing is to understand how to do it without the errors that I encountered.
As an option, an analogue of steamcmd is also suitable for me, but I did not find such, or I did not search well.

spoiler
В моём случае я устанавливал AppId 200110.


Thanks in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question