HGL
conscious-sapphire
Dungeon Keeper 1 "launches" but fails to load after menu selection?
Trying to run this on a Steam Deck in desktop mode. Launching the game generates a popup selection menu to choose from the core game, DLC, audio settings, and language settings.
Choosing to launch the game or its DLC closes the menu and starts something DOS4GW which closes the entire dosbox within a second or two. I have tried proton and proton-experimental with both results failing.
The only game I've tried from GOG via Heroic on my deck before this is "Fallout Classic" and it works fine so it's a setting on my end that I likely don't understand.
Log is attached as per the FAQ
97 Replies
When it comes to troubleshooting, you can either:
- Setup Wine-GE (download from the Wine Manager, set it as the wine version in the game settings, delete your Wineprefix), then re-run the game and re-send the log
- Add the
PROTON_LOG
environment variable, also in the game settings (name PROTON_LOG
, value 1
), try to launch the game again, then send in the steam-heroic-Dungeon Keeper Gold.log
file in /home/deck/.var/app/com.heroicgameslauncher.hgl/
conscious-sapphireOP•3y ago
How do I "delete" the Wineprefix? I just downloaded the Wine-GE-Proton7-35 and set it as the new wineprefix but didn't see a way to delete the old one?
conscious-sapphireOP•3y ago
Failed the same way with the Wine-GE proton
Your Wineprefix is a regular folder. To delete it, you just, y'know, delete it
Wine-GE is your Wine version
Hm, this almost seems like driver issue to me, but that should be impossible
You've ran
flatpak install --reinstall com.heroicgameslauncher.hgl
, as per the FAQ?conscious-sapphireOP•3y ago
I did that before I posted actually as per the faq and restarted the deck just to be sure
I'll delete the wineprefix folder for the game and see if that resolves anything. Thank you for your help
Deleting the prefix is not going to solve anything, it's just to keep that tidy (without getting too much into the specifics, Proton and Wine store the data in your prefix differently; having both of those formats in there might be confusing if you ever have to do any troubleshooting in the future)
conscious-sapphireOP•3y ago
lol yeah I it just finished relaunching after the deletion of the folder and the crashing persists.
I saw on reddit there's been other folks having issues and there's one user who claims it just works but doesn't really explain how they get it to work so maybe this one will remain outside of my reach
There should be a
goggame-1207658934.script
& an accompanying .info
file in the game installation folder, could you send those into here?
These files contain information about what exactly happens when installing/launching the game. It's possible that something there is not implemented in Wine
Other than that, is there a "redist"/"_redist" folder in the game installation folder? If there is, installing the files in there (with "Run EXE on Prefix" in the game settings) might also help itconscious-sapphireOP•3y ago
Here's the files in the folder
conscious-sapphireOP•3y ago
I mean somethings working because it launches the dosprompt with the menu, it's just once I select the option to launch the game or the dlc is when it crashes out.
@Linguin anything obvious in here? I'm not quite as experienced with GOG stuff yet
conscious-sapphireOP•3y ago
also no redist/_redist folders
This second
FileTask
mentioned in the .info file might be interesting
Open up a terminal ("Konsole" works). Run these two commands:
Does anything of note happen?conscious-sapphireOP•3y ago
Whats that supposed to do, I understand CD is change directory to the game folder but I don't see an execution in there (but again I am a noob, I can't even tell if thats a single entry or two commands because it looks like one long one to me)
"bash: Keeper: command not found"
According to the file, that does "Graphic Mode Setup"
cd "/home/deck/Games/Heroic/Dungeon Keeper Gold/DOSBOX"
is the first command, the rest is the second. The file says that the working directory should be this directory
Oh, right, forgot some quotes around there. One sec
WINEPREFIX="/home/deck/Games/Heroic/Prefixes/Dungeon Keeper Gold" /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-35/bin/wine GOGDOSConfig.exe 1207658934
conscious-sapphireOP•3y ago
That executed (failed) but executed lol give me a sec to c&p the output
conscious-sapphireOP•3y ago
conscious-sapphireOP•3y ago
I was really hoping this was just something I had set improperly on my side. I was lulled into a false sense of security with Fallout Classic working "out of the box" I think. I appreciate your help but I've got to step out for a while if you or someone else has advice I will give it a try later. Again thank you!
Right, that error happens sometimes on the deck when running Wine like that. No idea why that happens, and no idea how to resolve that
You might be better off installing the native version of DOSBox & running that to then launch the game
Once it's installed, the commands to run it would be something along those lines:
(you can then add that as a sideloaded/non-steam game in Heroic or Steam respectively, once you've confirmed that it works of course)
conscious-sapphireOP•3y ago
Gotcha, I'll install dosbox locally and give that a try next.
rising-crimson•3y ago
if com.dosbox.DOSBox doesn't work give dosbox staging a go
conscious-sapphireOP•3y ago
I couldn't get either to work because and it's just a case of my unfamiliarity with DOSBox/Staging. I installed both systems and I tried @CommandMC commands to execute it via dosbox but it just launches a dosbox window which immediately closes.
I tried launching both the DOSBox and Staging virtual environments and mounted the appropriate folder but when launching the appropriate exe it returns an error of "Please run INSTALL from CDROM" but since this is a gog game I don't have a CDROM iso to mount so I've hit a wall there.
As this is definitely not a "heroic games launcher" issue I'm not even sure I should be wasting folks time here with these issues but I appreciate everyones help. If there's a wiki I should be reading or something that would teach me about how to get gog games to work in DOSBox/Staging (btw staging definitely seems more user friendly thanks for the recommendation) I would greatly appreciate it.
Is there a way I can use the existing gog config files to launch the exe within DOSBox/Staging?
rising-crimson•3y ago
the command that CommandMC suggested here
just except com.dosbox.DOSBox use
dosbox staging's id
which is
io.github.dosbox-staging
conscious-sapphireOP•3y ago
That launched it but I got the attached error after selecting to launch the game from within the dos menu
rising-crimson•3y ago
did it crash?
or is it working fine
log doesn't show any issues
conscious-sapphireOP•3y ago
It launches to the dos menu just like heroic does and as soon as I select the game or its DLC it launches the dos4gw window and crashes
I wonder, does this game run on Windows? Seems almost like a configuration issue (on GOG's part) to me
rising-crimson•3y ago
Dungeon Keeper series, page 1 - Forum - GOG.com
Download the best games on Windows & Mac. A vast selection of titles, DRM-free, with free goodies, and lots of pure customer love.
conscious-sapphireOP•3y ago
Yes it was a windows95 game I think
I see
There's this modern reimplementation of the game, that should probably run: https://github.com/dkfans/keeperfx
conscious-sapphireOP•3y ago
DOH, I didn't even think to check the help forums at GoG. I will start going through that as you and @CommandMC have helped me quite enough and I think this is far beyond a heroic issue I'll take my battle elsewhere. For posterity should I tag this thread as give-up? I mean I'm not giving up but it just doesn't apply to heroic (maybe there could be an N/A tag even?).
Well, the game is still something you can start through Heroic, so it should work there as well. So still a Heroic issue in my book
conscious-sapphireOP•3y ago
I saw this earlier and it seems its worked for more than one person on the deck so I think I'll try that as we've exhausted the efforts to just get it working without another element.
I understand, so what do you think I should tag this thread as or should I try out keeperfx and then come back with results and tag accordingly?
Let me know how well that goes (& what exactly you had to do to set it up). Heroic might have an installer for this tool built-in soon then (currently working on that feature)
rising-crimson•3y ago
I own the game too
I'll play arround with it
conscious-sapphireOP•3y ago
It was a great game in its day and I got nostalgic for it so I thought I'd see if I could get it working on the deck. I'll happily go down the rabbit hole of keeperfx and update accordingly.
rising-crimson•3y ago
I think I figured it out
Well that was fast
conscious-sapphireOP•3y ago
no kidding lol
rising-crimson•3y ago
I did not
:/
I had a hope at least
conscious-sapphireOP•3y ago
insert long drawn out Darth Vader noooo
rising-crimson•3y ago
I'll try offline installer to make sure it's not our fault
conscious-sapphireOP•3y ago
I'm going to try this persons procedure and see if I can get keeperfx to work https://www.reddit.com/r/SteamDeck/comments/x9gisy/dungeon_keeper/iof6si9/
reddit
r/SteamDeck - Comment by u/2facedmayor on ”Dungeon Keeper”
7 votes and 20 comments so far on Reddit
Note that the linked KeeperFX release there is no longer the most recent version
The permalink that always brings you there would be https://github.com/dkfans/keeperfx/releases/latest
conscious-sapphireOP•3y ago
Thanks for catching that.
rising-crimson•3y ago
all right
it's our fault
offline installer works fine
Onto finding what we're doing wrong then
Anything obvious? Any files missing?
conscious-sapphireOP•3y ago
So I hit a obstacle with the Keeperfx instructions halfway through where I'm supposed to install fuseiso but the terminal says the package is corrupted so I'll wait and watch here to see how this goes.
I didn't know there was a way to install the windows games offline on linux? I mean it makes sense that there would be.
rising-crimson•3y ago
I mean
offline installer is the installer you can get from gog.com
it's a backup setup that allows you to download those games without using any launchers
conscious-sapphireOP•3y ago
Yeah, I tried to install the exe via DOSBox but I got the error that it had to be executed from within a win32 environment. The only other method I could think of to try was installing it using Steam and adding it as a non-steam game and using proton but I didn't know which proton to use or where to go beyond that
rising-crimson•3y ago
all right
I figured it out now
100%
we have this
save
directory in support
which needs to be "moved" to app root
there is no instruction however
to move that directoryDidn't Witcher 1 have a similar issue with some files having to be moved outside of
support
?conscious-sapphireOP•3y ago
Should I just move the whole folder or symlink it?
rising-crimson•3y ago
you can move it
but keep in mind you need to rename the directories too
simillar but not the same
it was mentioned at least
but here
save directory doesn't even show up in .script
unless it's new behaviour we need to implement
conscious-sapphireOP•3y ago
What do I rename them to? I moved the folder but the crashing at the dos4gw is persisting
rising-crimson•3y ago
to uppercase
save
-> SAVE
sound
-> SOUND
atlas
-> ATLAS
conscious-sapphireOP•3y ago
So given all the uneducated tweaking I've done it's likely I've got something set improperly because I renamed the folders accordingly (after it was moved) and its still crashing at the 4gw
conscious-sapphireOP•3y ago
I tried proton, experimental, and wineGE proton 7-35 if it matters
rising-crimson•3y ago
try manually with flatpak again
conscious-sapphireOP•3y ago
So trying it manually with flatpak using staging gets me to the menu and it crashes at the 4gw and if I try the standard dosbox I don't even get a dos menu to launch the game at all :/
rising-crimson•3y ago
hmm
rising-crimson•3y ago

conscious-sapphireOP•3y ago
Now you're just rubbing it in lol
rising-crimson•3y ago

rising-crimson•3y ago
even managed to set the Polish language
conscious-sapphireOP•3y ago
Did I rename or move the wrong folder?
I blame you guys

Now let's try it out
rising-crimson•3y ago
hahaha
conscious-sapphireOP•3y ago
Noooo lol I really appreciate you getting it? If dark humored minion management is your thing you'll like the game I hope
rising-crimson•3y ago
and move all contents of SAVE to the root of the game directory
I can't get the game to install in Galaxy through wine
I have actually heard some positive things about this game before, and it was like 2 bucks so I figured why not
conscious-sapphireOP•3y ago
By the root game directory do you mean the numbered folder or the actual game directory?
FWIW I'm also not having any success with it (after copying & renaming the folders)
conscious-sapphireOP•3y ago
So at least I'm not alone but this is still strange that Linguin got it working by only doing that and it's not working for us?
rising-crimson•3y ago
hmm
Hang on, Linguin, what Heroic version are you using?
rising-crimson•3y ago
latest gogdl could matter
Right, I'll try that then
Do I reinstall the game after setting up gogdl?
Edit: Nope, no dice. Still the same issue with latest gogdl
conscious-sapphireOP•3y ago
@Linguin are you launching it via manually with staging or via the launcher & if the launcher which wine ver?
rising-crimson•3y ago
directly dosbox-staging
conscious-sapphireOP•3y ago
So when I launch it manually the dos menu shows up, I choose to launch the game and it crashes as it has been at the 4gw window. I'm attaching the output in the terminal if it helps.
rising-crimson•3y ago
redownloading now
I'll try to reproduce it
just did
1. rename every directory to uppercase in save directory from support
2. move it to root
rising-crimson•3y ago
rising-crimson•3y ago
it's in polish but I just marked to remember my decision and made it merge directories
Ohh, everything in the "save" directory
I was moving "app" and "save" (since there's also a "SAVE" directory in the root)
Yup can confirm that works
rising-crimson•3y ago
now we need to implement copying of this directory
and on Linux make it case insensitive
sounds like fun
It's interesting how the case-sensitivity matters. Wine (and I assume DOSBox) should handle this on its own
rising-crimson•3y ago
it does
but it assumes there is one directory with the same name
if we have both
dosbox
and DOSBOX
, it's unexpectedSeems like we have to do this recursively as well. There's also
/SOUND/ATLAS
(and a sound/atlas
folder in "save")rising-crimson•3y ago
yep
we could copy it using wine though
:sunglase:
conscious-sapphireOP•3y ago
Not to interrupt lol but thank you for posting the video with instructions I was indeed able to get it to launch manually. So the files needed to be renamed and the contents of the support/save directory needed to all be moved to the actual root game (where I had mistakenly placed them in the root save folder)
I was interested in this
Turns out instead of doing that whole spiel with extracting the game files, you just select the game install folder in the KeeperFX launcher & that'll work
(copying the files from disk did not work for me, barely any files there)
rising-crimson•3y ago
what do you think @CommandMC
Sure, that sounds fine
Thing is, is this only required for this game?
rising-crimson•3y ago
probably there are more
but I don't have time to crawl through all manifests to check that
conscious-sapphireOP•3y ago
So I just followed the procedure myself and the first hurdle with the instructions is I could not get fuseiso to install, I ended up using PowerISO from the discover store to make the keeper folder and the installed went smoothly from there. I don't know what the original game resolution is (640x480 probably?) but with this mod I have it running natively on the deck itself and I have the option of 1080p when docked.