FORUM ARCHIVED

Hardcoded Save/character deletions

Discussion in 'Bugs' started by Smithy64, Oct 30, 2011.

  1. Smithy64

    Smithy64 Member

    Dunno if this is a bug or a "feature."

    I'm playing through on my 6th mage on GR/PD - the previous 5 died to various happenings, mostly me playing my first mage characters on GR and not knowing the ins and outs of magery on DoD. That's ok, I played PD for a reason.

    I've got my (latest) mage on level 3 and decide I want to do some gameplay testing with this character before moving on. I know that with what I'm doing (mob sight lines/distances after aggro) that there's a decent chance the character would die. So I make a savegame backup and then start the game. I'm playing around with Octos on level 3 and sure enough, the character gets killed - no biggie, I wasn't trying to stay alive and I wasn't trying to kill them. I *needed* them alive if I was going to learn anything.

    So imagine my surprise when I paste in the char-name.sav file into the savegames folder and start the game...and no save game shows up. Ugh. I try uninstalling the whole game, deleting all the game files, and reinstalling...to no avail.

    Sigh. Dunno how or why, but apparently there's a hardcoded delete when a character dies...even if you have a save backup. Anyone have any idea how I can rescue this save? Registry edit perhaps? Otherwise I'm probably done with this game...tired of the "little" glitches, the minor bugs that grate on my nerves. Golem pets are terrible in this regard. I just can't bear starting another character dealing with the glitches through the early char life.

    And, for the record, Octos can see and cast on you even if you are 3/4 of a screen away and behind a single wall tile - a real one, not a golemancy one. Anything more and they act normally - can't cast on you.
     
  2. Daynab

    Daynab Community Moderator Staff Member

    Don't quote me on this but I'm pretty sure you need to copy-paste the other files as well. Only the character name wont cut it.

    edit: not that I condone save scumming in a roguelike. If you want to play without permadeath, uncheck permadeath :)
     
  3. J-Factor

    J-Factor Member

    loadsave.dat determines which save files are currently active, presumably so the game doesn't need to search the directory.

    To fix it you can either edit your loadsave.dat manually or 'recreate it' by creating a new game with the same hero name and then replacing the .sav file.

    If you want to edit it manually the format is simple. The first line is the number of active save files. Every subsequent line describes a save file. Here's an example loadsave.dat for 2 save files:
    Code:
    2
    Viking.sav
    Viking the Smith
    on Floor 3 of The Sauna Of Despair
    2
    7
    19
    24
    27
    29
    32
    autosave.sav
    Viking the Smith
    on Floor 2 of Moonbase Dredmor-Alpha
    2
    7
    19
    24
    27
    29
    32
    The numbers following the floor/room text are just the skill numbers shown on the save preview.
     
  4. Smithy64

    Smithy64 Member

    Thanks Daynab & J-Factor. I'll try that later tonight and promptly forget it. :D

    And no more goofing off on an active character!