2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-12 19:47:27 +00:00

Commit Graph

  • 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
  • ea7b1eadae Make dumpers works as gdt dumpers and raw dumpers Jan 2021-03-06 13:25:08 +01:00
  • fc59a09d02 Make unlinker open a gdt file if not raw specified Jan 2021-03-06 12:09:00 +01:00
  • aa972614e5 Extract Gdt reading and writing classes to GdtStream file Jan 2021-03-06 10:47:25 +01:00
  • defc388210 Rename GDT to Gdt to keep naming schema Jan 2021-03-06 00:57:09 -08:00
  • 82a08d0850 Add unit tests for writing gdts Jan 2021-03-06 09:40:05 +01:00
  • 78ebeaaa7b Add Gdt parsing Jan 2021-03-06 09:28:14 +01:00
  • abb268a819 Add AssetDumperContext to bundle context fields for dumping Jan 2021-03-05 18:11:56 +01:00
  • 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 Jan 2021-03-05 09:23:37 +01:00
  • 286eaadd1c Update changelog for 0.0.2 Jan 2021-03-04 19:17:47 +01:00
  • bedd44eb6b Move scripts to scripts folder and remove unused docker image stuff Jan 2021-03-04 08:46:18 -08:00
  • ba699d36df Add docker based gitlab ci config Jan 2021-03-04 07:45:29 -08:00
  • 6937e7441c also specify image for test stage Jan 2021-03-04 13:16:45 +01:00
  • f9d515f141 reenable gitlab buildpipeline for gcc linux builds Jan 2021-03-04 13:15:57 +01:00
  • 159414d39c Fix type alignment macro inconsistencies Jan 2021-03-04 13:06:36 +01:00
  • 9ed749c9d2 Get rid of inheritence on Vector4 struct to prevent offsetof macro giving out a warning on gcc Jan 2021-03-04 03:45:14 -08:00
  • 35d9110783 Add alignment specifiers for gcc specifically to match MSVC alignments Jan 2021-03-04 03:29:16 -08:00
  • 3c9a9c038d Add alignment macros for asset definition that make use of parameter values Jan 2021-03-04 11:41:09 +01:00
  • 5f3aa2a460 Implement defines with parameters to ZoneCodeGenerator Jan 2021-03-04 11:37:06 +01:00
  • 29b962e949 Add offset of members to assetstructtests Jan 2021-03-04 09:04:25 +01:00
  • a10b3b7d3c Change ZoneLoad alloc method getting alignment via alignof to alignment value being specified directly via number Jan 2021-03-04 08:44:23 +01:00
  • 9d05282ffb replace alignas with macros per compiler in asset headers Jan 2021-03-03 13:49:58 -08:00
  • 8dfd91e71e add linux build script Jan 2021-03-03 13:30:24 -08:00
  • 01fb7984db do not link ZoneWriting for now because it has no content Jan 2021-03-03 22:17:20 +01:00
  • 7b99d6b7dd only add pthreads linking when on linux Jan 2021-03-03 22:17:05 +01:00
  • 12461d27e7 move parts to new common component to avoid circular dependency of zonecommon and objcommon Jan 2021-03-03 12:56:15 -08:00
  • d616738be4 Use premake error function to display errors Jan 2021-03-03 11:59:54 -08:00
  • 7e7889f103 Make sure circular dependencies are an error Jan 2021-03-03 11:57:16 -08:00
  • dc3fef5b0f Rework depedency management in premake lua scripts Jan 2021-03-03 11:55:37 -08:00
  • 1a45cf2107 Fix more gcc compilation issues Jan 2021-03-03 09:12:27 -08:00
  • a15fd17dfe Change alignment specifier to __attribute__((align(x)) for non VC++ Jan 2021-03-03 15:58:55 +01:00
  • b4d8e9c17b Make compilation process compatible to linux on gcc Jan 2021-03-03 06:21:25 -08:00
  • 1cd06668e0 Replace FileAPI with c++ streams and std::filesystem Jan 2021-03-03 14:04:35 +01:00
  • b6b0a57232 Refactor Crypto/Utils lib to make it Linux compatible Jan 2021-03-01 08:17:18 -08:00
  • 22402766af Make linux script and premake executable Jan 2021-03-01 07:35:36 -08:00
  • 2b9f3b52c4 Add linux premake Jan 2021-03-01 16:26:54 +01:00
  • 0975b1baa2 disable gitlab pipeline for now Jan 2021-03-01 14:44:03 +01:00
  • 1a09ad4396 Rename ZoneCodeGeneratorNew to ZoneCodeGenerator. Jan 2021-03-01 14:39:29 +01:00
  • f85c82f487 Remove old ZoneCodeGenerator implementation in c# Jan 2021-03-01 14:30:10 +01:00
  • 5290d3a768 Update ZCG new console output Jan 2021-03-01 14:12:36 +01:00
  • e33250a2de Remove unused and comment parts of the zoneload zcg new template Jan 2021-03-01 13:55:58 +01:00
  • 1ce87f3ca3 fix some stuff for zoneload zcg new template Jan 2021-03-01 13:15:12 +01:00
  • 682e2e44ca Fix T6 commands not including commands for weaponcamo Jan 2021-03-01 13:14:52 +01:00
  • e7c37574e7 Add dynamic array to zoneload zcg new Jan 2021-03-01 12:54:41 +01:00
  • 602d263472 fix a few snippet conditions for zoneloading in zcg new Jan 2021-03-01 12:10:57 +01:00
  • 11eb9ae4ce implement pointerarray Jan 2021-02-28 23:37:14 +01:00
  • 226c589bb8 make sure to calculate alignment of following modifiers properly Jan 2021-02-28 23:17:39 +01:00
  • 48d672edbe fix pointer array strings Jan 2021-02-28 22:58:15 +01:00
  • 25dbe10ba2 fix template error for singlepointer Jan 2021-02-28 22:42:53 +01:00