2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-25 02:51:43 +00:00
Commit Graph

238 Commits

Author SHA1 Message Date
Jan Laupetin 2d2ea30b45 fix: iw5 uses isFrictionInfinity as well 2026-05-03 16:00:30 +02:00
Jan Laupetin b7a22973e6 chore: make sure xmodel flags are unsigned 2026-05-03 13:09:03 +02:00
Jan Laupetin 08c128addd feat: accept aliases for asset type names 2026-05-02 18:08:12 +02:00
Jan Laupetin 0cbe0c2891 chore: adjust asset type names for light def 2026-05-02 16:01:11 +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
Jan Laupetin 4d66911203 fix: incomplete iw3 part classification 2026-05-01 21:52:10 +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 72f285178b feat: add techset dumping for iw5 2026-03-18 23:04:35 +01:00
Jan Laupetin b93925c306 fix: inconsistencies on t5 technique compilation 2026-03-15 15:31:01 +01:00
Jan Laupetin 04870e8fbf chore: use templated code for t5 techset dumping 2026-03-14 23:23:10 +01:00
Jan Laupetin daa891a922 feat: add techset compiling for IW3 2026-03-14 20:54:59 +01:00
Jan Laupetin 5993c88897 feat: dump iw3 technique sets 2026-03-14 20:54:59 +01:00
Jan Laupetin edcc6774c7 fix: not reusing cbrushedge_t type in iw3,iw4 clipMap 2026-03-14 16:01:30 +01:00
Jan Laupetin 161ab45306 chore: handle iw4 technique flags 2026-03-14 09:09:57 +01:00
Jan Laupetin dbe5cffb2f feat: use templated techset compiler for IW4 2026-03-14 09:09:56 +01:00
Jan Laupetin bb9dba4132 chore: add CommonCodeSourceInfos for IW4 2026-03-14 09:09:45 +01:00
Jan Laupetin 1611c222cc chore: add logic for computing precompiled index on material pass 2026-03-04 22:00:30 +00:00
Jan Laupetin b2f51b2ae1 fix: technique loading tech flags 2026-03-02 22:09:00 +00:00
Jan Laupetin c0a7114b24 chore: add tests for techset and technique compilation 2026-03-02 22:08:59 +00:00
Jan Laupetin 9a527c16fa feat: add t6 vertexdecl sub asset creator 2026-03-02 22:08:57 +00:00
Jan Laupetin e66030a5df chore: improve game shader types 2026-03-02 22:08:56 +00:00
Jan Laupetin a6d63e9b31 fix: constraint on asset name arrays 2026-03-02 22:08:56 +00:00
Jan Laupetin e749514972 fix: compilation with CommonTechset 2026-03-02 22:08:55 +00:00
Jan Laupetin bf9beb1458 chore: make sure TechsetCompilerT6 sets proper worldVertFormat 2026-03-02 22:08:55 +00:00
Jan Laupetin f7e0cb3c45 chore: call common djb2 implementations in game hashing funcs 2026-02-23 08:15:05 +01:00
Jan Laupetin aa47ffa629 refactor: introduce subasset loading 2026-02-05 18:17:15 +01:00
Jan Laupetin e5784d09ed refactor: retrieve asset names from IGame 2026-02-05 17:36:55 +01:00
Jan Laupetin 00546740e4 fix: filling union members that are not supposed to be written
* This causes some pointers to be partially overwritten when filling in the wrong order as well
2026-01-17 00:45:21 +00:00
Jan Laupetin 0a06a01e67 feat: dump t5 techsets and techniques 2026-01-13 20:24:00 +00:00
Jan Laupetin 4cdccba016 feat: add embedded image loader for every supported game 2026-01-05 09:50:21 +00:00
Jan Laupetin 7bf7bf93de chore: adjust asset name method based on asset to not require constructor 2025-12-23 15:40:51 +01: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
Michael Oliver 67372025b4 feat: dump iw3 xbox signed fastfile data 2025-12-15 22:27:40 +00:00
Jan Laupetin c9e6a1fc64 feat: show zone and asset statistics in modman 2025-10-27 21:01:04 +01:00
Jan Laupetin 3995596e6c chore: add modman bind for getting assets from a zone 2025-10-27 21:01:03 +01:00
Jan Laupetin 9fa41ca0d3 feat: show loading progress in modman 2025-10-14 17:59:34 +01:00
Jan Laupetin 5b3664ad8c chore: add possibility to provide loading progress callback when loading zones 2025-10-14 16:48:20 +01:00
Jan Laupetin 763d280805 chore: recognize when xenon fastfile use lzx compression 2025-09-01 00:05:36 +02:00
Jan Laupetin 802b0f244a chore: dump fastfile data when xenon t6 fastfile is detected 2025-09-01 00:05:33 +02:00
Jan Laupetin 734173066b refactor: only refer to game id in zone 2025-08-31 18:00:27 +01:00
Jan Laupetin 4cdf568f5b chore: set proper flags and data for animated models 2025-07-19 12:02:12 +02:00
Jan Laupetin 4b5cea3180 fix: iw3/iw4 xmodels having invalid collLod 2025-07-10 17:57:48 +01:00
Jan 311d5935b3 feat: use templated xmodel loading and dumping code for iw3 2025-07-10 16:59:23 +01:00
Jan 3daa8b0412 refactor: use templated xmodel loading and dumping code for iw4 2025-07-09 23:23:16 +01:00
Jan Laupetin 2082805557 fix: make t5 isMatureContent property bool 2025-07-08 23:07:28 +02:00
Jan babfe7c884 feat: dump and load T5 materials 2025-07-05 13:27:49 +02:00
Jan 65c8cd6198 feat: add json material loading/writing for iw3 2025-07-05 13:27:49 +02:00
Jan 559fa561a9 fix: not writing gamma for iw4,iw5 materials 2025-06-28 19:16:38 +01:00
Jan b05a473e6a fix: iw4 materials not writing correct stateBitsEntry 2025-06-28 14:51:04 +01:00