Jan
|
7d7fdb16aa
|
Fix not dumping sound alias hash as hex
|
2021-03-27 10:49:19 +01:00 |
|
Jan
|
888b33a9c6
|
Add AssetLoader for attachments
|
2021-03-27 00:01:33 +01:00 |
|
Jan
|
f226e6363d
|
Remove unused headers from AssetLoaderWeapon
|
2021-03-26 16:01:37 +01:00 |
|
Jan
|
055dd5e840
|
Dump and read attachment and attachment uniques to and from weapon files
|
2021-03-26 15:27:37 +01:00 |
|
Jan
|
540e631fd5
|
Make sure last field in infostring is still output even if it is empty
|
2021-03-26 15:26:44 +01:00 |
|
Jan
|
3520a9bd2c
|
Use new helper functions ParseAsArray and ParseAsPairs of InfoStringToStructConverterBase to parse notetracksoundmap and hidetags
|
2021-03-26 12:12:32 +01:00 |
|
Jan
|
aaf350d088
|
Add calculation of fields not specified via weapon fields to asset loader weapon
|
2021-03-25 13:34:14 +01:00 |
|
Jan
|
cb3e4386a9
|
Fix weapon asset loader not linking weaponfulldef attachment uniques to weaponvariantdef
|
2021-03-25 13:33:05 +01:00 |
|
Jan
|
593493d5fc
|
Fix weapon asset loader not using scriptstring value but instead field name as value
|
2021-03-25 13:32:39 +01:00 |
|
Jan
|
d8bd6fc11d
|
Make AssetLoadingManager try to find referenced assets from global asset pools if non referencing asset was not found
|
2021-03-25 13:31:23 +01:00 |
|
Jan
|
620582aa18
|
Add weapon infostring loading
|
2021-03-25 11:15:26 +01:00 |
|
Jan
|
a04eb98df9
|
Add vehicle infostring loading
|
2021-03-25 11:15:11 +01:00 |
|
Jan
|
55f48c9bc2
|
Add InfoString loading
|
2021-03-25 11:14:51 +01:00 |
|
Jan
|
613943b28c
|
Move GDT and info string prefix constants into objconstants file
|
2021-03-25 11:12:46 +01:00 |
|
Jan
|
5551ff8df7
|
Move InfoString headers from Common to ObjCommon
|
2021-03-24 16:35:12 +01:00 |
|
Jan
|
628abd9b12
|
Fix missing cstring header for InfoStringFromStructConverter
|
2021-03-24 15:56:52 +01:00 |
|
Jan
|
2d97185c8f
|
Move fields and string arrays for info string assets to common component
|
2021-03-24 15:50:36 +01:00 |
|
Jan
|
abcce11b00
|
Split InfoString classes into multiple files depending on loading and writing code
|
2021-03-24 13:51:21 +01:00 |
|
Jan
|
9e00ad60e7
|
Add asset loader for font icon
|
2021-03-24 12:33:42 +01:00 |
|
Jan
|
79c1284193
|
Add asset loader for localize files
|
2021-03-23 17:16:36 +01:00 |
|
Jan
|
3ed63415a7
|
Add T6 assetloader for string tables
|
2021-03-23 01:30:10 +01:00 |
|
Jan
|
3529214596
|
Fix CsvStream not reading values properly
|
2021-03-23 01:28:54 +01:00 |
|
Jan
|
0ff06cad72
|
Add AssetLoaders for Qdb, ScriptParseTree and Slug
|
2021-03-23 01:28:33 +01:00 |
|
Jan
|
74f2bff716
|
Fix not using correct struct for ObjLoader for ddldef
|
2021-03-23 00:44:24 +01:00 |
|
Jan
|
5fbcbaf3c7
|
Fix not straight up inserting scriptstrings on loading from zone
|
2021-03-23 00:42:41 +01:00 |
|
Jan
|
4380a6c9f2
|
Set last byte of rawfile buffer to 0 when loading asset
|
2021-03-22 23:32:55 +01:00 |
|
Jan
|
a18f001130
|
Dump zones in zone_dump/zone_raw subfolder
|
2021-03-22 13:23:24 +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
|
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
|
c4aec3e147
|
Preserve zone definition meta data order
|
2021-03-21 10:19:27 +01:00 |
|
Jan
|
1d33cf2adf
|
Save offset for reusing for any type that has a reusable reference
|
2021-03-20 16:04:17 +01:00 |
|
Jan
|
5cd5ae5533
|
Add metadata from zone definition as keyvaluepairs to zone for T6
|
2021-03-20 14:08:22 +01:00 |
|
Jan
|
5e08469635
|
Use custom parser values instead of simple parser values for parsing Zone definitions
|
2021-03-20 14:07:48 +01:00 |
|
Jan
|
ef36d6cdc5
|
Use _strdup instead of strdup when using msvc
|
2021-03-19 16:41:18 +01:00 |
|
Jan
|
29e5898c2b
|
Get rid of implicit size conversion warnings in ipak entry read stream
|
2021-03-19 16:41:04 +01:00 |
|
Jan
|
dfaf5eba6b
|
Define _CRT_SECURE_NO_WARNINGS to get rid of warnings for using functions like strcpy
|
2021-03-19 16:40:39 +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 |
|
Jan
|
0a4886e7ab
|
Make sure zone memory can allocate blocks that are larger than its default maximum size and throw an error if allocation failed
|
2021-03-18 11:48:41 +01:00 |
|
Jan
|
50808bfad7
|
Fix xchunk processor not resetting input buffer size
|
2021-03-18 11:47:55 +01:00 |
|
Jan
|
2add1ba22d
|
Make sure xchunk write size can specified to be smaller than xchunk size to respect zlib to add size instead of removing size due to not being able to compress
|
2021-03-18 11:47:41 +01:00 |
|
Jan
|
7c0504603e
|
Basic write template based on load template
|
2021-03-18 10:58:07 +01:00 |
|
Jan
|
58eb64114c
|
Add missing headers for gcc
|
2021-03-17 23:32:42 +01:00 |
|
Jan
|
1c35f43c25
|
Add noexcept specifier to XChunkException and WritingException
|
2021-03-17 23:25:58 +01:00 |
|
Jan
|
0bd4160956
|
Use static variable for void* PTR_INSERT and PTR_FOLLOWING instead of constexpr because thats incompatible with g++
|
2021-03-17 23:16:09 +01:00 |
|
Jan
|
724e221ba4
|
Write XChunks in fastfiles
|
2021-03-17 22:25:47 +01:00 |
|