2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-29 15:57:48 +00:00
Commit Graph

1832 Commits

Author SHA1 Message Date
Jan Laupetin
2082805557 fix: make t5 isMatureContent property bool 2025-07-08 23:07:28 +02:00
Jan Laupetin
75c7949d3f chore: remove unused t6 material property probeMipBits 2025-07-08 19:12:26 +02:00
Jan Laupetin
790729f5e0 chore: remove unused t5 material property maxStreamedMips 2025-07-08 19:08:46 +02:00
Jan Laupetin
90cc7dacbb chore: use http schema url 2025-07-07 22:49:57 +02:00
Jan Laupetin
30c6735ff5 chore: use std array for json constants 2025-07-07 18:13:47 +02:00
LJW-Dev
9941d02bcc Merge branch 't6-extend-techsets' into bsp-compilation 2025-07-07 23:59:08 +08:00
LJW-Dev
ca4db1eec0 fix: more incorrect paths 2025-07-07 23:58:59 +08:00
LJW-Dev
69a5651904 Merge branch 't6-extend-techsets' into bsp-compilation 2025-07-07 23:54:57 +08:00
LJW-Dev
0a520b442f Fix: technqiues weren't opened with the proper file path. 2025-07-07 23:54:41 +08:00
LJW-Dev
54114a96ae WIP fix, loading is currently not working correctly 2025-07-07 23:54:05 +08:00
LJW-Dev
59c3a8b116 merge extended techset functioanality 2025-07-07 23:08:58 +08:00
LJW-Dev
c045d54739 Initial commit of BSP compilation 2025-07-07 23:04:08 +08:00
LJW-Dev
aae112d37e Added the ability to dump and load technique sets.
note: techniques should be dumped in seperate files from technique sets, but compiling them all into the techset works as well but is harder to read.
2025-07-07 15:53:45 +08:00
Jan Laupetin
c53b17a3db feat: add json schema url to dumped materials 2025-07-06 16:52:37 +02:00
Jan
9c2bbc414c chore: add layeredSurfaceTypes to t5 materials 2025-07-05 13:27:49 +02:00
Jan
31d7ac26fe chore: remove hashIndex from t6 json material as it is always 0 2025-07-05 13:27:49 +02:00
Jan
babfe7c884 feat: dump and load T5 materials 2025-07-05 13:27:49 +02:00
Jan
65c8cd6198 feat: add json material loading/writing for iw3 2025-07-05 13:27:49 +02:00
Jan
f8286fd358 fix: iw4 material constant zone state using iw5 game 2025-07-05 13:27:44 +02:00
Jan
b3aa6b3dc3 chore: add game suffix to material dumping code 2025-06-29 08:48:10 +01:00
Jan
559fa561a9 fix: not writing gamma for iw4,iw5 materials 2025-06-28 19:16:38 +01:00
Jan
28a82818de refactor: move iw4 techset and vertexdecl compiling to ObjCompiling 2025-06-28 19:16:13 +01:00
Jan
f23b47ca13 chore: move material compilation behind compiler flag 2025-06-28 16:10:03 +01:00
Jan
b05a473e6a fix: iw4 materials not writing correct stateBitsEntry 2025-06-28 14:51:04 +01:00
Jan
2176480a37 chore: update formatting due to updated clang-format version 2025-06-28 11:56:09 +01:00
Jan
9d710caceb fix: compilation errors 2025-06-28 11:56:08 +01:00
Jan
2073265a86 feat: add templated iw4 material loading 2025-06-26 22:40:30 +01:00
Jan
f897a41188 refactor: extract experimental iw4 material dumping into separate dumper 2025-06-25 22:09:01 +01:00
Jan
223dfcd4f8 refactor: move material asset dumpers to material folder 2025-06-25 21:35:35 +01:00
Jan
110ae473e8 chore: remove old iw4 json code 2025-06-25 19:47:23 +01:00
Jan
6c114fe58a refactor: extract material name into common source file 2025-06-25 19:34:09 +01:00
Jan
dceca0ec9a refactor: use templating for JsonMaterialLoader 2025-06-25 19:16:53 +01:00
Jan
79b0706fc1 refactor: use templating for JsonMaterials 2025-06-25 18:30:07 +01:00
Jan
0736b8043b refactor: use templates for JsonMaterialDumper of IW5 and T6 2025-06-24 22:26:39 +01:00
Jan
2876c9cb48 chore: remove unused generic xmodel file 2025-06-24 20:06:20 +01:00
Jan
308816a38e chore: write game into dumped jsons to prevent mixup of incompatible formats 2025-06-24 19:50:24 +01:00
Jan
79b4313384 refactor: update T6 loading code for x64 support 2025-06-24 17:08:45 +01:00
Jan
a9a8597323 refactor: update IW3 loading code for x64 support 2025-06-24 17:08:45 +01:00
Jan
37e5e940b0 refactor: update IW5 loading code for x64 support 2025-06-24 17:08:45 +01:00
Jan
f70932684c fix: fix single pointer leaf structs that have non-matching cross platform structure 2025-06-24 17:08:45 +01:00
Jan
1736f38d78 refactor: update T5 loading code for x64 support 2025-06-23 18:29:04 +01:00
Jan
dd9b0915d9 fix: wrong XQuat structs for iw3,t5 2025-06-22 21:38:11 +01:00
Jan
377ef5ca5c fix: not passing correct zone ptr to content loader 2025-06-22 21:21:07 +01:00
Jan Laupetin
2230efbd27 chore: make xquat and xquat2 structs to improve handling from zcg 2025-06-19 20:45:19 +01:00
Jan
80558af9a1 fix: accessing freed memory when writing gltf inverseBindMatrix 2025-06-19 18:59:27 +01:00
Jan
818a8d7459 fix: Loading String arrays for x86 2025-06-19 18:59:27 +01:00
Jan
d612d8f1a6 fix: WavWriter outputting invalid files when compiled as x64 2025-06-19 18:59:27 +01:00
Jan
d30e2e6532 chore: fix annoying IW4 cross-type pointer reusage with dirty hack
The game reuses pointer across different types as long as bytes and size matches
This leads to non-pointer and pointer types being reused
To fix this loading code now handles block memory offsets by nulling
and block offsets to non-block data with pointing to raw block data
The behaviour only seems to realistically happen on nulled memory
2025-06-19 18:59:26 +01:00
Jan
667d76e50e wip: change redirect pointer to lookup 2025-06-19 18:59:26 +01:00
Jan
788bf1cc5d chore: make allocating redirect entry work with ptr directly 2025-06-19 18:59:25 +01:00