49 Commits

Author SHA1 Message Date
Jan
33ec343460 ZoneCodeGenerator: Add possibility to specify a custom array count to signalize how many entries of a static array should be loaded 2019-12-24 12:41:27 +01:00
Jan
4932994355 ZoneLoading: Remove unused asset counting part 2019-12-24 11:40:00 +01:00
Jan
551deeec34 ZoneCode: Add commands for GfxWorld and enable it 2019-12-24 01:59:58 +01:00
Jan
80bc10752a ZoneLoading: Fix not respecting the block type when trying to load data 2019-12-24 01:59:40 +01:00
Jan
d6f49c459c ZoneLoading: Only dump localized strings when there are any in the pool 2019-12-23 21:24:06 +01:00
Jan
ca1d188759 ZoneLoading: Fix typo in InvalidOffsetBlockOffsetException message 2019-12-23 21:23:48 +01:00
Jan
21f395ab7d ZoneLoading: When using the temp block multiple times after another when for example loading nested assets, remember the last position of the temp block and return to there when popping it 2019-12-23 17:55:42 +01:00
Jan
0d801948bc ZoneLoading: Enable now properly working assets 2019-12-23 17:05:53 +01:00
Jan
2fea7654a9 ZoneLoading: Fix not being able to load a null scriptstring and aligning incorrectly when loading the header 2019-12-23 17:05:12 +01:00
Jan
af56d9193d ZoneLoading: Always initialize AssetPools as dynamic since not all loaded assets are contained inside the initial assetlist 2019-12-23 17:04:23 +01:00
Jan
db08cf5ebc ZoneLoading: Fix InsertPointer not increasing the buffer position by the size of the pointer 2019-12-23 17:02:22 +01:00
Jan
236108e5fb ZoneCodeGenerator: Add ability to split loading of a structure due to a dynamic member 2019-12-22 23:33:00 +01:00
Jan
5b8cd9cbc6 ZoneCode: Fix and enable menuDef and WeaponVariantDef 2019-12-07 13:40:27 +01:00
Jan
e7725f6a9c ZoneLoading: Fix and enable xmodel, destructibledef, gameworldsp/mp, attachment_unique, weaponcamo, fx, vehicledef 2019-12-07 03:49:32 +01:00
Jan
a7857172d7 ZoneLoading: Enable assets menuList, impactfx and footsteptablefx due to now working properly 2019-12-06 16:33:36 +01:00
Jan
c386231576 ZoneCode: Fix and enable all already working assets 2019-12-05 04:05:44 +01:00
Jan
10334266b3 ZoneLoading: Enable mapents assets 2019-12-05 02:59:04 +01:00
Jan
b8bd20f693 ZoneCodeGenerator: Add support for scriptstring array pointers 2019-11-24 02:46:40 +01:00
Jan
2215fef883 ZoneLoading: Dump localized strings as str files 2019-11-19 02:30:27 +01:00
Jan
11168c782f ZoneLoading: Make AssetDumpers get the zone via their args 2019-11-19 02:30:04 +01:00
Jan
2f108d533c ZoneLoading: Save which language a zone has when loading 2019-11-19 00:43:46 +01:00
Jan
81255695a7 ZoneLoading: Remove KeyValuePair Dumper because keyvaluepairs will be part of the zone file 2019-11-18 21:45:16 +01:00
Jan
97590148ad ZoneLoading: Add dumper for Stringtable assets 2019-11-18 21:44:51 +01:00
Jan
d220aa8fde ZoneLoading: Make ZoneDumper also generate a game specific zone file 2019-11-18 21:42:02 +01:00
Jan
73489ee455 ZoneLoading: Add dumping for Rawfile based assets 2019-11-16 01:24:09 +01:00
Jan
2fe3954da8 Unlinker: Add skeleton for Dumping and listing of assets 2019-11-15 18:17:08 +01:00
Jan
caa01a4864 ZoneCodeGenerator: Add commands for ddlDef and a bit of other stuff to not break from errors 2019-11-15 14:56:11 +01:00
Jan
08d0dda4f6 ZoneCodeGenerator: Make scriptstringprovider available to child classes of asset loader to be able to instantiate other loaders 2019-11-15 14:53:43 +01:00
Jan
cd93106c19 ZoneCodeGenerator: Fix fastfile offsets being wrong by 1 due to not respecting that all offsets are moved by 1 2019-11-15 14:52:53 +01:00
Jan
51862d8596 ZoneCodeGenerator: Fix throwing overflow exceptions too early due to wrong limit testing 2019-11-15 14:52:10 +01:00
Jan
ec9be6e1fd ZoneCodeGenerator: Fix XStringArrays being loaded twice 2019-11-15 14:51:17 +01:00
Jan
765b0d9e32 ZoneCodeGenerator: Fix XAssetList of T6 being loaded into block memory and therefore causing overflows 2019-11-15 14:50:23 +01:00
Jan
271c819e97 ZoneLoading: Enable further easy assets like qdb, slug, localize, scriptparsetree 2019-11-14 15:35:19 +01:00
Jan
b7ab2a1aa6 ZoneCodeGenerator: Change ContentLoader to use vars for fastfile pointer transfer and change ZoneInputStream API to be able to specify load location to better reflect the way the games do it. 2019-11-14 14:48:40 +01:00
Jan
034de70bbc Add code generation on compiling to premake scripts using custom build commands 2019-10-25 02:13:37 +02:00
Jan
5b97aee87f Remove solution files from repository 2019-10-22 00:00:14 +02:00
Jan
91d76382f3 ZoneCodeGenerator: Add Dumping step for testing purposes 2019-10-21 17:01:48 +02:00
Jan
9d1b7325a2 Code Quality: Use enum class instead of enum to make sure enum members can only be accessed when scoped to the enum 2019-10-02 12:48:58 +02:00
Jan
2c611a1368 Update projects to Visual Studio 2019 platform 2019-10-02 12:21:34 +02:00
Jan
c4296996a9 ZoneCommon/ZoneLoading: Add additional dependencies and fix output files 2019-09-28 19:06:26 +02:00
Jan
c150350fc0 ZoneCodeGenerator/ZoneCommon: Automatically generate unit tests for struct sizes and alignments to make sure they match the expected values for fastfiles 2019-09-28 12:31:19 +02:00
Jan
63bbcfe5cb Pick appropriate Loader for every existing T6 asset and not only for RawFile 2019-09-28 00:39:16 +02:00
Jan
6cd003c11b Remove accidental t.txt entry in T6_Load generator output 2019-09-28 00:38:07 +02:00
Jan
4b2479faa0 Remove manually crafted rawfile loading code to make room for the generated code 2019-09-28 00:36:26 +02:00
Jan
b7387cd704 Generate zone loading code with ZoneCodeGenerator via custom build tool options when compiling 2019-09-27 23:05:59 +02:00
Jan
f9b7fa57c8 Add support for T6 server zones which are unsigned and unencrypted 2019-09-27 15:31:33 +02:00
Jan
d662e5dcfa Implement ZoneLoading in ZoneLoading component class 2019-09-26 22:35:59 +02:00
Jan
36cc8d3065 Make use of ArgumentParser and UsageInformation Generator in unlink tool 2019-09-26 21:43:49 +02:00
Jan
42af6df5d8 Rename ZoneLoader and ZoneWriter components to ZoneLoading and ZoneWriting to make a difference between the executive class and the component class 2019-09-24 22:35:11 +02:00