Jump to content

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

28 minutes ago, arves100 said:

There's no tutorial but you can try with yourself.

Install Microsoft DirectX SDK (June 2010)

Copy all files from C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include to Extern\include

and copy from C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86 to Extern\lib:

d3d9.lib

d3dx9.lib

dxguid.lib

and remove:

dxtrans.lib

ddraw.lib

In Extern\include remove any d3d8,d3d10,d3d11 header files

After this change any imports from d3d8 to d3d9

And change this

#pragma comment(lib, "d3d8.lib")
#pragma comment(lib, "d3dx8.lib")

to

#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "d3dx9.lib")

 

Some functions like: IDirect3DDevice8 and Direct3DCreate8 simply change 8 to 9

Another thing you have to find an updated version of SpeedTreeLib because it dosen't support DirectX9 (SpeedTreeForestDirectX9 dosen't exist)

If you find this file there's some changes you have to do in order to support some ymir stuff (like timer) to this file. And if functions are different you have to update them.

You solved my pocket dude , thanks crystal for asking this ...

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.