arkso icon indicating copy to clipboard operation
arkso copied to clipboard

Program closes suddenly: Server location differ from steamcmd subfolders

Open ForgetfulJones opened this issue 4 years ago • 13 comments

I saw Dunadanlk's closed issue, I wish he'd posted whatever goof he'd fixed, I've likely done the same thing.

Vanilla fresh install, just ran through steamcmd install (c:\steamcmd), force install dir .\arkserver and app_update. I run arkso, point it to c:\steamcmd\steamcmd.exe and all seems well. when I click start server, arkso disappears, nothing else happens, and I find this in logs.txt:

3:30:38 PM Monday, May 4, 2020
|--- ERROR: The system cannot find the file specified
-------------------------------

ForgetfulJones avatar May 04 '20 22:05 ForgetfulJones

Could you provide me the string into "%localappdata%\ARK Server Organiser\conf\steamcmd.aso" file ? I think you choose the wrong path.

CrackyStudio avatar May 05 '20 10:05 CrackyStudio

C:\SteamCMD\steamcmd.exe

.... and thank you for your response.

ForgetfulJones avatar May 05 '20 17:05 ForgetfulJones

Are you sure at this location the steamcmd.exe file exists? If yes and if you want, for faster resolution we can solve it via screen share on Discord.

CrackyStudio avatar May 06 '20 08:05 CrackyStudio

I'm positive that it does. Well, I appreciate you answering. I'll just keep poking at it.

ForgetfulJones avatar May 06 '20 15:05 ForgetfulJones

Try to use my configuration files, replace your folder "conf" into "%localappdata%\ARK Server Organiser" with mine after .zip extraction.

CrackyStudio avatar May 07 '20 06:05 CrackyStudio

I had a quick look first, and I can tell you that's not going to help (though I still appreciate the effort).

For example, your SteamCMD.aso points to d:\steamcmd\steamcmd.exe and steamcmd's installed on c: on my machine (there isn't even a d:)

By sheer coincidence, I ran just now FROM c:\steamcmd\arkserver\shootergame\binaries\win64 (instead of c:\steamcmd) and it started working fine. I guess I expected arkso to be able to find the server directory if given the path to steamcmd. Perhaps for the clueless out there, you could explicitly put "Arkso needs to be started from the same path as the server executable." in the readme?

ForgetfulJones avatar May 07 '20 16:05 ForgetfulJones

Oh you're right, that's a big mistake from my side! I missed that, I will fix this in next release. I'll probably release an hotfix to solve major bugs like this one. Thanks for your investigation!

CrackyStudio avatar May 07 '20 16:05 CrackyStudio

After some researches into my code, I can confirm ARKSO find by itself the server and don't need to be started from the same path.

On my computer, I run ARKSO from "D:\Downloads" and steamcmd is installed here "D:\SteamCMD" and everything is ok even with a fresh (re)install.

It uses steamCMDPath + " \\steamapps\\common\\ARK Survival Evolved Dedicated Server\\ShooterGame\\Binaries\\Win64\\ShooterGameServer.exe" where steamCMDPath is the string into steamcmd.aso conf file (with exe name removed).

When you use steamcmd, ShooterGameServer.exe will always have the same location, so I'm not sure from where the problem come from.

It should works from your side, could you provide more info about how you make it fails and works?

CrackyStudio avatar May 12 '20 13:05 CrackyStudio

I'm having a similar issue. I think it's because my ARK installation is not in a sub-folder of the SteamCMD path. I followed the instructions on the Dedicated_Server_Setup and it gave the option to force_install_dir <install_dir>. In my case I have SteamCMD in E:\SteamCMD and ARK in E:\ArkServer\ShooterGame\Binaries\Win64\ShooterGameServer.exe.

ktannert avatar May 18 '20 22:05 ktannert

I think it's because my ARK installation is not in a sub-folder of the SteamCMD path. I followed the instructions on the Dedicated_Server_Setup and it gave the option to force_install_dir <install_dir>.

This appears to be confirmed. I installed the ARK Dedicated Server without the custom install directory and it started just fine with ARKSO.

ktannert avatar May 19 '20 05:05 ktannert

Thank you for your time! I didn't know we could install servers (ark, csgo, ...) outside the SteamCMD folder! Now I understand the problem with ARKSO and I'll work on it as soon as possible!

CrackyStudio avatar May 19 '20 05:05 CrackyStudio

Hey! I am running into the same issue currently, I am going to rearrange everything so ARK server directory is within steamcmd. How can I clear ARKSO data so that it asks me for steamcmd location again? I was able to fix it by using ARKSO Update server (it looked in the directory it wanted it and installs, which is fine for me) but it may be easier for others in this position to just move steamcmd to their drive with ARKserver and move ARK into its subdirectory. Since steamcmd is much smaller than ARK.

Edit- Sorry, I see it in the Wiki now, my fault! Thank you!

Mentor1337 avatar Nov 09 '20 18:11 Mentor1337

Hey! I am running into the same issue currently, I am going to rearrange everything so ARK server directory is within steamcmd. How can I clear ARKSO data so that it asks me for steamcmd location again? I was able to fix it by using ARKSO Update server (it looked in the directory it wanted it and installs, which is fine for me) but it may be easier for others in this position to just move steamcmd to their drive with ARKserver and move ARK into its subdirectory. Since steamcmd is much smaller than ARK.

Edit- Sorry, I see it in the Wiki now, my fault! Thank you!

may actually just work with a symbolic link at that location within steamcmd that just points to the ark server, it worked for me

tebrauer avatar Feb 16 '21 04:02 tebrauer