Paging Red
5b11848f4d
feat: T5 weapon dumping & loading ( #792 )
...
* Update docs.
* Add weapon constants.
* Register asset dumper.
* Add fields and strings for weapon parsing.
* Add gdt and raw weapon loader.
* Add weapon dumper.
* Clang format.
* Update T5 strings.
* Fix forgotten rename.
* Clang format.
* fix: add missing t5 weapon fields
* chore: properly sort,format and check size of t5 weapon enum strings
* chore: remove unused functions
* chore: add t5 weapon checks and defaults
* format enum strings
* chore: make FlameTable struct use pascal case name
* feat: dump and load flametable
* fix: make loaded weapons match vanilla data
---------
Co-authored-by: njohnson <gitea.nicholasjohnson.info>
Co-authored-by: Jan Laupetin <jan@laupetin.net >
2026-06-20 13:03:36 +02:00
mo
44d6710991
feat: initial T4 support ( #807 )
...
* feat: initial T4 support
* chore: adjust t4 symbols a bit for accuracy
* chore: add PackIndex asset to T4
* chore: remove unused AssetXModelPieces
* chore: add default and global asset pools loader for T4
* chore: use separate defines for T4 in ImageDumper
* chore: remove unnecessary namespaces in gfximage_actions
* chore: small things
* chore: fix T4 PhysPreset type
* chore: use proper XQuat2 type for T4 xanims
* chore: fix errors on T4 types
* chore: use iw3 like struct for XModelStreamInfo
* docs: add basic docs for T4
* chore: add basic ObjCompiler setup for T4
* chore: adjust loaded sound definition
* chore: make sure t4 material has the correct alignment
* chore: make sure t4 uses similar names for assets as other games
* fix: asset references should not be reusable
* chore: add content writer for t4
* feat: add t4 localize loader
* chore: reorder game ids to be alphabetically ordered
---------
Co-authored-by: Jan Laupetin <jan@laupetin.net >
2026-06-07 14:06:33 +02:00
Jan
ab7d8f5670
fix: various wrong alignment values ( #823 )
...
* fix: alignment mistakes on various games
* chore: reduce overhead of zcg definition with members fields
* fix: make sure Material alloc alignment is 4
2026-06-07 01:14:37 +00:00
Michael Oliver
97591f59f4
refactor(zcg): use wordsize instead of architecture
2026-04-30 13:50:11 +01:00
Jan Laupetin
1540b69ac1
refactor: asset refs are specified via asset name not enum entry
2026-02-05 17:36:55 +01:00
Jan Laupetin
00546740e4
fix: filling union members that are not supposed to be written
...
* This causes some pointers to be partially overwritten when filling in the wrong order as well
2026-01-17 00:45:21 +00:00
Jan
311d5935b3
feat: use templated xmodel loading and dumping code for iw3
2025-07-10 16:59:23 +01:00
Jan
3daa8b0412
refactor: use templated xmodel loading and dumping code for iw4
2025-07-09 23:23:16 +01:00
Jan Laupetin
1b579b1bc3
refactor: remove usages of name sequence in game commands
2025-04-28 17:30:30 +02:00
Jan Laupetin
1fe1b30831
chore: use Asset definition instead of enum entry for zcg
2025-04-28 12:53:02 +01:00
Jan
bc51ecb49d
chore: little improvement on sound bank types
2024-10-06 19:11:21 +02:00
Jan
5cc52c42cd
refactor: image and obj data loading
2024-09-26 07:22:35 +02:00
Jan
d05c1730fa
feat: dump and load xmodels for IW5 via template
2024-09-20 16:44:07 +01:00
Jan
c261aef1ef
chore: fix xmodel root struct bone trans and quats
2024-09-05 21:19:43 +02:00
Jan
1f5050befa
feat: first draft of loading gltf models for t6
2024-09-05 21:19:39 +02:00
Jan
9c894fcff7
chore: rename zonecode headers to avoid duplicate paths
2024-08-14 08:21:02 +02:00
Jan
3201cefd5b
chore: rename accuracy table properties in weapon structs
2024-05-20 10:41:57 +02:00
Jan
49239f2007
chore: rename fx related override structs in iw5
2024-04-21 19:48:59 +02:00
Jan
c1a4874791
chore: add static assertions for weapon field names
2024-04-07 23:03:36 +02:00
Jan
8554939c91
chore: dump iw5 weapon anim overrides
2024-04-07 21:01:20 +02:00
Jan
a27241701b
chore: add iw5 weapon indirect asset references
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
89074c8601
fix: not reallocating IW5 clipMap pInfo from temp block
2024-03-30 20:10:20 +01:00
Jan
68dfac10db
fix: consider attachmentunique szXAnims an assetref
2024-02-13 16:57:15 +01:00
Jan
5a3aa8ca0f
fix: not adding correct condition to iw5 FxEffectVisuals lightDef
2024-02-08 23:39:23 +01:00
Jan
c9a6b10f58
chore: add assetrefs to other games
2024-02-07 01:12:03 +01:00
Jan
405cad06a8
feat: load T6 FxEffectDefRef as asset ref
2024-02-07 01:06:16 +01:00
Jan
fef815e708
feat: recognize indirect asset refs when marking assets
2024-02-07 00:53:52 +01:00
Jan
0c4835bc36
Fix build due to reordered headers
2023-11-19 21:07:27 +00:00
Clang Format
6b4f5d94a8
Reformat code with clang format
2023-11-19 21:07:21 +00:00
Jan
636034d87c
Add menu ItemType enums to all games
2021-08-27 21:46:02 +02:00
Jan
7afc5d42b0
Fix more IW5 command and struct mistakes
2021-07-24 10:54:13 +02:00
Jan
29f72cde7a
Add missing IW5 commands
2021-07-23 23:07:15 +02:00
Jan
16e7a2c471
Fix IW5 xmodel using invHighMipRadius by accident
2021-07-23 19:39:21 +02:00
Jan
88710cb3bf
IW5 Fixups
2021-07-23 16:28:59 +02:00
Jan
f201dfafd8
IW5 support initial commit
2021-07-23 01:12:36 +02:00
Jan
224da79cf4
Fix T5 command and alignment errors
2021-05-13 18:53:38 +02:00
Jan
bb3e7d9e88
Load T5 fastfiles
2021-05-12 21:47:34 +02:00
Jan
e3a3d012e6
Add Commands for T5
2021-05-12 19:23:27 +02:00
Jan
157e540302
more t5 stuffs
2021-04-27 19:31:26 +02:00
Jan
2edca7a57e
Add T5 basis
2021-04-27 18:19:32 +02:00
Jan
54579deea4
Fix IW4 XModel Surfaces not being copied even though they are being loaded into the temp block
2021-05-08 14:02:38 +02:00
Jan
248fef3d3c
fix iw3 gfxworld runtime sizes
2021-04-15 14:08:05 +02:00
Jan
dbcbb4a4b3
Make sure assets need to be declared as temp block to be located in temp block to handle special case of iw3 stringtable not being in temp block
2021-04-15 13:42:03 +02:00
Jan
4e05bc6b44
Fix errors in iw3 commands and structs
2021-04-15 10:37:39 +02:00
Jan
ecef868903
Add loading of iw3 fastfiles
2021-04-14 19:41:41 +02:00
Jan
6b72ac080f
Finish iw3 zone code generation
2021-04-14 18:39:54 +02:00
Jan
adae75a7a6
add rest of iw3 commands
2021-04-14 16:49:17 +02:00
Jan
ce61ef8a45
iw3 clipmap, sounds, image commands
2021-04-14 12:07:45 +02:00
Jan
8342395823
IW3 Material Commands
2021-04-12 22:07:55 +02:00