Jan
45cb454d63
Merge pull request #445 from Laupetin/feature/x64-zcg-loading
...
refactor: load iw4 x86 fastfiles in x64 environment
2025-06-19 22:12:22 +02:00
Jan Laupetin
2230efbd27
chore: make xquat and xquat2 structs to improve handling from zcg
2025-06-19 20:45:19 +01:00
Jan
80558af9a1
fix: accessing freed memory when writing gltf inverseBindMatrix
2025-06-19 18:59:27 +01:00
Jan
818a8d7459
fix: Loading String arrays for x86
2025-06-19 18:59:27 +01:00
Jan
d612d8f1a6
fix: WavWriter outputting invalid files when compiled as x64
2025-06-19 18:59:27 +01:00
Jan
d30e2e6532
chore: fix annoying IW4 cross-type pointer reusage with dirty hack
...
The game reuses pointer across different types as long as bytes and size matches
This leads to non-pointer and pointer types being reused
To fix this loading code now handles block memory offsets by nulling
and block offsets to non-block data with pointing to raw block data
The behaviour only seems to realistically happen on nulled memory
2025-06-19 18:59:26 +01:00
Jan
667d76e50e
wip: change redirect pointer to lookup
2025-06-19 18:59:26 +01:00
Jan
788bf1cc5d
chore: make allocating redirect entry work with ptr directly
2025-06-19 18:59:25 +01:00
Jan
3c16da006c
chore: make sure that pointer resolving via lookup always resolves something
2025-06-19 18:59:25 +01:00
Jan
bd9a680bb0
fix: pointer lookup for assets that should be reusable
2025-06-19 18:59:24 +01:00
Jan
930867f07f
fix: properly load matching structure dynamic array inside non-matching structure embed
2025-06-19 18:59:24 +01:00
Jan
884ad57bf4
fix: dynamic fill loading missing conditions on unions
2025-06-19 18:59:24 +01:00
Jan
fe1bbce7aa
fix: do not resolve pointers like alias for x64
2025-06-19 18:59:23 +01:00
Jan
43be997a22
fix: doing wrong alignment on dynamic filling
2025-06-19 18:59:23 +01:00
Jan
ee027502ca
fix: Make LoadPtrArray reusable methods for x64
2025-06-19 18:59:23 +01:00
Jan
333cbed5f9
fix: fill structs in runtime block that are not matching structure
2025-06-19 18:59:22 +01:00
Jan
4ec5b52b0b
fix: filling x64 structs with dynamic array size
2025-06-19 18:59:22 +01:00
Jan
e035e5deb7
fix: try fixing alias resolving via redirection for x64 for real
2025-06-19 18:59:22 +01:00
Jan
e120d01697
fix: dynamic array reallocation for x64
2025-06-19 18:59:21 +01:00
Jan
967a378b4e
chore: temporarly adjust pointer insertion
2025-06-19 18:59:21 +01:00
Jan
f517130ef0
fix: not properly inserting pointer in x64 zone loading
2025-06-19 18:59:21 +01:00
Jan
6c8ec53821
fix: make x64 modified loading code compatible with x86 again
2025-06-19 18:59:20 +01:00
Jan
03ccede91c
refactor: implement base x64 fastfile loading for iw4
2025-06-19 18:59:20 +01:00
Jan
78d8fba6f8
refactor: make ZoneInputStream a reference in zone loading
2025-06-14 00:39:58 +01:00
Jan Laupetin
f6d7831e6e
chore: implement base skeleton for architecture independent zone loading
2025-06-14 00:39:55 +01:00
Jan
280f74d4dd
Merge pull request #451 from Laupetin/dependabot/submodules/thirdparty/json-568b708
...
chore(deps): bump thirdparty/json from `c633693` to `568b708`
2025-06-14 01:15:42 +02:00
Jan
09c11983e8
Merge pull request #453 from Laupetin/dependabot/submodules/thirdparty/libtommath-839ae9e
...
chore(deps): bump thirdparty/libtommath from `e823b0c` to `839ae9e`
2025-06-14 01:15:28 +02:00
Jan
e00874584c
Merge pull request #452 from Laupetin/dependabot/submodules/thirdparty/eigen-d228bcd
...
chore(deps): bump thirdparty/eigen from `cda19a6` to `d228bcd`
2025-06-14 01:15:16 +02:00
dependabot[bot]
2d3bcaa6de
chore(deps): bump thirdparty/libtommath from e823b0c
to 839ae9e
...
Bumps [thirdparty/libtommath](https://github.com/libtom/libtommath ) from `e823b0c` to `839ae9e`.
- [Release notes](https://github.com/libtom/libtommath/releases )
- [Commits](e823b0c34c...839ae9ea66
)
---
updated-dependencies:
- dependency-name: thirdparty/libtommath
dependency-version: 839ae9ea66718705fba2b5773d1bdfb2b457cea4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-13 22:51:34 +00:00
dependabot[bot]
91a85bf968
chore(deps): bump thirdparty/eigen from cda19a6
to d228bcd
...
Bumps [thirdparty/eigen](https://gitlab.com/libeigen/eigen ) from `cda19a6` to `d228bcd`.
- [Release notes](https://gitlab.com/libeigen/eigen/tags )
- [Commits](cda19a6255...d228bcdf8f
)
---
updated-dependencies:
- dependency-name: thirdparty/eigen
dependency-version: d228bcdf8f35d0625e6dd69ae2f949c38ac21257
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-13 22:51:32 +00:00
dependabot[bot]
2758e7b4ec
chore(deps): bump thirdparty/json from c633693
to 568b708
...
Bumps [thirdparty/json](https://github.com/nlohmann/json ) from `c633693` to `568b708`.
- [Release notes](https://github.com/nlohmann/json/releases )
- [Commits](c633693d3e...568b708fd4
)
---
updated-dependencies:
- dependency-name: thirdparty/json
dependency-version: 568b708fd46deeb23a959381393a7564f1586588
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-13 22:51:28 +00:00
Jan
c4a7c8c9b7
Merge pull request #450 from Laupetin/dependabot/submodules/thirdparty/lz4-2bc386d
...
chore(deps): bump thirdparty/lz4 from `351fc61` to `2bc386d`
2025-06-07 13:51:50 +02:00
Jan
2aa8d4e3dc
Merge pull request #449 from Laupetin/dependabot/submodules/thirdparty/catch2-3013cb8
...
chore(deps): bump thirdparty/catch2 from `74fcff6` to `3013cb8`
2025-06-07 13:51:38 +02:00
Jan
4e37ab860b
Merge pull request #448 from Laupetin/dependabot/submodules/thirdparty/json-c633693
...
chore(deps): bump thirdparty/json from `68c25ae` to `c633693`
2025-06-07 13:51:27 +02:00
Jan
2973704db4
Merge pull request #447 from Laupetin/dependabot/submodules/thirdparty/eigen-cda19a6
...
chore(deps): bump thirdparty/eigen from `4fdf87b` to `cda19a6`
2025-06-07 13:51:16 +02:00
dependabot[bot]
8a85ee776b
chore(deps): bump thirdparty/lz4 from 351fc61
to 2bc386d
...
Bumps [thirdparty/lz4](https://github.com/lz4/lz4 ) from `351fc61` to `2bc386d`.
- [Release notes](https://github.com/lz4/lz4/releases )
- [Commits](351fc6197d...2bc386d57c
)
---
updated-dependencies:
- dependency-name: thirdparty/lz4
dependency-version: 2bc386d57cd9c36780366acead0054fd49dcd36b
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 22:17:27 +00:00
dependabot[bot]
a379d5db07
chore(deps): bump thirdparty/catch2 from 74fcff6
to 3013cb8
...
Bumps [thirdparty/catch2](https://github.com/catchorg/Catch2 ) from `74fcff6` to `3013cb8`.
- [Release notes](https://github.com/catchorg/Catch2/releases )
- [Commits](74fcff6e5b...3013cb897b
)
---
updated-dependencies:
- dependency-name: thirdparty/catch2
dependency-version: 3013cb897b5706e8532507cb2b6ac33e1fc35d93
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 22:17:25 +00:00
dependabot[bot]
2cc63c6a0a
chore(deps): bump thirdparty/json from 68c25ae
to c633693
...
Bumps [thirdparty/json](https://github.com/nlohmann/json ) from `68c25ae` to `c633693`.
- [Release notes](https://github.com/nlohmann/json/releases )
- [Commits](68c25aec60...c633693d3e
)
---
updated-dependencies:
- dependency-name: thirdparty/json
dependency-version: c633693d3e2ab81fa186c691c452c47ced107845
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 22:17:22 +00:00
dependabot[bot]
c7132546d4
chore(deps): bump thirdparty/eigen from 4fdf87b
to cda19a6
...
Bumps [thirdparty/eigen](https://gitlab.com/libeigen/eigen ) from `4fdf87b` to `cda19a6`.
- [Release notes](https://gitlab.com/libeigen/eigen/tags )
- [Commits](4fdf87bbf5...cda19a6255
)
---
updated-dependencies:
- dependency-name: thirdparty/eigen
dependency-version: cda19a6255d25c3b834d142d74490b720425c49b
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 22:17:19 +00:00
Jan
a5e34d7081
Merge pull request #444 from Laupetin/dependabot/submodules/thirdparty/lz4-351fc61
...
chore(deps): bump thirdparty/lz4 from `836decd` to `351fc61`
v0.21.2
2025-05-31 09:15:05 +02:00
Jan
7f4d582fbd
Merge pull request #443 from Laupetin/dependabot/submodules/thirdparty/eigen-4fdf87b
...
chore(deps): bump thirdparty/eigen from `d81aa18` to `4fdf87b`
2025-05-31 09:14:53 +02:00
Jan
f462520c83
Merge pull request #442 from Laupetin/dependabot/submodules/thirdparty/json-68c25ae
...
chore(deps): bump thirdparty/json from `281d1e9` to `68c25ae`
2025-05-31 09:14:40 +02:00
dependabot[bot]
518bf1fba2
chore(deps): bump thirdparty/lz4 from 836decd
to 351fc61
...
Bumps [thirdparty/lz4](https://github.com/lz4/lz4 ) from `836decd` to `351fc61`.
- [Release notes](https://github.com/lz4/lz4/releases )
- [Commits](836decd8a8...351fc6197d
)
---
updated-dependencies:
- dependency-name: thirdparty/lz4
dependency-version: 351fc6197d25a4d8ebce25fb5d2c32ab97c826b1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-30 22:13:27 +00:00
dependabot[bot]
b19bb4d55a
chore(deps): bump thirdparty/eigen from d81aa18
to 4fdf87b
...
Bumps [thirdparty/eigen](https://gitlab.com/libeigen/eigen ) from `d81aa18` to `4fdf87b`.
- [Release notes](https://gitlab.com/libeigen/eigen/tags )
- [Commits](d81aa18f4d...4fdf87bbf5
)
---
updated-dependencies:
- dependency-name: thirdparty/eigen
dependency-version: 4fdf87bbf57e392bbf2c1bdf71d305ea3d037d33
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-30 22:13:25 +00:00
dependabot[bot]
54c72af9a0
chore(deps): bump thirdparty/json from 281d1e9
to 68c25ae
...
Bumps [thirdparty/json](https://github.com/nlohmann/json ) from `281d1e9` to `68c25ae`.
- [Release notes](https://github.com/nlohmann/json/releases )
- [Commits](281d1e929b...68c25aec60
)
---
updated-dependencies:
- dependency-name: thirdparty/json
dependency-version: 68c25aec608db272fd62f8eae2c34fb5e73a1af5
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-30 22:13:24 +00:00
Jan
da1c3956e5
Merge pull request #441 from LJW-Dev/fix-iwi-header-writing
...
Fix BO2 IWI files saving cube textures incorrectly.
2025-05-30 20:06:05 +02:00
Jan Laupetin
49867a3474
fix: accidentally dumping iwi cubemaps as 2D
2025-05-30 19:41:25 +02:00
LJW-Dev
dc43671930
Changed structure of IWI header writing so 2D images are last.
2025-05-30 17:22:09 +08:00
Jan
a8cf9b79fa
Merge pull request #440 from Laupetin/dependabot/submodules/thirdparty/eigen-d81aa18
...
chore(deps): bump thirdparty/eigen from `171bd08` to `d81aa18`
2025-05-24 08:53:53 +02:00
Jan
e67d3a8040
Merge pull request #439 from Laupetin/dependabot/submodules/thirdparty/json-281d1e9
...
chore(deps): bump thirdparty/json from `3cca3ad` to `281d1e9`
2025-05-24 08:53:40 +02:00