2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-04-22 03:29:37 +00:00
Commit Graph

1832 Commits

Author SHA1 Message Date
Jan c47ea48b6b Open search paths for assets, gdts and source in Linker 2021-03-10 12:26:09 +01:00
Jan 6b80a1f951 Add sequences for ZoneDefinition includes and ignores 2021-03-09 11:20:05 +01:00
Jan 00462b9228 Include parsing when include ZoneCommon 2021-03-09 11:19:49 +01:00
Jan f3e8100526 Add ZoneDefinition Parsing 2021-03-09 11:04:34 +01:00
Jan 88ff98f334 Add Simple Parsing implementations for basic parsers 2021-03-09 11:04:04 +01:00
Jan 8d9080066f Extract commonly used Parser code to new Parser component 2021-03-08 20:06:34 +01:00
Jan d96f813e73 Restructure ZoneDefinitionWriting 2021-03-08 17:28:24 +01:00
Jan e6a91c0305 add linker basis 2021-03-08 12:46:27 +01:00
Jan 39a1485be6 Add T6 attachment unique dumper 2021-03-07 17:51:02 +01:00
Jan 7e9dfe9127 move iw4 string arrays to commoniw4 header 2021-03-07 15:33:21 +01:00
Jan ba1bca775b Move T6 string arrays to CommonT6 header 2021-03-07 15:30:48 +01:00
Jan 5db7eaeec3 Add T6 Attachment dumper 2021-03-07 15:25:58 +01:00
Jan b891f9527e Change the condition under which assets are dumped inside a gdt:
Make the parameter --gdt to manually make the tool dump as a gdt
2021-03-07 15:25:47 +01:00
Jan 313e9e9f1a Remove reference asset names from info strings 2021-03-06 21:20:13 +01:00
Jan 603994ce61 Make sure gdt values are escaped 2021-03-06 14:13:46 +01:00
Jan ea7b1eadae Make dumpers works as gdt dumpers and raw dumpers 2021-03-06 13:25:08 +01:00
Jan fc59a09d02 Make unlinker open a gdt file if not raw specified 2021-03-06 12:09:00 +01:00
Jan aa972614e5 Extract Gdt reading and writing classes to GdtStream file 2021-03-06 10:47:25 +01:00
Jan defc388210 Rename GDT to Gdt to keep naming schema 2021-03-06 00:57:09 -08:00
Jan 82a08d0850 Add unit tests for writing gdts 2021-03-06 09:40:05 +01:00
Jan 78ebeaaa7b Add Gdt parsing 2021-03-06 09:28:14 +01:00
Jan abb268a819 Add AssetDumperContext to bundle context fields for dumping
(cherry picked from commit ed8331280392ef3a2b4657c5dbd0880463d85f2c)
2021-03-05 18:11:56 +01:00
Jan 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 2021-03-05 09:23:37 +01:00
Jan 159414d39c Fix type alignment macro inconsistencies 2021-03-04 13:06:36 +01:00
Jan 9ed749c9d2 Get rid of inheritence on Vector4 struct to prevent offsetof macro giving out a warning on gcc 2021-03-04 03:45:14 -08:00
Jan 35d9110783 Add alignment specifiers for gcc specifically to match MSVC alignments 2021-03-04 03:29:16 -08:00
Jan 3c9a9c038d Add alignment macros for asset definition that make use of parameter values 2021-03-04 11:41:09 +01:00
Jan 5f3aa2a460 Implement defines with parameters to ZoneCodeGenerator 2021-03-04 11:37:06 +01:00
Jan 29b962e949 Add offset of members to assetstructtests 2021-03-04 09:04:25 +01:00
Jan a10b3b7d3c Change ZoneLoad alloc method getting alignment via alignof to alignment value being specified directly via number 2021-03-04 08:44:23 +01:00
Jan 9d05282ffb replace alignas with macros per compiler in asset headers 2021-03-03 13:49:58 -08:00
Jan 01fb7984db do not link ZoneWriting for now because it has no content 2021-03-03 22:17:20 +01:00
Jan 7b99d6b7dd only add pthreads linking when on linux 2021-03-03 22:17:05 +01:00
Jan 12461d27e7 move parts to new common component to avoid circular dependency of zonecommon and objcommon 2021-03-03 12:56:15 -08:00
Jan dc3fef5b0f Rework depedency management in premake lua scripts 2021-03-03 11:55:37 -08:00
Jan 1a45cf2107 Fix more gcc compilation issues 2021-03-03 09:12:27 -08:00
Jan a15fd17dfe Change alignment specifier to __attribute__((align(x)) for non VC++ 2021-03-03 15:58:55 +01:00
Jan b4d8e9c17b Make compilation process compatible to linux on gcc 2021-03-03 06:21:25 -08:00
Jan 1cd06668e0 Replace FileAPI with c++ streams and std::filesystem 2021-03-03 14:04:35 +01:00
Jan b6b0a57232 Refactor Crypto/Utils lib to make it Linux compatible 2021-03-01 08:17:18 -08:00
Jan 1a09ad4396 Rename ZoneCodeGeneratorNew to ZoneCodeGenerator.
Cleaning build folder might be required to prevent errors due to previous c# project
2021-03-01 14:39:29 +01:00
Jan f85c82f487 Remove old ZoneCodeGenerator implementation in c# 2021-03-01 14:30:10 +01:00
Jan 5290d3a768 Update ZCG new console output 2021-03-01 14:12:36 +01:00
Jan e33250a2de Remove unused and comment parts of the zoneload zcg new template 2021-03-01 13:55:58 +01:00
Jan 1ce87f3ca3 fix some stuff for zoneload zcg new template 2021-03-01 13:15:12 +01:00
Jan 682e2e44ca Fix T6 commands not including commands for weaponcamo 2021-03-01 13:14:52 +01:00
Jan e7c37574e7 Add dynamic array to zoneload zcg new 2021-03-01 12:54:41 +01:00
Jan 602d263472 fix a few snippet conditions for zoneloading in zcg new 2021-03-01 12:10:57 +01:00
Jan 11eb9ae4ce implement pointerarray 2021-02-28 23:37:14 +01:00
Jan 226c589bb8 make sure to calculate alignment of following modifiers properly 2021-02-28 23:17:39 +01:00