7 Days to Die

7 Days to Die

Not enough ratings
Export Base to New Map - How Not to Lose Save Game
By burialfaith
This guide provides tutorial for exporting a base built on an old save game to a new map. It aims to prevent players from losing progress when Devs release a major update. (Ex: Alpha > Beta ; Beta 1.4 > 2.0).
   
Award
Favorite
Favorited
Unfavorite
Part 1 - Select and Export Base
***Make sure to save your map which is located in C:\Windows\Users\Name\AppData\Roaming\7DaysToDie\Saves\ before exporting your base***

Via Steam set 7D2D files to work with the correct alpha/beta version of your past save game. (Click “Library” > right click the game > click “Properties…” > Click “Betas” and next to “Beta Participation” Chose the previous game version that fits the save game from which you want to export your base.

Load the save game in which you want to export your base and go around your base. Press “F1” to open the console and type in “dm” (for debug mode). You might want to press “Esc” and check “God mode” to move through the ground and select the bottom of your base (if applicable). (In god mode, “C” and “space” will allow you to move upwards of downwards respectively). In game, press “z” button to set a blue cube at one corner of the base (press “backspace” to remove / reset it). (1) (See picture below).



Move to the opposite corner of your base; past through the base (diagonaly). Press “z” again to define “X” and “Z” axis (wide and depth respectively). A blue square should be around the base. (1) (See picture below).



Hold shift+G and an X, Y and Z axis icon should appear. Click and hold the Y+ axis (green) and move it up to delimit the height of the base. Do the same with the Y- axis to delimit how far below the initial blue square is the base built beneath. (1)





Once the borders of the blue cube are all set (which will delimit which cubes to save to create a POI for the base), press “Esc” button then click on “Export Prefab”. Give the Prefab item a name and click on “Save Locally”. (1)
Part 2 - Import Base to a New Map
Exit the game. Via Steam, set 7D2D files for the latest game version (Beta Participation above set to “None”). Generate a new map and save it. From 7D2D main menu click the “Editing Tools” section then click on “World Editor…”. Select the map to import the previous base / POI / prefab just created and click “Start”.

To delete a POI, first, click on the POI’s green box with its name on it to select it (its color will change) then press “Esc” and click on the top right most icon named “Prefab Browser” then click on delete. Now you can place your base/prefab where the previous POI existed or at a chosen area. (2)

If the base was imported from a previous game version, you should run two commands at this point (from within the “World Editor”). Via console (F1) type “prefabupdater loadtable” press enter and type “prefabupdater updateblocks” and press enter. This should load an index of blocks and do a convert or their names, IDs etc to the new block version. (3)

Press “Z” button to set a blue cube on the ground around where you want to import your base then press “K” button and select “Dynamic Prefab”. Now browse prefabs, locate and select your base then click on “Place”. Then, still hold shift+G then click “C” or “space” button to lower or increase the position of the base until it fits with the ground level. While holding shift+G you can press “A”, “S”, “D” and “W” key to move laterally your base. For rotation, press “X” button. Once the base is at the right position press “Esc”, click on “Prefab Browser” and click “Apply”. Press “Esc” click on “Save” (on the left menu this time) then click on “Exit”. (4)

Now load your save game normally for the edited world. If you were already standing at the location of base import move towards where it should be and you will see a display of its name in-game, but the base will be transparent at this point. If you created the base to a location that you never set the foot in then reaching that area will have the base auto-reveal itself as you move closer to it. In the case where the base is transparent press “F1” and type CR (for chunk reload) and the base should now appear. (4)
Part 3 - Items, World Clock & Character Level "Restoration"
Items: Pressing "F1" to open the console then typing in "cm" and pressing enter will add that extra menu, when pressing "Tab", which has a light bulb icon and is named "Creative". From that menu, you can add items back to your inventory.

World Clock: From console, typing "dm" and pressing enter will allow to adjust game day number when pressing "Esc". Typing in console "settime [day hh mm]" will allow to set game day above 50. Ex: "settime 103 12 00" (for day 103 lunch time).

Character Level: in console, type in "giveselfxp n" and press enter. (Replace "n" with a number). Ex: "giveselfxp 1000000" .

For resuming Quest tier, I doubt "cm" and "dm" will help with it. Also, resources melted in forge seems to be lost and can't be recovered.

Enjoy old bases on new saves!