Raymai97 / myblog_archived

1 stars 0 forks source link

D3D wont work with win2k anymore #1

Open wzhy90 opened 6 years ago

wzhy90 commented 6 years ago

After virtualbox upgrade to version 5.2, the kernel31.dll does not work anymore. It has no API call "GetConsoleScreenBufferInfo"

Raymai97 commented 6 years ago

I don't have time to create new DLL at the moment. Maybe you try to create a new kernel31.dll based on the tips here?

kaizhu256 commented 5 years ago

@wzhy90, i was stuck with virtualbox 5.2 (osx host) as well, but found solution was to downgrade guest-additions:

  1. @raymai97's kernel31.dll is linked to v5.0.x guest-additions.
  2. i simply downgrade/reinstall v5.0.40 guest-additions on guest-winxp
  3. then re-followed his tips extracting v5.0.40 files from guest-winxp
  4. dx7 still fails, but verified hardware-accelerated dx8 and dx9 by running dxdiag.exe in guest-win2k

note: guest-win2k needs to have directx8/9 preinstalled before you do this. so download and install official DirectX End-User Runtimes (August 2008) first.

@Raymai97 thx so much for your hack! win2k is a much better platform for dx8 and older games than winxp ;D

kaizhu256 commented 5 years ago

screenshot after downgrading to guest-additions v5.0.40

Screenshot 2019-04-16 at 01 48 22 Screenshot 2019-04-16 at 01 47 08