Barotrauma

Barotrauma

View Stats:
Chimz Apr 17, 2023 @ 4:23pm
Can I edit the Submarine I'm currently using in campaign?
I've made a custom sub and have bought it in the campaign and been playing with it.

However, there might be some bug fixes I would like to do, regarding waypoints. Is it possible for me to edit the sub and have the changes apply in campaign, or am I stuck with it like this?
Last edited by Chimz; Apr 17, 2023 @ 4:44pm
Originally posted by CannonFodder:
download barotrauma save decompressor from github

decompress .save file (make a backup first) located here: C:\Users\*username*\AppData\Local\Daedalic Entertainment GmbH\Barotrauma

.sub file in the folder decompressor created is your current submarine

now go to *steam installation path*\steamapps\common\Barotrauma\LocalMods\ and create a folder "campaign sub", put .sub file there

in "campaign sub" folder create a new text file, open it with notepad, press file->save as-> name of the file: filelist.xml

open filelist.xml with notepad and add

<?xml version="1.0" encoding="utf-8"?> <contentpackage name="campaign sub" modversion="1.0.7" corepackage="False" gameversion="0.20.16.1"> <Submarine file="%ModDir%/*submarine name*.sub" /> </contentpackage>

change *submarine name* to the name of your submarine file, save the changes

load barotrauma, go to mods and activate "campaign sub", now you should be able to load it in editor

after editing submarine put .sub file back into decompressed folder (replacing the old .sub ) and use decompressor tool to compress the folder back to .save file
< >
Showing 1-7 of 7 comments
The author of this thread has indicated that this post answers the original topic.
CannonFodder Apr 17, 2023 @ 4:44pm 
download barotrauma save decompressor from github

decompress .save file (make a backup first) located here: C:\Users\*username*\AppData\Local\Daedalic Entertainment GmbH\Barotrauma

.sub file in the folder decompressor created is your current submarine

now go to *steam installation path*\steamapps\common\Barotrauma\LocalMods\ and create a folder "campaign sub", put .sub file there

in "campaign sub" folder create a new text file, open it with notepad, press file->save as-> name of the file: filelist.xml

open filelist.xml with notepad and add

<?xml version="1.0" encoding="utf-8"?> <contentpackage name="campaign sub" modversion="1.0.7" corepackage="False" gameversion="0.20.16.1"> <Submarine file="%ModDir%/*submarine name*.sub" /> </contentpackage>

change *submarine name* to the name of your submarine file, save the changes

load barotrauma, go to mods and activate "campaign sub", now you should be able to load it in editor

after editing submarine put .sub file back into decompressed folder (replacing the old .sub ) and use decompressor tool to compress the folder back to .save file
kratos Apr 17, 2023 @ 5:51pm 
You can use console to bring it into the sub editor. Or use a third party save editor to do the same. Either way I would create a back up of your save just in case.
Chimz Apr 18, 2023 @ 6:28pm 
Originally posted by CannonFodder:
download barotrauma save decompressor from github

decompress .save file (make a backup first) located here: C:\Users\*username*\AppData\Local\Daedalic Entertainment GmbH\Barotrauma

.sub file in the folder decompressor created is your current submarine

now go to *steam installation path*\steamapps\common\Barotrauma\LocalMods\ and create a folder "campaign sub", put .sub file there

in "campaign sub" folder create a new text file, open it with notepad, press file->save as-> name of the file: filelist.xml

open filelist.xml with notepad and add

<?xml version="1.0" encoding="utf-8"?> <contentpackage name="campaign sub" modversion="1.0.7" corepackage="False" gameversion="0.20.16.1"> <Submarine file="%ModDir%/*submarine name*.sub" /> </contentpackage>

change *submarine name* to the name of your submarine file, save the changes

load barotrauma, go to mods and activate "campaign sub", now you should be able to load it in editor

after editing submarine put .sub file back into decompressed folder (replacing the old .sub ) and use decompressor tool to compress the folder back to .save file


Thank you for the comprehensive answer! Whenever I ask questions here, I get short or half-assed answers with no description.

This step-by-step description REALLY saved me a lot of trouble. Thank you!


Also, quick question: Do I need to do anything about the gaps that are placed on damaged parts? The outside shell is damaged on some parts and there are Gaps placed there which the Editor warns me about.
Do I need to delete them or should I ignore them?

Edit for future readers: Don't touch the gaps. They are simply showing damages to the hull and parts. Messing with them can cause a crash so just avoid messing with them.
Last edited by Chimz; Oct 29, 2023 @ 12:46pm
Yachiru Aug 22, 2023 @ 12:43am 
Did this procedure kept all items in storage boxes and loosely on the ground where they were, was everything thrown in as if you bought a new sub and migrated items or how did it behave?
You could still get achievements after this procedure?
Chimz Aug 22, 2023 @ 5:44am 
Originally posted by Yachiru:
Did this procedure kept all items in storage boxes and loosely on the ground where they were, was everything thrown in as if you bought a new sub and migrated items or how did it behave?
You could still get achievements after this procedure?

Everything was the same, if something was in a container it stayed there in its exact slot, if it was on the ground it stayed there, and I got all my achievements with no problem. Did this on 3 campaigns with no problem.

You got nothing to worry about.
ArcadianEcho Apr 19, 2024 @ 5:16pm 
For me the name of campaign sub is in red and it wont load.

Originally posted by CannonFodder:
download barotrauma save decompressor from github

decompress .save file (make a backup first) located here: C:\Users\*username*\AppData\Local\Daedalic Entertainment GmbH\Barotrauma

.sub file in the folder decompressor created is your current submarine

now go to *steam installation path*\steamapps\common\Barotrauma\LocalMods\ and create a folder "campaign sub", put .sub file there

in "campaign sub" folder create a new text file, open it with notepad, press file->save as-> name of the file: filelist.xml

open filelist.xml with notepad and add

<?xml version="1.0" encoding="utf-8"?> <contentpackage name="campaign sub" modversion="1.0.7" corepackage="False" gameversion="0.20.16.1"> <Submarine file="%ModDir%/*submarine name*.sub" /> </contentpackage>

change *submarine name* to the name of your submarine file, save the changes

load barotrauma, go to mods and activate "campaign sub", now you should be able to load it in editor

after editing submarine put .sub file back into decompressed folder (replacing the old .sub ) and use decompressor tool to compress the folder back to .save file


I followed instructions to a tee but campaign sub is in red and wont load/
DarkMein Apr 18 @ 5:58am 
Originally posted by ArcadianEcho:
For me the name of campaign sub is in red and it wont load.

Originally posted by CannonFodder:
download barotrauma save decompressor from github

decompress .save file (make a backup first) located here: C:\Users\*username*\AppData\Local\Daedalic Entertainment GmbH\Barotrauma

.sub file in the folder decompressor created is your current submarine

now go to *steam installation path*\steamapps\common\Barotrauma\LocalMods\ and create a folder "campaign sub", put .sub file there

in "campaign sub" folder create a new text file, open it with notepad, press file->save as-> name of the file: filelist.xml

open filelist.xml with notepad and add

<?xml version="1.0" encoding="utf-8"?> <contentpackage name="campaign sub" modversion="1.0.7" corepackage="False" gameversion="0.20.16.1"> <Submarine file="%ModDir%/*submarine name*.sub" /> </contentpackage>

change *submarine name* to the name of your submarine file, save the changes

load barotrauma, go to mods and activate "campaign sub", now you should be able to load it in editor

after editing submarine put .sub file back into decompressed folder (replacing the old .sub ) and use decompressor tool to compress the folder back to .save file


I followed instructions to a tee but campaign sub is in red and wont load/
A bit late, experienced the same issue, you just need to change the game version on the filelist.xml file to the current game version that you can see on the lower left corner on main menu when opening the game
< >
Showing 1-7 of 7 comments
Per page: 1530 50