2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-12 21:31:43 +00:00
Commit Graph

3157 Commits

Author SHA1 Message Date
Jan Laupetin 2527f23c10 chore: use references when possible in xmodel dumper 2026-05-03 13:09:02 +02:00
Jan Laupetin d6a736eb5d feat: preserve root bone name when dumping xmodels with omitted default armature 2026-05-03 13:09:02 +02:00
Michael Oliver 618592e411 fix: only omit default armature if it can be omitted for all lods 2026-05-03 13:09:02 +02:00
Jan Laupetin f3859e6952 fix: iw3 vert lists are sometimes not complete 2026-05-03 13:09:02 +02:00
Jan 802df73a98 Merge pull request #787 from Laupetin/adjust-lightdef-names
refactor: adjust asset type names for light def
2026-05-02 18:39:22 +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
Jan d94d80b1a5 Add IW3 & IW5 SndCurve Dumping & Loading Logic (#766)
* Add dumper and loader call to parents.

* Update docs.

* Add loader logic from IW4.

* Add dumper logic from IW4.

* Update docs.

* Add IW5 SndCurve dumper.

* Clang format.

---------

Co-authored-by: njohnson <gitea.nicholasjohnson.info>
2026-05-02 12:52:19 +02:00
njohnson 1d6c028454 Clang format. 2026-05-02 12:04:51 +02:00
njohnson 0eb1f9f978 Add IW5 SndCurve dumper. 2026-05-02 12:04:51 +02:00
njohnson 5cf3e90be2 Update docs. 2026-05-02 12:04:51 +02:00
njohnson 6400b57caf Add dumper logic from IW4. 2026-05-02 12:04:51 +02:00
njohnson dec2ae96cb Add loader logic from IW4. 2026-05-02 12:04:50 +02:00
njohnson c1eaca67e5 Update docs. 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 704b191b97 Merge pull request #786 from Laupetin/dependabot/submodules/thirdparty/json-98386eb
chore(deps): bump thirdparty/json from `3946872` to `98386eb`
2026-05-02 10:54:57 +02:00
Jan 06b62683cf Merge pull request #785 from Laupetin/dependabot/submodules/thirdparty/eigen-a25aa64
chore(deps): bump thirdparty/eigen from `0f90842` to `a25aa64`
2026-05-02 10:54:47 +02:00
Jan 7353696d20 Merge pull request #784 from Laupetin/dependabot/submodules/thirdparty/libtomcrypt-0a46eb2
chore(deps): bump thirdparty/libtomcrypt from `557e9e2` to `0a46eb2`
2026-05-02 10:54:39 +02:00
dependabot[bot] adf24f48bf chore(deps): bump thirdparty/json from 3946872 to 98386eb
Bumps [thirdparty/json](https://github.com/nlohmann/json) from `3946872` to `98386eb`.
- [Release notes](https://github.com/nlohmann/json/releases)
- [Commits](https://github.com/nlohmann/json/compare/3946872265598aed5a7aea68cad4d9d1f168bd4b...98386eb08b609c172f9f4bf3e74c8d18c5ad583c)

---
updated-dependencies:
- dependency-name: thirdparty/json
  dependency-version: 98386eb08b609c172f9f4bf3e74c8d18c5ad583c
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-02 01:38:58 +00:00
dependabot[bot] 9822e978b7 chore(deps): bump thirdparty/eigen from 0f90842 to a25aa64
Bumps [thirdparty/eigen](https://gitlab.com/libeigen/eigen) from `0f90842` to `a25aa64`.
- [Release notes](https://gitlab.com/libeigen/eigen/tags)
- [Commits](https://gitlab.com/libeigen/eigen/compare/0f908429aed1b289155159774d8328c5f68ba7f7...a25aa6467bd7ab3b95fbea9fbf5760c003258cf3)

---
updated-dependencies:
- dependency-name: thirdparty/eigen
  dependency-version: a25aa6467bd7ab3b95fbea9fbf5760c003258cf3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-02 01:38:54 +00:00
dependabot[bot] eded0b8497 chore(deps): bump thirdparty/libtomcrypt from 557e9e2 to 0a46eb2
Bumps [thirdparty/libtomcrypt](https://github.com/libtom/libtomcrypt) from `557e9e2` to `0a46eb2`.
- [Release notes](https://github.com/libtom/libtomcrypt/releases)
- [Commits](https://github.com/libtom/libtomcrypt/compare/557e9e26789dc81c04c33d2b044a1685415ddb09...0a46eb2e5c6646c673c8d6f47006b91f675336bb)

---
updated-dependencies:
- dependency-name: thirdparty/libtomcrypt
  dependency-version: 0a46eb2e5c6646c673c8d6f47006b91f675336bb
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-02 01:38:49 +00:00
Jan 6b7752376a Merge pull request #780 from Laupetin/fix/iw3-part-classification
fix: incomplete iw3 part classification
2026-05-01 22:37:59 +02:00
Jan 8eb76070a2 Merge pull request #769 from michaeloliverx/refactor-arch-wordsize
refactor(zcg): use wordsize instead of architecture
2026-05-01 22:33:14 +02:00
Jan 51b741e16c Merge pull request #760 from michaeloliverx/xmodel-glTF-dump-bug
fix: xmodel glTF dumps dropping `COLOR_0` vertex attributes
2026-05-01 22:20:39 +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 4d66911203 fix: incomplete iw3 part classification 2026-05-01 21:52:10 +02:00
Jan Laupetin 1d6a9d6df1 chore: only dump gltf color when there is non-default data 2026-05-01 21:48:41 +02:00
Michael Oliver 98d8ea9005 fix: xmodel glTF dumps dropping COLOR_0 vertex attributes 2026-05-01 21:48:28 +02:00
Jan 1a41f432a9 Merge pull request #777 from michaeloliverx/fix-remove-deprecated-definition
fix: remove deprecated '>type,type' zone definition from examples
2026-05-01 17:25:20 +02:00
Michael Oliver d71bebaa3d fix: remove deprecated '>type,type' zone definition 2026-05-01 15:50:26 +01:00
Michael Oliver 97591f59f4 refactor(zcg): use wordsize instead of architecture 2026-04-30 13:50:11 +01:00
Jan abfc2dc547 Merge pull request #762 from pagingred/iw3_physpreset_fix_doc
Fix doc to show IW3 PhysPreset dumping is supported
2026-04-28 22:22:33 +02:00
njohnson 72e664b2a4 Fix doc to show IW3 PhysPreset dumping is supported. 2026-04-28 14:06:56 -04:00
Jan 1499e1ac78 Merge pull request #761 from michaeloliverx/iw3-xmodel-surfs
fix: IW3 ensure `XModel::surfs` is set in loader
2026-04-27 21:31: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
Jan 1ea52555d9 Merge pull request #758 from Laupetin/dependabot/submodules/thirdparty/libtomcrypt-557e9e2
chore(deps): bump thirdparty/libtomcrypt from `2e441a1` to `557e9e2`
2026-04-25 08:36:00 +02:00
Jan e4c6cfea8b Merge pull request #756 from Laupetin/dependabot/submodules/thirdparty/eigen-0f90842
chore(deps): bump thirdparty/eigen from `f1cccdd` to `0f90842`
2026-04-25 08:35:48 +02:00
Jan c0d9c37329 Merge pull request #757 from Laupetin/dependabot/github_actions/actions/setup-node-6.4.0
chore(deps): bump actions/setup-node from 6.3.0 to 6.4.0
2026-04-25 08:35:34 +02:00
Jan 3e6868156e Merge pull request #755 from Laupetin/dependabot/submodules/thirdparty/libtommath-ae40a87
chore(deps): bump thirdparty/libtommath from `652d70a` to `ae40a87`
2026-04-25 08:35:19 +02:00
dependabot[bot] 990a86680a chore(deps): bump thirdparty/libtomcrypt from 2e441a1 to 557e9e2
Bumps [thirdparty/libtomcrypt](https://github.com/libtom/libtomcrypt) from `2e441a1` to `557e9e2`.
- [Release notes](https://github.com/libtom/libtomcrypt/releases)
- [Commits](https://github.com/libtom/libtomcrypt/compare/2e441a17df132db9a0acaefdfaaa73a734fba8e7...557e9e26789dc81c04c33d2b044a1685415ddb09)

---
updated-dependencies:
- dependency-name: thirdparty/libtomcrypt
  dependency-version: 557e9e26789dc81c04c33d2b044a1685415ddb09
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-24 22:13:34 +00:00
dependabot[bot] d1ba736932 chore(deps): bump thirdparty/eigen from f1cccdd to 0f90842
Bumps [thirdparty/eigen](https://gitlab.com/libeigen/eigen) from `f1cccdd` to `0f90842`.
- [Release notes](https://gitlab.com/libeigen/eigen/tags)
- [Commits](https://gitlab.com/libeigen/eigen/compare/f1cccddeb1f414443fe7522804252ab3d30b1535...0f908429aed1b289155159774d8328c5f68ba7f7)

---
updated-dependencies:
- dependency-name: thirdparty/eigen
  dependency-version: 0f908429aed1b289155159774d8328c5f68ba7f7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-24 22:13:32 +00:00
dependabot[bot] 4694c583f6 chore(deps): bump actions/setup-node from 6.3.0 to 6.4.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v6.3.0...v6.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-24 22:13:32 +00:00
dependabot[bot] 115297ec37 chore(deps): bump thirdparty/libtommath from 652d70a to ae40a87
Bumps [thirdparty/libtommath](https://github.com/libtom/libtommath) from `652d70a` to `ae40a87`.
- [Release notes](https://github.com/libtom/libtommath/releases)
- [Commits](https://github.com/libtom/libtommath/compare/652d70a31fcecc7beb7a01b3edef645039f54778...ae40a87a920099a7d9d00979570e0c8d917a1fd7)

---
updated-dependencies:
- dependency-name: thirdparty/libtommath
  dependency-version: ae40a87a920099a7d9d00979570e0c8d917a1fd7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-24 22:13:28 +00: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 7a0109ab2e Merge pull request #751 from Laupetin/npm-dependency-updates
chore: update npm dependencies
2026-04-20 23:34:25 +02:00
Jan cd4fc55e0e Merge pull request #750 from Laupetin/dependabot/github_actions/actions/setup-node-6.3.0
chore(deps): bump actions/setup-node from 6 to 6.3.0
2026-04-20 23:14:48 +02:00
Jan 5885e682e7 Merge pull request #749 from Laupetin/dependabot/submodules/thirdparty/eigen-f1cccdd
chore(deps): bump thirdparty/eigen from `86f2c6e` to `f1cccdd`
2026-04-20 23:11:25 +02:00