2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-16 23:11:42 +00:00
Commit Graph

216 Commits

Author SHA1 Message Date
Jan Laupetin 015544eb79 chore: reorder assignment of light def members slightly 2026-05-16 10:45:26 +02:00
njohnson 336c9d8d86 Fix LMAP parsing and don't resolve till after ptr is ready. 2026-05-16 09:54:26 +02:00
njohnson 4208bab758 Remove un-needed constants and switch to parsing name by null character. 2026-05-16 09:54:25 +02:00
njohnson 773fee4a03 T5 and T6 set lmapLookupStart to 0. 2026-05-16 09:54:24 +02:00
njohnson 2b3f680d48 feat: add t6 gfxlight dumper and loader 2026-05-16 09:54:23 +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 86ae57578b feat: add t6 sub asset loaders for shaders 2026-03-02 22:08:57 +00:00
Jan Laupetin aa47ffa629 refactor: introduce subasset loading 2026-02-05 18:17:15 +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 bcf2b0a3ae chore: small adjustment to console log levels 2025-12-16 14:13:52 +00: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 a5024d40b0 refactor: streamline T6 asset loading 2025-08-05 01:14:19 +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 0546572ecf refactor: streamline weapon dumping 2025-08-03 17:40:24 +02:00
Jan Laupetin 58de885ebe refactor: streamline sound dumping 2025-07-31 20:57:13 +01:00
Jan Laupetin 566f3994e3 refactor: streamline zbarrier dumping 2025-07-31 19:46:21 +01:00
Jan Laupetin ab118f3528 refactor: streamline vehicle dumping 2025-07-31 19:28:42 +01:00
Jan Laupetin d05f4fd43e refactor: streamline tracer dumper 2025-07-31 19:28:42 +01:00
Jan Laupetin 24c9e08046 refactor: streamline phys preset dumping 2025-07-30 18:52:10 +01:00
Jan Laupetin d4ab0c4314 refactor: streamline phys constraints dumping 2025-07-30 18:30:12 +01:00
Jan Laupetin b8f72b7826 feat: add loader for fonticon json files 2025-07-23 21:23:21 +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
LJW-Dev 95f5dca5e0 Updated zone loading code to only use ASSET_TYPE_CLIPMAP_PVS. 2025-03-27 12:32:43 +08:00
Jan 7a639a359c fix: not being able to ignore assets of type attachment,attachmentunique 2025-01-21 22:17:06 +00:00
Jan 0a98da9a79 fix: not calculating fields in t6 attachment unique loader 2025-01-11 11:56:04 +01:00
Jan fa249b0bd3 test: add unit test for IPakCreator 2025-01-08 21:05:11 +00:00
Jan ef862ff246 chore: make keyvaluepairscompiler use a zonestate 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 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 83d13aa166 chore: fix loading and writing code for T6 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 b00c65c8c0 refactor: get rid of global game variables 2024-10-19 22:09:26 +02:00
Jan 4c9a84777f chore: use IObjLoader directly instead of indirection of ObjLoading 2024-10-19 13:46:47 +01:00
Jan 0a423937f0 fix: stop removing extensions of soundalises and guessing their extension later 2024-10-12 18:54:50 +01:00
Jbleezy 6beff28518 Remove more namespace on function calls 2024-10-08 11:38:24 -07:00