2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-07-04 10:11:53 +00:00

Commit Graph

  • 579c0747d0 Add loading of gdt entries to info based assets Jan 2021-03-28 12:07:36 +02:00
  • d9abf12b16 Move unlinked gdt files to source_data and reference unlinked gdts in zone definition file Jan 2021-03-28 10:20:24 +02:00
  • 4f995751ce Add load argument to unlinker to load zones before trying to unlink specified zones Jan 2021-03-27 16:45:30 +01:00
  • 7d4029b21f Add physconstraints loading Jan 2021-03-27 14:00:55 +01:00
  • 0dd7de3a0d Fix missing break in ZBarrier loader when counting barriers Jan 2021-03-27 14:00:44 +01:00
  • 8030a0238f Add phys preset loading Jan 2021-03-27 10:50:20 +01:00
  • 679fb6d398 Add tracer loading Jan 2021-03-27 10:50:09 +01:00
  • 23653e3067 Add ZBarrier loading Jan 2021-03-27 10:49:49 +01:00
  • 7d7fdb16aa Fix not dumping sound alias hash as hex Jan 2021-03-27 10:49:19 +01:00
  • 888b33a9c6 Add AssetLoader for attachments Jan 2021-03-27 00:01:33 +01:00
  • f226e6363d Remove unused headers from AssetLoaderWeapon Jan 2021-03-26 16:01:37 +01:00
  • 055dd5e840 Dump and read attachment and attachment uniques to and from weapon files Jan 2021-03-26 15:27:37 +01:00
  • 540e631fd5 Make sure last field in infostring is still output even if it is empty Jan 2021-03-26 15:26:44 +01:00
  • 3520a9bd2c Use new helper functions ParseAsArray and ParseAsPairs of InfoStringToStructConverterBase to parse notetracksoundmap and hidetags Jan 2021-03-26 12:12:32 +01:00
  • aaf350d088 Add calculation of fields not specified via weapon fields to asset loader weapon Jan 2021-03-25 13:34:14 +01:00
  • cb3e4386a9 Fix weapon asset loader not linking weaponfulldef attachment uniques to weaponvariantdef Jan 2021-03-25 13:33:05 +01:00
  • 593493d5fc Fix weapon asset loader not using scriptstring value but instead field name as value Jan 2021-03-25 13:32:39 +01:00
  • d8bd6fc11d Make AssetLoadingManager try to find referenced assets from global asset pools if non referencing asset was not found Jan 2021-03-25 13:31:23 +01:00
  • 620582aa18 Add weapon infostring loading Jan 2021-03-25 11:15:26 +01:00
  • a04eb98df9 Add vehicle infostring loading Jan 2021-03-25 11:15:11 +01:00
  • 55f48c9bc2 Add InfoString loading Jan 2021-03-25 11:14:51 +01:00
  • 613943b28c Move GDT and info string prefix constants into objconstants file Jan 2021-03-25 11:12:46 +01:00
  • 5551ff8df7 Move InfoString headers from Common to ObjCommon Jan 2021-03-24 16:35:12 +01:00
  • 628abd9b12 Fix missing cstring header for InfoStringFromStructConverter Jan 2021-03-24 15:56:52 +01:00
  • 2d97185c8f Move fields and string arrays for info string assets to common component Jan 2021-03-24 15:50:36 +01:00
  • abcce11b00 Split InfoString classes into multiple files depending on loading and writing code Jan 2021-03-24 13:51:21 +01:00
  • 9e00ad60e7 Add asset loader for font icon Jan 2021-03-24 12:33:42 +01:00
  • 79c1284193 Add asset loader for localize files Jan 2021-03-23 17:16:36 +01:00
  • 3ed63415a7 Add T6 assetloader for string tables Jan 2021-03-23 01:30:10 +01:00
  • 3529214596 Fix CsvStream not reading values properly Jan 2021-03-23 01:28:54 +01:00
  • 0ff06cad72 Add AssetLoaders for Qdb, ScriptParseTree and Slug Jan 2021-03-23 01:28:33 +01:00
  • 74f2bff716 Fix not using correct struct for ObjLoader for ddldef Jan 2021-03-23 00:44:24 +01:00
  • 5fbcbaf3c7 Fix not straight up inserting scriptstrings on loading from zone Jan 2021-03-23 00:42:41 +01:00
  • 4380a6c9f2 Set last byte of rawfile buffer to 0 when loading asset Jan 2021-03-22 23:32:55 +01:00
  • a18f001130 Dump zones in zone_dump/zone_raw subfolder Jan 2021-03-22 13:23:24 +01:00
  • 6f6d25da4a Always duplicate temp loaddef for T6 instead of only duplicating it if resource size is bigger than 0 Jan 2021-03-22 12:30:02 +01:00
  • 1058ee7881 Write null memory at end of t6 fastfiles like the original linker does because the game's reader needs it for some reason Jan 2021-03-22 09:49:42 +01:00
  • 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 Jan 2021-03-21 21:29:02 +01:00
  • a2ef445455 Fix adding offsets on strings and assets Jan 2021-03-21 10:19:51 +01:00
  • c4aec3e147 Preserve zone definition meta data order Jan 2021-03-21 10:19:27 +01:00
  • 1d33cf2adf Save offset for reusing for any type that has a reusable reference Jan 2021-03-20 16:04:17 +01:00
  • 5cd5ae5533 Add metadata from zone definition as keyvaluepairs to zone for T6 Jan 2021-03-20 14:08:22 +01:00
  • 5e08469635 Use custom parser values instead of simple parser values for parsing Zone definitions Jan 2021-03-20 14:07:48 +01:00
  • ef36d6cdc5 Use _strdup instead of strdup when using msvc Jan 2021-03-19 16:41:18 +01:00
  • 29e5898c2b Get rid of implicit size conversion warnings in ipak entry read stream Jan 2021-03-19 16:41:04 +01:00
  • dfaf5eba6b Define _CRT_SECURE_NO_WARNINGS to get rid of warnings for using functions like strcpy Jan 2021-03-19 16:40:39 +01:00
  • 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 Jan 2021-03-19 15:09:44 +01:00
  • 5443ed4261 Add scriptstrings from loaded zones to newly linked zone Jan 2021-03-18 20:03:00 +01:00
  • 2a6d7c84c2 Add ZoneScriptString class to store zone script strings Jan 2021-03-18 16:55:30 +01:00
  • 8736280ea8 Fix zone writing code not setting ptr following Jan 2021-03-18 13:02:31 +01:00
  • 0a4886e7ab Make sure zone memory can allocate blocks that are larger than its default maximum size and throw an error if allocation failed Jan 2021-03-18 11:48:41 +01:00
  • 50808bfad7 Fix xchunk processor not resetting input buffer size Jan 2021-03-18 11:47:55 +01:00
  • 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 Jan 2021-03-18 11:47:41 +01:00
  • 7c0504603e Basic write template based on load template Jan 2021-03-18 10:58:07 +01:00
  • 58eb64114c Add missing headers for gcc Jan 2021-03-17 23:32:42 +01:00
  • 1c35f43c25 Add noexcept specifier to XChunkException and WritingException Jan 2021-03-17 23:25:58 +01:00
  • 0bd4160956 Use static variable for void* PTR_INSERT and PTR_FOLLOWING instead of constexpr because thats incompatible with g++ Jan 2021-03-17 23:16:09 +01:00
  • 724e221ba4 Write XChunks in fastfiles Jan 2021-03-17 22:25:47 +01:00
  • f22012d282 Move XChunk processors to ZoneCommon Jan 2021-03-16 20:42:48 +01:00
  • ca1329323b Add header writing to IW4 ZoneWriterFactory Jan 2021-03-16 13:30:36 +01:00
  • c9f88e5e93 Use ZoneConstants class for IW4 Jan 2021-03-16 13:19:56 +01:00
  • 03775944ce Add skeleton for IW4 writing Jan 2021-03-16 12:52:26 +01:00
  • 4feea62280 ZoneWriting stuff Jan 2021-03-16 12:37:15 +01:00
  • 9d26c9c927 Add ZoneWriting basis Jan 2021-03-15 22:36:07 +01:00
  • 301f6e3e7a Use unique_ptr for ZoneLoading Jan 2021-03-14 12:34:50 +01:00
  • 94230cefb0 Make empty linking asset if asset is ignored Jan 2021-03-13 19:32:51 +01:00
  • d65f906ecb Remove FxImpactTable asset name Jan 2021-03-13 15:48:55 +01:00
  • b8cfdba5ec Make ZoneDefinition parser recognize strings as asset names Jan 2021-03-13 15:48:26 +01:00
  • cff70daccb Make comment removing preprocessor not recognize comments when inside a string Jan 2021-03-13 15:48:04 +01:00
  • 8a227d1171 Fix SimpleLexer not initializing read numbers property Jan 2021-03-13 15:47:42 +01:00
  • a84a4051f9 Write ZoneDefinition entry in parenthesis if there are unparsable character sequences Jan 2021-03-13 15:10:03 +01:00
  • 0db526d1c8 Check for already loaded assets when loading asset dependencies Jan 2021-03-13 14:54:56 +01:00
  • 5f6d976748 Fix ZoneDefinition parser condition for leaving out slashes Jan 2021-03-13 14:54:36 +01:00
  • a7860c7c76 Add AssetLoader basis Jan 2021-03-13 14:27:20 +01:00
  • 83080db991 Include filesize when opening a file with searchpaths Jan 2021-03-13 10:27:18 +01:00
  • 62247cecda Create directories for output fastfile for linker Jan 2021-03-13 10:25:37 +01:00
  • a57201d78d Rename AssetLoading from Linker to ZoneCreation Jan 2021-03-12 11:20:02 +01:00
  • 43966e8e00 Remove unused xblocks vector in Zone Jan 2021-03-12 10:57:31 +01:00
  • b360816190 Add AssetLoaders for linker that handle asset types for their specific game Jan 2021-03-12 10:55:55 +01:00
  • 792509d11d Read assetlists for ignoring assets Jan 2021-03-11 14:04:53 +01:00
  • 88b5eefe24 Create CsvStream class to replace CsvWriter Jan 2021-03-11 12:43:33 +01:00
  • 9b15afa70e Make ZoneDefinition sequences also accept eof instead of new line Jan 2021-03-10 15:17:36 +01:00
  • 8798779b39 Add ZoneDefinition Lexer Jan 2021-03-10 14:58:02 +01:00
  • c47ea48b6b Open search paths for assets, gdts and source in Linker Jan 2021-03-10 12:26:09 +01:00
  • 8c7926e745 Add document describing folder structure Jan 2021-03-09 14:30:58 +01:00
  • 6b80a1f951 Add sequences for ZoneDefinition includes and ignores Jan 2021-03-09 11:20:05 +01:00
  • 00462b9228 Include parsing when include ZoneCommon Jan 2021-03-09 11:19:49 +01:00
  • f3e8100526 Add ZoneDefinition Parsing Jan 2021-03-09 11:04:34 +01:00
  • 88ff98f334 Add Simple Parsing implementations for basic parsers Jan 2021-03-09 11:04:04 +01:00
  • 8d9080066f Extract commonly used Parser code to new Parser component Jan 2021-03-08 20:06:34 +01:00
  • d96f813e73 Restructure ZoneDefinitionWriting Jan 2021-03-08 17:28:24 +01:00
  • e6a91c0305 add linker basis Jan 2021-03-08 12:46:27 +01:00
  • 39a1485be6 Add T6 attachment unique dumper Jan 2021-03-07 17:51:02 +01:00
  • 7e9dfe9127 move iw4 string arrays to commoniw4 header Jan 2021-03-07 15:33:21 +01:00
  • ba1bca775b Move T6 string arrays to CommonT6 header Jan 2021-03-07 15:30:48 +01:00
  • 5db7eaeec3 Add T6 Attachment dumper Jan 2021-03-07 15:25:58 +01:00
  • b891f9527e Change the condition under which assets are dumped inside a gdt: Jan 2021-03-07 15:25:47 +01:00
  • 313e9e9f1a Remove reference asset names from info strings Jan 2021-03-06 21:20:13 +01:00
  • 78107b74e0 add newline to gdt unit tests prints Jan 2021-03-06 14:24:16 +01:00
  • 603994ce61 Make sure gdt values are escaped Jan 2021-03-06 14:13:46 +01:00