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

Commit Graph

  • 000022afe9 ObjWriting: Add DDS writer basis Jan 2020-02-19 15:54:10 +01:00
  • b436781632 ObjWriting: Use proper extension when dumping image files Jan 2020-02-19 15:52:07 +01:00
  • 87d760f6d7 ObjWriting: Use configured image output format when trying to dump images Jan 2020-02-19 15:36:49 +01:00
  • 14593b4799 Unlinker: Do not list localized strings one by one in the zone file and do not include keyvaluepairs at all because they should be in the meta data Jan 2020-02-19 14:45:55 +01:00
  • f0b66f0a35 ZoneCommon: List zone content in the order it was loaded Jan 2020-02-19 14:10:50 +01:00
  • a7b59ea3d7 ZoneCommon: Remove unused GlobalAssetPool source file Jan 2020-02-19 12:21:07 +01:00
  • 9572391082 Unlinker: Make zone files creators game dependent and in the unlinker project instead of the ObjWriting component Jan 2020-02-18 17:15:51 +01:00
  • 992e9cea30 ZoneLoading: Properly link assets as dependencies instead of only saving the name of the dependency Jan 2020-02-18 13:16:39 +01:00
  • 246d74992c Unlinker: Fix not attempting to load specified zone files from arguments Jan 2020-02-14 23:54:13 +01:00
  • 23f77bb335 Unlinker: Make parsing specified command line arguments its own class Jan 2020-02-14 23:40:47 +01:00
  • f3779bac03 ObjWriting: Add dumper for GfxImage iwi files of version 27 Jan 2020-02-11 23:47:04 +01:00
  • 6b59fcb5fe ObjCommon: Add Id to ImageFormats to be able to identify predefined formats without comparing pointers Jan 2020-02-11 23:46:25 +01:00
  • 7d809faf07 ObjWriting: Add method to AbstractAssetDumper for checking whether an asset should be dumped Jan 2020-02-11 20:46:59 +01:00
  • dd4987c2f1 ObjLoading: Fix not setting texture size on loading an image to signalize there's a valid texture object Jan 2020-02-11 20:45:57 +01:00
  • 80deff450d ObjLoading: Load common ipaks depending on SP/MP/ZM for every zone and make sure to not double load them Jan 2020-02-10 23:02:44 +01:00
  • 53b03c1fdb ObjLoading: Fix loading the wrong chunkbuffer window data when trying to shift chunkbuffer Jan 2020-02-10 14:17:28 +01:00
  • 76712328b2 ObjLoading: Add implementation for loading iwis of version 27 (T6) Jan 2020-02-10 14:16:49 +01:00
  • 43fa845839 ObjLoading: Add possibility to go back to the beginning of a IPakEntryReadStream Jan 2020-02-09 10:01:09 +01:00
  • 4baca81210 ObjLoading: Implement IPakEntryReadStream as a linear stream Jan 2020-02-09 09:51:57 +01:00
  • 7b3b527ece ObjLoading: Fix not including algorithm header even though using find_if Jan 2020-02-09 01:27:20 +01:00
  • eaa64665d6 ObjLoading: Fix Ipak entry size not specifying the filesize but the difference between start pos and end pos Jan 2020-02-09 01:22:27 +01:00
  • 345687125f ObjLoading: Fix not increasing head on reading uncompressed ipak data Jan 2020-02-09 00:04:21 +01:00
  • 28bc614a6d ObjLoading: Initial commit for IPak entry reading Jan 2020-02-08 22:54:24 +01:00
  • 91d5439f25 ObjLoading: Fix not respecting that IPak index entries specify an offset to the data section and not a file offset Jan 2020-02-08 22:53:33 +01:00
  • 00d7997d0a ObjLoading: Add basis for IPakEntryReadStream to read ipak entries Jan 2020-02-08 15:55:10 +01:00
  • 5bda400acb ObjLoading: Add basis for Iwi loading Jan 2020-02-07 20:55:10 +01:00
  • 589347ce08 ZoneCommon: Add Texture pointer from OAT to GfxTexture union of T6 to be able to save loaded texture data in GfxImage Jan 2020-02-07 20:54:40 +01:00
  • b210661ac8 Unlinker: Fix not attempting to load files from manually specified search paths Jan 2020-02-07 20:53:41 +01:00
  • c2b28a54be ObjCommon: Fix IPak order of hashes from name - data to data - name Jan 2020-02-07 20:53:07 +01:00
  • 9f8022c2ca ZoneCommon: Add GameLanguagePrefix class and save known prefixes for languages in the game object Jan 2020-02-07 20:52:24 +01:00
  • f73c27a7dc Premake: Add include guard to make sure dependencies do not include themselves in an infinite chain when two components depend on each other Jan 2020-02-07 02:46:24 +01:00
  • 55d5746650 ZoneCode: Add Action on loading a GfxImage to set the loadedSize property to 0 to indicate Texture data has not yet been loaded Jan 2020-02-06 21:26:34 +01:00
  • 75f6caab54 ObjCommon: Refactor classes for holding Texture information Jan 2020-02-06 19:01:45 +01:00
  • 63330ff908 ZoneCommon: Extract non ZoneMemory management from ZoneMemory into Utils::MemoryManager class Jan 2020-02-05 16:52:43 +01:00
  • b67b4ee316 ObjLoading: Add documentation for IObjLoader, ObjLoading and IWD Jan 2020-02-04 23:48:11 +01:00
  • b8de90a675 ObjLoading: Do not attempt to load textures that already have a loaddef Jan 2020-02-04 19:52:23 +01:00
  • d01f5c49a8 ZoneLoading: Add implementation for LoadImageData action: Duplicate any ImageLoadDef that contains data, otherwise discard temporary empty loaddef Jan 2020-02-04 19:45:45 +01:00
  • b8c2557482 ObjLoading: Display error message on directory_iterator throwing an exception Jan 2020-02-04 19:44:56 +01:00
  • 10342a7b58 Unlinker: Check if a file exists before attempting to load it Jan 2020-02-04 19:44:30 +01:00
  • dde77901a3 ObjCommon: WIP: ImageData Jan 2020-01-06 20:32:33 +01:00
  • c67911bdbb ZoneCommon: Add class object construction and destruction methods to ZoneMemory Jan 2020-01-04 15:13:44 +01:00
  • 297358cdb0 ZoneLoading: Fix AssetLoader not initializing varScriptString Jan 2020-01-03 18:13:04 +01:00
  • 4971ec190d ZoneCodeGenerator: Call custom action on loading singlepointer and embedded Jan 2020-01-03 18:12:43 +01:00
  • 91327c57ce ZoneCodeGenerator: Fix not generating tests for structure sizes and alignments Jan 2020-01-03 17:25:31 +01:00
  • bdb0958c16 ZoneCodeGenerator: Add possibility to define custom actions that should be performed after loading a certain Structure Jan 2020-01-03 17:25:10 +01:00
  • c995a12001 ZoneCodeGenerator: Fix aligning wrong when custom aligning is set in size calculation Jan 2020-01-03 17:23:57 +01:00
  • 96f2067030 ObjLoading: Read index section of ipaks and try to open images from it when loading obj data Jan 2020-01-03 01:13:07 +01:00
  • 204d3aed78 ObjLoading: Fix Repository not updating iterator when erasing entry Jan 2020-01-03 01:11:28 +01:00
  • c2f3bca268 ObjLoading: Add indexing and reading of files in IWDs Jan 2020-01-02 00:52:56 +01:00
  • 0abdb64832 ObjLoading: Be able to load and index IWD files Jan 2020-01-01 18:46:33 +01:00
  • a4d55ffae7 ThirdParty: Fix minizip not having all nessecary files included Jan 2019-12-31 00:20:16 +01:00
  • 153f8f2e89 Unlinker/ObjLoading: Add skeleton for dynamically loading search paths based on current zone Jan 2019-12-30 23:52:33 +01:00
  • 5f833969f9 Utils: Fix UsageInformation still outputting a dash when no short name is specified. Same for long name. Jan 2019-12-30 23:51:13 +01:00
  • af55c202cf ObjLoading/ObjWriting: Initial skeleton for loading and writing obj files Jan 2019-12-29 16:40:03 +01:00
  • a0d4e87b8e ZoneCommon: Change name of global variable for the T6 Game instance Jan 2019-12-29 16:39:29 +01:00
  • c488e4c714 Add minilzo and minizip as dependencies Jan 2019-12-29 16:38:14 +01:00
  • d77438d654 Project: Update .gitignore to only ignore paths are are supposed to be ignored with the current premake setup: build and local Jan 2019-12-27 16:32:21 +01:00
  • ce063adcc5 Utils: Make file of FileAPI an interface to be able to integrate custom file implementations when using Jan 2019-12-25 14:07:51 +01:00
  • 00b3322cb2 ZoneLoading: Extract all obj dumping relevant parts to ObjWriting component Jan 2019-12-25 14:07:24 +01:00
  • e8de3a3f39 Unlinker: Make Unlinker handle each zone directly after loading so it doesn't run out of memory when trying to load too many zones at once Jan 2019-12-24 18:42:25 +01:00
  • 7121f2e215 ZoneLoading: Add ZoneMemory and the possibility to unload zones and their memory Jan 2019-12-24 18:41:42 +01:00
  • d224eb8ce5 ZoneLoading: Simulate the vanilla edge case that the chunk size is in the end of the loadbuffer and cannot quite fit into it so the space is padded and the chunk size is loaded from the beginning of the buffer Jan 2019-12-24 17:21:58 +01:00
  • 31192e8372 ZoneCode: Fix XSurface VertListCount not being unsigned even though it is used as it is Jan 2019-12-24 17:20:34 +01:00
  • 86790d1486 ZoneCodeGenerator: Fix not respecting when in an operation the second operand should be calculated first but the precedence is the same Jan 2019-12-24 17:19:49 +01:00
  • 33ec343460 ZoneCodeGenerator: Add possibility to specify a custom array count to signalize how many entries of a static array should be loaded Jan 2019-12-24 12:41:27 +01:00
  • 9e10cffdce ZoneCode: Fix XAnim bone count not being unsigned even though they are used as they were Jan 2019-12-24 12:09:11 +01:00
  • 69fff81b02 ZoneCode: Fix XModel bone count not being unsigned but being used as it was Jan 2019-12-24 11:40:23 +01:00
  • 4932994355 ZoneLoading: Remove unused asset counting part Jan 2019-12-24 11:40:00 +01:00
  • 551deeec34 ZoneCode: Add commands for GfxWorld and enable it Jan 2019-12-24 01:59:58 +01:00
  • 80bc10752a ZoneLoading: Fix not respecting the block type when trying to load data Jan 2019-12-24 01:59:40 +01:00
  • 731bef73df ZoneCodeGenerator: Fix unit tests to do with evaluation array indices Jan 2019-12-23 23:54:19 +01:00
  • 94369e3ecf ZoneCode: Add commands for GfxWorld Jan 2019-12-23 23:46:37 +01:00
  • 971d198f59 ZoneCodeGenerator: Remove unwanted spacing from single pointer template Jan 2019-12-23 23:46:26 +01:00
  • 62ac2e8aae ZoneCodeGenerator: Replace OperandDynamics static array indices with Evaluations Jan 2019-12-23 23:46:04 +01:00
  • db8e4c987c ZoneCode: Fix alignments and structs for XAnims Jan 2019-12-23 21:24:23 +01:00
  • d6f49c459c ZoneLoading: Only dump localized strings when there are any in the pool Jan 2019-12-23 21:24:06 +01:00
  • ca1d188759 ZoneLoading: Fix typo in InvalidOffsetBlockOffsetException message Jan 2019-12-23 21:23:48 +01:00
  • ef1ca03ed3 ZoneCode: Fix commands for SndBank Jan 2019-12-23 17:55:57 +01:00
  • 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 Jan 2019-12-23 17:55:42 +01:00
  • 0d801948bc ZoneLoading: Enable now properly working assets Jan 2019-12-23 17:05:53 +01:00
  • 1544bbbd18 ZoneCodeGenerator: Add loading of dynamic arrays Jan 2019-12-23 17:05:38 +01:00
  • 2fea7654a9 ZoneLoading: Fix not being able to load a null scriptstring and aligning incorrectly when loading the header Jan 2019-12-23 17:05:12 +01:00
  • af56d9193d ZoneLoading: Always initialize AssetPools as dynamic since not all loaded assets are contained inside the initial assetlist Jan 2019-12-23 17:04:23 +01:00
  • 8d8f60bf41 ZoneCode: Fix Commands for Material, GfxImage and Techset Jan 2019-12-23 17:03:16 +01:00
  • db08cf5ebc ZoneLoading: Fix InsertPointer not increasing the buffer position by the size of the pointer Jan 2019-12-23 17:02:22 +01:00
  • 236108e5fb ZoneCodeGenerator: Add ability to split loading of a structure due to a dynamic member Jan 2019-12-22 23:33:00 +01:00
  • 0db6f90980 ZoneCodeGenerator: Add computations to check for dynamic array sizes and partially loaded structures Jan 2019-12-22 16:16:21 +01:00
  • ec8c00a4b9 ZoneCodeGenerator: Make setting a dynamic array size only possible if the targeted member is the last entry of its structure Jan 2019-12-22 16:15:45 +01:00
  • 57ef79692a ZoneCodeGenerator: Add precompiler support for ifdef so a namespace can be defined in the t6_assets header for compiling in ZoneCommon without display errors Jan 2019-12-21 16:37:57 +01:00
  • c8a2bec12b ZoneCodeGenerator: Fix commands for GfxImage Jan 2019-12-21 13:16:17 +01:00
  • f3c9e6053f ZoneCodeGenerator: Fix not finalizing DataTypes of typedefs when calculating sizes Jan 2019-12-21 12:04:35 +01:00
  • 295d9543f7 ZoneCodeGenerator: Take account of temp blocks when loading single pointers Jan 2019-12-18 15:31:59 +01:00
  • 4d611f9770 ZoneCode: Add commands for clipMap Jan 2019-12-18 15:31:10 +01:00
  • be17ae6a48 ZoneCodeGenerator: Make pointer counts be able to differ by array index Jan 2019-12-18 15:30:47 +01:00
  • a7936c9eaa ZoneCodeGenerator: Fix LoadTempPtr method doing insertpointer and allocating in the wrong order Jan 2019-12-18 15:26:12 +01:00
  • 92e84e69f9 ZoneCodeGenerator: Remove spaces between array indices Jan 2019-12-18 15:22:16 +01:00
  • 5b8cd9cbc6 ZoneCode: Fix and enable menuDef and WeaponVariantDef Jan 2019-12-07 13:40:27 +01:00
  • 3e108c98b4 ZoneCodeGenerator: Fix TestReorder not being able to reorder members that came before a specified first entry Jan 2019-12-07 13:39:30 +01:00
  • 0f349e24c3 ZoneCodeGenerator: Improve toString debug output for memberinformation Jan 2019-12-07 13:38:57 +01:00
  • e7725f6a9c ZoneLoading: Fix and enable xmodel, destructibledef, gameworldsp/mp, attachment_unique, weaponcamo, fx, vehicledef Jan 2019-12-07 03:49:32 +01:00