dreamchaser

Newbie
Game Developer
Jan 8, 2020
88
110
I have a weird problem with Book 1 on Linux:
I have started a NewGame+ run (after having completed the game a few years back), and I notice that any settings that aren't save game specific get forgotten each time I restart the game:
- Fullscreen and Poker Hint toggles
- selected card back and wallpaper
- all Achievements, card back and wallpaper unlocks :-(

Anything save game specific works fine, but the game forgetting achievements and unlocks is really dispiriting. I have tried this with both the Steam Version and with it downloaded from here (version 1.6.11f) - identical behavior. I don't remember any such problems when I played the game a few years back.
Am I doing something wrong? Is there something you'd like from me to be able to help narrow the problem down?
 

Droid Productions

[Love of Magic & Morningstar]
Donor
Game Developer
Dec 30, 2017
7,342
18,903
I have a weird problem with Book 1 on Linux:
I have started a NewGame+ run (after having completed the game a few years back), and I notice that any settings that aren't save game specific get forgotten each time I restart the game:
- Fullscreen and Poker Hint toggles
- selected card back and wallpaper
- all Achievements, card back and wallpaper unlocks :-(

Anything save game specific works fine, but the game forgetting achievements and unlocks is really dispiriting. I have tried this with both the Steam Version and with it downloaded from here (version 1.6.11f) - identical behavior. I don't remember any such problems when I played the game a few years back.
Am I doing something wrong? Is there something you'd like from me to be able to help narrow the problem down?
That's a weird one.

Might be caused by saving/loading filenames being different for Book 1 / NG+ builds, I'll have a look.
 

a1fox3

Loving Family Member's
Donor
Respected User
Aug 8, 2017
24,465
16,965
I have a weird problem with Book 1 on Linux:
I have started a NewGame+ run (after having completed the game a few years back), and I notice that any settings that aren't save game specific get forgotten each time I restart the game:
- Fullscreen and Poker Hint toggles
- selected card back and wallpaper
- all Achievements, card back and wallpaper unlocks :-(

Anything save game specific works fine, but the game forgetting achievements and unlocks is really dispiriting. I have tried this with both the Steam Version and with it downloaded from here (version 1.6.11f) - identical behavior. I don't remember any such problems when I played the game a few years back.
Am I doing something wrong? Is there something you'd like from me to be able to help narrow the problem down?
As Dorid says its your very old save game that maybe doing it to you.

If I was you I would start over with the book 1 game through book 3 then start a new book 1 NG+ game and you should be fine.
I have had no problems with my saves and have went though 12 NG+ games on this playthrough.
I am also on Windows 11 and that may have something to do with my game running as it should.
I have never used Linux so have no idea if its the OP system doing it or what.
 

dreamchaser

Newbie
Game Developer
Jan 8, 2020
88
110
As Dorid says its your very old save game that maybe doing it to you.

If I was you I would start over with the book 1 game through book 3 then start a new book 1 NG+ game and you should be fine.
I have had no problems with my saves and have went though 12 NG+ games on this playthrough.
I am also on Windows 11 and that may have something to do with my game running as it should.
I have never used Linux so have no idea if its the OP system doing it or what.
I really don't think it depends on whether or not I do a new play through. I mean, it happens if I start the game up, enable full screen, close it again and restart: The fullscreen toggle is disabled again. But no old save game was ever loaded! If that works for others, I think it's much likelier that the Linux version is the culprit. So using Windows emulation via Steam should be a simple workaround. I'd just have to figure out how to get my save games in there (I assume it would not automatically find them in that case). Because I absolutely don't want to replay all three books before starting a NewGame+ run!

But before any workarounds, maybe I can be helpful in getting the bug fixed, by supplying information, or by testing a fix? Always possible that it's something weird on my system instead, but saving and loading save files works fine. It's just game wide information that resets...

An example for checking on my side would be that if I knew the path where the game saves its achievements, I could verify there are no permission problems for that file.
 
Last edited:

a1fox3

Loving Family Member's
Donor
Respected User
Aug 8, 2017
24,465
16,965
I really don't think it depends on whether or not I do a new play through. I mean, it happens if I start the game up, enable full screen, close it again and restart: The fullscreen toggle is disabled again. But no old save game was ever loaded! If that works for others, I think it's much likelier that the Linux version is the culprit. So using Windows emulation via Steam should be a simple workaround. I'd just have to figure out how to get my save games in there (I assume it would not automatically find them in that case). Because I absolutely don't want to replay all three books before starting a NewGame+ run!

But before any workarounds, maybe I can be helpful in getting the bug fixed, by supplying information, or by testing a fix? Always possible that it's something weird on my system instead, but saving and loading save files works fine. It's just game wide information that resets...
It sounds like the computer has some kind of protection on the folder or files in the folder that is not allowing you to change it.
I don't know where the saves are keep in Linux but you may need to delete all of them and start from scratch.

Unless Droid Productions has found a problem in the way Linux does it then it sounds like your computer is not allow the file to be changed.
Like I said I have had no problem at all about this but I am on Windows 11 and it works just fine for me.
 

Droid Productions

[Love of Magic & Morningstar]
Donor
Game Developer
Dec 30, 2017
7,342
18,903
It sounds like the computer has some kind of protection on the folder or files in the folder that is not allowing you to change it.
I don't know where the saves are keep in Linux but you may need to delete all of them and start from scratch.

Unless Droid Productions has found a problem in the way Linux does it then it sounds like your computer is not allow the file to be changed.
Like I said I have had no problem at all about this but I am on Windows 11 and it works just fine for me.
The save folder should be here:
PC: %USERPROFILE%/AppData/LocalLow/Droid Productions/Love of Magic
Mac:
Saves: ~/Library/Application Support/Droid Productions/Love of Magic
Player.log: ~/Library/Logs/Droid Productions/Love of Magic/Player.log
Linux: $XDG_CONFIG_HOME/unity3d/Droid Productions/Love of Magic
SteamDeck: /home/deck/.config/unity3d/Droid Productions/Love of Magic
 

dreamchaser

Newbie
Game Developer
Jan 8, 2020
88
110
The save folder should be here:
PC: %USERPROFILE%/AppData/LocalLow/Droid Productions/Love of Magic
Mac:
Saves: ~/Library/Application Support/Droid Productions/Love of Magic
Player.log: ~/Library/Logs/Droid Productions/Love of Magic/Player.log
Linux: $XDG_CONFIG_HOME/unity3d/Droid Productions/Love of Magic
SteamDeck: /home/deck/.config/unity3d/Droid Productions/Love of Magic
My saves under Linux are at: ~/.config/unity3d/Droid Productions/Love of Magic/

- Renamed that folder, started the game, verified my saves are gone: check
- Toggled Fullscreen on and Poker Hints off, started a new game, quicksaved, quit LoM
- Started LoM again: Fullscreen toggle is off again, and the Poker Hints one is on; quick load works -> it still obviously does not save anything not save game specific

Folder content:
~/.config/unity3d/Droid Productions/Love of Magic$ ls -l
total 88
-rw-rw-r-- 1 <username> <username> 19691 Feb 1 08:22 Player.log
-rw-rw-r-- 1 <username> <username> 19966 Feb 1 08:22 Player-prev.log
-rw-rw-r-- 1 <username> <username> 976 Feb 1 08:22 prefs
-rw-rw-r-- 1 <username> <username> 18885 Feb 1 08:22 quick.ng1
-rw-rw-r-- 1 <username> <username> 16907 Feb 1 08:22 start_conversation.ng1
-rw-rw-r-- 1 <username> <username> 3102 Feb 1 08:22 system.ngp1

So if global settings are saved in this folder, it definitely isn't an issue of permissions or old save file names. If my test wasn't sufficient, please tell me how and what I should test.
There are no warnings or errors in the Player.log.

Edit: To make my check more reliable, I quickly played until the first Morning in the Crawley, so that I have access to the computer in the bedroom. I have verified that the wallpaper resets on game reload, as before.
 
Last edited:

Droid Productions

[Love of Magic & Morningstar]
Donor
Game Developer
Dec 30, 2017
7,342
18,903
My saves under Linux are at: ~/.config/unity3d/Droid Productions/Love of Magic/

- Renamed that folder, started the game, verified my saves are gone: check
- Toggled Fullscreen on and Poker Hints off, started a new game, quicksaved, quit LoM
- Started LoM again: Fullscreen toggle is off again, and the Poker Hints one is on; quick load works -> it still obviously does not save anything not save game specific

Folder content:
~/.config/unity3d/Droid Productions/Love of Magic$ ls -l
total 88
-rw-rw-r-- 1 <username> <username> 19691 Feb 1 08:22 Player.log
-rw-rw-r-- 1 <username> <username> 19966 Feb 1 08:22 Player-prev.log
-rw-rw-r-- 1 <username> <username> 976 Feb 1 08:22 prefs
-rw-rw-r-- 1 <username> <username> 18885 Feb 1 08:22 quick.ng1
-rw-rw-r-- 1 <username> <username> 16907 Feb 1 08:22 start_conversation.ng1
-rw-rw-r-- 1 <username> <username> 3102 Feb 1 08:22 system.ngp1

So if global settings are saved in this folder, it definitely isn't an issue of permissions or old save file names. If my test wasn't sufficient, please tell me how and what I should test.
There are no warnings or errors in the Player.log.

Edit: To make my check more reliable, I quickly played until the first Morning in the Crawley, so that I have access to the computer in the bedroom. I have verified that the wallpaper resets on game reload, as before.
All global settings (like the wallpaper, etc) is stored in system.sav.

Hmmm... are you on Steam? Cloudsynch can sometimes mess with you, especially if you play across multiple devices. You can disable it if you find it causing trouble.
 
  • Like
Reactions: Warscared

dreamchaser

Newbie
Game Developer
Jan 8, 2020
88
110
All global settings (like the wallpaper, etc) is stored in system.sav.

Hmmm... are you on Steam? Cloudsynch can sometimes mess with you, especially if you play across multiple devices. You can disable it if you find it causing trouble.
Steam is not running. I tried downloading the Steamversion (since I already own it), to see whether the problem appears there or not. Since there wasn't any difference, I switched back to the version downloaded from this site. Since Steam isn't running, cloud saves can't be the culprit.

As can be seen from the folder content, the saves have the ending ".ng1", not ".sav", but a "system.ngp1" file is there and does get rewritten on starting LoM. However, it does NOT get rewritten when I quit the game (timestamp does not update)!

This can be seen nicely from when I played for a few minutes this morning:

-rw-rw-r-- 1 <username> <username> 56812 Feb 1 08:44 quick.ng1
-rw-rw-r-- 1 <username> <username> 56240 Feb 1 08:44 start_conversation.ng1
-rw-rw-r-- 1 <username> <username> 3013 Feb 1 12:38 system.ngp1

->The quicksave quick.ngq is a few minutes newer than system.ngp1
I don't want to attach the player-prev.log (timestamp 08:45, from my test this morning), since it contains identifying information. But there aren't any errors visible. The last lines in that file are:
[ALLOC_TYPETREE] Dual Thread Allocator
Peak main deferred allocation count 0
[ALLOC_BUCKET]
Large Block size 4.0 MB
Used Block count 1
Peak Allocated bytes 4.0 MB
Failed Allocations. Bucket layout:
16B: 2 Subsections = 2048 buckets. Failed count: 12015
32B: 8 Subsections = 4096 buckets. Failed count: 145738
48B: 15 Subsections = 5120 buckets. Failed count: 27374
64B: 209 Subsections = 53504 buckets. Failed count: 167729
80B: 15 Subsections = 3072 buckets. Failed count: 3959
96B: 3 Subsections = 512 buckets. Failed count: 5487
112B: 2 Subsections = 292 buckets. Failed count: 128916
128B: 2 Subsections = 256 buckets. Failed count: 10166
[ALLOC_TYPETREE_MAIN]
Peak usage frame count: [8.0 KB-16.0 KB]: 176 frames, [16.0 KB-32.0 KB]: 671 frames
Requested Block Size 2.0 MB
Peak Block count 1
Peak Allocated memory 27.8 KB
Peak Large allocation bytes 0 B
[ALLOC_TYPETREE_THREAD]
Peak usage frame count: [32.0 KB-64.0 KB]: 176 frames, [0.5 MB-1.0 MB]: 88 frames, [1.0 MB-2.0 MB]: 583 frames
Requested Block Size 2.0 MB
Peak Block count 1
Peak Allocated memory 1.8 MB
Peak Large allocation bytes 0 B
To me it looks as if the game just fails to write out a new system.ngp1 when exiting. Maybe a game crash during shutdown?

Edit: If this is really happening due to a silent crash while shutting down, and the game only writes out a new system.ngp1 when shutting down, then isn't that really dangerous? Even without my persistent problem, it would mean that all players are at risk to lose any new achievements and unlocks if their game does not shut down cleanly (due to a power interruption, say) ...
If that is the shape of things, than I would advocate to write system.ngp1 out any time a game is saved, in addition to on game shutdown. That would pretty much guarantee consistency between global settings and save game state.
(Sorry, that's my own game developer hat speaking.)
 
Last edited:

Droid Productions

[Love of Magic & Morningstar]
Donor
Game Developer
Dec 30, 2017
7,342
18,903
Edit: If this is really happening due to a silent crash while shutting down, and the game only writes out a new system.ngp1 when shutting down, then isn't that really dangerous? Even without my persistent problem, it would mean that all players are always at risk to lose their achievements and unlocks if the game does not shut down cleanly (due to a power interruption, say) ...
(Sorry, that's my own game developer hat speaking.)
The system sets an 'is dirty' flag, which is then automatically tested for and saved the next update cycle. Weird; I'll have a look.
 

SuperMaxo

Active Member
Nov 3, 2017
964
779
Reporting the weirdest bug here

In Book 1, on your computer, Owyn can play various pr0n games, and at the end of each game's content, there's a Patreon link (even a Discord, in one case).

In the case of Wicked Choices, once you click on the «Subscribe to my Patreon» dialogue (followed by the link which correctly leads to the proper page), it kills the sound in the game.

(Easy fix: leave the room, or save, go to main menu, and reload)
 

Droid Productions

[Love of Magic & Morningstar]
Donor
Game Developer
Dec 30, 2017
7,342
18,903
Reporting the weirdest bug here

In Book 1, on your computer, Owyn can play various pr0n games, and at the end of each game's content, there's a Patreon link (even a Discord, in one case).

In the case of Wicked Choices, once you click on the «Subscribe to my Patreon» dialogue (followed by the link which correctly leads to the proper page), it kills the sound in the game.

(Easy fix: leave the room, or save, go to main menu, and reload)
I think they probably passed me a music file to go with it. Game of Friends were a collection of porn game devs I interacted with online (many of whom I still keep in touch with). Just a fun callout.
 
  • Like
Reactions: Warscared

Jubileu

Newbie
Nov 1, 2017
66
8
Hi, i'm stuck after saying goodbye to emily in the grassmarket. We spent the night together and in the morning she had to see someone important and we parted ways, but i got stuck with no location button to click or move. I'm on act V i think.
 

Droid Productions

[Love of Magic & Morningstar]
Donor
Game Developer
Dec 30, 2017
7,342
18,903
Hi, i'm stuck after saying goodbye to emily in the grassmarket. We spent the night together and in the morning she had to see someone important and we parted ways, but i got stuck with no location button to click or move. I'm on act V i think.
That's weird. Make sure there's no NO_EXIT flag in the debug menu (Ctrl+J). Let me know if there is.
 
  • Like
Reactions: Jubileu

a1fox3

Loving Family Member's
Donor
Respected User
Aug 8, 2017
24,465
16,965
Hi, i'm stuck after saying goodbye to emily in the grassmarket. We spent the night together and in the morning she had to see someone important and we parted ways, but i got stuck with no location button to click or move. I'm on act V i think.
Screen shot would help.

Have you hit the hide the AI by chance?
 

a1fox3

Loving Family Member's
Donor
Respected User
Aug 8, 2017
24,465
16,965
Well its fixed. Dunno what i did but somehow it works now. probably hit that hide button but i have no idea where it is. Sorry to bother
2 ways I know of, one is the middle mouse wheel/button and this icon in the lower right hand side. Love of Magic 2025-02-03 18-43-03-58.jpg
There maybe a key combo to but I don't know it.

At least you got it fixed.
 

philtwo

Member
Aug 11, 2017
120
180
any way to disable the auto button in combat? (if you even think about responding with "just don't press it" please go outside.)
 

dreamchaser

Newbie
Game Developer
Jan 8, 2020
88
110
The system sets an 'is dirty' flag, which is then automatically tested for and saved the next update cycle. Weird; I'll have a look.
Did you find anything? Can I use the Debug Console to set the dirty flag (if that works, setting it is the problem), to manually call the function that is triggered by the 'is dirty' flag (if that works, checking the flag is the problem), or to check anything else?
 
Last edited:
4.60 star(s) 277 Votes