I just noticed /opt/linux-dwarf-pack/df_47_05_linux/data was missing dir save. Tried to create it, didn't fix the problem.
Anyway. AppImage I didn't know how to fix with that problem, so I went with .deb next. As an aside: I had problems with Java packages trying to come from a groovy repository (with missing release files or something or other), which took me a while to get sorted. I think it might have been my apt repositories that were the problem but if it's something that's fixable on your end, it'd be great. So anyways, .deb didn't fix it, I went to the Python code, couldn't think of anything out of it, came here to cry and set up my own install.
Now the thing is. It's clearly something I messed up but also something that reinstalls won't fix. I don't think I messed much with anything other than removing the saves but then again, missing files would probably be something a reinstall would have fixed.
Alright, the problem may be your ~/.local/share/linux-dwarf-pack.
This is how it works:
- the startup script /opt/linux-dwarf-pack/linux-dwarf-pack.sh creates a (temporary)
overlay between files from /opt/linux-dwarf-pack and files from ~/.local/share/linux-dwarf-pack. This mechanism allows a clean separation of read-only files (like binaries) and mutable files (like game saves, configuration files, ...). When the .deb package is updated or removed, binaries in /opt/linux-dwarf-pack are updated/removed, but the configuration files and game saves remain untouched in ~/.local/share/linux-dwarf-pack.
- to verify that the problem comes from ~/.local/share/linux-dwarf-pack, just move/backup this dir elsewhere and restart the game
- if the LNP interface starts up correctly this time, then you could reimport the game saves (from the backed-up dir) using the File menu
In your case I would recommend using the .deb package.
You shouldn't have to manually modify files in /opt/linux-dwarf-pack, and if you need to modify/sort/delete game saves, preferably do this:
- start the LNP interface
- use the menu Folder to open the temporary directory of the overlay
- modify your files from there ; modifications will be saved in ~/.local/share/linux-dwarf-pack (you won't lose them when the interface is closed, even though the overlay directory is a temporary dir like /tmp/lnp-...)