2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-06-21 03:45:38 +00:00

10 Commits

Author SHA1 Message Date
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
884ad57bf4
fix: dynamic fill loading missing conditions on unions 2025-06-19 18:59:24 +01:00
Jan
43be997a22
fix: doing wrong alignment on dynamic filling 2025-06-19 18:59:23 +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
03ccede91c
refactor: implement base x64 fastfile loading for iw4 2025-06-19 18:59:20 +01:00
Jan Laupetin
f6d7831e6e
chore: implement base skeleton for architecture independent zone loading 2025-06-14 00:39:55 +01:00
Jan
eb16dfcd00
refactor: merge ZoneInputStream interface with only implementation 2025-05-02 22:08:07 +01:00