This is port of Wine 1.7.55 to Windows 95/98/Me. It requires OpenGL 2.1 with BGRA extensions.
This is only DirectX wrapper, if you need ready-to-use package for running DirectX, OpenGL or Glide application and games use this: https://github.com/JHRobotics/softgpu
Important: some application still need original DDRAW.DLL, don't just overwrite it!
- Install latest DirectX redistributable (DX8 for Windows 95, DX9 for Windows 98/Me)
- Copy ddraw.dll to ddsys.dll
- Edit ddraw.dll in hex editor and replace all (ASCII) "DDRAW.DLL" to "DDSYS.DLL" (this is because system DDRAW register some function for 16-bit applications, if this registration goes to wrong DLL, results are fatal!)
- Now copy all files to WINDOWS/SYSTEM and overwrite existing
- Windows Me only: you cannot overwrite DDRAW.DLL, but is hack for it, add this to registry (ddrawme.reg):
REGEDIT4
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\KnownDLLs]
"DDRAW"="ddrawme.dll"
This basically place ddrawme.dll
instead ddraw.dll
for most applications.
5) Run dxdiag
and check result
wined3d.dll
- main runtimed3d8.dll
- DX8 interfaced3d9.dll
- DX9 interfaceddraw.dll
- switching library between Wine replacement and system (if needed)dwine.dll
- DirectDraw, DX6, DX7 interfaceddrawme.dll
- same asddraw.dll
if this DLL cannot be replaced (Windows Me)
Some DirectDraw application are broken when run in Wine (Half-Life for example), bud most of need doesn't require 3D and works with 2D software rendering. To switch individual application from Wine to System DDraw, set under HKLM\Software\DDSwitcher
string key with application exe name to system
. Example for already mentioned Half-Life:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\DDSwitcher]
"hl.exe"="system"
You need:
- MinGW
- GNU Make
- NASM
Copy config.mk-sample
to config.mk
, now edit this file and adjust settings. After run make:
make