2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-01-23 16:41:53 +00:00

Commit Graph

  • 324dead2e3 Disable warning about unscoped enums Jan 2022-03-25 14:13:13 +01:00
  • f9fad26ccc Handling of referenced shaders Jan 2022-03-25 00:23:53 +01:00
  • b48fbb2b0e Dump material constants and samplers Jan 2022-03-25 00:04:27 +01:00
  • a06229042f Dump material pass literal shader arguments Jan 2022-03-24 23:54:24 +01:00
  • 5fdde037a8 Dump code sampler for technique arguments Jan 2022-03-24 23:42:10 +01:00
  • f386e82f89 Omit code constants that have the same source and dest accessor Jan 2022-03-24 23:26:07 +01:00
  • ef936eba57 Dump IW4 techset code constant argument mappings Jan 2022-03-24 23:04:35 +01:00
  • 7760e1579c fix compilation errors Jan 2022-03-24 21:18:07 +01:00
  • d62cbb2e96 Consider shader constants when dumping techset args Jan 2022-03-24 21:14:05 +01:00
  • 55ccbfca9e Add analyser for directx9 shaders to extract information about constants and other stuff Jan 2022-03-24 18:58:30 +01:00
  • 935e6ac060 Dump IW4 vertex and pixel shader binary data Jan 2022-03-24 17:36:12 +01:00
  • 5f44d95770 TODO IW4 Shader arg dumping Jan 2022-03-23 18:22:23 +01:00
  • b0ed7e9544 Dump IW4 vertexdecl Jan 2022-03-23 17:11:30 +01:00
  • 8e76f05d05 Skeleton for IW4 MaterialTechnique dumping Jan 2022-03-23 16:46:49 +01:00
  • 25244bc3b0 Dump IW4 techset files Jan 2022-03-23 14:42:17 +01:00
  • 66b62611f3 Add basis for iw4 techset dumping Jan 2022-03-23 13:45:01 +01:00
  • 9009543c58 fix missing noexcept Jan 2022-03-22 21:32:17 +01:00
  • 0bca307208 Make gitlab pipeline jobs interruptible Jan 2022-03-22 17:23:49 +01:00
  • e8ce4570ad Fix pipeline compilation Jan 2022-03-22 17:12:43 +01:00
  • 2e5405deb5 Fix counting padding for root struct even when root struct has no properties Jan 2022-03-22 16:15:42 +01:00
  • f236d285b6 Fix not considering alignment of 8 bit when calculating size for indexedarray and enumedarray Jan 2022-03-22 16:08:55 +01:00
  • 8133f4d57e Fix accidentally setting size in bits value to a size in byte field when converting indexarray and enumedarray Jan 2022-03-22 16:08:28 +01:00
  • f15e997f7b Fix not setting enum element count for enumedarrays when parsing Jan 2022-03-22 16:07:43 +01:00
  • ab5a998903 Sort StructuredDataDef members and entries alphabetically after parsing Jan 2022-03-22 15:09:07 +01:00
  • 1b6f2ab9fa Calculate StructuredDataDef sizes and offsets Jan 2022-03-22 15:08:42 +01:00
  • 77420495f6 Add base for calculation sizes of structs for StructuredDataDef Jan 2022-03-22 14:12:48 +01:00
  • c131c58bbe Replace references to undefined types after parsing entire StructuredDataDef Jan 2022-03-22 12:34:21 +01:00
  • 2fa1144425 Set remapped type for previously undefined types for StructuredDataDef Jan 2022-03-22 12:14:30 +01:00
  • dc075847ff When parsing StructuredDataDefs accept undefined types Jan 2022-03-22 12:03:15 +01:00
  • 49c774b1e6 Parse checksumoverride for StructuredDataDef Jan 2022-03-21 11:05:48 +01:00
  • 93fea39ddd Move StructuredDataDef Parsing to new package Jan 2022-03-21 10:30:54 +01:00
  • 833b158a64 Rename new StructuredDataDefDumper Jan 2022-03-20 19:35:52 +01:00
  • 9f0852485d Remove outdated StructuredDataDef Dumper Jan 2022-03-20 19:34:53 +01:00
  • f5a72f4fef Add padding dumping to new StructuredDataDef dumper Jan 2022-03-20 19:15:05 +01:00
  • d82e876558 Dump StructuredDataDef struct member types Jan 2022-03-20 18:32:25 +01:00
  • 0a226652f2 Rename CommonStructuredDataStructEntry to Property Jan 2022-03-20 17:40:12 +01:00
  • 996528eba5 Dump struct member names Jan 2022-03-20 17:38:48 +01:00
  • c52d129db1 Add alignment utility Jan 2022-03-20 17:38:23 +01:00
  • fef646fded Print debug info about structured data def when compiled with the debug flag for it Jan 2022-03-20 16:59:37 +01:00
  • 3fc9eac5f0 Explicitly state how many threads are being used to build Jan 2022-03-20 16:11:40 +01:00
  • b5e18e6b22 Calculate checksums for structured data def Jan 2022-03-20 16:01:29 +01:00
  • c91cb40b76 Add endianness utility methods Jan 2022-03-20 16:00:56 +01:00
  • b2140260a4 Dump CommonStructuredDataDefSet instead of the game's internal structures Jan 2022-03-19 23:39:50 +01:00
  • c38367d55b Move common structureddatadef classes to objcommon Jan 2022-03-12 14:02:52 +01:00
  • dff7912dbc Parse padding instructions for StructuredDataDef Jan 2022-02-06 10:49:58 +01:00
  • 73564cf0f0 Dump StructuredDataDef paddings Jan 2022-02-05 19:48:08 +01:00
  • f235ffc431 Fix structureddatadef loader not setting enum reserved size correctly Jan 2022-01-29 12:42:28 +01:00
  • 497c9fc6cf Rename StructuredDataDef classes to remove "Def" from classes that do not need it Jan 2022-01-22 14:47:47 +01:00
  • 2da6ab8479 Fix empty StructuredDataDef struct having a size of 8 when it is the root struct Jan 2022-01-22 14:41:20 +01:00
  • f061ff91f5 Create default StructuredDataDef struct when none was specified so there is always a root struct Jan 2022-01-22 14:35:43 +01:00
  • 5327ce8ec9 Fix StructuredDataDefDumper not dumping empty structs or arrays Jan 2022-01-22 14:29:07 +01:00
  • 8aba79faf9 Fix SndCurveDumper wrong assertion Jan 2022-01-22 14:16:25 +01:00
  • dd23e3f66d Fix StructuredDataDef multi dimensional arrays not getting parsed correctly Jan 2022-01-22 13:57:10 +01:00
  • 9ed169fcba Calculate StructuredDataDef sizes and offsets Jan 2022-01-22 13:40:08 +01:00
  • ec8e58e0f1 Write StructuredDataDef data with additional comments stating debugging details for the format Jan 2022-01-22 13:39:51 +01:00
  • 96ef7a46fb Convert StructuredDataDef for IW4 Jan 2022-01-20 23:38:45 +01:00
  • b894a524e8 Parse structured data def reserved enum count Jan 2022-01-20 22:37:33 +01:00
  • 040f945009 Dump structured data def reserved count Jan 2022-01-20 22:20:30 +01:00
  • 51003e5f6d Dump structured data def structs in correct order and sort entries by offset Jan 2022-01-20 22:08:40 +01:00
  • 944586fcde Parse StructuredDataDef structs Jan 2022-01-19 19:58:41 +01:00
  • 1c1fbd1007 Add initial draft of structured data def parser to parse enums only for now Jan 2022-01-18 22:55:50 +01:00
  • 91cfb2e8dd Move AbstractScopeSequenceHolder to Parse and make it a template class to be reusable Jan 2022-01-18 22:55:25 +01:00
  • 0aad5a42cb Dump structured data def structs Jan 2022-01-15 23:14:37 +01:00
  • 02769fe21d Dump StructuredDataDef enums Jan 2022-01-15 19:23:18 +01:00
  • 5c2f7de87d Add base for StructuredDataDefDumper Jan 2022-01-15 18:19:24 +01:00
  • b48d55671e Add AbstractTextDumper to implement stream holding and indendation Jan 2022-01-15 17:44:56 +01:00
  • c9a0392fc1 Dump IW4 tracers Jan 2022-01-15 16:04:49 +01:00
  • 5b68b21755 Move IW4 weapon and vehicle fields to separate header files Jan 2022-01-15 16:04:35 +01:00
  • 16d421f22d Declare BrushWrapper as todo Jan 2022-01-15 11:48:12 +01:00
  • 88771849fb Add base for physcollmap dumper Jan 2022-01-05 20:14:32 +01:00
  • daa7008038 Add dumper and reader for IW4 GfxLightDef Jan 2022-01-02 18:01:24 +01:00
  • 77b6b7c87a Load SoundCurve files for IW4 Jan 2022-01-02 13:27:29 +01:00
  • 2a6ed376d2 Dump iw4 sound curves Jan 2022-01-02 11:21:45 +01:00
  • 0e076bf47c Dump floating point numbers in info string with as little decimal places as possible Jan 2022-01-02 10:32:52 +01:00
  • bcafddd83a Dump and load iw4 physpresets Jan 2022-01-02 10:25:48 +01:00
  • 87c2e58c4b Add implementation for stringtable assetloader iw4 Jan 2022-01-02 01:34:42 +01:00
  • 8e2b9f4a62 Update iw4 asset loader clipmap to use interface without asset_type_t specification Jan 2022-01-02 01:10:57 +01:00
  • 57f37ec0ea Add IW4 asset loader classes for all asset types that did not have one yet Jan 2022-01-02 01:07:09 +01:00
  • 98d62039eb If menu optimization is enabled, optimize away unnecessary if statements Jan 2022-01-01 23:12:27 +01:00
  • 8a3bbf948b Make sure you can specify event handlers more than once to be able to append script data Jan 2022-01-01 20:00:09 +01:00
  • d900b9cccd Fix not correctly setting type data for text scroll items Jan 2022-01-01 19:40:08 +01:00
  • 21f68c117e Fix float expression forecolors not setting dynamic forecolor flag Jan 2022-01-01 18:44:04 +01:00
  • 2df12e101e Disable static value evaluation for visible expression when optimizations are turned off Jan 2022-01-01 16:59:27 +01:00
  • 64a1e4c176 Fix menu visibility Jan 2022-01-01 16:39:39 +01:00
  • 4b80ed1e9e Do not parse menus more than once when they have already been parsed Jan 2022-01-01 16:39:28 +01:00
  • 5d1df29542 Make sure to only dump menu files once Jan 2021-12-31 16:34:42 +01:00
  • 28011d6b64 Add enums for GfxStateBits for future reference Jan 2021-12-31 11:58:56 +01:00
  • 657d32e5f6 Properly update menulist asset dependencies Jan 2021-12-31 00:30:58 +01:00
  • b5475e30f0 Only load menu files once Jan 2021-12-31 00:09:25 +01:00
  • 1e3946974c Fix menu converter not properly referencing functions Jan 2021-12-30 19:22:17 +01:00
  • 9136a7de3b Enable of usage of functions that were defined in the same menu file Jan 2021-12-30 19:20:01 +01:00
  • 3bbe5a4835 Remove outdated assertion for empty scriptstring list on loading Jan 2021-12-30 19:19:42 +01:00
  • 538c4be839 Fix not supporting nullptr scriptstrings Jan 2021-12-30 16:51:16 +01:00
  • 7283cc5640 Always set parenthesis for operations inside operations because the game is unable to calculate operations behind each other without parenthesis and does also not know what precedence is Jan 2021-12-29 18:50:34 +01:00
  • 8e4b2bb057 Add non default forecolor flag if forecolor is not white Jan 2021-12-29 18:08:38 +01:00
  • f628d33a95 Properly dump and convert visible property for items Jan 2021-12-29 17:04:18 +01:00
  • 83492b907f Properly dump and render rect property for items Jan 2021-12-29 17:04:03 +01:00
  • a7aac965da Convert menu item type data Jan 2021-12-29 14:46:53 +01:00
  • f30bbd65da Initialize default values of menus via class level defaults Jan 2021-12-29 13:50:45 +01:00
  • bf7e136c54 Convert enable dvar values Jan 2021-12-29 11:50:39 +01:00