Chaosforge Forum

  • October 31, 2024, 16:07
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: DoomRL doesn't save anythng between sessions (2)  (Read 7444 times)

LuckyDee

  • Sound Wizard
  • Grand Inquisitor
  • General
  • *
  • *
  • Offline Offline
  • Posts: 1516
  • High Caliber Consecrator
    • View Profile
    • LuckyDeeIndustries
DoomRL doesn't save anythng between sessions (2)
« on: March 04, 2012, 23:55 »

This has already been discussed before, but I'm stuck with the same problem and the solution presented in the previous discussion (closing the game using the commands/menu instead of the window's X button) doesn't cut the mustard. The only thing that gets registered in my Player Info is the play time, all other counters remain at zero. Additionally when I restart the game, any/all save games are lost. I only started playing a day ago, so I might be missing some vital info. Do you need to fully complete a run (ie until death or [partial] victory) before any stats are saved? Are saved games supposed to be deleted upon quitting?

I've also gone through the config, but as with Generic, this got me nowhere. Any pointers, anyone? Thanks.
Logged
[0.9.9.7G] Current: Hell Knight 1st Lieutenant [20/12/4/0/0/0]
High: Arch-Vile Lt. Colonel [25/21/12/2/1/0]

ih8regin

  • Major
  • *
  • Offline Offline
  • Posts: 300
  • You dodge! The Cyberdemon dies.
    • View Profile
Re: DoomRL doesn't save anythng between sessions (2)
« Reply #1 on: March 05, 2012, 00:14 »

check file attributed on player.wad, in case there's a read-only flag set, clear it. Maybe it's just that. And, if it won't help, please post OS and version of DoomRL running (graphics or console, and number)
Logged
0.9.9.6: Cacodemon 2nd Lieutenant, wins 3|5|3|2|0, badges [22|17|7|1|0]
0.9.9.7: badges [21|17|17|10|1|wow,1], quest: UV each challenge (9/16)

LuckyDee

  • Sound Wizard
  • Grand Inquisitor
  • General
  • *
  • *
  • Offline Offline
  • Posts: 1516
  • High Caliber Consecrator
    • View Profile
    • LuckyDeeIndustries
Re: DoomRL doesn't save anythng between sessions (2)
« Reply #2 on: March 05, 2012, 00:17 »

All files are R/W enabled. I downloaded the most recent Graphics version this weekend, so that's 0.9.9.6, running on WinXP. Does that help?
Logged
[0.9.9.7G] Current: Hell Knight 1st Lieutenant [20/12/4/0/0/0]
High: Arch-Vile Lt. Colonel [25/21/12/2/1/0]

LuckyDee

  • Sound Wizard
  • Grand Inquisitor
  • General
  • *
  • *
  • Offline Offline
  • Posts: 1516
  • High Caliber Consecrator
    • View Profile
    • LuckyDeeIndustries
Re: DoomRL doesn't save anythng between sessions (2)
« Reply #3 on: March 05, 2012, 00:42 »

Additionally: the !readme in the mortem folder advises me to change settings in doomrl.ini, which didn't come with the game. Is the !readme reffering to the wrong file, or am I missing this file and is this the root of the problem?
Logged
[0.9.9.7G] Current: Hell Knight 1st Lieutenant [20/12/4/0/0/0]
High: Arch-Vile Lt. Colonel [25/21/12/2/1/0]

ih8regin

  • Major
  • *
  • Offline Offline
  • Posts: 300
  • You dodge! The Cyberdemon dies.
    • View Profile
Re: DoomRL doesn't save anythng between sessions (2)
« Reply #4 on: March 05, 2012, 00:44 »

ini files got replaced with lua files, that are technically being used as ini files. Check doomrl.lua, then.
Logged
0.9.9.6: Cacodemon 2nd Lieutenant, wins 3|5|3|2|0, badges [22|17|7|1|0]
0.9.9.7: badges [21|17|17|10|1|wow,1], quest: UV each challenge (9/16)

LuckyDee

  • Sound Wizard
  • Grand Inquisitor
  • General
  • *
  • *
  • Offline Offline
  • Posts: 1516
  • High Caliber Consecrator
    • View Profile
    • LuckyDeeIndustries
Re: DoomRL doesn't save anythng between sessions (2)
« Reply #5 on: March 05, 2012, 00:47 »

Must be config.lua, which I've already checked, was just about to post an update. Having set MortemArchive = true doesn't make the game save any mortem files either. Side effect of the same problem?
Logged
[0.9.9.7G] Current: Hell Knight 1st Lieutenant [20/12/4/0/0/0]
High: Arch-Vile Lt. Colonel [25/21/12/2/1/0]

ih8regin

  • Major
  • *
  • Offline Offline
  • Posts: 300
  • You dodge! The Cyberdemon dies.
    • View Profile
Re: DoomRL doesn't save anythng between sessions (2)
« Reply #6 on: March 05, 2012, 01:01 »

it looks like the game does not have permissions to write either file. Try unzipping fresh doomrl, clear read-only from folders and files within, and launch a game just for stats. Yes, also check if there's a difference from launching the executable directly from Windows Explorer and from a link.
Logged
0.9.9.6: Cacodemon 2nd Lieutenant, wins 3|5|3|2|0, badges [22|17|7|1|0]
0.9.9.7: badges [21|17|17|10|1|wow,1], quest: UV each challenge (9/16)

LuckyDee

  • Sound Wizard
  • Grand Inquisitor
  • General
  • *
  • *
  • Offline Offline
  • Posts: 1516
  • High Caliber Consecrator
    • View Profile
    • LuckyDeeIndustries
Re: DoomRL doesn't save anythng between sessions (2)
« Reply #7 on: March 05, 2012, 02:35 »

Tried all options, but to no avail. I'm starting to get the feeling my virus scanner might be messing things up...
Logged
[0.9.9.7G] Current: Hell Knight 1st Lieutenant [20/12/4/0/0/0]
High: Arch-Vile Lt. Colonel [25/21/12/2/1/0]

Game Hunter

  • Programmer
  • Local Inquisitor
  • Lieutenant General
  • *
  • *
  • Offline Offline
  • Posts: 1044
  • Looks like game to me.
    • View Profile
    • Channel, the Roguelike
Re: DoomRL doesn't save anythng between sessions (2)
« Reply #8 on: March 05, 2012, 08:48 »

Do you need to fully complete a run (ie until death or [partial] victory) before any stats are saved?
The game has to "end" in some manner, either by winning or by dying. A good rule of thumb is that you need to see the mortem screen appear in-game before you can expect anything to be saved to your player stats or high score. Using Q-Y to exit a game isn't enough.

Are saved games supposed to be deleted upon quitting?
Saved games are actually deleted the moment you load them: this is, if I'm not mistaken, typical roguelike saving behavior. You can save-scum (that is, copy the save file) before loading it, ensuring you have a backup.
Logged
I'm just a dude playing a dude disguised as another dude.

Latest LPs: Angband, Delver

LuckyDee

  • Sound Wizard
  • Grand Inquisitor
  • General
  • *
  • *
  • Offline Offline
  • Posts: 1516
  • High Caliber Consecrator
    • View Profile
    • LuckyDeeIndustries
Re: DoomRL doesn't save anythng between sessions (2)
« Reply #9 on: March 05, 2012, 12:58 »

Thanks, that cleared things up. Finally found the time to finish a run, and indeed my death caused stuff to get recorded. Thanks for the tip about saving as well; I think I can do w/o scumming, but now at least I know where I stand.
Logged
[0.9.9.7G] Current: Hell Knight 1st Lieutenant [20/12/4/0/0/0]
High: Arch-Vile Lt. Colonel [25/21/12/2/1/0]

dtsund

  • Supporter of Chaos
  • Corporal
  • *
  • *
  • Offline Offline
  • Posts: 53
  • Set Phasers to Hug
    • View Profile
Re: DoomRL doesn't save anythng between sessions (2)
« Reply #10 on: March 06, 2012, 19:22 »

Saved games are actually deleted the moment you load them: this is, if I'm not mistaken, typical roguelike saving behavior. You can save-scum (that is, copy the save file) before loading it, ensuring you have a backup.

I think this may actually be atypical in PC roguelikes; NetHack, Angband, and DCSS, at least, all keep the file around and just delete it on player death.  Presumably this is so the game can be recovered in the event of a game crash, power outage, or other such failure.  I'm not sure this is as necessary for DoomRL, though (losing an Angband save mid-game is rather more devastating than losing a DoomRL save, since it's so much longer).
Logged

skarczew

  • Elder
  • Major General
  • *
  • *
  • Offline Offline
  • Posts: 974
    • View Profile
Re: DoomRL doesn't save anythng between sessions (2)
« Reply #11 on: March 07, 2012, 05:58 »

I think this may actually be atypical in PC roguelikes; NetHack, Angband, and DCSS, at least, all keep the file around and just delete it on player death.
ADOM deletes the file upon loading the game.
Logged
Pages: [1]