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

229 Commits

Author SHA1 Message Date
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 eae57d9da0 feat: template techset and shader dumping for IW4,T6 2026-03-14 09:09:55 +01:00
Jan Laupetin e61ec8582a chore: use CommonTechset instead of TechsetDefinition 2026-03-02 22:08:55 +00:00
Jan Laupetin aa47ffa629 refactor: introduce subasset loading 2026-02-05 18:17:15 +01: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 dadcdc84e0 feat: dump t6 shader args 2025-12-16 11:47:29 +00:00
Jan Laupetin 18ccbb9180 feat: dump techsets for t6 2025-12-16 11:47:25 +00:00
Jan Laupetin b35973db8a fix: not being able to load zones without progress 2025-10-15 23:03:44 +02:00
Jan Laupetin 6a84d1ea68 chore: generalize IAssetDumper interface 2025-10-15 20:06:01 +01:00
Jan Laupetin c6e9cbedda feat: report on unlinking progress 2025-10-14 23:20:56 +01:00
Jan Laupetin 02f20f09b6 chore: update all logging to use centralized logging component 2025-09-11 20:25:51 +02:00
Jan Laupetin 734173066b refactor: only refer to game id in zone 2025-08-31 18:00:27 +01: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 472e59991f refactor: streamline shader dumping 2025-08-04 21:36:47 +02:00
Jan Laupetin 408746c54a refactor: streamline structured data def dumping 2025-08-04 21:24:45 +02:00
Jan Laupetin e9a7f43348 fix: formatting 2025-08-03 21:35:44 +02:00
Jan Laupetin 93691a24f4 refactor: streamline physcollmap dumping 2025-08-03 21:29:06 +02:00
Jan Laupetin a442d2e49e refactor: streamline menu dumping 2025-08-03 20:12:01 +01: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 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 ea1c232164 refactor: streamline techset dumper 2025-07-30 23:22:18 +01:00
Jan Laupetin e26c66ed60 refactor: streamline stringtable dumper 2025-07-30 22:59:57 +01:00
Jan Laupetin bcb52391dc refactor: streamline rawfile dumping 2025-07-30 19:55:57 +01:00
Jan Laupetin 24c9e08046 refactor: streamline phys preset dumping 2025-07-30 18:52:10 +01:00
Jan Laupetin 0dfa57446c refactor: streamline material dumping 2025-07-29 23:37:41 +01:00
Jan Laupetin 9885a4ce93 refactor: streamline map assets dumper 2025-07-29 22:51:56 +01:00
Jan Laupetin 934ba7f95a refactor: streamline localize dumper 2025-07-29 20:44:24 +01:00
Jan Laupetin 22dbf57269 refactor: restructure image dumper 2025-07-28 23:15:45 +01:00
Jan Laupetin 9a6f0c8919 refactor: restructure light def dumper 2025-07-28 21:51:12 +01:00
Jan Laupetin 5fefdef0a6 refactor: merge leaderboard dumpers for iw4,iw5 2025-07-28 19:48:36 +01:00
Jan Laupetin 39fe9965d1 refactor: move iw3,iw4,iw5,t5 dumpers into seperate folders 2025-07-25 21:23:49 +01:00
Jan Laupetin 64bd89dc46 refactor: get rid of unnecessary AssetDumper wrapper class 2025-07-25 17:52:10 +01:00
Jan 3daa8b0412 refactor: use templated xmodel loading and dumping code for iw4 2025-07-09 23:23:16 +01:00
Jan f8286fd358 fix: iw4 material constant zone state using iw5 game 2025-07-05 13:27:44 +02:00
Jan b3aa6b3dc3 chore: add game suffix to material dumping code 2025-06-29 08:48:10 +01:00
Jan f23b47ca13 chore: move material compilation behind compiler flag 2025-06-28 16:10:03 +01:00
Jan 9d710caceb fix: compilation errors 2025-06-28 11:56:08 +01:00
Jan 2073265a86 feat: add templated iw4 material loading 2025-06-26 22:40:30 +01:00
Jan f897a41188 refactor: extract experimental iw4 material dumping into separate dumper 2025-06-25 22:09:01 +01:00
Jan 223dfcd4f8 refactor: move material asset dumpers to material folder 2025-06-25 21:35:35 +01:00
Jan 110ae473e8 chore: remove old iw4 json code 2025-06-25 19:47:23 +01:00
Jan 308816a38e chore: write game into dumped jsons to prevent mixup of incompatible formats 2025-06-24 19:50:24 +01:00
Jan d612d8f1a6 fix: WavWriter outputting invalid files when compiled as x64 2025-06-19 18:59:27 +01:00
Jan 03ccede91c refactor: implement base x64 fastfile loading for iw4 2025-06-19 18:59:20 +01:00