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

210 Commits

Author SHA1 Message Date
LJW-Dev ed03a3167f The FinalizeZone step can now fail and the zone link will not ouput a fastfile if the FinalizeZone step fails. 2026-05-16 09:44:26 +02:00
LJW-Dev a64597c0fc Added the zone definition to the parameters of ConfigureCreatorCollection. ObjLoaderT6 has also been changed to conditionally add the BSP creator if the map type isn't NONE. 2026-05-16 09:44:26 +02:00
Jan Laupetin a31d3c4b88 fix: iw4 physpreset uses FLT_MAX as infinite friction 2026-05-03 15:56:09 +02:00
Jan Laupetin 67bdb79654 fix: do not clamp iw4 physpreset mass 2026-05-03 15:46:52 +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 6e19b94b9b chore: use templated loaders for shaders in IW4,T6 2026-03-14 09:09:57 +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 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 6806337f46 refactor: streamline IW4 asset loading 2025-08-05 01:14:20 +02:00
Jan Laupetin e9a7f43348 fix: formatting 2025-08-03 21:35:44 +02:00
Jan Laupetin 250556ab61 refactor: streamline namespaces of xmodel dumping and loading 2025-08-03 17:47:21 +02:00
Jan Laupetin 24c9e08046 refactor: streamline phys preset dumping 2025-07-30 18:52:10 +01:00
Jan Laupetin 9a6f0c8919 refactor: restructure light def dumper 2025-07-28 21:51:12 +01:00
Jan Laupetin ce1f0d23c9 refactor: merge leaderboard dumpers into a single file 2025-07-27 22:40:07 +01:00
Jan 3daa8b0412 refactor: use templated xmodel loading and dumping code for iw4 2025-07-09 23:23:16 +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 28a82818de refactor: move iw4 techset and vertexdecl compiling to ObjCompiling 2025-06-28 19:16:13 +01:00
Jan f23b47ca13 chore: move material compilation behind compiler flag 2025-06-28 16:10:03 +01:00
Jan 2073265a86 feat: add templated iw4 material loading 2025-06-26 22:40:30 +01:00
Jan 03ccede91c refactor: implement base x64 fastfile loading for iw4 2025-06-19 18:59:20 +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 6f31e8cc29 chore: fix compilation issues with x64 2025-04-06 18:02:47 +01:00
Jan 56c4eeb5cd fix: set clipmap asset name of non-pvs clipmap to clipmap_unused in IW3,IW4,T5 2025-03-27 17:16:28 +01: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 b7c8c70f2a fix: compilation 2025-01-01 18:14:42 +01:00
Jan 9ae5aaa1db chore: fix loading and writing code for IW4 2025-01-01 18:14:41 +01:00
Jan 7ef944ebd4 chore: refactor IW4 asset loaders 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 939f5b310f chore: log exception when parsing leaderboard json fails 2024-08-08 18:49:25 +02:00
Jan 02e39a0361 fix: not setting column ids for iw4 leaderboards 2024-06-01 13:25:04 +02:00
Jan b76bdabc75 chore: use std::optional value_or 2024-06-01 13:12:42 +02:00
Future 601494e515 fix compilation 2024-05-26 11:52:31 +02:00
Future 960a606a4b maint: use std::format here as well 2024-05-26 11:40:26 +02:00
Future 2d28f423ef feat(iw4): load leaderboard definitions from raw 2024-05-25 17:00:18 +02:00
Jan 5737f232e2 chore: adjust name of leaderboard asset 2024-05-25 11:23:13 +02:00