We have a Steam curator now. You should be following it. https://store.steampowered.com/curator/44994899-RPGHQ/
Buy some HQ Platinum before we're forced to sell the HQ to Resetera!

Rusty's guide to playing old Windows games

No RPG elements? It probably goes here!
Post Reply
User avatar
rusty_shackleford
Site Admin
Posts: 27705
Joined: Feb 2, '23
Gender: Watermelon
Contact:

Adventurer's Guild

Rusty's guide to playing old Windows games

Post by rusty_shackleford »

[Not finished]

As I play a lot of games from this era, I thought I'd make a guide on what I do when playing these games, troubleshooting issues, general improvements, etc.,
Fair warning, I exclusively use loonix which generally has much better compatibility with older windows programs.

What does 'old' mean in this context? I think a good strict definition would be any game that is using the PE32 format and targets a Windows desktop operating system. Therefore, postdating DOS applications and predating 64bit applications. DOS applications would have their own guide using dosbox or similar.

Wine specific details will be displayed in this color, apparently called 'light coral'.

DLL Overrides


When an application requests to load a DLL file, it will first check the immediate directory the executable is loaded in. This allows you to easily apply and remove DLL overrides without impacting the rest of your system. You should NEVER be adding DLLs to system32 or syswow64 manually.
Important! You must use the location of the actual game executable. Some applications use shortcuts or launchers that are in locations different from the actual game executable. When the game is running you should be able to use the Windows Task Manager to identify the location of the executable.
This is not always true for wine! If a builtin version of a DLL is available, it will always prefer this first unless instructed to load the native version first. This means when trying to override e.g., ddraw, dsound, d3d8, d3d9, … you will need to apply a native override. This is done for you when using winetricks.

DirectX

► We gonna learn you some history today, boy.

Figuring out what DirectX version the game uses

The easiest way is to simply check PCGamingWiki e.g.,
https://www.pcgamingwiki.com/wiki/Gothic#API lists Direct3D 7 and https://www.pcgamingwiki.com/wiki/Fallout#API lists DirectDraw 3.0a

I just want to make my fucking game work!

DirectX 7 or older


Not applicable to Wine users.
Use WineD3D. Yes, this applies to non-Wine users, it's the Wine implementation of the DirectX APIs. You can download it here: https://fdossena.com/?p=wined3d/index.frag
Selection_021.webp
Selection_021.webp (27.53 KiB) Viewed 453 times
Inside the zip file you will find a directory which contains a collection of 32bit DLLs — the two we care about are actually just ddraw.dll and wined3d.dll, but it doesn't matter if you use all of them. As stated above, you want to place these next to the actual game executable.

DirectX 8 to 11


Wine users just need to install dxvk via winetricks.
Use DXVK, a Vulkan-based implementation of D3D8, 9, 10 and 11: https://github.com/doitsujin/dxvk/releases/latest Despite not stating such, it works fine on Windows.
Download the latest version under `Assets`:
Selection_020.webp
Selection_020.webp (7.78 KiB) Viewed 453 times
You will likely need something like 7zip to extract the tar.gz on Windows. You want to navigate inside the archive to /dxvk-2.5.2/x32/ (Where 2.5.2 is the version of the DXVK you downloaded) and as stated above, you want to place these next to the actual game executable.
You can tell if DXVK is being used because it will create a file with the name of the executable and `.dxvk-cache` extension in the same directory.
DXVK also supports a configuration file, you can find the reference file here: https://raw.githubusercontent.com/doits ... /dxvk.conf
Right click, save as, and move the file to the same directory as the DXVK DLLs. Some options there are of general interest e.g., forcing vsync, MSAA or anisotropic filtering.

EAX

TODO
Environmental Audio Extensions. Can you believe there was a time when developers gave a shit about audio physics in games? Some readers may be surprised to learn that audio in games used to be significantly more advanced. EAX was pushed by Creative Technologies, used as a selling point for their soundcards.

PhysX

TODO
Last edited by rusty_shackleford on January 2nd, 2025, 15:42, edited 1 time in total.
User avatar
Shillitron
Posts: 3368
Joined: Feb 6, '23
Location: ADL Head Office

Post by Shillitron »

Mention how a lot of save files / configurations end up in the roaming destination vs your user documents folder.
User avatar
DagothGeas5
Posts: 2147
Joined: Dec 13, '23

Adventurer's Guild

Post by DagothGeas5 »

I have so many old games I loved that I cannot even install due to DirectX issues. Once I will get a mind to, will try to fiddle around again using this guide, though I am using Windows myself (for now). Thank you for compiling this!
User avatar
rusty_shackleford
Site Admin
Posts: 27705
Joined: Feb 2, '23
Gender: Watermelon
Contact:

Adventurer's Guild

Post by rusty_shackleford »

DagothGeas5 wrote: January 2nd, 2025, 15:45
though I am using Windows myself
I assume most are, so the guide is oriented towards this.
User avatar
herkzter
Posts: 78
Joined: Jul 7, '23
Location: semper games

Adventurer's Guild

Post by herkzter »

it's worth mentioning dgVoodoo, i've used it a lot for old games and 9 out of 10 times it works:

https://dege.freeweb.hu/dgVoodoo2/dgVoodoo2/

problems related to certain old games needing PhysX drivers can be summarized as "you'll need to install either the latest version of this, or a legacy version of it"; using PCGamingWiki to determine what specific version of PhysX version a game will need helps narrows things down
User avatar
OGchan
Posts: 25
Joined: Dec 28, '24

Post by OGchan »

Hello. Would anyone be willing to guide me through the installation of The Temple Of Elemental Evil + Co8 + TemplePlus via WINE?
User avatar
rusty_shackleford
Site Admin
Posts: 27705
Joined: Feb 2, '23
Gender: Watermelon
Contact:

Adventurer's Guild

Post by rusty_shackleford »

OGchan wrote: April 14th, 2025, 20:07
Hello. Would anyone be willing to guide me through the installation of The Temple Of Elemental Evil + Co8 + TemplePlus via WINE?
Setup a wine prefix, install the GOG version of ToEE, install co8, install templeplus. Don't see why it would require more than that. Are you having any specific issue?

Regarding prefix management, you may want to consider using Bottles as I've heard good things about it: https://usebottles.com/

If you're new to using wine, just know that you'll want a separate prefix for each application/game.
User avatar
OGchan
Posts: 25
Joined: Dec 28, '24

Post by OGchan »

Well you make it sound so easy, I like your style. My main worry is the Java monstrosity required by Co8, other than that I think I can manage the creation of the prefix and hopefully the patching of the game (I'm going to use the disc iso because that's what I pirated).
I'll report back in a bit then. :salute:
User avatar
rusty_shackleford
Site Admin
Posts: 27705
Joined: Feb 2, '23
Gender: Watermelon
Contact:

Adventurer's Guild

Post by rusty_shackleford »

OGchan wrote: April 14th, 2025, 21:43
Fucking Java man...
Probably have to install a java runtime under wine.
User avatar
OGchan
Posts: 25
Joined: Dec 28, '24

Post by OGchan »

rusty_shackleford wrote: April 14th, 2025, 21:47
Probably have to install a java runtime under wine.
I think installing Java under Wine is bugged as fuck. I tried the latest Java installers, both 32 and 64 bit and they fail. I'm going to try an old version if I can find it...
User avatar
rusty_shackleford
Site Admin
Posts: 27705
Joined: Feb 2, '23
Gender: Watermelon
Contact:

Adventurer's Guild

Post by rusty_shackleford »

OGchan wrote: April 14th, 2025, 22:05
rusty_shackleford wrote: April 14th, 2025, 21:47
Probably have to install a java runtime under wine.
I think installing Java under Wine is bugged as fuck. I tried the latest Java installers, both 32 and 64 bit and they fail. I'm going to try an old version if I can find it...
Try the microsoft build of OpenJDK
https://learn.microsoft.com/en-us/java/openjdk/download

Code: Select all

Windows	x64	msi
User avatar
OGchan
Posts: 25
Joined: Dec 28, '24

Post by OGchan »

Apparently there is a .jar file inside the Co8 install folder, I run that using Linux very own Java... Let's see if that works first...
User avatar
OGchan
Posts: 25
Joined: Dec 28, '24

Post by OGchan »

Can't believe it, it really works. :shock:
All it took is a simple

Code: Select all

java -jar TFE-X.jar
after I read the contents of another file inside the Co8 installation folder (because this bastard installed fine even without Java, it's the launcher that uses Java I think). Honestly the Circle of Eight devs could have mentioned somewhere on their site that this is how you run the modpack on Linux...
Screenshot_20250415.png
Screenshot_20250415.png (236.32 KiB) Viewed 159 times
So I'm gonna be honest with you here, I think one doesn't even need Wine to run ToEE+Co8 on Linux? For example, and I'm not expert, just thinking here:
extract the GOG installer using innoextract,
find a way to also extract the Co8 modpack (no idea how though),
copy the game files to the Co8 folder,
install OpenJava,
click on the .jar file inside the Co8 folder,
follow the prompts,
profit.
Not sure if that would work but it is something to think about nonetheless. :?
User avatar
rusty_shackleford
Site Admin
Posts: 27705
Joined: Feb 2, '23
Gender: Watermelon
Contact:

Adventurer's Guild

Post by rusty_shackleford »

OGchan wrote: April 14th, 2025, 22:45
So I'm gonna be honest with you here, I think one doesn't even need Wine to run ToEE+Co8 on Linux? For example, and I'm not expert, just thinking here:
The game itself will require wine
User avatar
OGchan
Posts: 25
Joined: Dec 28, '24

Post by OGchan »

Damn, that's true :pipe-thinking:
Fascinating stuff though :D

EDIT: I don't want to bump this thread more than it is necessary but as an update I want to mention that I also managed to install Java under WINE. Thanks to the link Rusty posted before, https://learn.microsoft.com/en-us/java/openjdk/download, I came to understand that I needed to install not the JDK but the JRE, specifically for Java 8. You can find them here if you ever need them: https://adoptium.net/temurin/releases/? ... os=windows

In the end the only thing that I failed to install was Temple+. :oops:
Last edited by OGchan on April 15th, 2025, 02:50, edited 1 time in total.
User avatar
OGchan
Posts: 25
Joined: Dec 28, '24

Post by OGchan »

@rusty_shackleford
Do you happen to know if you can force a Windows version when installing an .exe to a prefix?
The thing is that Temple+ is being mean to me, it says it can't be installed on Windows XP but my prefix is set to Windows 10... :thinking:
User avatar
rusty_shackleford
Site Admin
Posts: 27705
Joined: Feb 2, '23
Gender: Watermelon
Contact:

Adventurer's Guild

Post by rusty_shackleford »

OGchan wrote: April 15th, 2025, 16:01
@rusty_shackleford
Do you happen to know if you can force a Windows version when installing an .exe to a prefix?
The thing is that Temple+ is being mean to me, it says it can't be installed on Windows XP but my prefix is set to Windows 10... :thinking:
Did you set your prefix to 32bit? That might trigger something like that if so
User avatar
OGchan
Posts: 25
Joined: Dec 28, '24

Post by OGchan »

Eh, the prefix is actually 64-bit, I think I'll have to start all over again and try in a fresh 32-bit one at this point... That would also explain the painful lag I'm getting in game but then again I'm on a laptop with integrated graphics... :scratch:
User avatar
rusty_shackleford
Site Admin
Posts: 27705
Joined: Feb 2, '23
Gender: Watermelon
Contact:

Adventurer's Guild

Post by rusty_shackleford »

OGchan wrote: April 15th, 2025, 16:09
Eh, the prefix is actually 64-bit, I think I'll have to start all over again and try in a fresh 32-bit one at this point... That would also explain the painful lag I'm getting in game but then again I'm on a laptop with integrated graphics... :scratch:
Nah, I do all my prefixes in 64bit.
Double check in winecfg to make sure it's actually set to win10, sometimes winetricks changes the version and doesn't change it back.
User avatar
OGchan
Posts: 25
Joined: Dec 28, '24

Post by OGchan »

Holy fuck you are right, something set it to Windows 2003 lmao
Post Reply