Skip to content

Latest commit

 

History

History
125 lines (78 loc) · 3.05 KB

README.md

File metadata and controls

125 lines (78 loc) · 3.05 KB

d912pxy - "DirectX9 to DirectX12 API proxy for Guild Wars 2"

d912pxy is a way to make games that use DirectX 9, use DirectX 12 instead, without changing any game code.

This is specifically designed for Guild Wars 2. You can try use it in other games, maybe it will work.

This project is in early development, expect bugs, crashes, hangs, stalls and all other fun stuff.

Showcase

Profiling shows that API overhead for d912pxy is up to 70% less then for plain DirectX9. Real performance differs on scene and on hardware.

Like running mistlock sanctuary in Guild Wars 2 on i7-7700/GTX960 results in:

@6.3k batches, all max, 1080p

dx9
  min FPS: 5,5
  max FPS: 21,5
dx12
  min FPS: 17,6
  max FPS: 26,6
boost:
  min FPS: +220%
  max FPS: +23%

DX12:

https://cdn.discordapp.com/attachments/477036595019644928/524540609105756160/unknown.png

DX9:

https://cdn.discordapp.com/attachments/477036595019644928/524541036626837504/unknown.png

Requirements

Windows 10 OS, DirectX12 capable GPU, with 12.1 feature level and 3+ Gb VRAM.

16 Gb RAM

(will be more precise, based on feedback and optimizations in code)

How to use

  1. Recommended: Set "Resolution" in graphics options to "Fullscreen windowed"/"Windowed".
  2. Disable all overlay software
  3. Download latest release from here
  4. Unpack it into game folder, so d912pxy folder is in game root folder
  5. Run d912pxy/install.bat
  6. Run the game

How to remove

  1. Run d912pxy/remove.bat
  2. Delete d912pxy folder
  3. Done

Known bugs

-Screenshot functionality not working

Troubleshooting

Case 1

Things are loading part-by-part.

Solution

d912pxy loads shaders in async manner, cause there is no efficient way to load them instantly.

This can create some visual errors, but performs much better in terms of performance.

Case 2

Game crashes/hangs

Solution

Do not ask game support about this crashes!

If you game crashes without d912pxy, don't ask about this here, cause d912pxy do zero modifications to game data.

Be shure that game runs without d912pxy!

Next update your driver and directx9.

(link to dx9 https://www.microsoft.com/ru-ru/download/details.aspx?id=34429)

Then, if you still here, post your issue on github with

1. Log file form P7logs
2. Crash.dmp and d912pxy_crash.txt if you have it    

If you asked to run debug version do this

  1. Debug version writes ton of data, do not run it for long time!
  2. Run d912pxy/remove.bat
  3. Run d912pxy/install_debug.bat
  4. Run game
  5. Send the log file or/and Crash.dmp to github

Case 3

Visual errors

Solution

  1. Run d912pxy/remove.bat
  2. Run d912pxy/install_ps.bat
  3. Run the game, reproduse visual error.
  4. Run d912pxy/clean_shaders.bat
  5. Run d912pxy/remove.bat
  6. Run d912pxy/install.bat
  7. Run the game again. Wait for shaders to recompile.
  8. If error is not fixed, post your issue on github with a description on how to reproduse visual error

Support developer

WMZ 442298672293