Commit Graph
100 Commits
Author SHA1 Message Date
Jan 5737f232e2 chore: adjust name of leaderboard asset 2024-05-25 11:23:13 +02:00
Jan a166878f7d refactor: use template based asset structs for AssetLoaders 2024-05-25 11:17:04 +02:00
Jan 15440e8d66 feat: add loader for creating empty assets for all remaining iw5 asset types 2024-05-24 19:18:19 +02:00
Jan 68022eee05 fix: IW4 xmodel surfs loader using wrong struct 2024-05-24 19:18:13 +02:00
Jan e68a7303b6 feat: load accuracy graphs using generic 2d graph loader 2024-05-20 13:41:01 +02:00
Jan 6f6a70c212 chore: restructure sound curve loader to load generic 2D graphs instead 2024-05-20 13:21:58 +02:00
Jan fcb73347c2 feat: dump iw4 accuracy graphs 2024-05-20 10:42:02 +02:00
Jan 879acd35bb feat: dump t6 accuracy graphs 2024-05-20 10:42:02 +02:00
Jan 36a2e48e5b feat: dump iw5 accuracy graphs 2024-05-20 10:42:02 +02:00
Jan 5c0d1e4d99 chore: add writer for accuracy graphs 2024-05-20 10:42:01 +02:00
Jan 3201cefd5b chore: rename accuracy table properties in weapon structs 2024-05-20 10:41:57 +02:00
Jan 4486de0175 docs: add image demonstrating model export to readme 2024-05-20 10:21:56 +02:00
Jan 7897c11e62 fix: warnings preventing release build for MSVC 2024-05-19 14:38:59 +02:00
Jan e8ab3ba92d chore: rename iw4/iw5 column id property to colId 2024-05-19 13:31:53 +02:00
Jan bfef9e2531 fix: not properly checking for xpColId and prestigeColId on leaderboards for iw4/iw5 2024-05-19 13:31:37 +02:00
Jan 374fc7fe5d chore: rename t6 leaderboardDef folder to leaderboard 2024-05-19 13:16:07 +02:00
Jan 2a1ec18f6a chore: only dump leaderboard values for t6 when they are relevant for the column 2024-05-19 13:07:04 +02:00
Jan 0c0103c998 chore: rename leaderboardDef folder to leaderboard 2024-05-19 12:09:26 +02:00
Jan dc090c1371 chore: update count properties of leaderboard enums 2024-05-19 11:52:29 +02:00
Jan 489e4d033e chore: only dump leaderboard values when they are relevant for the column 2024-05-19 11:46:21 +02:00
Jan a722b868fa fix: crash on trying to dump referenced iw5 menu 2024-05-18 14:00:18 +02:00
Jan 7497b55054 fix: github actions 2024-05-18 12:37:44 +01:00
Jan 444bdc6fa3 docs: add gltf to xmodel supported assets note 2024-05-12 23:01:27 +02:00
Jan 3efd9534fb feat: fail to parse info strings on empty keys 2024-05-12 22:33:39 +02:00
Jan 5d913acfef feat: improve error messages when parsing an info string file fails 2024-05-12 22:29:40 +02:00
Jan 0a960c330c fix: iw3 vertex weights for more than one bone 2024-05-12 21:17:03 +02:00
Jan fa08017250 fix: iw4 vertex weights for more than one bone 2024-05-12 21:12:34 +02:00
Jan a33bc5414c fix: iw5 vertex weights for more than one bone 2024-05-12 21:01:57 +02:00
Jan ae95accaa3 fix: t5 vertex weights for more than one bone 2024-05-12 20:47:38 +02:00
Jan c89a6631b0 chore: replace custom vector, quaternion, matrix implementation with eigen library 2024-05-12 19:32:06 +02:00
Jan 9979275f8c fix: gltf mesh wrong bone and invertBindMatrix transformations 2024-05-12 16:42:44 +02:00
Jan 17dee65337 fix: t6 vertex weights for more than one bone 2024-05-12 16:37:26 +02:00
Jan e0dd0ac9dc chore: add eigen library for vector math 2024-05-12 16:35:46 +02:00
Jan a9488b8152 chore: normalize asset names before adding to asset pools 2024-05-11 12:57:17 +02:00
Jan 499b752272 chore: add names to exported gltf models 2024-05-11 01:51:28 +02:00
Jan 5c06b6e5e4 chore: dump gltf skin inverseBindMatrices 2024-05-11 01:23:52 +02:00
Jan 6a1962b65a chore: export separate root node for gltf 2024-05-11 01:23:52 +02:00
Jan 1c105db5bc fix: quaternion multiplication and division
i hope its correct at least, quaternions are not my strength
2024-05-11 01:23:51 +02:00
Jan c74be5e8ae chore: dump gltf vertex weights 2024-05-11 00:44:03 +02:00
Jan 9ab78d5384 fix: correct asset references in xmodel material dumping 2024-05-09 22:12:39 +02:00
Jan a0138c8abc chore: set gltf material default metallicness to 0 2024-05-09 22:12:39 +02:00
Jan 1a35152098 chore: dump more information about gltf materials 2024-05-09 22:12:38 +02:00
Jan ebccd67676 chore: fill dumped gltf min max fields for position accessor 2024-05-09 22:12:38 +02:00
Jan c587dae05f fix: build on linux 2024-05-09 22:12:38 +02:00
Jan 07fa12b7f6 chore: implement mesh gltf export 2024-05-09 22:12:38 +02:00
Jan a39e993cc6 chore: use XModelCommon for dumping obj to reduce code duplication 2024-05-09 22:12:37 +02:00
Jan 45684ac828 fix: accidentally dumping NORMAL twice for xmodel export 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 1bc1c12244 chore: fix linux build 2024-05-09 22:12:36 +02:00
Jan 0d96213f21 chore: export gltf basic attributes 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 f2438bea12 chore: write gltf header with new writers and outputs 2024-05-09 22:12:35 +02:00
Jan c27f4ed544 chore: add output implementations for gltf and glb 2024-05-09 22:12:35 +02:00
Jan 7a0930a208 chore: add json types for gltf 2024-05-09 22:12:35 +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
Jan 237dc83cfc chore: update xmodel structs 2024-05-09 22:12:30 +02:00
Jan 28610ae7a9 feat: log invalid enum values for infostring loaders 2024-05-09 20:38:23 +02:00
Jan ae43a994b9 chore: update usages of AddAsset for template asset struct api 2024-04-23 00:49:05 +02:00
Jan 931fe695e1 refactor: use template asset structs for AddAsset api 2024-04-23 00:06:28 +02:00
Jan d0c7311dce fix: iw4 and iw5 structured data def asset using wrong struct 2024-04-23 00:05:56 +02:00
Jan eb0cec1d81 refactor: make LoadDependency and LoadIndirectAssetReference functions work with Asset template types 2024-04-22 23:36:21 +02:00
Jan 0b61fc6e81 chore: add asset structs for all games containing enum entry and type 2024-04-22 23:14:29 +02:00
Jan a3acba8bc0 chore: update all usages of memory manager allocation 2024-04-22 21:21:48 +02:00
Jan 0845cccd12 refactor: change memory manager API to use a type template 2024-04-22 21:21:47 +02:00
Jan aa59768416 chore: remove previous manual lower case conversions of indirect asset references 2024-04-22 19:28:41 +02:00
Jan 6bd6635a83 feat: normalize asset names before loading 2024-04-22 19:23:54 +02:00
Jan 04b80b5208 chore: move AddAsset function shortcuts to interface 2024-04-22 18:52:47 +02:00
Jan 6ca7d892f9 fix: iw5 weapon attachment and override loading 2024-04-21 19:49:01 +02:00
Jan 94aee91592 chore: remove unnecessary weapon defaults 2024-04-21 19:49:01 +02:00
Jan 1601c87481 chore: set internal name earlier 2024-04-21 19:49:01 +02:00
Jan e764373013 feat: load iw5 weapons 2024-04-21 19:49:00 +02:00
Jan fedd955e68 fix: attachment loader not properly loading attributes 2024-04-21 19:49:00 +02:00
Jan 191965a970 chore: do not only load infostring arrays as pairs but n entries 2024-04-21 19:49:00 +02:00
Jan 199be31835 fix: bounce sound for iw4 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 d3c0325fea feat: load iw5 weapon attachments from raw 2024-04-21 19:39:29 +02:00
Jan 28949f4ee8 chore: use constants for model array sizes in iw5 attachment writing 2024-04-21 19:39:28 +02:00
Jan 8587b495e7 docs: link documentation of currently supported assets in the README 2024-04-15 19:24:20 +02:00
Jan 49b1a94f7d docs: clarity game names in supported asset types documentation 2024-04-15 19:21:53 +02:00
Jan 42b5270a78 docs: add documentation about supported asset types 2024-04-15 19:20:00 +02:00
Jan 9248cc323c feat: dump iw5 weapon attachments as json 2024-04-14 12:48:18 +02:00
Jan a2d649ed66 chore: change std optional json serialization to not include property if unset 2024-04-14 12:47:57 +02:00
Jan f8c9e62624 chore: add missing iw5 weapon fields 2024-04-07 23:40:34 +02:00
Jan f63e7c7f35 chore: dump missing WeaponCompleteDef fields 2024-04-07 23:09:29 +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 a27241701b chore: add iw5 weapon indirect asset references 2024-04-07 14:10:50 +02:00
Jan fecd486f44 chore: dump iw5 attachments that are used by weapons 2024-04-07 14:10:50 +02:00
Jan c68f4015d2 chore: add comment about iw5 missing weapon fields 2024-04-07 10:54:28 +02:00
Jan 3dad9d60da chore: fix typo in structs 2024-04-07 10:54:04 +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