Commit Graph

52 Commits

Author SHA1 Message Date
Jan
499b752272 chore: add names to exported gltf models 2024-05-11 01:51:28 +02:00
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
ff9cb67d84 Merge pull request #172 from Laupetin/feature/iw5-weapons
feat: load iw5 attachments and weapons
2024-04-21 20:07:45 +02:00
Jan
e764373013 feat: load iw5 weapons 2024-04-21 19:49:00 +02:00
Jan
49239f2007 chore: rename fx related override structs in iw5 2024-04-21 19:48:59 +02:00
Jan
28949f4ee8 chore: use constants for model array sizes in iw5 attachment writing 2024-04-21 19:39:28 +02:00
c34eab16ea fix: check for NULL string in stringtable check before dumping 2024-04-21 17:29:15 +02:00
Jan
9248cc323c feat: dump iw5 weapon attachments as json 2024-04-14 12:48:18 +02:00
Jan
f8c9e62624 chore: add missing iw5 weapon fields 2024-04-07 23:40:34 +02:00
Jan
dc99acd3f6 chore: fix using extent of keys instead of values 2024-04-07 23:04:19 +02:00
Jan
cca67ebafa chore: dump iw5 weapon notetrack overrides 2024-04-07 23:04:13 +02:00
Jan
7b23461e2a chore: dump iw5 weapon reload overrides 2024-04-07 23:04:00 +02:00
Jan
c1a4874791 chore: add static assertions for weapon field names 2024-04-07 23:03:36 +02:00
Jan
4f0d9674ff chore: dump iw5 weapon fx overrides 2024-04-07 23:03:30 +02:00
Jan
ea0cb66eae chore: dump iw5 weapon sound overrides 2024-04-07 23:02:59 +02:00
Jan
8554939c91 chore: dump iw5 weapon anim overrides 2024-04-07 21:01:20 +02:00
Jan
fecd486f44 chore: dump iw5 attachments that are used by weapons 2024-04-07 14:10:50 +02:00
Jan
9c4128b830 chore: update iw5 weapon fulldef sizes 2024-04-07 09:49:53 +02:00
Jan
7be21ebb20 feat: dump iw5 weapons on iw4 level 2024-04-06 11:46:39 +02: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
034809c7bb Fix formatting 2024-01-07 14:36:23 +00:00
Jan
c4150279d0 Add naive expression dumping for menus for debugging purposes 2024-01-06 19:39:07 +01:00
Jan
6eca361517 Fix IW4 menu dumper not dumping custom functions properly 2024-01-06 13:41:02 +01:00
Jan
15bec9c356 Remove duplicated dumping of disabled property in items 2024-01-06 12:07:47 +01:00
902a2bc27d feat: dump scriptfiles to gsc bin (gsc-tool) format 2023-12-09 16:07:53 +01:00
6b4f5d94a8 Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
cf711c3af7 Use SimpleLexer escaped strings for localization 2023-09-24 15:25:08 +02:00
Jan
b8b4b7ce21 Fix incorrectly dumping window rect instead of window clientRect for iw5 items 2023-09-24 12:36:51 +02:00
Jan
e481d97143 Also dump dvar and localvar for multiproperty and enum dvar items 2023-09-24 10:30:27 +02:00
Jan
cd5a5c2898 Add missing parenthesis for custom functions when dumping menus 2023-08-25 00:38:35 +02:00
Jan
aea76d0b42 Escape string values when menu dumping 2023-08-24 19:36:37 +02:00
Jan
8a1fe03358 Add base for IW5 menu parsing 2023-08-23 23:08:50 +02:00
Jan
2ec65924c6 Only dump model surfs once for iw5 as well 2022-04-17 15:44:25 +02:00
Jan
d5a8d038a6 Add IW5 extra menu fields 2021-10-24 22:27:31 +02:00
Jan
cd2cec3546 Correctly handle referencing assets when dumping menulist 2021-10-24 22:04:31 +02:00
Jan
568095f57e IW5 menu dumping initial commit 2021-10-24 22:00:31 +02:00
Jan
868bd070d0 Include and exclude asset type dumping configured by command line args 2021-10-11 18:47:53 +02:00
Jan
963e6537ca Add T5 model dumping material texture semantic detection to other game's dumpers 2021-08-14 14:08:13 +02:00
Jan
3d2479698c Make XModelDumper context const if possible 2021-08-14 11:35:31 +02:00
Jan
2028809734 Add IW5 XModel dumping 2021-08-13 23:59:06 +02:00
Jan
e324c20641 Make asset dumpers not provide different implementations for dumping to gdt and raw so any dumper can decide itself how many raw files and gdt entries it wants to make use of 2021-07-31 12:34:22 +02:00
Jan
e544d043bd Fix rawfile dumping and loading for iw5 2021-07-24 13:51:41 +02:00
Jan
df8e909736 Make IW5 rawfile dumper sanitize names before dumping 2021-07-23 19:39:35 +02:00