Laupetin/OpenAssetTools

IW4: OAT crashes when trying to link a technique without pixelshader

Opened this issue · 2 comments

Repro steps on the latest version 0.15.3

Unlink dcburning.ff -> move the dumped folded to the appropriate search path for the Linker.exe
example:
.\bin\Unlinker.exe "D:\Steam\steamapps\common\Call of Duty Modern Warfare 2\zone\english\dcburning.ff"

execute Linker .\bin\Linker.exe -l "D:\Steam\steamapps\common\Call of Duty Modern Warfare 2\zone\english\dcburning.ff" dcburning

image (78)

Seems to a technique called "build_shadowmap_model_test_flag_dtex" which does not have a pixelshader o.O
Haven't ever seen that.

I'll mark this as a bug, the techniqueset loading surely can still use a lot of improvement.
For now you can fix it by removing the techset and technique files from raw, so OAT uses the ones from in-memory.