2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-01-24 08:53:04 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
Jan Laupetin
51300bb47c chore: const params in InvalidLookupPositionException 2026-01-17 00:45:20 +00:00
Jan Laupetin
2a1f6158e4 fix: writing bad zone sizes with x64 hosts 2026-01-17 00:45:19 +00:00
Jan Laupetin
793d7ad5dc fix: do not try to add indirect asset references without name 2026-01-03 18:23:55 +00:00
Jan Laupetin
8eb79da8a2 chore: adjust asset data when taking from global asset pools 2025-12-23 15:40:52 +01:00
Jan Laupetin
0ef4979873 chore: make marker reusable with visitor pattern 2025-12-23 15:40:51 +01:00
Jan Laupetin
c73b2ed838 chore: move asset marker to ZoneCommon 2025-12-23 15:40:48 +01:00
Michael Oliver
5a0b255d92 tidy 2025-12-21 21:35:20 +00:00
Jan Laupetin
a8fb5053dd fix: make sure to stop inflating when Z_STREAM_END is encountered 2025-12-16 01:01:32 +00:00
Jan Laupetin
5b3664ad8c chore: add possibility to provide loading progress callback when loading zones 2025-10-14 16:48:20 +01:00
Jan Laupetin
02f20f09b6 chore: update all logging to use centralized logging component 2025-09-11 20:25:51 +02:00
Jan Laupetin
07189ed58a chore: add define for not loading xchunks async 2025-09-01 22:17:05 +01:00
Jan Laupetin
75d579b5e3 feat: dump t6 xbox fastfile data 2025-09-01 22:17:05 +01:00
Jan Laupetin
763d280805 chore: recognize when xenon fastfile use lzx compression 2025-09-01 00:05:36 +02:00
Jan Laupetin
802b0f244a chore: dump fastfile data when xenon t6 fastfile is detected 2025-09-01 00:05:33 +02: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
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
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
d9f23a0b76 fix: make file name verification consider max file name length in zone properly 2025-01-15 00:46:22 +01:00
Jan
a1851b0ea0 chore: use method static array for zoneloaderfactory 2024-10-19 20:05:08 +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
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
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
Jan
538c4be839 Fix not supporting nullptr scriptstrings 2021-12-30 16:51:16 +01:00
Jan
1cc5be2f64 Load iw4x zones for iw4 2021-04-01 20:29:42 +02:00
Jan
590a108a1b Fix IW4 zone loading 2021-03-30 11:19:56 +02:00
Jan
4f995751ce Add load argument to unlinker to load zones before trying to unlink specified zones
this allows to make sure certain ipaks are loaded before dumping
2021-03-27 16:45:30 +01:00
Jan
2a6d7c84c2 Add ZoneScriptString class to store zone script strings 2021-03-18 16:55:30 +01:00
Jan
f22012d282 Move XChunk processors to ZoneCommon 2021-03-16 20:42:48 +01:00
Jan
9d26c9c927 Add ZoneWriting basis 2021-03-15 22:36:07 +01:00