2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-15 17:33:03 +00:00

1934 Commits

Author SHA1 Message Date
Jan Laupetin
b93925c306 fix: inconsistencies on t5 technique compilation 2026-03-15 15:31:01 +01:00
Jan Laupetin
f4ed3e6c93 fix: warn but accept invalid argument types in shaders
cheers to T5 mc_sw4_3d_char_skin_gas that uses a sampler in the vertex shader
2026-03-15 12:56:13 +01:00
Jan Laupetin
e8b9ece6bd feat: t5 techset compiling 2026-03-14 23:38:59 +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
14b143466d fix: not adding offset of reusable type when type is not structure 2026-03-14 15:56:08 +01:00
Jan Laupetin
08a869f8c3 chore: add cursed calculation for techflag 200 in iw4 2026-03-14 13:35:42 +01:00
Jan Laupetin
629564073c fix: auto creating dx9 shader args with too many elements 2026-03-14 10:50:12 +01:00
Jan Laupetin
161ab45306 chore: handle iw4 technique flags 2026-03-14 09:09:57 +01:00
Jan Laupetin
503fe89251 feat: load shader args for dx9 shaders 2026-03-14 09:09:57 +01:00
Jan Laupetin
6e19b94b9b chore: use templated loaders for shaders in IW4,T6 2026-03-14 09:09:57 +01:00
Jan Laupetin
fbfd418e20 feat: add templated technique compiler for IW4 2026-03-14 09:09:56 +01:00
Jan Laupetin
dbe5cffb2f feat: use templated techset compiler for IW4 2026-03-14 09:09:56 +01:00
Jan Laupetin
3bb7f1aa05 chore: use templated vertex decl compiler 2026-03-14 09:09:56 +01:00
Jan Laupetin
5272b9060d chore: use templating for t6 techset compilation 2026-03-14 09:09:56 +01:00
Jan Laupetin
3aac05a516 fix: make sure matrix shader args with less than 4 rows are properly dumped and loaded 2026-03-14 09:09:55 +01:00
Jan Laupetin
2f12092773 fix: indentation in shader dumping error message 2026-03-14 09:09:55 +01:00
Jan Laupetin
eae57d9da0 feat: template techset and shader dumping for IW4,T6 2026-03-14 09:09:55 +01:00
Jan Laupetin
bb9dba4132 chore: add CommonCodeSourceInfos for IW4 2026-03-14 09:09:45 +01:00
Jan Laupetin
3e85db8110 fix: header transformation plugin not properly handling utf-8 characters 2026-03-14 08:40:26 +01:00
Jan Laupetin
76881dc77f chore: update to vite 8 2026-03-14 08:16:40 +01:00
dependabot[bot]
8806a5b591 chore(deps): bump the modman-dependencies group
Bumps the modman-dependencies group in /src/ModManUi with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [vue](https://github.com/vuejs/core) | `3.5.29` | `3.5.30` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.3.5` | `25.5.0` |
| [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue) | `6.0.4` | `6.0.5` |
| [@vitest/eslint-plugin](https://github.com/vitest-dev/eslint-plugin-vitest) | `1.6.9` | `1.6.12` |
| [eslint](https://github.com/eslint/eslint) | `10.0.2` | `10.0.3` |
| [sass](https://github.com/sass/dart-sass) | `1.97.3` | `1.98.0` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `7.3.1` | `8.0.0` |
| [vite-plugin-vue-devtools](https://github.com/vuejs/devtools/tree/HEAD/packages/vite) | `8.0.7` | `8.1.0` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `4.0.18` | `4.1.0` |


Updates `vue` from 3.5.29 to 3.5.30
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/compare/v3.5.29...v3.5.30)

Updates `@types/node` from 25.3.5 to 25.5.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@vitejs/plugin-vue` from 6.0.4 to 6.0.5
- [Release notes](https://github.com/vitejs/vite-plugin-vue/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-vue/blob/main/packages/plugin-vue/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-vue/commits/plugin-vue@6.0.5/packages/plugin-vue)

Updates `@vitest/eslint-plugin` from 1.6.9 to 1.6.12
- [Release notes](https://github.com/vitest-dev/eslint-plugin-vitest/releases)
- [Commits](https://github.com/vitest-dev/eslint-plugin-vitest/compare/v1.6.9...v1.6.12)

Updates `eslint` from 10.0.2 to 10.0.3
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.0.2...v10.0.3)

Updates `sass` from 1.97.3 to 1.98.0
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.97.3...1.98.0)

Updates `vite` from 7.3.1 to 8.0.0
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@8.0.0/packages/vite)

Updates `vite-plugin-vue-devtools` from 8.0.7 to 8.1.0
- [Release notes](https://github.com/vuejs/devtools/releases)
- [Commits](https://github.com/vuejs/devtools/commits/v8.1.0/packages/vite)

Updates `vitest` from 4.0.18 to 4.1.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.0/packages/vitest)

---
updated-dependencies:
- dependency-name: vue
  dependency-version: 3.5.30
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: modman-dependencies
- dependency-name: "@types/node"
  dependency-version: 25.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: modman-dependencies
- dependency-name: "@vitejs/plugin-vue"
  dependency-version: 6.0.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: modman-dependencies
- dependency-name: "@vitest/eslint-plugin"
  dependency-version: 1.6.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: modman-dependencies
- dependency-name: eslint
  dependency-version: 10.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: modman-dependencies
- dependency-name: sass
  dependency-version: 1.98.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: modman-dependencies
- dependency-name: vite
  dependency-version: 8.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: modman-dependencies
- dependency-name: vite-plugin-vue-devtools
  dependency-version: 8.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: modman-dependencies
- dependency-name: vitest
  dependency-version: 4.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: modman-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-14 08:07:26 +01:00
dependabot[bot]
7dbce3c883 chore(deps-dev): bump the modman-dependencies group
Bumps the modman-dependencies group in /src/ModManUi with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [@vue/tsconfig](https://github.com/vuejs/tsconfig) and [vite-plugin-vue-devtools](https://github.com/vuejs/devtools/tree/HEAD/packages/vite).


Updates `@types/node` from 25.3.2 to 25.3.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@vue/tsconfig` from 0.8.1 to 0.9.0
- [Release notes](https://github.com/vuejs/tsconfig/releases)
- [Commits](https://github.com/vuejs/tsconfig/compare/v0.8.1...v0.9.0)

Updates `vite-plugin-vue-devtools` from 8.0.6 to 8.0.7
- [Release notes](https://github.com/vuejs/devtools/releases)
- [Commits](https://github.com/vuejs/devtools/commits/v8.0.7/packages/vite)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.3.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: modman-dependencies
- dependency-name: "@vue/tsconfig"
  dependency-version: 0.9.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: modman-dependencies
- dependency-name: vite-plugin-vue-devtools
  dependency-version: 8.0.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: modman-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 22:16:28 +00:00
Jan Laupetin
fe05816af0 fix: do not spam zcg executions when building on linux
* make considers the timestamp of every output instead of only for the
  log
* to fix this remove all outputs from the command other than the log
2026-03-06 18:26:44 +01:00
Jan Laupetin
90d7f92ddd chore: replace all usages of removed ClassUtils macros 2026-03-06 00:13:04 +01:00
Jan Laupetin
bc16febfe2 chore: remove utilities from ClassUtils that were meant for cpp backwards compatibility 2026-03-05 21:50:00 +00:00
Jan Laupetin
f8b3361bbe chore: add build log for zcg 2026-03-05 21:08:39 +00:00
Jan Laupetin
5f28bcc58a chore: use TextFileCheckDirtyOutput for RawTemplater 2026-03-05 19:55:32 +00:00
Jan Laupetin
d80cdd9712 chore: add TextFileCheckDirtyOutput to FileUtils 2026-03-05 20:30:36 +01:00
Jan Laupetin
d469af2328 chore: use namespace for FileUtils 2026-03-05 20:27:47 +01:00
Jan Laupetin
304ebd56a7 chore: do not write ZCG output if up to date 2026-03-05 18:37:34 +00:00
Jan Laupetin
6eb0ec4179 chore: reorganize precompiled index logic into separate file 2026-03-04 22:47:30 +00:00
Jan Laupetin
1611c222cc chore: add logic for computing precompiled index on material pass 2026-03-04 22:00:30 +00:00
Jan Laupetin
925e51cb10 fix: not setting correct flags on technique post processing when reusing assets 2026-03-02 22:09:02 +00:00
Jan Laupetin
12199b5395 fix: not properly respecting code const array boundaries when dumping techniques 2026-03-02 22:09:02 +00:00
Jan Laupetin
d0ee167d2d fix: not properly setting common technique shader type 2026-03-02 22:09:01 +00:00
Jan Laupetin
bbb282a206 chore: deactivate IW4 material and techset compilation for now 2026-03-02 22:09:01 +00:00
Jan Laupetin
7ab9adc17c chore: handle flag 80 on t6 techniques 2026-03-02 22:09:01 +00:00
Jan Laupetin
dcd67adad4 fix: shader arg matrix row count 2026-03-02 22:09:00 +00:00
Jan Laupetin
400c6ca78a fix: use buffer binding point instead of index 2026-03-02 22:09:00 +00:00
Jan Laupetin
b2f51b2ae1 fix: technique loading tech flags 2026-03-02 22:09:00 +00:00
Jan Laupetin
5a126157f8 fix: not setting shader arg flags when auto creating 2026-03-02 22:08:59 +00:00
Jan Laupetin
c0a7114b24 chore: add tests for techset and technique compilation 2026-03-02 22:08:59 +00:00
Jan Laupetin
aec1372c5b fix: vertex decl compiler not recognizing abbreviations with more than 1 digit 2026-03-02 22:08:59 +00:00
Jan Laupetin
5ab3fd7ca0 chore: enable techset debugging on dumper creation level 2026-03-02 22:08:59 +00:00
Jan Laupetin
38cb7d3759 feat: set proper tech flags and sampler flags for loaded techniques 2026-03-02 22:08:58 +00:00
Jan Laupetin
a3f250fdca feat: compile t6 techsets 2026-03-02 22:08:58 +00:00
Jan Laupetin
38abe459e1 fix: errors with common techset dumping
* not respecting transposing matrices
* not respecting arrays
2026-03-02 22:08:58 +00:00