View Single Post
Old 07-14-20, 05:55 AM   #54
telephono
Swabbie
 
Join Date: Jan 2014
Posts: 5
Downloads: 355
Uploads: 0
Support How to install this mod for non-Steam users

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.

First, delete the Mods folder. We will create a link to the Steam workshop folder, instead.

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
MKLINK /J Mods C:\SteamCMD\steamapps\workshop\content\494840
That's it. The Real TDC Mod should now be available in your non-Steam UBOAT.

Last edited by telephono; 06-07-21 at 08:29 AM. Reason: Link the entire Steam workshop folder for UBOAT, instead of single mods
telephono is offline   Reply With Quote