Decompress and compress Barotrauma save files.
Many thanks to Undertow Games for writing the code that made this possible.
Microsoft .NET Core 3.1
Either build the project from source, or download a compressed executable from the latest release.
Run Barotrauma-Save-Decompressor.exe
.
To decompress a file, click the Browse button in the decompression (top) section. Navigate to the file's location, and select it. Then click Decompress. The resulting folder will be created in the same folder as the file selected, with the same name as the file.
To compress a folder, click the Browse button in the compression (bottom) section. Navigate to the location of the folder to compress, and select it. Then click Compress. The compressed file will be in the parent directory of that folder, with the same name and the file extension.
- Locate your save and decompress it.
- Open
gamesession.xml
. - Find the element called
AvailableSubs
. - Add the new submarine to the list.
- Save, close, compress.