Page 1 of 1

Steam Mod Upload - Batch File Issue

Posted: Sun Feb 21, 2021 12:59 am
by R2G2
Hello All,

I've created a simple mod to upload to Steam for test purposes, and I've hit a wall with the batch file (specifically the file path... I think). The mod works properly with the Mod Manager and with actual game play. I suspect the batch file issue is something that I'm doing wrong due to lack of experience :oops: . See below for batch file text attempts and command prompt errors. Fake user name and password used in the below examples for obvious reasons.

Batch File Text 1
steamcmd.exe +login JohnDoe ABC123 +workshop_build_item C:\Users\Users\Desktop\metadata.vdf +quit

Batch File Text 1 Error
'steamcmd.exe' is not recognized as an internal or external command, operable program or batch file.

Batch File Text 2
builder\steamcmd.exe +login JohnDoe ABC123 +workshop_build_item C:\Users\Users\Desktop\metadata.vdf +quit

Batch File Text 2 Error
The system cannot find the path specified.

I've tried numerous paths and tried launching the batch file directly within the SteamCMD directory as an administrator with no luck. The attached file includes the metadata.vdf, but this was located on my desktop for these attempts (along with dozens of other attempts :cry: ). Full disclosure... I'm not a programmer, and this process has been a steep learning curve. I'm sure it's something simple, and I'll kick myself for days once I know the reason.

Please Help!

Re: Steam Mod Upload - Batch File Issue

Posted: Mon Feb 22, 2021 8:37 pm
by R2G2
Finally got it to work!
Below is the successful batch file text. I ended up placing the metadata.vdf in with the mod file (not sure if necessary) along with changing the file path for SteamCMD.

C:\SteamCMD\steamcmd.exe +login JohnDoe ABC123 +workshop_build_item C:\Users\Users\Desktop\STMods\SpanishAICheapReplacements\metadata.vdf +quit