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

668 Commits

Author SHA1 Message Date
njohnson dec2ae96cb Add loader logic from IW4. 2026-05-02 12:04:50 +02:00
njohnson 3136a03754 Add dumper and loader call to parents. 2026-05-02 12:04:45 +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 3dbc70755c Merge pull request #759 from michaeloliverx/asset-source-log
feat: add asset source description to loading logs
2026-05-01 22:04:36 +02:00
Jan Laupetin 3063550931 chore: adjust asset source description a bit 2026-04-27 21:29:14 +02:00
Michael Oliver 3aa28a0ded fix: IW3 ensure XModel::surfs is set in loader 2026-04-27 18:24:02 +01:00
Michael Oliver a3e6529925 feat: add asset source description to loading logs 2026-04-27 10:07:11 +01: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 f9f93b33ec fix: bad image external loading condition for t6
* change picked from edd6aef2c578b65c3718dc55a2f366bc488f5243 by hc20k
2026-04-17 22:31:05 +02:00
Jan Laupetin a497efe67b feat: compile iw5 techsets 2026-03-18 23:04:41 +01:00
Jan Laupetin 64a36d89e1 feat: more detailed logs about what is being loaded 2026-03-15 19:23:54 +01:00
Jan Laupetin e8b9ece6bd feat: t5 techset compiling 2026-03-14 23:38:59 +01:00
Jan Laupetin daa891a922 feat: add techset compiling for IW3 2026-03-14 20:54:59 +01: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 d469af2328 chore: use namespace for FileUtils 2026-03-05 20:27:47 +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 7ab9adc17c chore: handle flag 80 on t6 techniques 2026-03-02 22:09:01 +00:00
Jan Laupetin 86ae57578b feat: add t6 sub asset loaders for shaders 2026-03-02 22:08:57 +00:00
Jan Laupetin 2d2912741b fix: not properly initializing sub asset pools 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 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 3b1e65e8cc refactor: move asset type names to IGame implementations 2026-02-05 17:36:56 +01:00
Jan Laupetin 38038f8fad fix: clang compilation issues 2026-01-27 23:49:37 +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 ba39e3f4d9 fix: do not override properties of foreign zones 2025-12-25 15:29:32 +01:00
Jan Laupetin 6711cf0afe chore: do not make ignoring reference dependencies required
* when dependency comes from global asset pools
2025-12-25 14:57:02 +01:00
Jan Laupetin 8eb79da8a2 chore: adjust asset data when taking from global asset pools 2025-12-23 15:40:52 +01: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 c73b2ed838 chore: move asset marker to ZoneCommon 2025-12-23 15:40:48 +01:00
Jan Laupetin d39efa3b6f fix: update warning for vertex limit to consider rigid and animated limits 2025-12-17 17:25:07 +00:00
Jan Laupetin 1e8ae0ff59 fix: not writing rigid models ever 2025-12-17 17:03:04 +00:00
Jan Laupetin bcf2b0a3ae chore: small adjustment to console log levels 2025-12-16 14:13:52 +00:00
Jan Laupetin 6a84d1ea68 chore: generalize IAssetDumper interface 2025-10-15 20:06:01 +01:00
Jan Laupetin d693ace12f feat: verbose option sets log level to debug 2025-09-11 22:18:59 +02:00
Jan Laupetin 02f20f09b6 chore: update all logging to use centralized logging component 2025-09-11 20:25:51 +02:00
Jan Laupetin 49daacfb8b fix: reset xmodel version configuration on every model instead of only on version 1 2025-09-09 17:38:49 +01:00
Jan Laupetin 27ba80c647 chore: log about deprecated xmodel version 1 backwards compatibility 2025-09-07 22:19:37 +01:00
Jan Laupetin fed6e2f845 chore: backwards compatibility for old xmodel exports 2025-09-07 22:10:53 +01:00
Jan Laupetin 1b6c58d843 chore: update minor code smells in GltfLoader 2025-09-07 19:31:03 +01:00
Jan Laupetin 3a5cfc01d9 fix: make ObjLoader load updated gltf bone data 2025-09-06 09:02:50 +01:00
Jan Laupetin 734173066b refactor: only refer to game id in zone 2025-08-31 18:00:27 +01:00
Jan Laupetin fdef6797aa fix: messed up kvp compiler reference 2025-08-06 00:31:52 +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 33c09dfe61 refactor: streamline obj compiling asset loading 2025-08-05 18:51:56 +02:00
Jan Laupetin 95a6a028ab refactor: streamline IW3 asset loading 2025-08-05 01:22:39 +02:00
Jan Laupetin 6806337f46 refactor: streamline IW4 asset loading 2025-08-05 01:14:20 +02:00