2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-05 08:17:25 +00:00
Commit Graph

162 Commits

Author SHA1 Message Date
Jan
79b4313384 refactor: update T6 loading code for x64 support 2025-06-24 17:08:45 +01:00
Jan
a9a8597323 refactor: update IW3 loading code for x64 support 2025-06-24 17:08:45 +01:00
Jan
37e5e940b0 refactor: update IW5 loading code for x64 support 2025-06-24 17:08:45 +01:00
Jan
1736f38d78 refactor: update T5 loading code for x64 support 2025-06-23 18:29:04 +01:00
Jan
377ef5ca5c fix: not passing correct zone ptr to content loader 2025-06-22 21:21:07 +01:00
Jan
818a8d7459 fix: Loading String arrays for x86 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
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
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
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 Laupetin
35cb6636a1 fix: linux build 2025-05-02 23:26:12 +02:00
Jan
b92e85dc14 refactor: hide implementation of loading steps inside file 2025-05-02 22:08:08 +01:00
Jan
955df98279 refactor: hide implementation details of zone loading processors 2025-05-02 22:08:07 +01:00
Jan
eb16dfcd00 refactor: merge ZoneInputStream interface with only implementation 2025-05-02 22:08:07 +01:00
Jan
4ce82ad63c refactor: update ZoneLoading classes codestyle 2025-05-02 22:08:07 +01:00
Jan
8b85cadb77 refactor: make memory from zone a reference instead of ptr 2025-05-02 22:08:06 +01:00
Jan
9e940a6f53 refactor: use zone reference in AssetLoader 2025-05-02 22:08:06 +01:00
Jan
365b627523 refactor: fix remaining x64 compilation issues 2025-04-27 19:30:36 +02:00
Jan
3b00c1d45b refactor: fix x64 compilation for ZoneLoading 2025-04-26 19:48:03 +02:00
Jan
5635470b6e refactor: cryptography component 2025-04-26 19:08:15 +02:00
Jan
b4194eff28 chore: always use dynamic asset pools and remove static implementation 2025-01-21 22:14:24 +00:00
Jan
d9f23a0b76 fix: make file name verification consider max file name length in zone properly 2025-01-15 00:46:22 +01:00
Jan
4c09e94220 refactor: remove MemoryManager create method usages 2025-01-13 22:03:20 +00:00
Jan
a1851b0ea0 chore: use method static array for zoneloaderfactory 2024-10-19 20:05:08 +01:00
Jan
a3acba8bc0 chore: update all usages of memory manager allocation 2024-04-22 21:21:48 +02:00
Jan
89074c8601 fix: not reallocating IW5 clipMap pInfo from temp block 2024-03-30 20:10:20 +01:00
Jan
e7a9e4b528 chore: use const reference for assetName in GetAsset methods 2024-03-30 17:19:32 +01:00
Jan
239001e6f2 refactor: use std ranges functions where applicable 2024-03-24 20:49:15 +01:00
Jan
1b13f1f1b4 refactor: only use sizeof with parenthesis 2024-03-24 19:56:06 +01:00
Jan
4f0ee35740 refactor: use std::extent_v instead of std::extent 2024-03-24 19:46:43 +01:00
Jan
fef815e708 feat: recognize indirect asset refs when marking assets 2024-02-07 00:53:52 +01:00
Jan
ac0d8a83a0 chore: refactor pool allocation and add indirect references 2024-02-06 23:03:40 +01:00
Jan
c6c89140b2 fix: check correct array for emptyness when getting dependencies from marker 2024-01-23 23:59:08 +01:00
Jan
685a99577b chore: remove scriptstring and dependency registration from ZoneLoad template 2024-01-22 22:39:18 +01:00
Jan
9d7c0d3452 feat: add asset marking 2024-01-22 21:47:46 +01:00
Clang Format
c858695f0c Adjust further code formatting 2023-11-19 21:07:28 +00:00
Jan
d5f881be04 Fix more missing headers 2023-11-19 21:07:27 +00:00
Clang Format
6b4f5d94a8 Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
dd56a57a3e Fix build with g++13 2023-10-01 10:50:39 +02:00
Jan
61a42afe28 Mark scriptstrings as used even when referencing them via zone pointer 2022-12-03 12:44:33 +01:00