- 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.dll
andd3d11.dll
files next toChildrenOfMorta.exe
-
create
d3d11_shaders
folder next toChildrenOfMorta.exe
and putps_b1c05ceb9ca8a14c.hlsl
into this folder.