2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-04-27 22:19:37 +00:00
Commit Graph

113 Commits

Author SHA1 Message Date
Jan 61a42afe28 Mark scriptstrings as used even when referencing them via zone pointer 2022-12-03 12:44:33 +01:00
Jan 3bbe5a4835 Remove outdated assertion for empty scriptstring list on loading 2021-12-30 19:19:42 +01:00
Jan 538c4be839 Fix not supporting nullptr scriptstrings 2021-12-30 16:51:16 +01:00
Jan 7afc5d42b0 Fix more IW5 command and struct mistakes 2021-07-24 10:54:13 +02: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 bb3e7d9e88 Load T5 fastfiles 2021-05-12 21:47:34 +02:00
Jan e3a3d012e6 Add Commands for T5 2021-05-12 19:23:27 +02:00
Jan 2edca7a57e Add T5 basis 2021-04-27 18:19:32 +02:00
Jan 54579deea4 Fix IW4 XModel Surfaces not being copied even though they are being loaded into the temp block 2021-05-08 14:02:38 +02:00
Jan 843b861b1b Load GfxImageLoadDef for all supported games 2021-04-28 18:19:30 +02:00
Jan 687d1185a3 Add IW3 zone writing 2021-04-17 11:19:55 +02:00
Jan 73eb76c991 Only overflow block when align goes over block boundary instead of only hit it because load can be 0 2021-04-15 17:08:51 +02:00
Jan ecef868903 Add loading of iw3 fastfiles 2021-04-14 19:41:41 +02:00
Jan 6b72ac080f Finish iw3 zone code generation 2021-04-14 18:39:54 +02:00
Jan 1267b8aa7b iw3 basis 2021-04-12 19:18:55 +02: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 6f6d25da4a Always duplicate temp loaddef for T6 instead of only duplicating it if resource size is bigger than 0 2021-03-22 12:30:02 +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 c9f88e5e93 Use ZoneConstants class for IW4 2021-03-16 13:19:56 +01:00
Jan 9d26c9c927 Add ZoneWriting basis 2021-03-15 22:36:07 +01:00
Jan 301f6e3e7a Use unique_ptr for ZoneLoading 2021-03-14 12:34:50 +01:00
Jan 88c48e8107 Add dynamic allocation alignment to be able to load T6 MemoryBlock asset which isnt used at all so why am i doing this again 2021-03-05 09:23:37 +01:00
Jan 1a45cf2107 Fix more gcc compilation issues 2021-03-03 09:12:27 -08:00
Jan 1cd06668e0 Replace FileAPI with c++ streams and std::filesystem 2021-03-03 14:04:35 +01:00
Jan eed7164b5b Save scriptstrings per zone and not per asset since that solves all problems with multiple assets of the same zone referencing the same struct in memory that has scriptstring indices 2020-10-23 15:54:27 +02:00
Jan 991bcf6d58 Make sure that assets that use scriptstrings always have an empty scriptstring at position 0 2020-10-23 12:54:51 +02:00
Jan 3cfcfa0c5d Make sure scriptstring arrays are being reallocated when they are reusable so if it is being referenced again the scriptstring indices are the ones of the zone instead of the asset that originally loaded them 2020-10-23 12:54:18 +02:00
Jan 068add0eef Fix script string indices being off by one due to inserting empty script string that is not necessarly in the zone 2020-10-23 12:51:18 +02:00
Jan f3afaf3110 move zoneloaderfactories in their respective game namespaces 2020-10-17 16:04:26 +02:00
Jan f0c8ffa6be move contentloader classes to their respective game namespaces 2020-10-17 15:55:19 +02:00
Jan b8b8e4c267 Implement loading of the remaining iw4 assets which are the map assets 2020-10-11 12:22:20 +02:00
Jan 6437d8daa4 Remove SndDriverGlobals references as an asset since it is non existant for IW4 PC builds 2020-09-15 12:54:32 +02:00
Jan 906d112619 Add loading of iw4 weapondef and vehicledef assets 2020-09-15 12:51:59 +02:00
Jan c515747bc0 Add loading of iw4 font and addonmapents assets 2020-09-15 11:21:46 +02:00
Jan fb93d7cb2f Add loading of iw4 assets clipmap and mapents 2020-09-15 10:44:45 +02:00
Jan 8778421ebb Quick code style fix 2020-09-09 16:11:21 +02:00
Jan 83d76acedc add structureddatadef loading code for iw4 2020-09-09 12:36:53 +02:00
Jan 0efff7d637 add iw4 tracerdef loading code 2020-09-09 12:08:09 +02:00
Jan 3bf47f058d Add LeaderboardDef asset loading for IW4 2020-09-09 12:03:14 +02:00
Jan b4756c3688 Add IW4 ImpactFx loading code 2020-09-09 11:58:42 +02:00
Jan ceeb1832cd Add IW4 GfxLightDef asset loading code 2020-09-09 11:54:15 +02:00
Jan 24195be273 Add Fx asset for IW4 2020-09-09 11:47:29 +02:00
Jan bdbfb7114e Add menu loading for iw4 2020-09-08 20:52:29 +02:00
Jan c1d2ac6604 Add localize entry to iw4 and skip snddriverglobals since the asset is not loaded but is still in the asset list of fastfiles 2020-09-08 13:10:54 +02:00
Jan d35560ccd7 Add support for loading sound assets from iw4 zones 2020-09-08 12:11:16 +02:00
Jan b25fe9a9f7 Added iw4 assets related to materials, xmodels 2020-09-07 18:19:20 +02:00