hannesmann / vanillafixes

Client modification for WoW 1.6.1-1.12.1 to eliminate stutter and animation lag
MIT License
162 stars 21 forks source link

[Draft and idea discussion] DLL loader in DXVK #54

Closed allfoxwy closed 3 months ago

allfoxwy commented 3 months ago

This post is an idea discussion. Wish I could hear some advice from you.

I m thinking about load DLL mods (Vanilla Fixes, nampower, SuperWoW etc.) during D3D9 initialization, for example like this: https://github.com/allfoxwy/dxvk/commit/5051ef74e4edc0397a828c855359c5cdfbfdca24

Advantage:

Disadvantage:

allfoxwy commented 3 months ago

I think we can`t control timing. We don't know the game initialize D3D9 first or its GetCPUFrequency() first. So do hooking in D3D9 is not ideal.