219 Commits

Author SHA1 Message Date
Jan
b94c5b381d Extract more info from techset name 2022-05-02 18:45:49 +02:00
Jan
01d9a4d912 Improve recognition of material types 2022-04-29 23:55:10 +02:00
Jan
353ad52eba Add material dumping debug switches 2022-04-23 16:41:30 +02:00
Jan
cd34f8db39 basics of material gdt dumping 2022-04-22 23:21:39 +02:00
Jan
2823a46b92 Add improvements from iw3 material dumping to iw4 2022-04-21 19:58:49 +02:00
Jan
c91d71e809 Dump iw3 materials 2022-04-21 19:58:31 +02:00
Jan
ebb13e18da Write additional details in iw4 material json 2022-04-18 18:23:30 +02:00
Jan
03fe515fb0 Fix compilation 2022-04-18 15:37:08 +02:00
Jan
ce22a2fea6 Add more details about material semantic and samplerState 2022-04-18 15:26:24 +02:00
Jan
2114b761b0 Dump iw4 materials as json for data investigation purposes 2022-04-18 14:46:13 +02:00
Jan
2ec65924c6 Only dump model surfs once for iw5 as well 2022-04-17 15:44:25 +02:00
Jan
30870c5e07 Only dump model surfs once 2022-04-17 15:38:07 +02:00
Jan
9e063a30f0 Dump technique sampler flags and technique flags 2022-04-16 15:41:11 +02:00
Jan
7a89630a13 Dump technique flags 2022-04-15 17:52:56 +02:00
Jan
e0bcf7aff0 Load Vertex Stream Routing 2022-04-10 17:48:12 +02:00
Jan
7a2fe6dc4f Differentiate between argument sets when dumping techniques to find the actual matching shader argument 2022-04-10 13:23:44 +02:00
Jan
7d2ca46cb1 Dump known material argument hashes 2022-04-09 19:07:24 +02:00
Jan
b770360ee1 Parse techniques 2022-03-27 21:10:33 +02:00
Jan
2fda10f133 Find vertexdecl to dump if the one in the asset is a referenced asset 2022-03-25 18:57:01 +01:00
Jan
a825a9df38 Remove unused dumper for vertex decls 2022-03-25 18:41:38 +01:00
Jan
90eaf9c4a9 If pixel or vertex shader is only referenced asset, attempt to load asset from GlobalAssetPools to be able to use a shader from a previously loaded zone 2022-03-25 14:46:09 +01:00
Jan
f9fad26ccc Handling of referenced shaders 2022-03-25 00:23:53 +01:00
Jan
b48fbb2b0e Dump material constants and samplers 2022-03-25 00:04:27 +01:00
Jan
a06229042f Dump material pass literal shader arguments 2022-03-24 23:54:24 +01:00
Jan
5fdde037a8 Dump code sampler for technique arguments 2022-03-24 23:42:10 +01:00
Jan
f386e82f89 Omit code constants that have the same source and dest accessor 2022-03-24 23:26:07 +01:00
Jan
ef936eba57 Dump IW4 techset code constant argument mappings 2022-03-24 23:04:35 +01:00
Jan
7760e1579c fix compilation errors 2022-03-24 21:18:07 +01:00
Jan
d62cbb2e96 Consider shader constants when dumping techset args 2022-03-24 21:14:05 +01:00
Jan
935e6ac060 Dump IW4 vertex and pixel shader binary data 2022-03-24 17:36:12 +01:00
Jan
5f44d95770 TODO IW4 Shader arg dumping 2022-03-23 18:22:23 +01:00
Jan
b0ed7e9544 Dump IW4 vertexdecl 2022-03-23 17:11:30 +01:00
Jan
8e76f05d05 Skeleton for IW4 MaterialTechnique dumping 2022-03-23 16:46:49 +01:00
Jan
25244bc3b0 Dump IW4 techset files 2022-03-23 14:42:17 +01:00
Jan
66b62611f3 Add basis for iw4 techset dumping 2022-03-23 13:45:01 +01:00
Jan
ab5a998903 Sort StructuredDataDef members and entries alphabetically after parsing 2022-03-22 15:09:07 +01:00
Jan
dc075847ff When parsing StructuredDataDefs accept undefined types 2022-03-22 12:03:15 +01:00
Jan
833b158a64 Rename new StructuredDataDefDumper 2022-03-20 19:35:52 +01:00
Jan
9f0852485d Remove outdated StructuredDataDef Dumper 2022-03-20 19:34:53 +01:00
Jan
d82e876558 Dump StructuredDataDef struct member types 2022-03-20 18:32:25 +01:00
Jan
b5e18e6b22 Calculate checksums for structured data def 2022-03-20 16:01:29 +01:00
Jan
b2140260a4 Dump CommonStructuredDataDefSet instead of the game's internal structures 2022-03-19 23:39:50 +01:00
Jan
73564cf0f0 Dump StructuredDataDef paddings 2022-02-05 19:48:08 +01:00
Jan
5327ce8ec9 Fix StructuredDataDefDumper not dumping empty structs or arrays 2022-01-22 14:29:07 +01:00
Jan
ec8e58e0f1 Write StructuredDataDef data with additional comments stating debugging details for the format 2022-01-22 13:39:51 +01:00
Jan
040f945009 Dump structured data def reserved count 2022-01-20 22:20:30 +01:00
Jan
51003e5f6d Dump structured data def structs in correct order and sort entries by offset 2022-01-20 22:08:40 +01:00
Jan
0aad5a42cb Dump structured data def structs 2022-01-15 23:14:37 +01:00
Jan
02769fe21d Dump StructuredDataDef enums 2022-01-15 19:23:18 +01:00
Jan
5c2f7de87d Add base for StructuredDataDefDumper 2022-01-15 18:19:24 +01:00