2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-24 01:06:40 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Jan Laupetin
02f20f09b6 chore: update all logging to use centralized logging component 2025-09-11 20:25:51 +02: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
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
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
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 Laupetin
35cb6636a1 fix: linux build 2025-05-02 23:26:12 +02:00
Jan
eb16dfcd00 refactor: merge ZoneInputStream interface with only implementation 2025-05-02 22:08:07 +01:00