View Single Post
Old 01-10-21, 11:00 AM   #61
JconradH
Swabby
 
Join Date: Feb 2003
Location: Michigan
Posts: 41
Downloads: 219
Uploads: 0


Default

Thank you for this!!

Jeff

Quote:
Originally Posted by telephono View Post
To install this mod in non-Steam UBOAT you need to download and set up SteamCMD.


SteamCMD can be downloaded here: https://developer.valvesoftware.com/...ading_SteamCMD

We need to extract the steamcmd.exe into it's own directory.


Let's asume we use the following directory:
Code:
C:\SteamCMD
C:\SteamCMD\steamcmd.exe
steamcmd.exe can be run from the Command Prompt but let's create a batch file instead so we can update the mod later with a few simple clicks.


Create a batch file update_mods.bat in the same directory you put the steamcmd.exe
Code:
C:\SteamCMD
C:\SteamCMD\steamcmd.exe
C:\SteamCMD\update_mods.bat
with the following content:

Code:
steamcmd +login anonymous +workshop_download_item 494840 2282199115 +quit
This runs SteamCMD and does the following things:
  • login anonymous - We don't need to login with a real user to download workshop items
  • workshop_download_item <app id> <workshop item id> - Download the specified workshop item
  • quit - Quit SteamCmd
Okay, so now let's run our update_mods.bat batch file. It should take a while to update SteamCMD. This will add a lot of files into our directory. After updating itself, it will download the Real TDC mod.

The Real TDC mod will be downloaded into the following directory:
Code:
C:\SteamCMD\steamapps\workshop\content\494840\2282199115\
Now the only thing left is to copy this directory into the UBOAT Mods folder.
For UBOAT from GOG.com the Mods folder is located here:
Code:
C:\Users\<username>\AppData\LocalLow\Deep Water Studio\UBOAT\Mods\
But let's not copy the Real TDC mod folder from SteamCMD into the UBOAT Mods folder but rather create a link (or Directory Junction like Windows likes to call it) to save some disk space and avoid copying the folder everytime the mod was updated through SteamCMD.


Open a Command Prompt and use the following commands to go into the UBOAT Mods folder and create a junction to the Real TDC Mods folder inside SteamCMD directory structure:
Code:
CD %APPDATA%\..\LocalLow\Deep Water Studio\UBOAT\Mods
MKLINK /J TheRealTDC C:\SteamCMD\steamapps\workshop\content\494840\2282199115
That's it. The Real TDC Mod should now be available in your non-Steam UBOAT.
JconradH is offline   Reply With Quote