2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-16 18:03:03 +00:00
Commit Graph

66 Commits

Author SHA1 Message Date
Jan Laupetin
90d7f92ddd chore: replace all usages of removed ClassUtils macros 2026-03-06 00:13:04 +01:00
Jan Laupetin
aa47ffa629 refactor: introduce subasset loading 2026-02-05 18:17:15 +01:00
Jan Laupetin
38038f8fad fix: clang compilation issues 2026-01-27 23:49:37 +01:00
Jan Laupetin
7c52fde1f8 fix: crash on writing float44 type due to misaligned memory
* the compiler in release builds optimizes to use movaps
* this opcode requires memory alignment to 16 byte
* the written memory buffer may be misaligned at this position
2026-01-17 00:45:22 +00:00
Jan Laupetin
9f559fdcd0 fix: ReusableAddOffset not respecting differing block and memory sizes 2026-01-17 00:45:21 +00:00
Jan Laupetin
0be778cf5c fix: do not fill in runtime block members 2026-01-17 00:45:20 +00:00
Jan Laupetin
7dffc77ed7 refactor: fill structs in templates when writing on x64 hosts 2026-01-17 00:45:19 +00:00
Jan Laupetin
257ef39b20 feat: add fill in ContentWriter classes for writing with x64 hosts 2026-01-17 00:45:19 +00:00
Jan Laupetin
2a1f6158e4 fix: writing bad zone sizes with x64 hosts 2026-01-17 00:45:19 +00:00
Jan Laupetin
6ea2e7faad refactor: use ZoneOutputOffset for written variables 2026-01-17 00:45:19 +00:00
Jan Laupetin
9900544f71 refactor: return ZoneOutputOffset when writing via ZoneOutputStream 2026-01-17 00:45:18 +00:00
Jan Laupetin
ac24e4f893 refactor: combined ZoneOutputStream interface with impl 2026-01-17 00:45:18 +00:00
Jan Laupetin
86b7e55e5b refactor: add game name to generated load and write files 2026-01-17 00:45:17 +00:00
Jan Laupetin
ba39e3f4d9 fix: do not override properties of foreign zones 2025-12-25 15:29:32 +01:00
Jan Laupetin
8eb79da8a2 chore: adjust asset data when taking from global asset pools 2025-12-23 15:40:52 +01:00
Jan Laupetin
8b1afcafaa chore: rename iw4 zone constants for zone version 2025-12-23 00:41:09 +01:00
Michael Oliver
cc7a68de56 feat: dump iw3 xbox unsigned fastfile data 2025-12-14 01:27:24 +00:00
Jan Laupetin
02f20f09b6 chore: update all logging to use centralized logging component 2025-09-11 20:25:51 +02: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 Laupetin
734173066b refactor: only refer to game id in zone 2025-08-31 18:00:27 +01:00
Jan
03ccede91c refactor: implement base x64 fastfile loading for iw4 2025-06-19 18:59:20 +01:00
Jan
365b627523 refactor: fix remaining x64 compilation issues 2025-04-27 19:30:36 +02:00
Jan
cc67f6e730 refactor: use OutputPathFilesystem for writing fastfiles 2025-01-14 22:03:44 +01:00
Jan
b00c65c8c0 refactor: get rid of global game variables 2024-10-19 22:09:26 +02:00
Jan
ce16d8e6c8 chore: use method static array for zonewriterfactory 2024-10-19 20:05:08 +01:00
Jan
778361728c chore: make some zone classes use const references 2024-10-19 20:05:08 +01:00
0021c85536 fix: address review 2024-09-15 11:36:05 +02:00
a0551d72da feat: track time spent linking zone 2024-09-12 15:52:42 +02:00
Jan
a3acba8bc0 chore: update all usages of memory manager allocation 2024-04-22 21:21:48 +02:00
Jan
132cccb971 refactor: use new line character instead of std::endl 2024-03-24 20:24:22 +01:00
Clang Format
c858695f0c Adjust further code formatting 2023-11-19 21:07:28 +00:00
Clang Format
6b4f5d94a8 Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
538c4be839 Fix not supporting nullptr scriptstrings 2021-12-30 16:51:16 +01:00
Jan
88710cb3bf IW5 Fixups 2021-07-23 16:28:59 +02:00
Jan
f201dfafd8 IW5 support initial commit 2021-07-23 01:12:36 +02:00
Jan
2ac1ec7cb0 Add zone writing for T5 2021-06-24 16:58:12 +02:00
Jan
2edca7a57e Add T5 basis 2021-04-27 18:19:32 +02:00
Jan
a8c62de081 Add written variable for zone writing code to be able to differ between written data and original data 2021-05-08 16:41:42 +02:00
Jan
acc11a1609 Fix IW4 fastfile writer factory steps 2021-05-08 16:41:21 +02:00
Jan
4d37d37fd7 Add IW4 zone writing 2021-05-08 14:02:08 +02:00
Jan
687d1185a3 Add IW3 zone writing 2021-04-17 11:19:55 +02:00
Jan
1267b8aa7b iw3 basis 2021-04-12 19:18:55 +02:00
Jan
1058ee7881 Write null memory at end of t6 fastfiles like the original linker does because the game's reader needs it for some reason 2021-03-22 09:49:42 +01:00
Jan
d99eb0ab24 Use asset identified by name and type when writing asset dependency to make sure that the pointer always matches one that would have been written to the zone already even when using an asset from another loaded zone 2021-03-21 21:29:02 +01:00
Jan
a2ef445455 Fix adding offsets on strings and assets 2021-03-21 10:19:51 +01:00
Jan
2f700a48a9 Make sure fastfile offset is taken after alignment, marking following is done on the originally written data and writing partially uses the original data when writing dynamic sized data
too lazy to split into single commits
2021-03-19 15:09:44 +01:00
Jan
5443ed4261 Add scriptstrings from loaded zones to newly linked zone 2021-03-18 20:03:00 +01:00
Jan
2a6d7c84c2 Add ZoneScriptString class to store zone script strings 2021-03-18 16:55:30 +01:00
Jan
8736280ea8 Fix zone writing code not setting ptr following 2021-03-18 13:02:31 +01:00