WHDLoad MantisBT - Elfmania
View Issue Details
0005261Elfmania[All Projects] Generalpublic2021-06-24 13:552021-06-27 23:57
ReporterDJ Mike 
Assigned ToCFOU 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
ChipMem2 MB
FastMem32 MB
WorkbenchOS 3.0
KickROM39 - Kick 3.0
Summary0005261: Elfmania seems to be resaving (highscores?) constantly when playing. I use
DescriptionGameVersion: english,pal,2 disks
SlaveVersion: 2.0 (12.03.21)

Elfmania seems to be resaving (highscores?) constantly when playing. I use NOWRITECACHE by default so that WHDLoad immediately saves any progress to disk rather than waiting till exit. The screen keeps blanking when the game is loading something, which is quite disruptive. :-) Could it only resave when the highscores have changed instead?
TagsNo tags attached.
Attached Files

Paul Head   
2021-06-25 12:37   
I've had the same problem for years with this game, as I too use NOWRITECACHE. I thought there was some sort of problem with the slave and I hoped the newer version would fix it but now you've solved it for me...it's the NOWRITECACHE option. I've asked other people about whether they have had problems with this game and it was always a 'no'. I suppose there's only you and me who use NOWRITECACHE!
DJ Mike   
2021-06-25 12:49   
Could be sidestepped if WHDLoad let you specify WRITECACHE in icon tooltips to override WHDLoad.prefs - but right now no such command line argument exists.
Paul Head   
2021-06-25 21:25   
So we need a new local option WRITECACHE to re-enable the writecache, should it already be disabled globally via the NOWRITECACHE option in the WHDLoad.prefs file. Are you reading this Bert? Well spotted Mike.
DJ Mike   
2021-06-25 21:29   
(Last edited: 2021-06-25 21:31)
It's generally best if patches only save highscores when they actually change. I think it's still something that should be addressed in Elfmania's patch. But I would be happy with WRITECACHE as a fallback in case there are other installs like this. :-)

P.S. I'm happy to take a look at this myself too, but I wanted to pitch it to CFOU first, as it's his patch and he's still active.

Paul Head   
2021-06-25 21:31   
Come to think of it, Elfmania is not the only game with this problem (although probably the worst offender I can think of), so a WRITECACHE option would be beneficial in these cases.
2021-06-27 23:57   
i will look that

Issue History
2021-06-24 13:55administratorNew Issue
2021-06-24 13:55administratorStatusnew => assigned
2021-06-24 13:55administratorAssigned To => CFOU
2021-06-25 12:37Paul HeadNote Added: 0010435
2021-06-25 12:49DJ MikeNote Added: 0010436
2021-06-25 21:25Paul HeadNote Added: 0010437
2021-06-25 21:29DJ MikeNote Added: 0010438
2021-06-25 21:31DJ MikeNote Edited: 0010438bug_revision_view_page.php?bugnote_id=10438#r1427
2021-06-25 21:31Paul HeadNote Added: 0010439
2021-06-27 23:57CFOUNote Added: 0010463