155 Commits

Author SHA1 Message Date
Jan
9ab78d5384
fix: correct asset references in xmodel material dumping 2024-05-09 22:12:39 +02:00
Jan
a39e993cc6
chore: use XModelCommon for dumping obj to reduce code duplication 2024-05-09 22:12:37 +02:00
Jan
2497a9f228
fix: use after free when dumping xmodel vertex weights 2024-05-09 22:12:37 +02:00
Jan
826e59d627
chore: update xmodel common to be a struct with substructs 2024-05-09 22:12:37 +02:00
Jan
0a65c93aa5
chore: move materialIndex to XModelObject 2024-05-09 22:12:36 +02:00
Jan
8a0c93d3d8
feat: add gltf and glb as model dumping formats 2024-05-09 22:12:36 +02:00
Jan
d4ef9fa3d9
chore: move xmodel packages 2024-05-09 22:12:35 +02:00
Jan
abc3003b5b
chore: implement base loading and writing of xmodel json 2024-05-09 22:12:34 +02:00
c34eab16ea
fix: check for NULL string in stringtable check before dumping 2024-04-21 17:29:15 +02:00
Jan
239001e6f2
refactor: use std ranges functions where applicable 2024-03-24 20:49:15 +01:00
Jan
132cccb971
refactor: use new line character instead of std::endl 2024-03-24 20:24:22 +01:00
Jan
1b13f1f1b4
refactor: only use sizeof with parenthesis 2024-03-24 19:56:06 +01:00
Jan
4f0ee35740
refactor: use std::extent_v instead of std::extent 2024-03-24 19:46:43 +01:00
Jan
742b8d5bc6
chore: restructure t6 weapon camo json 2024-03-24 16:24:05 +01:00
Jan
73d6d2bf5c
feat: dump t6 WeaponCamo asset as json 2024-03-24 01:20:49 +01:00
Jan
cf02d7ac83
chore: use anonymous namespace for JsonMaterialWriter 2024-03-24 01:20:22 +01:00
Jan
cf891e458a
chore: move json classes to json folder 2024-03-24 00:51:33 +01:00
Jan
1f6d0ab51a
chore: replace material dumping with lib recommendation of serializing and deserializing json 2024-02-29 17:27:44 +01:00
Jan
81cb19dba2
chore: add hardcoded texture def and constant names 2024-02-24 13:27:23 +01:00
Jan
6b6fd7cb10
chore: check if name for constant or texture def was already added 2024-02-24 11:53:34 +01:00
Jan
5bbab8ca79
chore: measure duration of material constant name extracting 2024-02-24 11:46:00 +01:00
Jan
d3b15aa86a
feat: use names from shaders to complete names in material constants and texturedefs 2024-02-24 11:42:47 +01:00
Jan
bde54db328
feat: dump t6 shaders 2024-02-18 13:48:04 +01:00
Jan
df7b25b854
feat: dump t6 materials as json 2024-02-18 10:16:43 +01:00
Jan
f6ee4790fa
fix: not dumping all sound aliases in aliases csv 2024-02-11 11:32:47 +01:00
Alex
2478a1355f code review changes 2024-02-09 11:39:51 -05:00
Alex
aa2bebedde
Merge branch 'Laupetin:main' into main 2024-02-06 22:01:47 -05:00
Jan
fef815e708
feat: recognize indirect asset refs when marking assets 2024-02-07 00:53:52 +01:00
Jan
2dd4eaf54f
feat: automatically load anims of weapons in t6 2024-02-06 23:56:31 +01:00
Alex
a93cb6f05d dont comment that 2024-01-24 01:14:20 -05:00
Alex
2323b322ca finish SndAliasList loading 2024-01-24 01:13:40 -05:00
Alex
b5dd6df1cd begin working on SndBank loading from raw 2024-01-12 16:38:53 -05:00
Jan
383042046e
Merge pull request #58 from skiff/main
T6 SndBank & SndDriverGlobals Asset Dumping
2024-01-01 16:54:16 +01:00
Alex
c8f1c16130 fix SND_HashName 2024-01-01 10:29:26 -05:00
Alex
85539b24be fix alias type 2023-12-27 23:10:24 -05:00
Alex
b7355f9870 fix snd bank alias flags 2023-12-27 23:05:32 -05:00
JezuzLizard
8b62bc0bc0 Address review comments. 2023-12-14 13:48:44 -08:00
JezuzLizard
96e67dc1fa Use clang-format. 2023-12-14 13:28:16 -08:00
JezuzLizard
76a98e65fd Replace magic numbers with macros from zutil.h. Compress animtrees when linking. 2023-12-14 13:28:16 -08:00
JezuzLizard
4b05c6aa9b Add decompression of animtree rawfiles for T6. 2023-12-14 13:28:16 -08:00
Alex
53a3c71847 code review comments 2023-12-13 08:33:51 -05:00
Alex
15669fd58c T6 SndBank & SndDriverGlobals 2023-12-11 22:43:20 -05:00
Clang Format
c858695f0c
Adjust further code formatting 2023-11-19 21:07:28 +00:00
Clang Format
6b4f5d94a8
Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
51899d4a69 Dump T6 sound PCM data as wav 2023-10-26 22:54:20 +02:00
Jan
8c2bb09b28 Dump soundbank data without having to dump aliases 2023-10-25 21:44:07 +02:00
Jan
cf711c3af7 Use SimpleLexer escaped strings for localization 2023-09-24 15:25:08 +02:00
Jan
5ee541c0ff Fix not being able to dump t6 xmodels without surface 2022-07-09 14:16:24 +02:00
Jan
868bd070d0 Include and exclude asset type dumping configured by command line args 2021-10-11 18:47:53 +02:00
Jan
013e8c3f2a Improve T6 model dumping color selection criteria 2021-08-14 16:11:10 +02:00