Bay 12 Games Forum
Dwarf Fortress => DF General Discussion => Topic started by: hamlin on August 10, 2021, 02:39:36 pm
-
OK, I admit defeat. After several hours of scouring my system, I have located most of the data that I'm familiar with, (init, d_init, etc...) but I simply cannot locate the save data for my worlds.
Where does the Ubuntu package store that, please?
-
Couldn't you try running a search for "region1" or whatever?
-
Yep. I've done that. No results, even though I have two active worlds. Thanks, though.
-
I would guess the same place as on Lunbuntu (http://www.bay12forums.com/smf/index.php?topic=177713.0)
-
I would guess the same place as on Lunbuntu (http://www.bay12forums.com/smf/index.php?topic=177713.0)
Thread doesn't mention where save files are stored.
-
Not, specifically - but they're almost certainly in the /home/user/.config/dwarf-fortress/ which is mentioned.
-
Not, specifically - but they're almost certainly in the /home/user/.config/dwarf-fortress/ which is mentioned.
Could also be in "/usr/share/..."
-
Very unlikely, that is where the files common to all users are put. User specific files - like saves - are put in each users /home/user/.config/dwarf-fortress/. That's the whole point of having two places.
-
There are ways to list all the files which are accessed by a particular process. See the answers to this stackoverflow question (https://stackoverflow.com/questions/27428150/linux-track-all-files-accessed-by-process).
Try running lsof -p [PID]
(where [PID] is the ID of the Dwarf Fortress process) while saving or loading a fortress. There will probably be a lot of output but somewhere in there will be the save directory.
You can get the PID of DF from the System Monitor program, or with something like ps -ef | grep dwarf
-
There are ways to list all the files which are accessed by a particular process. See the answers to this stackoverflow question (https://stackoverflow.com/questions/27428150/linux-track-all-files-accessed-by-process).
Try running lsof -p [PID]
(where [PID] is the ID of the Dwarf Fortress process) while saving or loading a fortress. There will probably be a lot of output but somewhere in there will be the save directory.
You can get the PID of DF from the System Monitor program, or with something like ps -ef | grep dwarf
Thank you SO much.
For the record, the files were located in ~/.local/share/dwarf-fortress/run/data/saves.