Skip to content

Barotrauma Save Editor: How to Back Up and Edit a Campaign

Quick Answer

Back up the original campaign .save, edit a copy with a tool for your game version, then reload and verify one change. Use the built-in Submarine Editor for layout changes to a .sub file.

Choose the tool that matches the file you need to edit

Use a Barotrauma save editor for a single-player campaign change such as money, reputation, or crew data. Keep an untouched copy of the campaign's .save, make one small edit on a working copy, then load it in the game and verify the result. To change rooms, wiring, or equipment placement, use the built-in Submarine Editor with a .sub file. A multiplayer campaign belongs to the host or server and may also use a separate character-data file.

What you want to changeAppropriate toolWhat to verify first
Single-player marks, crew, or reputationA field editor that can read your campaign versionThe editor can display the current value correctly
Inspect the files inside your campaignA Barotrauma-specific decompressor or archive utilityIt recognizes the edition and extracts a valid gamesession.xml
Rework a boat's internal layoutBuilt-in Submarine EditorYou have a separate .sub file and the required content packages
Make a change to a co-op campaign you administerHost-side save tools with explicit multiplayer supportYou have the current server files, including accompanying character data if present

A browser field editor offers a graphical form. Game Save Lab describes its Barotrauma editor as single-player only, with browser-local processing. It advertises edits for marks, faction standing, crew skills, talents, equipment, submarines, repairs, and parts of the map. The developer's page is the source of those feature and processing claims. Published version text varies between page snapshots, so treat a readable test copy and a successful game reload as the checks for your particular build and mods.

The older ignis05/baro-save-editor project is archived. Its documentation advertises working with the owned submarine list, crew, and some single-player and multiplayer conversions. A conversion claim from that project needs independent validation for a new campaign. Barotrauma Compress by zkxs and Barotrauma Save Decompressor by Jlobblet are tools for opening and rebuilding the file container. You choose and edit the contents separately. A local decompressor works well for inspecting or backing up the data with no web editor involved.

Find the campaign's save folder

SystemTypical default location
Windows%LOCALAPPDATA%\Daedalic Entertainment GmbH\Barotrauma\
macOS~/Library/Application Support/Daedalic Entertainment GmbH/Barotrauma/
Linux~/.local/share/Daedalic Entertainment GmbH/Barotrauma/

The game derives its default location from the platform's local application data directory. If you configured a different path, look there first. Multiplayer saves use a Multiplayer subfolder in the corresponding root. Older installations can also have saves under Data/Saves. Check the modification time and campaign name, especially if you imported more than one version or play alongside a shared campaign. Match both to your most recent known save before copying anything.

If several files look similar, load the campaign and note its latest port, bank balance, and current submarine. Quit again before working on the files. Use these values to identify the right copy in an editor. On multiplayer, the player who connects to the lobby may have different local files from the authoritative save the owner uses to start the game. Do the backup and resulting verification on the machine that hosts it.

Understand what is inside a .save file

What is inside a Barotrauma campaign save?

Barotrauma's game code reads .save as a GZip stream containing game-specific file entries. A generic ZIP tool can fail to interpret those entries. The game source records each entry's file name and byte length, and developer sample campaigns contain gamesession.xml and one or more .sub records. An early Home & Harbor single-player fixture contains gamesession.xml and Orca2.sub. A later fixture also includes DAVKnuckleduster.sub. An older base-game fixture with a different seed contains the Dugong and Winterhalter. The file list depends on the campaign.

The XML contains campaign data, while the .sub files are submarine records for that save. If you unpack the container, keep the original entry names and all of the parts you are not editing. Use a Barotrauma-aware tool to repack the directory. Opening the decompressed data with a text editor is suitable for reading the session XML. Packing this XML alone or saving the files as a regular ZIP does not produce a loadable campaign.

Back up multiplayer saves as a set

The game's save utility handles backups for both the multiplayer main save and a separate character-data XML path. If you host, keep the companion file bearing the same campaign identity along with the original .save, plus the server's content package setup. Copy them as one set before you try any change. Keeping them together makes it possible to restore the world and player state in sync. If your chosen editor only accepts a single-player campaign, use it on single-player files.

Edit one single-player value and test it

  1. Quit the campaign and make an untouched backup. Copy the original file to a separate folder. Record the original file name and the game's version. Preserve the original mod list if you used any, because a missing content package can create its own load problems.
  2. Create a working copy. Choose a known field such as the campaign's bank balance and open the copy in an editor that advertises that field. If the balance, current vessel, or crew names look wrong on import, stop and compare them with the original in the game.
  3. Change a single field and export. Set a modest value you can identify after loading. This makes an unsuccessful edit easier to diagnose than changing several systems at once. Keep the original backup outside the active saves folder.
  4. Move the edited file into the correct folder with the game closed. Preserve the expected campaign name and .save suffix. A browser download may add a numerical suffix to avoid replacing a file, so check the actual name.
  5. Load from the campaign menu and compare results. Check the changed balance or standing, the active sub, and a few other known state values. For a change delivered after a round transition, verify it after the relevant round starts.

If the campaign is missing from the menu, check the folder, extension, and whether the file belongs to the right mode. If it appears but fails to load, restore the backup and confirm it loads under the same game and content packages. Try a different parser only after you establish the original can still load. Some edits to map state and faction quest variables can interact with other campaign flags. Test those one at a time on an expendable copy.

If you need to roll back, move the edited file out of the active folder first, then put your backup back under the exact original name while the game is closed. Confirm the old value after loading. This also gives you a way to compare your failed edit with the working original without creating two campaigns with the same display name.

Edit the submarine itself through the built-in editor

Use Submarine Editor from the main menu to change hulls, equipment placement, or wiring. If the boat only exists inside your save, extract the .sub record first and open a working copy in the editor. Save it under a new name and use the editor's test mode to check the change. Adding an edited boat to an existing fleet is a separate campaign operation. A standalone edit in the editor leaves the original campaign's embedded boat as it was.

The available developer samples support the file-structure examples. They do not establish live-client or third-party editor compatibility for each new expansion save. Keep the original for any progression you want to preserve. The official Submarine Editor reference covers the built-in editor, and the campaign guide explains how the stock campaign buys and switches boats.