2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-08 01:37:25 +00:00
Commit Graph

135 Commits

Author SHA1 Message Date
Jan
a39e993cc6 chore: use XModelCommon for dumping obj to reduce code duplication 2024-05-09 22:12:37 +02:00
Jan
2497a9f228 fix: use after free when dumping xmodel vertex weights 2024-05-09 22:12:37 +02:00
Jan
826e59d627 chore: update xmodel common to be a struct with substructs 2024-05-09 22:12:37 +02:00
Jan
0a65c93aa5 chore: move materialIndex to XModelObject 2024-05-09 22:12:36 +02:00
Jan
8a0c93d3d8 feat: add gltf and glb as model dumping formats 2024-05-09 22:12:36 +02:00
Jan
d4ef9fa3d9 chore: move xmodel packages 2024-05-09 22:12:35 +02:00
c34eab16ea fix: check for NULL string in stringtable check before dumping 2024-04-21 17:29:15 +02:00
Jan
a1cf4ef30b feat: load iw4 weapons from raw 2024-04-02 23:49:06 +02:00
Jan
239001e6f2 refactor: use std ranges functions where applicable 2024-03-24 20:49:15 +01:00
Jan
1b13f1f1b4 refactor: only use sizeof with parenthesis 2024-03-24 19:56:06 +01:00
Jan
4f0ee35740 refactor: use std::extent_v instead of std::extent 2024-03-24 19:46:43 +01:00
Clang Format
6b4f5d94a8 Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
51899d4a69 Dump T6 sound PCM data as wav 2023-10-26 22:54:20 +02:00
Jan
cf711c3af7 Use SimpleLexer escaped strings for localization 2023-09-24 15:25:08 +02:00
Jan
59d829b789 make alphafunc passthrough by default for default2d 2022-08-21 01:25:29 +02:00
Jan
b4fbbb6bbc Fix not dumping stencil values in json correctly 2022-08-21 01:24:46 +02:00
Jan
6d15ddcd08 Dump techniques with state map "passthrough" by default 2022-08-13 20:50:25 +02:00
Jan
032cfed6e1 Fix AssetDumperTechniqueSet 2022-08-07 19:05:44 +02:00
Jan
a8bb1a5ead Load particle cloud materials 2022-08-07 15:45:40 +02:00
Jan
c55f759793 Fix asset dumper already assuming statemaps are in use 2022-08-07 15:45:28 +02:00
Jan
f3b175ab08 Handle material alphatest gt0 2022-08-06 18:59:13 +02:00
Jan
c010355d4a Dump material tile and filter properties 2022-08-06 18:47:28 +02:00
Jan
0179d61451 Fix json material dumping alpha test 2022-08-06 18:46:49 +02:00
Jan
347c1b3d68 Fix material loading sortkeys and cameraRegion 2022-08-06 15:40:00 +02:00
Jan
5771044c08 Material dumping and loading stuff 2022-08-06 10:52:52 +02:00
Jan
2f948ea54a More material loading constants 2022-07-23 15:50:35 +02:00
Jan
0cbf234faf Use string constants for material loading 2022-07-23 14:33:27 +02:00
Jan
82349d3432 Material loading base 2022-07-15 11:21:54 +02:00
Jan
bc91738ee9 Dump materials in zone gdt 2022-07-09 15:44:03 +02:00
Jan
da79ce2463 Dump material waterColor constant 2022-05-15 16:37:44 +02:00
Jan
6862faa992 Correctly mark unhandled constants as such 2022-05-15 15:55:37 +02:00
Jan
0105c0d1bd Dump material info from constants 2022-05-14 16:09:11 +02:00
Jan
38dedaf894 Examine techset info from effect and unlit materials 2022-05-10 19:03:36 +02:00
Jan
638b659a48 Example material stencil values and blendfunc 2022-05-08 12:44:34 +02:00
Jan
cc2f0ca487 Write Statebits data to gdt materials 2022-05-02 21:11:51 +02:00
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
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
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