copy / v86

x86 PC emulator and x86-to-wasm JIT, running in the browser
https://copy.sh/v86/
BSD 2-Clause "Simplified" License
19.38k stars 1.34k forks source link

DirectX 5 on Windows 95 #893

Open mszula opened 10 months ago

mszula commented 10 months ago

Hey,

Is there any way to run app (game actually) which uses the DirectX 5? I was able to successfully install DX5 package with drivers, etc. but the game won't start, due to DDraw error. I tried on Windows 95

copy commented 10 months ago

Maybe it needs a GPU? A good starting point would be making it work in qemu (with -vga std).

SuperMaxusa commented 10 months ago

On v86, you can only do software rendering. Most likely, you need this project: https://github.com/JHRobotics/softgpu (this is SW accelerated driver DirectX and OpenGL for W9x), but I'm not sure if DirectX 5 is supported there (although dx5 itself should support softrender)

mszula commented 10 months ago

On v86, you can only do software rendering. Most likely, you need this project: https://github.com/JHRobotics/softgpu (this is SW accelerated driver DirectX and OpenGL for W9x), but I'm not sure if DirectX 5 is supported there (although dx5 itself should support softrender)

Software rendering is not a problem. The game has very low requirements:

Pentium 486. 8 MB RAM. CD-ROM x2. SoundBlaster.

But, yeah, still needs DirectDraw 😅

mszula commented 10 months ago

I found info in Universal VBE Video Display Driver documentation (https://bearwindows.zcm.com.au/vbe9x.htm) that the DirectDraw Support is in planned features, so it can a be an issue on video driver side.

SuperMaxusa commented 3 days ago

Hello, may I ask: does your game require DirectX 5 or DirectDraw 5? Here I mentioned above issue where Age Of Empires II was running on v86 which required DirectDraw 6.1

For me, software rendering DirectDraw works on DirectX 7:

dxdiag1 dxdiag2