2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 16:52:35 +00:00
Commit Graph

89 Commits

Author SHA1 Message Date
Jan Laupetin 2d2ea30b45 fix: iw5 uses isFrictionInfinity as well 2026-05-03 16:00:30 +02:00
njohnson 1d6c028454 Clang format. 2026-05-02 12:04:51 +02:00
njohnson 0eb1f9f978 Add IW5 SndCurve dumper. 2026-05-02 12:04:51 +02:00
Paging Red 759a3ccf0e Merge pull request #753 from pagingred/iw5_physpreset_dumper
feat: phys presets dumping and loading for IW3, IW5, T5
2026-05-02 12:01:59 +02:00
Paging Red 010ac3ad3e Add IW3 PhysPreset dump logic (#744)
* Copied template from font.

* Create PhysPreset writer from Font dumper template.

* Completely refactor to match previous implementation.

* Remove files from previous implementation.

* Fix PhysPresetFields.

* Add missing fields and correct order.

* Add static infinity check as builtin does not work.

* Wasn't clang formatted.

* Remove unused 'perSurfaceSndAlias' field.

* Removed unsupported vals (tracer & vehicle) and un-needed vals (material).

* Make order match struct and mark 'tempDefaultToCylinder' as QBOOLEAN.

* Make order match struct and clamp vals for 'mass' and 'tempDefaultToCylinder'.

* Remove un-needed includes and add limits for float max.

* Remove clamping of mass.

* Use float max to determine if friction is infinite.

* Clang format.

* chore: formatting

* chore: do not use classes for obj constants

---------

Co-authored-by: njohnson <gitea.nicholasjohnson.info>
Co-authored-by: Jan Laupetin <jan@laupetin.net>
2026-04-23 23:27:34 +02:00
Jan Laupetin a497efe67b feat: compile iw5 techsets 2026-03-18 23:04:41 +01:00
Jan Laupetin 90d7f92ddd chore: replace all usages of removed ClassUtils macros 2026-03-06 00:13:04 +01:00
Jan Laupetin 4cdccba016 feat: add embedded image loader for every supported game 2026-01-05 09:50:21 +00:00
Jan Laupetin 33584f6f7b feat: add external image loader for every supported game 2026-01-05 09:50:20 +00:00
Jan Laupetin da2a76f6da chore: update image namespacing 2026-01-05 09:50:20 +00:00
Jan Laupetin 8eb79da8a2 chore: adjust asset data when taking from global asset pools 2025-12-23 15:40:52 +01:00
Jan Laupetin 02f20f09b6 chore: update all logging to use centralized logging component 2025-09-11 20:25:51 +02:00
Jan Laupetin 46fb919a52 refactor: do not nest asset namespaces in game namespaces
* Duplicated namespace names are kind of annoying
2025-08-06 00:50:35 +02:00
Jan Laupetin 81a67151b5 refactor: streamline IW5 asset loading 2025-08-05 01:14:19 +02:00
Jan Laupetin 250556ab61 refactor: streamline namespaces of xmodel dumping and loading 2025-08-03 17:47:21 +02:00
Jan a9c693d04d refactor: template remaining xmodel files for iw5,t5,t6 2025-07-09 21:57:22 +01:00
Jan f07202d449 fix: show asset that failed when not being able to parse jsons 2025-07-09 16:53:53 +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 8b85cadb77 refactor: make memory from zone a reference instead of ptr 2025-05-02 22:08:06 +01:00
Jan 5d0c94e430 refactor: fix x64 compilation for ObjLoading 2025-04-26 19:48:03 +02:00
Jan 5635470b6e refactor: cryptography component 2025-04-26 19:08:15 +02:00
Jan 4c09e94220 refactor: remove MemoryManager create method usages 2025-01-13 22:03:20 +00:00
Jan 2313da1c12 chore: inject ZoneAssetCreationStateCollection to states 2025-01-03 14:55:19 +01:00
Jan 416823c6cd chore: rename ZoneAssetLoaderState to ZoneAssetCreationState 2025-01-03 11:01:44 +01:00
Jan 9068e96dfa chore: make IZoneLoadingState return reference 2025-01-03 10:42:37 +01:00
Jan aa212e0958 chore: parse includes and assetlists while parsing zone definition 2025-01-01 18:14:43 +01:00
Jan 9852f52a15 chore: get rid of now unused AssetLoading classes 2025-01-01 18:14:43 +01:00
Jan a36581b06e chore: fix loading and writing code for IW5 2025-01-01 18:14:41 +01:00
Jan 4f585c6aa7 chore: add generic default asset constructors for all games 2025-01-01 18:14:40 +01:00
Jan c524cb007a chore: implement obj loading skeleton with localize asset 2025-01-01 18:14:40 +01:00
Jan 4f0a405bdc chore: adjust asset creation process to use separated AssetCreators 2025-01-01 18:14:40 +01:00
Jan 4c9a84777f chore: use IObjLoader directly instead of indirection of ObjLoading 2024-10-19 13:46:47 +01:00
Jan 2dccd423af refactor: extract image code into single component 2024-09-27 21:16:29 +02:00
Jan 5cc52c42cd refactor: image and obj data loading 2024-09-26 07:22:35 +02:00
Jan d4d8e83169 feat: load iw5 images from raw 2024-09-22 16:59:56 +02:00
Jan 7b28b574d2 feat: load iw5 materials from json 2024-09-22 16:59:31 +02:00
Jan e814515b53 fix: failure to load xmodel does not abort loading process 2024-09-20 19:39:26 +02:00
Jan d05c1730fa feat: dump and load xmodels for IW5 via template 2024-09-20 16:44:07 +01:00
Jan 774da9a584 chore: log exception when parsing weapon attachment json fails 2024-08-08 18:50:11 +02:00
Jan 939f5b310f chore: log exception when parsing leaderboard json fails 2024-08-08 18:49:25 +02:00
Jan 667fb49ab2 fix: iw5 leaderboard track type reading 2024-06-01 13:55:38 +02:00
Jan 28465d7c64 fix: add missing column id for iw5 leaderboards reading 2024-06-01 13:55:25 +02:00
Jan e046089cbb chore: use std::optional value_or for iw5 leaderboard reading 2024-06-01 13:55:00 +02:00
Future 1d9310fb9c feat(iw5): load leaderboard definitions from raw 2024-05-26 11:53:07 +02:00
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 e68a7303b6 feat: load accuracy graphs using generic 2d graph loader 2024-05-20 13:41:01 +02:00
Jan 5d913acfef feat: improve error messages when parsing an info string file fails 2024-05-12 22:29:40 +02:00