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
CommandMC
CommandMC3y ago
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-sapphire
conscious-sapphireOP3y 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-sapphire
conscious-sapphireOP3y ago
Failed the same way with the Wine-GE proton
CommandMC
CommandMC3y ago
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-sapphire
conscious-sapphireOP3y 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
CommandMC
CommandMC3y ago
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-sapphire
conscious-sapphireOP3y 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
CommandMC
CommandMC3y ago
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 it
conscious-sapphire
conscious-sapphireOP3y ago
conscious-sapphire
conscious-sapphireOP3y 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.
CommandMC
CommandMC3y ago
@Linguin anything obvious in here? I'm not quite as experienced with GOG stuff yet
conscious-sapphire
conscious-sapphireOP3y ago
also no redist/_redist folders
CommandMC
CommandMC3y ago
This second FileTask mentioned in the .info file might be interesting Open up a terminal ("Konsole" works). Run these two commands:
cd "/home/deck/Games/Heroic/Dungeon Keeper Gold/DOSBOX"
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
cd "/home/deck/Games/Heroic/Dungeon Keeper Gold/DOSBOX"
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
Does anything of note happen?
conscious-sapphire
conscious-sapphireOP3y 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"
CommandMC
CommandMC3y ago
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-sapphire
conscious-sapphireOP3y ago
That executed (failed) but executed lol give me a sec to c&p the output
conscious-sapphire
conscious-sapphireOP3y ago
conscious-sapphire
conscious-sapphireOP3y 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!
CommandMC
CommandMC3y ago
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:
cd "/home/deck/Games/Heroic/Dungeon Keeper Gold/DOSBOX"
flatpak run com.dosbox.DOSBox -conf ../dosboxDK.conf -conf ../dosboxDK_single.conf -noconsole -c exit
cd "/home/deck/Games/Heroic/Dungeon Keeper Gold/DOSBOX"
flatpak run com.dosbox.DOSBox -conf ../dosboxDK.conf -conf ../dosboxDK_single.conf -noconsole -c exit
(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-sapphire
conscious-sapphireOP3y ago
Gotcha, I'll install dosbox locally and give that a try next.
rising-crimson
rising-crimson3y ago
if com.dosbox.DOSBox doesn't work give dosbox staging a go
conscious-sapphire
conscious-sapphireOP3y 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
rising-crimson3y ago
the command that CommandMC suggested here just except com.dosbox.DOSBox use dosbox staging's id which is io.github.dosbox-staging
conscious-sapphire
conscious-sapphireOP3y ago
That launched it but I got the attached error after selecting to launch the game from within the dos menu
rising-crimson
rising-crimson3y ago
did it crash? or is it working fine log doesn't show any issues
conscious-sapphire
conscious-sapphireOP3y 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
CommandMC
CommandMC3y ago
I wonder, does this game run on Windows? Seems almost like a configuration issue (on GOG's part) to me
rising-crimson
rising-crimson3y 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-sapphire
conscious-sapphireOP3y ago
Yes it was a windows95 game I think
CommandMC
CommandMC3y ago
I see There's this modern reimplementation of the game, that should probably run: https://github.com/dkfans/keeperfx
conscious-sapphire
conscious-sapphireOP3y 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?).
CommandMC
CommandMC3y ago
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-sapphire
conscious-sapphireOP3y 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?
CommandMC
CommandMC3y ago
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
rising-crimson3y ago
I own the game too I'll play arround with it
conscious-sapphire
conscious-sapphireOP3y 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
rising-crimson3y ago
I think I figured it out
CommandMC
CommandMC3y ago
Well that was fast
conscious-sapphire
conscious-sapphireOP3y ago
no kidding lol
rising-crimson
rising-crimson3y ago
I did not :/ I had a hope at least
conscious-sapphire
conscious-sapphireOP3y ago
insert long drawn out Darth Vader noooo
rising-crimson
rising-crimson3y ago
I'll try offline installer to make sure it's not our fault
conscious-sapphire
conscious-sapphireOP3y 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
CommandMC
CommandMC3y ago
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-sapphire
conscious-sapphireOP3y ago
Thanks for catching that.
rising-crimson
rising-crimson3y ago
all right it's our fault offline installer works fine
CommandMC
CommandMC3y ago
Onto finding what we're doing wrong then Anything obvious? Any files missing?
conscious-sapphire
conscious-sapphireOP3y 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
rising-crimson3y 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-sapphire
conscious-sapphireOP3y 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
rising-crimson3y ago
all right I figured it out now 100% we have this save directory in support which needs to be "moved" to app root
.
└── 1207658934
├── app
│   ├── dosboxDK_client.conf
│   ├── dosboxDK.conf
│   ├── dosboxDK_server.conf
│   └── dosboxDK_single.conf
└── save
├── data
│   ├── DD1TEXT.DAT
│   └── TEXT.DAT
├── KEEPER.CFG
└── sound
├── atlas
│   ├── BAD01.WAV
│   ├── BAD02.WAV
│   ├── BAD03.WAV
│   ├── BAD04.WAV
│   ├── BAD05.WAV
│   ├── BAD06.WAV
│   ├── BAD07.WAV
│   ├── BAD08.WAV
│   ├── BAD09.WAV
│   ├── BAD10.WAV
│   ├── BAD11.WAV
│   ├── BAD12.WAV
│   ├── BAD13.WAV
│   ├── BAD14.WAV
│   ├── BAD15.WAV
│   ├── BAD16.WAV
│   ├── BAD17.WAV
│   ├── BAD18.WAV
│   ├── BAD19.WAV
│   ├── BAD20.WAV
│   ├── GOOD01.WAV
│   ├── GOOD02.WAV
│   ├── GOOD03.WAV
│   ├── GOOD04.WAV
│   ├── GOOD05.WAV
│   ├── GOOD06.WAV
│   ├── GOOD07.WAV
│   ├── GOOD08.WAV
│   ├── GOOD09.WAV
│   ├── GOOD10.WAV
│   ├── GOOD11.WAV
│   ├── GOOD12.WAV
│   ├── GOOD13.WAV
│   ├── GOOD14.WAV
│   ├── GOOD15.WAV
│   ├── GOOD16.WAV
│   ├── GOOD17.WAV
│   ├── GOOD18.WAV
│   ├── GOOD19.WAV
│   └── GOOD20.WAV
├── DIG.INI
└── SPEECH.DAT
.
└── 1207658934
├── app
│   ├── dosboxDK_client.conf
│   ├── dosboxDK.conf
│   ├── dosboxDK_server.conf
│   └── dosboxDK_single.conf
└── save
├── data
│   ├── DD1TEXT.DAT
│   └── TEXT.DAT
├── KEEPER.CFG
└── sound
├── atlas
│   ├── BAD01.WAV
│   ├── BAD02.WAV
│   ├── BAD03.WAV
│   ├── BAD04.WAV
│   ├── BAD05.WAV
│   ├── BAD06.WAV
│   ├── BAD07.WAV
│   ├── BAD08.WAV
│   ├── BAD09.WAV
│   ├── BAD10.WAV
│   ├── BAD11.WAV
│   ├── BAD12.WAV
│   ├── BAD13.WAV
│   ├── BAD14.WAV
│   ├── BAD15.WAV
│   ├── BAD16.WAV
│   ├── BAD17.WAV
│   ├── BAD18.WAV
│   ├── BAD19.WAV
│   ├── BAD20.WAV
│   ├── GOOD01.WAV
│   ├── GOOD02.WAV
│   ├── GOOD03.WAV
│   ├── GOOD04.WAV
│   ├── GOOD05.WAV
│   ├── GOOD06.WAV
│   ├── GOOD07.WAV
│   ├── GOOD08.WAV
│   ├── GOOD09.WAV
│   ├── GOOD10.WAV
│   ├── GOOD11.WAV
│   ├── GOOD12.WAV
│   ├── GOOD13.WAV
│   ├── GOOD14.WAV
│   ├── GOOD15.WAV
│   ├── GOOD16.WAV
│   ├── GOOD17.WAV
│   ├── GOOD18.WAV
│   ├── GOOD19.WAV
│   └── GOOD20.WAV
├── DIG.INI
└── SPEECH.DAT
there is no instruction however to move that directory
CommandMC
CommandMC3y ago
Didn't Witcher 1 have a similar issue with some files having to be moved outside of support?
conscious-sapphire
conscious-sapphireOP3y ago
Should I just move the whole folder or symlink it?
rising-crimson
rising-crimson3y 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-sapphire
conscious-sapphireOP3y ago
What do I rename them to? I moved the folder but the crashing at the dos4gw is persisting
rising-crimson
rising-crimson3y ago
to uppercase save -> SAVE sound -> SOUND atlas -> ATLAS
conscious-sapphire
conscious-sapphireOP3y 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-sapphire
conscious-sapphireOP3y ago
I tried proton, experimental, and wineGE proton 7-35 if it matters
rising-crimson
rising-crimson3y ago
try manually with flatpak again
conscious-sapphire
conscious-sapphireOP3y 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
rising-crimson3y ago
hmm
rising-crimson
rising-crimson3y ago
No description
conscious-sapphire
conscious-sapphireOP3y ago
Now you're just rubbing it in lol
rising-crimson
rising-crimson3y ago
No description
rising-crimson
rising-crimson3y ago
even managed to set the Polish language
conscious-sapphire
conscious-sapphireOP3y ago
Did I rename or move the wrong folder?
CommandMC
CommandMC3y ago
I blame you guys
No description
CommandMC
CommandMC3y ago
Now let's try it out
rising-crimson
rising-crimson3y ago
hahaha
conscious-sapphire
conscious-sapphireOP3y 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
rising-crimson3y 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
CommandMC
CommandMC3y ago
I have actually heard some positive things about this game before, and it was like 2 bucks so I figured why not
conscious-sapphire
conscious-sapphireOP3y ago
By the root game directory do you mean the numbered folder or the actual game directory?
CommandMC
CommandMC3y ago
FWIW I'm also not having any success with it (after copying & renaming the folders)
conscious-sapphire
conscious-sapphireOP3y 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
rising-crimson3y ago
hmm
CommandMC
CommandMC3y ago
Hang on, Linguin, what Heroic version are you using?
rising-crimson
rising-crimson3y ago
latest gogdl could matter
CommandMC
CommandMC3y ago
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-sapphire
conscious-sapphireOP3y ago
@Linguin are you launching it via manually with staging or via the launcher & if the launcher which wine ver?
rising-crimson
rising-crimson3y ago
directly dosbox-staging
conscious-sapphire
conscious-sapphireOP3y 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
rising-crimson3y 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
rising-crimson3y ago
rising-crimson
rising-crimson3y ago
it's in polish but I just marked to remember my decision and made it merge directories
CommandMC
CommandMC3y ago
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
rising-crimson3y ago
now we need to implement copying of this directory and on Linux make it case insensitive sounds like fun
CommandMC
CommandMC3y ago
It's interesting how the case-sensitivity matters. Wine (and I assume DOSBox) should handle this on its own
rising-crimson
rising-crimson3y ago
it does but it assumes there is one directory with the same name if we have both dosbox and DOSBOX, it's unexpected
CommandMC
CommandMC3y ago
Seems like we have to do this recursively as well. There's also /SOUND/ATLAS (and a sound/atlas folder in "save")
rising-crimson
rising-crimson3y ago
yep we could copy it using wine though :sunglase:
conscious-sapphire
conscious-sapphireOP3y 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)
CommandMC
CommandMC3y ago
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
rising-crimson3y ago
what do you think @CommandMC
CommandMC
CommandMC3y ago
Sure, that sounds fine Thing is, is this only required for this game?
rising-crimson
rising-crimson3y ago
probably there are more but I don't have time to crawl through all manifests to check that
conscious-sapphire
conscious-sapphireOP3y 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.

Did you find this page helpful?