2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-13 03:57:26 +00:00

Commit Graph

  • bba6fd9d4e Fix error in define expression crash Jan 2022-09-07 22:00:18 +02:00
  • b3dbf4a104 Improve raw templater error cases Jan 2022-09-07 19:37:29 +02:00
  • 28636cc4fe Add skip directive to raw templater Jan 2022-09-07 19:34:22 +02:00
  • e853674bbe Remove pragma keyword from raw templater Jan 2022-09-07 18:13:11 +02:00
  • 7e4e7e1229 Simplify template for distortion_scale techset Jan 2022-09-06 23:49:45 +02:00
  • 840749b71f Add template for distortion_scale techniques Jan 2022-09-06 23:39:00 +02:00
  • 8f44a022a2 Remove unneeded includes Jan 2022-09-06 22:26:04 +02:00
  • f93f9e225d Add indent in distortion_scale template Jan 2022-09-06 21:53:14 +02:00
  • 3930688709 Add techset templates for 2d and distortion_scale Jan 2022-09-06 21:46:33 +02:00
  • a7ceaf03ee Create directories for templater output Jan 2022-09-06 21:46:10 +02:00
  • 03dd0f06b2 Add set define proxy to set a define based on an expression Jan 2022-09-06 21:45:55 +02:00
  • a36d1c430a Use SimpleExpressionInterpreter in DefinesStreamProxy and expand defines and defined expressions before parsing Jan 2022-09-06 20:52:52 +02:00
  • 7cce0e387e Add SimpleExpressionInterpreter that just parses a plain expression Jan 2022-09-06 20:52:23 +02:00
  • 6702856399 Make skipping lines in defines stream proxy configurable Jan 2022-09-06 17:49:35 +02:00
  • 379aabebd6 Add build log to templater Jan 2022-09-06 00:36:28 +02:00
  • 6a45031c96 Integrating templating into rawfile pipeline Jan 2022-09-06 00:12:34 +02:00
  • f574204e61 Skip until first non empty line for templater Jan 2022-09-05 23:51:09 +02:00
  • e8baf65134 Adjust templater output Jan 2022-09-05 23:33:14 +02:00
  • d0155d426a Skip defines stream proxy empty lines Jan 2022-09-05 23:30:06 +02:00
  • 1464329245 Add raw templater Jan 2022-09-05 23:25:11 +02:00
  • 4ef38264c8 Rename defines if directive parsing to defines directive parsing Jan 2022-09-05 20:17:31 +02:00
  • b2313c6415 Add missing algorithm header Jan 2022-08-21 12:49:24 +02:00
  • 3bef176676 Fix wrong blend ops for screen add blend func Jan 2022-08-21 12:29:04 +02:00
  • 457c3518ad Set passthrough on colorWrite Jan 2022-08-21 01:38:44 +02:00
  • 59d829b789 make alphafunc passthrough by default for default2d Jan 2022-08-21 01:25:29 +02:00
  • 1757caa33d fix statemap layout for iw4 for wireframe Jan 2022-08-21 01:25:04 +02:00
  • b4fbbb6bbc Fix not dumping stencil values in json correctly Jan 2022-08-21 01:24:46 +02:00
  • db60287a7b Apply statemaps to materials Jan 2022-08-20 19:23:49 +02:00
  • c5cfdfde89 Add statemap validation in debug mode Jan 2022-08-20 15:11:08 +02:00
  • 2dd8660824 Add supplemental data for iw4 statemap layout Jan 2022-08-20 14:37:05 +02:00
  • b93707dfe5 Correctly parse state map default case Jan 2022-08-13 21:13:07 +02:00
  • 16218e2bce Add passthrough gammaWrite rule to all state maps Jan 2022-08-13 21:12:51 +02:00
  • fe59cbdee1 Make sure state maps define rules for all entries Jan 2022-08-13 21:12:34 +02:00
  • 189c82a787 Make Linker and Unlinker projects depend on raw Jan 2022-08-13 21:12:06 +02:00
  • 595af125b9 Load state maps when loading techniques Jan 2022-08-13 20:50:40 +02:00
  • 6d15ddcd08 Dump techniques with state map "passthrough" by default Jan 2022-08-13 20:50:25 +02:00
  • 686102a59e Add game pattern to search paths Jan 2022-08-13 20:49:33 +02:00
  • 53bfcadea8 Add StateMap parsing Jan 2022-08-13 19:26:33 +02:00
  • 31b679eedf Replace copy file commands with platform independent ones Jan 2022-08-13 14:32:01 +02:00
  • 886bcfeaf8 Add non static evaluation for simple expressions Jan 2022-08-13 14:13:11 +02:00
  • 403d7f2c44 Add statemap raw files for iw4 Jan 2022-08-13 12:24:07 +02:00
  • 364d801d3f fix compilation on gcc Jan 2022-08-07 19:23:30 +02:00
  • 63e9dc0c43 Material loading effect base Jan 2022-08-07 19:17:04 +02:00
  • 032cfed6e1 Fix AssetDumperTechniqueSet Jan 2022-08-07 19:05:44 +02:00
  • a8bb1a5ead Load particle cloud materials Jan 2022-08-07 15:45:40 +02:00
  • c55f759793 Fix asset dumper already assuming statemaps are in use Jan 2022-08-07 15:45:28 +02:00
  • 713eb77230 Add material loading for tools materials Jan 2022-08-07 12:06:02 +02:00
  • f87039d324 Rename base statebits to base state bits Jan 2022-08-06 23:11:24 +02:00
  • 066e9af1bc fix compilation on gcc Jan 2022-08-06 19:10:26 +02:00
  • 1e546d4a19 Write broken material statebits writing Jan 2022-08-06 19:08:45 +02:00
  • f3b175ab08 Handle material alphatest gt0 Jan 2022-08-06 18:59:13 +02:00
  • c010355d4a Dump material tile and filter properties Jan 2022-08-06 18:47:28 +02:00
  • 0179d61451 Fix json material dumping alpha test Jan 2022-08-06 18:46:49 +02:00
  • 028d8fde7d Skip material loading for other types than 2d Jan 2022-08-06 16:15:29 +02:00
  • 347c1b3d68 Fix material loading sortkeys and cameraRegion Jan 2022-08-06 15:40:00 +02:00
  • 09fdb95927 TechsetStateMapCache stub Jan 2022-08-06 11:05:34 +02:00
  • 5771044c08 Material dumping and loading stuff Jan 2022-08-06 10:52:52 +02:00
  • a3a01660d6 Add TechsetDefinitionCache to cache loaded techset definitions Jan 2022-08-06 10:52:35 +02:00
  • b474109452 depthtest, depthwrite, polygonOffset for material loading Jan 2022-07-24 13:54:58 +02:00
  • dd09027f0b CullFace loading material Jan 2022-07-23 22:16:46 +02:00
  • 61b44070e4 alphatest, blendfunc, colorwrite material loading Jan 2022-07-23 21:29:45 +02:00
  • 2f948ea54a More material loading constants Jan 2022-07-23 15:50:35 +02:00
  • 0cbf234faf Use string constants for material loading Jan 2022-07-23 14:33:27 +02:00
  • 92d808b7a4 Use constants for material sort key names Jan 2022-07-23 13:05:37 +02:00
  • ea79e60856 Load material sortkeys v1 Jan 2022-07-23 12:22:59 +02:00
  • 80a66a5d2c Finalize loaded material with textures Jan 2022-07-15 11:25:38 +02:00
  • 82349d3432 Material loading base Jan 2022-07-15 11:21:54 +02:00
  • bc91738ee9 Dump materials in zone gdt Jan 2022-07-09 15:44:03 +02:00
  • 5ee541c0ff Fix not being able to dump t6 xmodels without surface Jan 2022-07-09 14:16:24 +02:00
  • da79ce2463 Dump material waterColor constant Jan 2022-05-15 16:37:44 +02:00
  • 6862faa992 Correctly mark unhandled constants as such Jan 2022-05-15 15:55:37 +02:00
  • 0105c0d1bd Dump material info from constants Jan 2022-05-14 16:09:11 +02:00
  • 38dedaf894 Examine techset info from effect and unlit materials Jan 2022-05-10 19:03:36 +02:00
  • 638b659a48 Example material stencil values and blendfunc Jan 2022-05-08 12:44:34 +02:00
  • cc2f0ca487 Write Statebits data to gdt materials Jan 2022-05-02 21:11:51 +02:00
  • b94c5b381d Extract more info from techset name Jan 2022-05-02 18:45:49 +02:00
  • 01d9a4d912 Improve recognition of material types Jan 2022-04-29 23:55:10 +02:00
  • 353ad52eba Add material dumping debug switches Jan 2022-04-23 16:41:30 +02:00
  • cd34f8db39 basics of material gdt dumping Jan 2022-04-22 23:21:39 +02:00
  • bba96b248d Add skip obj unlinker arg Jan 2022-04-22 23:21:23 +02:00
  • 2823a46b92 Add improvements from iw3 material dumping to iw4 Jan 2022-04-21 19:58:49 +02:00
  • c91d71e809 Dump iw3 materials Jan 2022-04-21 19:58:31 +02:00
  • ebb13e18da Write additional details in iw4 material json Jan 2022-04-18 18:23:30 +02:00
  • 03fe515fb0 Fix compilation Jan 2022-04-18 15:37:08 +02:00
  • ce22a2fea6 Add more details about material semantic and samplerState Jan 2022-04-18 15:26:24 +02:00
  • 2114b761b0 Dump iw4 materials as json for data investigation purposes Jan 2022-04-18 14:46:13 +02:00
  • 0f47e64486 Add nlohmann json submodule third party dependency Jan 2022-04-18 11:23:05 +02:00
  • 2ec65924c6 Only dump model surfs once for iw5 as well Jan 2022-04-17 15:44:25 +02:00
  • 30870c5e07 Only dump model surfs once Jan 2022-04-17 15:38:07 +02:00
  • 6ff86ae5e7 Set technique flags based on used constants, samplers and technique names Jan 2022-04-16 22:51:38 +02:00
  • 6e57834dc6 Warn user whenever specified asset type is unrecognized Jan 2022-04-16 17:13:28 +02:00
  • 2108737f22 Explicitly state whenever unloading zones in linker Jan 2022-04-16 16:42:33 +02:00
  • 4a03efe636 State whenever a zone is unloaded in unlinker Jan 2022-04-16 16:39:46 +02:00
  • 1a36912b44 Fix unlinking every single asset in the global asset pools on unloading a zone Jan 2022-04-16 16:32:55 +02:00
  • 4abb846ccd fix iw4 enum not having a name Jan 2022-04-16 15:44:57 +02:00
  • cb45bdaadc Progress on reversing technique flags Jan 2022-04-16 15:41:45 +02:00
  • 9e063a30f0 Dump technique sampler flags and technique flags Jan 2022-04-16 15:41:11 +02:00
  • 0ae5afc197 Set technique flags based on argument code samplers Jan 2022-04-15 17:53:12 +02:00
  • 7a89630a13 Dump technique flags Jan 2022-04-15 17:52:56 +02:00
  • 15fd1ae686 Order shader args like the game does Jan 2022-04-15 17:52:32 +02:00