Bay 12 Games Forum

Dwarf Fortress => DF General Discussion => Topic started by: Rollory on August 22, 2006, 07:42:00 am

Title: Moving savefiles, corrupting games
Post by: Rollory on August 22, 2006, 07:42:00 am
So, I had DF installed on two different computers, home and work.  At home I had games saved as region1, region3, region4, and region5.  At work I had one game going as region4.  Decided I wanted to try taking the work game home.  So I brought the region4.sav and region4 folder home, and on my home install, I renaemd the existing region4 to region2, for both .SAV and folder.  Then I copied my other region4 in.  Tried loading it up: everything looked fine.  Played for several hours, saved.  

Now, when I tried to load it up, I have two instances in the list of my region4 fortress - one is the copy as it was when I saved at work, one is as it was after the several hours of play at home.  Looking in the files, it looks like it saved the later .SAV overtop of region5 - so now I have a region5.sav that goes with the files in the region4 folder, and the files in the region5 folder are for a .SAV file that doesn't exist anymore, and the region4.sav is not the most recent save.

I have not tried renaming folders and files again to try to get things to match up properly again.  Should I?  I was thinking I could try copying my more recent save to a new region6, and restoring the original region5, and see if that works.  Not sure I want to mess with it until I know it should be working.

I would have expected what I did originally to work - I didn't see anything that looked like a master index of saved games.  I have backed up that save folder, will probably just nuke the folder itself and start from scratch for now.

Title: Re: Moving savefiles, corrupting games
Post by: Toady One on August 22, 2006, 12:04:00 pm
The id numbers are stored internally as well - renaming files doesn't change that.  When you resave, it will revert to its original number, but will be confused when some of the unchanged files from the region folder aren't there, and the unit chunks might be all mixed up.

As far as what it should actually be trying to do, I suppose it should try to use the filename it had when you loaded it to search for its appropriate folder.