- compile dxgi.c & d3d11.c files - these create dxgi.dll and d3d11.dll that allows to dump & replace shaders.
cl.exe /nologo /O2 /W3 /MT dxgi.c /link /DLL /OUT:dxgi.dll /INCREMENTAL:NO kernel32.lib user32.lib
cl.exe /nologo /O2 /W3 /MT d3d11.c /link /DLL /OUT:d3d11.dll /INCREMENTAL:NO kernel32.lib user32.lib d3dcompiler.lib dxguid.lib shlwapi.lib
-
put
dxgi.dllandd3d11.dllfiles next toChildrenOfMorta.exe -
create
d3d11_shadersfolder next toChildrenOfMorta.exeand putps_b1c05ceb9ca8a14c.hlslinto this folder.