Laupetin / OpenAssetTools

Open Source Modding Tools for old Call Of Duty games
https://openassettools.dev
GNU General Public License v3.0
93 stars 13 forks source link

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

Open diamante0018 opened 1 month ago

diamante0018 commented 1 month ago

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)

diamante0018 commented 1 month ago

image

Laupetin commented 1 month ago

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.