adventures in blogging

Just a short trip through my strange computer based quests.

Deadlock, a wine adventure.

October 24, 2019 — Sifr Nihilum

Deadlock: Planetary Conquest is a game. Was a Game I guess. Many many moons ago, in the long distant past, a game existed by the name of Deadlock. It was fantastic, lots of fun, horribly broken. They made a swquel but no one cares about that.

Time has passed since then, and it is now almost impossible to get the game running on our current computers. It was 32bit, and 64bit PC's have a hard time figuring it out. With a little work you can push it through on windows 10, it's not easy, but it's possible.

Linux though? Linux is freaking difficult. Wine works on a lot of games, it's an amazing bit of software, but it has a HARD time with deadlock for various reasons. Someone brought it up online the other day, and I decided I was determined enough to figure this out!

So here's my quick guide! (Using the command line a lot so it sorta follows the basic plan)

One. Grab deadlock from somewhere. I have it already from GOG It's on steam as well, but I haven't tried that version so YMMV.

Two. Install it with wine. (I'm using wine-staging on arch, which is 4.18 at this time) WINEPREFIX=~/Games/winegames/ wine or whatever directory you want, and whatever filename gog has opted for this week. Just run through the defaults, it's easier than fighting it, and you picked the directory when you chose your prefix, so.

Three. Once installed, run WINEPREFIX=~/Games/winegames/ winecfg and once it opens, switch to the libraries tab and add an override for WAIL32. Once added, click it and hit edit. Change it disabled. click OK and move on.

The game will run now, but it'll complain that the disk isn't in the drive and insist you can only play the demo. Also, in my case the demo had no graphics on the buttons. So a couple more steps!

D. cd to the install directory. (Which if you did the same as I, will be ~/Games/winegames/drive_c/GOG\ Games/Deadlock\ -\ Planetary\ Conquest/ I think) You will need cdrtools for arch, or something else you can use to make an iso.

E. Do whatever you need to do to add all the files in this directory to an ISO file. In my case this was as simple as mkisofs -o * deadlock.iso

Six. Mount that iso! (mkdir ~/mnt/iso then sudo mount deadlock.iso ~/mnt/iso for example.) Then run the game with WINEPREFIX=~/Games/winegames/drive_c/GOG\ Games/Deadlock\ -\ Planetary\ Conquest/deadlock.exe again adjusting if you adjusted.

Seven. Enjoy your fantastic new old game! Remember. Re'Lu are best.

Tags: gaming, iso, deadlock, wine, gog