Jan Laupetin
6ef0cd8266
chore: add min-release-age setting in npmrc
2026-04-05 09:39:45 +02:00
Jan Laupetin
4242c4a325
refactor: use std::expected instead of custom implementation
2026-04-04 14:47:10 +02:00
Jan Laupetin
0c4a2771ef
chore: add unit tests for iw3 techsets
2026-03-20 23:51:19 +01:00
Jan Laupetin
7bb9cfcbfa
chore: add unit tests for iw4 techsets
2026-03-20 23:03:02 +01:00
Jan Laupetin
3b0416fa99
chore: add unit tests for iw5 techsets
2026-03-20 22:20:20 +01:00
Jan Laupetin
8d0e3f054c
chore: add unit tests for t5 techsets
2026-03-20 20:58:14 +01:00
Jan Laupetin
d050721142
chore: add additional known texture def hashes for iw5
2026-03-19 21:20:24 +01:00
Jan Laupetin
b98ae1fdc8
fix: properly dump iw5 vertex sampler
2026-03-19 19:26:33 +01:00
Jan Laupetin
2ba00acedd
chore: make sure iw5 can use its special vertex material samplers
2026-03-19 18:26:57 +01:00
Jan Laupetin
a497efe67b
feat: compile iw5 techsets
2026-03-18 23:04:41 +01:00
Jan Laupetin
72f285178b
feat: add techset dumping for iw5
2026-03-18 23:04:35 +01:00
Jan Laupetin
914cdda360
feat: summarize warnings and errors after linking and unlinking
2026-03-16 00:46:14 +01:00
Jan Laupetin
58ab46413a
chore: prefix warn and error messages
2026-03-15 23:06:56 +01:00
Jan Laupetin
3da04f8092
feat: more details about which assets are dumped
2026-03-15 22:47:46 +01:00
Jan Laupetin
64a36d89e1
feat: more detailed logs about what is being loaded
2026-03-15 19:23:54 +01:00
Jan Laupetin
b93925c306
fix: inconsistencies on t5 technique compilation
2026-03-15 15:31:01 +01:00
Jan Laupetin
f4ed3e6c93
fix: warn but accept invalid argument types in shaders
...
cheers to T5 mc_sw4_3d_char_skin_gas that uses a sampler in the vertex shader
2026-03-15 12:56:13 +01:00
Jan Laupetin
e8b9ece6bd
feat: t5 techset compiling
2026-03-14 23:38:59 +01:00
Jan Laupetin
04870e8fbf
chore: use templated code for t5 techset dumping
2026-03-14 23:23:10 +01:00
Jan Laupetin
aaf4c0fd7d
docs: adjust supported asset types for techniquesets
2026-03-14 20:55:00 +01:00
Jan Laupetin
daa891a922
feat: add techset compiling for IW3
2026-03-14 20:54:59 +01:00
Jan Laupetin
5993c88897
feat: dump iw3 technique sets
2026-03-14 20:54:59 +01:00
Jan Laupetin
a613cb0f8b
fix: release ci pipeline broken
2026-03-14 16:53:04 +01:00
Jan Laupetin
edcc6774c7
fix: not reusing cbrushedge_t type in iw3,iw4 clipMap
2026-03-14 16:01:30 +01:00
Jan Laupetin
14b143466d
fix: not adding offset of reusable type when type is not structure
2026-03-14 15:56:08 +01:00
Jan Laupetin
08a869f8c3
chore: add cursed calculation for techflag 200 in iw4
2026-03-14 13:35:42 +01:00
Jan Laupetin
629564073c
fix: auto creating dx9 shader args with too many elements
2026-03-14 10:50:12 +01:00
Jan Laupetin
161ab45306
chore: handle iw4 technique flags
2026-03-14 09:09:57 +01:00
Jan Laupetin
503fe89251
feat: load shader args for dx9 shaders
2026-03-14 09:09:57 +01:00
Jan Laupetin
6e19b94b9b
chore: use templated loaders for shaders in IW4,T6
2026-03-14 09:09:57 +01:00
Jan Laupetin
fbfd418e20
feat: add templated technique compiler for IW4
2026-03-14 09:09:56 +01:00
Jan Laupetin
dbe5cffb2f
feat: use templated techset compiler for IW4
2026-03-14 09:09:56 +01:00
Jan Laupetin
3bb7f1aa05
chore: use templated vertex decl compiler
2026-03-14 09:09:56 +01:00
Jan Laupetin
5272b9060d
chore: use templating for t6 techset compilation
2026-03-14 09:09:56 +01:00
Jan Laupetin
02a3394c2d
fix: fix extraction of source templating games
2026-03-14 09:09:55 +01:00
Jan Laupetin
3aac05a516
fix: make sure matrix shader args with less than 4 rows are properly dumped and loaded
2026-03-14 09:09:55 +01:00
Jan Laupetin
2f12092773
fix: indentation in shader dumping error message
2026-03-14 09:09:55 +01:00
Jan Laupetin
eae57d9da0
feat: template techset and shader dumping for IW4,T6
2026-03-14 09:09:55 +01:00
Jan Laupetin
bb9dba4132
chore: add CommonCodeSourceInfos for IW4
2026-03-14 09:09:45 +01:00
Jan Laupetin
3e85db8110
fix: header transformation plugin not properly handling utf-8 characters
2026-03-14 08:40:26 +01:00
Jan Laupetin
76881dc77f
chore: update to vite 8
2026-03-14 08:16:40 +01:00
Jan Laupetin
fe05816af0
fix: do not spam zcg executions when building on linux
...
* make considers the timestamp of every output instead of only for the
log
* to fix this remove all outputs from the command other than the log
2026-03-06 18:26:44 +01:00
Jan Laupetin
90d7f92ddd
chore: replace all usages of removed ClassUtils macros
2026-03-06 00:13:04 +01:00
Jan Laupetin
bc16febfe2
chore: remove utilities from ClassUtils that were meant for cpp backwards compatibility
2026-03-05 21:50:00 +00:00
Jan Laupetin
f8b3361bbe
chore: add build log for zcg
2026-03-05 21:08:39 +00:00
Jan Laupetin
027d47d549
chore: add buildlog to all templated code
2026-03-05 21:08:39 +00:00
Jan Laupetin
5f28bcc58a
chore: use TextFileCheckDirtyOutput for RawTemplater
2026-03-05 19:55:32 +00:00
Jan Laupetin
d80cdd9712
chore: add TextFileCheckDirtyOutput to FileUtils
2026-03-05 20:30:36 +01:00
Jan Laupetin
d469af2328
chore: use namespace for FileUtils
2026-03-05 20:27:47 +01:00
Jan Laupetin
304ebd56a7
chore: do not write ZCG output if up to date
2026-03-05 18:37:34 +00:00
Jan Laupetin
6eb0ec4179
chore: reorganize precompiled index logic into separate file
2026-03-04 22:47:30 +00:00
Jan Laupetin
1611c222cc
chore: add logic for computing precompiled index on material pass
2026-03-04 22:00:30 +00:00
Jan Laupetin
925e51cb10
fix: not setting correct flags on technique post processing when reusing assets
2026-03-02 22:09:02 +00:00
Jan Laupetin
12199b5395
fix: not properly respecting code const array boundaries when dumping techniques
2026-03-02 22:09:02 +00:00
Jan Laupetin
d0ee167d2d
fix: not properly setting common technique shader type
2026-03-02 22:09:01 +00:00
Jan Laupetin
bbb282a206
chore: deactivate IW4 material and techset compilation for now
2026-03-02 22:09:01 +00:00
Jan Laupetin
7ab9adc17c
chore: handle flag 80 on t6 techniques
2026-03-02 22:09:01 +00:00
Jan Laupetin
dcd67adad4
fix: shader arg matrix row count
2026-03-02 22:09:00 +00:00
Jan Laupetin
400c6ca78a
fix: use buffer binding point instead of index
2026-03-02 22:09:00 +00:00
Jan Laupetin
b2f51b2ae1
fix: technique loading tech flags
2026-03-02 22:09:00 +00:00
Jan Laupetin
5a126157f8
fix: not setting shader arg flags when auto creating
2026-03-02 22:08:59 +00:00
Jan Laupetin
c0a7114b24
chore: add tests for techset and technique compilation
2026-03-02 22:08:59 +00:00
Jan Laupetin
aec1372c5b
fix: vertex decl compiler not recognizing abbreviations with more than 1 digit
2026-03-02 22:08:59 +00:00
Jan Laupetin
5ab3fd7ca0
chore: enable techset debugging on dumper creation level
2026-03-02 22:08:59 +00:00
Jan Laupetin
38cb7d3759
feat: set proper tech flags and sampler flags for loaded techniques
2026-03-02 22:08:58 +00:00
Jan Laupetin
a3f250fdca
feat: compile t6 techsets
2026-03-02 22:08:58 +00:00
Jan Laupetin
38abe459e1
fix: errors with common techset dumping
...
* not respecting transposing matrices
* not respecting arrays
2026-03-02 22:08:58 +00:00
Jan Laupetin
86ae57578b
feat: add t6 sub asset loaders for shaders
2026-03-02 22:08:57 +00:00
Jan Laupetin
9a527c16fa
feat: add t6 vertexdecl sub asset creator
2026-03-02 22:08:57 +00:00
Jan Laupetin
3ef8cc7260
chore: add more details to common techset infos in t5,t6
2026-03-02 22:08:57 +00:00
Jan Laupetin
e66030a5df
chore: improve game shader types
2026-03-02 22:08:56 +00:00
Jan Laupetin
2d2912741b
fix: not properly initializing sub asset pools
2026-03-02 22:08:56 +00:00
Jan Laupetin
2e3b5501b6
chore: extract more information from d3d11 shaders
2026-03-02 22:08:56 +00:00
Jan Laupetin
a6d63e9b31
fix: constraint on asset name arrays
2026-03-02 22:08:56 +00:00
Jan Laupetin
e749514972
fix: compilation with CommonTechset
2026-03-02 22:08:55 +00:00
Jan Laupetin
bf9beb1458
chore: make sure TechsetCompilerT6 sets proper worldVertFormat
2026-03-02 22:08:55 +00:00
Jan Laupetin
e61ec8582a
chore: use CommonTechset instead of TechsetDefinition
2026-03-02 22:08:55 +00:00
Jan Laupetin
0941a357d9
chore: update package lock
2026-02-28 15:29:40 +01:00
Jan Laupetin
f7e0cb3c45
chore: call common djb2 implementations in game hashing funcs
2026-02-23 08:15:05 +01:00
Jan Laupetin
9502ebfc26
chore: add tests for game hashing funcs
2026-02-22 23:36:26 +00:00
Jan Laupetin
7fd818871c
chore: use windows-2025-vs2026 in CI for running with VS2026
2026-02-05 18:54:51 +01:00
Jan Laupetin
b8b5d4b921
chore: generate vs2026 solutions on windows
2026-02-05 18:54:51 +01:00
Jan Laupetin
aa47ffa629
refactor: introduce subasset loading
2026-02-05 18:17:15 +01:00
Jan Laupetin
3b1e65e8cc
refactor: move asset type names to IGame implementations
2026-02-05 17:36:56 +01:00
Jan Laupetin
e5784d09ed
refactor: retrieve asset names from IGame
2026-02-05 17:36:55 +01:00
Jan Laupetin
1540b69ac1
refactor: asset refs are specified via asset name not enum entry
2026-02-05 17:36:55 +01:00
Jan Laupetin
1446d42cbd
docs: remove unused changelog file
...
* changes are noted in GitHub releases
2026-01-29 20:17:24 +01:00
Jan Laupetin
203b222d48
refactor: introduce ci for compiling with clang
2026-01-27 23:49:37 +01:00
Jan Laupetin
38038f8fad
fix: clang compilation issues
2026-01-27 23:49:37 +01:00
Jan Laupetin
c602170fb3
fix: ignore msvc warnings only on msvc
2026-01-27 18:29:01 +01:00
Jan Laupetin
675e402b16
chore: update gcc to 14
2026-01-27 17:31:15 +01:00
Jan Laupetin
a723d1632b
chore: adjust premake5 config for beta8
2026-01-26 21:30:13 +01:00
Jan Laupetin
03d85aa890
chore: update to premake 5.0.0-beta8
2026-01-26 20:02:55 +00:00
Jan Laupetin
5b6b82424b
fix: marking invalid offset as written in WritePtrArray methods
2026-01-18 17:12:13 +01:00
Jan Laupetin
7c52fde1f8
fix: crash on writing float44 type due to misaligned memory
...
* the compiler in release builds optimizes to use movaps
* this opcode requires memory alignment to 16 byte
* the written memory buffer may be misaligned at this position
2026-01-17 00:45:22 +00:00
Jan Laupetin
f95745fb87
fix: not writing to script string var for embedded script string arrays
2026-01-17 00:45:22 +00:00
Jan Laupetin
47dcab33e9
chore: add systemtest to test rebuilding of vanilla zones
2026-01-17 00:45:22 +00:00
Jan Laupetin
2840489a38
fix: only fill used union members when loading
2026-01-17 00:45:21 +00:00
Jan Laupetin
00546740e4
fix: filling union members that are not supposed to be written
...
* This causes some pointers to be partially overwritten when filling in the wrong order as well
2026-01-17 00:45:21 +00:00
Jan Laupetin
9f559fdcd0
fix: ReusableAddOffset not respecting differing block and memory sizes
2026-01-17 00:45:21 +00:00