[Working FIX!] For a "Black Screen" bug

"Black Screen" problem is gonna away, so this topic is not actual anymore.
Don't forget to delete my fix (d3d9.dll) from the game folder, if you use it before.


Spoiler
18 days without fix for this problem..
I'm tired of waiting and decide to do it on my own, even if i'm not a desktop programmer and does not know anything about DirectX and game coding itself.
But i made it! AND IT WORKS!

It takes a while to learn DX basics, grab some debug information, get the basic idea that is going on here and create a fix. Even if i don't really know why it works. But i don't care! it works! Finally!

If you have same problem as me (black & glitchy screen), do a few simple steps:

1. Run PackCheck.exe and wait until it done - to be sure that your client is valid.
(You can skip this step if you want)

2. Download this DLL: http://www.mediafire.com/file/8tv22q780ct7twa/d3d9.dll
(Or from mirror below)

3. Drop it in POE folder, near the PathofExile.exe
(If you play on steam: Steam folder > Steamapps > Common > Path Of Exile)

4. Run your game and enjoy it!

IMPORTANT!
5. Wait for official fix for this problem
6. Delete d3d9.dll from your game folder
(i'm pretty sure it will cause some problems with official patch, if you don't do that)

--------------------------------------------

Mirrors:

DLL: https://www.dropbox.com/s/5ouvibbxi9hou7w/d3d9.dll?dl=0
Sources (if needed): https://www.dropbox.com/s/r7yhj8fbd95igrp/proxy_dll.rar?dl=0

DLL: https://yadi.sk/d/p5gCHDmn32JQTw
DLL: http://www.filedropper.com/d3d9
DLL: http://s000.tinyupload.com/index.php?file_id=00997966964449024733

--------------------------------------------

Before:
Spoiler



After:
Spoiler



--------------------------------------------

FAQ:

Q: d3d9.dll? WTF is this?
A: Proxy-DLL that i made to change a few calls from a game to the DirectX system.

Q: It is a legal?
A: I don't know, but i hope GGG will not ban all of us just because we are able to play again. Without their help.

Q: How it works?
A: Actually, i don't really know.. everything that i did:
_1. Force D3DDEVTYPE_HAL for all dx-device (IDirect3D9::CreateDevice) creations.
_2. Force D3DFMT_D24S8 texture format for a AutoDepthStencilFormat in device creation.
_3. Force D3DFMT_D24S8 in CreateDepthStencilSurface calls
_4. Add a few SetRenderState calls with a few flags right after SetDepthStencilSurface game call.
That it..

Q: How long did it take?
A: ~1 day to learn, sniff and write a code.

Q: Can i get the source codes?
A: Yep: http://www.mediafire.com/file/as3d4m85nkdq9nv/proxy_dll.rar

It is based on code, that i found here:
Spoiler
"Basic d3d8/9.dll Implementation"
http://www.mikoweb.eu/?page_id=54

Only with a few changes to make it work.
You need a VS2010+ and DirectX SDK to compile this sources.

----------------

PS: Sorry for my bad english, i'm from Russia.
Last edited by bSun0000 on Dec 7, 2016, 8:58:19 PM
Last bumped on Dec 9, 2016, 3:40:11 AM
Man, if this works...
This works! Very nice one my friend from Russia, have my upvote!
"
DenSan1587 wrote:
Man, if this works...


It does ;)
@bSun0000, kudos to you Sir, it actually worked for me, thank you for figuring a solution to this bug.

Be a LEADER when you see a path others have missed,and Be a FOLLOWER when you are shrouded in the midst of uncertainty.
Well thank you alot, it actually worked for me as well

Steam version.
Holy shit this Actually fucking works!

This guy only took 1 day and GGG havent found a fix in more than 2 weeks?! Im baffled

I Love you
Miracle! It works!
Could you upload a file to another file sharing service?
I am so happy you exist... you deserve one of those preferred member nominations
On that note... How do you nominate someone for one of those?

Report Forum Post

Report Account:

Report Type

Additional Info