Commit Graph
100 Commits
Author SHA1 Message Date
Jan 78d8fba6f8 refactor: make ZoneInputStream a reference in zone loading 2025-06-14 00:39:58 +01:00
Jan Laupetin f6d7831e6e chore: implement base skeleton for architecture independent zone loading 2025-06-14 00:39:55 +01:00
Jan Laupetin 49867a3474 fix: accidentally dumping iwi cubemaps as 2D 2025-05-30 19:41:25 +02:00
Jan 2a4c0dcb43 fix: dumping xmodels with multiple surfaces and no bones 2025-05-11 20:55:52 +01:00
Jan Laupetin 35cb6636a1 fix: linux build 2025-05-02 23:26:12 +02:00
Jan b92e85dc14 refactor: hide implementation of loading steps inside file 2025-05-02 22:08:08 +01:00
Jan 955df98279 refactor: hide implementation details of zone loading processors 2025-05-02 22:08:07 +01:00
Jan eb16dfcd00 refactor: merge ZoneInputStream interface with only implementation 2025-05-02 22:08:07 +01:00
Jan 4ce82ad63c refactor: update ZoneLoading classes codestyle 2025-05-02 22:08:07 +01:00
Jan Laupetin 446c38d8ee refactor: reorder members of zcg generated classes 2025-05-02 22:08:06 +01:00
Jan ed029bc24d refactor: adjust template const modifiers 2025-05-02 22:08:06 +01:00
Jan 8b85cadb77 refactor: make memory from zone a reference instead of ptr 2025-05-02 22:08:06 +01:00
Jan 9e940a6f53 refactor: use zone reference in AssetLoader 2025-05-02 22:08:06 +01:00
Jan 50612d117e refactor: update zcg generate file headers 2025-04-30 17:01:52 +01:00
Jan Laupetin 1b579b1bc3 refactor: remove usages of name sequence in game commands 2025-04-28 17:30:30 +02:00
Jan Laupetin 68ee502c72 refactor: remove name sequence from zcg commands 2025-04-28 17:23:39 +02:00
Jan Laupetin 0103e4631f refactor: remove GetAssetName method from ZoneMark template 2025-04-28 17:18:09 +02:00
Jan Laupetin 7f59d35e87 refactor: replace GetAssetName method in ZoneLoad template 2025-04-28 17:09:40 +02:00
Jan 547da3fdf9 refactor: remove GetName method of ZoneWrite zcg template 2025-04-28 12:53:14 +01:00
Jan Laupetin 1fe1b30831 chore: use Asset definition instead of enum entry for zcg 2025-04-28 12:53:02 +01:00
Jan 3adbe5a275 refactor: fix additional zcg x64 warnings 2025-04-28 12:07:41 +01:00
Jan Laupetin d938f91541 fix: crash on trying to generate for specific asset 2025-04-28 11:55:47 +01:00
Jan Laupetin 2eefad105e chore: small code adjustments for generation code in zcg 2025-04-28 11:55:46 +01:00
Jan Laupetin 4ccd0a55cf chore: adjust game structs to have custom alignment when they are
platform independent
2025-04-27 21:05:22 +02:00
Jan Laupetin 4e9599aabf chore: detect structs that differ on different architectures
* and exclude them from assetstructtests
2025-04-27 21:04:41 +02:00
Jan Laupetin 088d14f894 chore: add x64 build to ci 2025-04-27 19:30:39 +02:00
Jan 365b627523 refactor: fix remaining x64 compilation issues 2025-04-27 19:30:36 +02:00
Jan Laupetin a6107e24a2 chore: disable type alignment on x64 for x86 games 2025-04-26 19:48:03 +02:00
Jan 3b00c1d45b refactor: fix x64 compilation for ZoneLoading 2025-04-26 19:48:03 +02:00
Jan de43e33dcd refactor: fix x64 compilation for ObjWriting 2025-04-26 19:48:03 +02:00
Jan 5d0c94e430 refactor: fix x64 compilation for ObjLoading 2025-04-26 19:48:03 +02:00
Jan ee4301952a refactor: fix x64 compilation issues in Common,ObjCommon,ObjCompiling,ObjImage components 2025-04-26 19:08:16 +02:00
Jan 5635470b6e refactor: cryptography component 2025-04-26 19:08:15 +02:00
Jan 60f5c1a18f refactor: adjust zcg code for working in x64 2025-04-26 19:08:15 +02:00
Jan 10cbd47bdc chore: use std::format for zcg templates 2025-04-24 21:37:43 +01:00
Jan 76c22ffce2 chore: adjust include path for lz4 dependency 2025-04-23 17:17:24 +01:00
Jan dc282170bc chore: small code style adjustments for XModelBinWriter 2025-04-23 17:17:24 +01:00
Jan 0fbfb860c0 fix: ignoring last element in t6 stringtable cell index sorting 2025-04-23 07:44:43 +02:00
Jan fb20cbf81c fix: use platform specific calls to get executable dir 2025-04-23 00:50:30 +01:00
Jan dbcf7d86af fix: redownload premake when version is outdated 2025-04-21 18:34:46 +02:00
Jan ba4cb85639 fix: make generate.sh work with git worktrees 2025-04-20 23:54:11 +02:00
Jan 13b07c0fe4 chore: replace x64 build scripts with generic ones 2025-04-20 17:30:55 +02:00
Jan 9f8a933277 chore: update ZoneCodeGenerator code style 2025-04-20 09:45:37 +02:00
Jan 9f738da517 chore: remove duplicated alignment utility method 2025-04-20 09:45:36 +02:00
Jan 785cf8c025 chore: update code style in ZoneCodeGenerator entrypoint 2025-04-20 09:45:32 +02:00
Jan 0d35696940 chore: make map ents dumping add ents extension instead of replacing 2025-04-07 22:16:08 +01:00
Jan 01302cf061 fix: too large obj files for x64 on windows 2025-04-06 18:02:48 +01:00
Jan 6f31e8cc29 chore: fix compilation issues with x64 2025-04-06 18:02:47 +01:00
Jan 37d52ae8da chore: add compilation scripts for x64 2025-04-06 17:44:26 +02:00
Jan 481d301545 chore: change c++ version to c++23 2025-04-06 17:43:50 +02:00
Jan cec70e783f fix: not using lookup to common vertices when writing rigid bone data
no more pizza cheese problem
2025-04-05 17:36:29 +02:00
Jan a2c8129a13 fix: messed up reordering of vertices for bone count 2025-04-05 16:30:58 +02:00
Jan e13eb256bb chore: update code style 2025-04-05 16:30:54 +02:00
Jan 820fe47473 fix: always use lowercase extensions for xmodels 2025-04-05 12:42:55 +02:00
Jan 0366b24bd7 fix: game name in linker paths must be lowercase for linux 2025-04-05 12:42:52 +02:00
Jan 56c4eeb5cd fix: set clipmap asset name of non-pvs clipmap to clipmap_unused in IW3,IW4,T5 2025-03-27 17:16:28 +01:00
Jan 0c587e5e5f fix: compilation on msvc 2025-03-25 17:38:07 +01:00
Jan 826c1d2f2d fix: loading of gltf with multiple meshes 2025-01-23 22:25:38 +00:00
Jan 94ca0ab79e fix: loading of base64 data from gltf files 2025-01-23 21:17:51 +00:00
Jan 140eb7b7a4 feat: dump objects into gltf meshes instead of primitives 2025-01-23 17:47:30 +00:00
Jan 708e759f8c chore: update code style of gltf writer 2025-01-23 17:23:33 +00:00
Jan 80fa61b45c chore: update xmodel dumper code style 2025-01-23 17:09:09 +00:00
Jan 4d0b0651eb fix: formatting 2025-01-21 23:20:55 +01:00
Jan 7a639a359c fix: not being able to ignore assets of type attachment,attachmentunique 2025-01-21 22:17:06 +00:00
Jan 990bfe27df chore: add force loading of assets 2025-01-21 22:16:55 +00:00
Jan b4194eff28 chore: always use dynamic asset pools and remove static implementation 2025-01-21 22:14:24 +00:00
Jan 8c453f1683 fix: support dds files that lie about their mipmaps 2025-01-15 19:18:04 +00:00
Jan a41d15d43a fix: not loading iwds from search-path in Unlinker 2025-01-15 17:47:33 +00:00
Jan 85d9f1c255 fix: salsa20 encryption only initializes encryption with zone name of at max 31 characters length 2025-01-15 00:47:01 +01:00
Jan d9f23a0b76 fix: make file name verification consider max file name length in zone properly 2025-01-15 00:46:22 +01:00
Jan cc67f6e730 refactor: use OutputPathFilesystem for writing fastfiles 2025-01-14 22:03:44 +01:00
Jan 4c09e94220 refactor: remove MemoryManager create method usages 2025-01-13 22:03:20 +00:00
Jan 62f1ac41c5 chore: remove debug log in generate script 2025-01-13 20:19:36 +00:00
Jan 0f1c67b54c fix: properly interpret windows errorlevels 2025-01-13 19:15:21 +00:00
Jan 419481b4da chore: add possibility to ignore premake5 from path 2025-01-13 01:27:32 +01:00
Jan 32c0ecb04d chore: replace deprecated flags usage of FatalWarnings for premake 2025-01-12 23:45:11 +00:00
Jan d1d4752114 chore: run generate script in ci 2025-01-12 23:41:23 +00:00
Jan 6e6bfca38c chore: update premake version in ci 2025-01-12 23:49:17 +01:00
Jan 4240ddd4c7 chore: update and automatically install premake5 2025-01-12 23:47:59 +01:00
Jan 2d58054ffc refactor: make use of IOutputPath in ObjWriting 2025-01-11 17:52:04 +01:00
Jan b584cd7423 fix: make sure creating directories in OutputPathFilesystem cannot lead to a crash 2025-01-11 13:05:45 +01:00
Jan c86f9f6391 fix: not accessing previous zone data when taking an asset from global asset pools 2025-01-11 11:57:09 +01:00
Jan 36f0764cd5 fix: not registering script strings for xmodel loading 2025-01-11 11:56:39 +01:00
Jan 0a98da9a79 fix: not calculating fields in t6 attachment unique loader 2025-01-11 11:56:04 +01:00
Jan d1e6aa9da0 test: add unit test for IwdCreator 2025-01-08 21:25:48 +00:00
Jan fa249b0bd3 test: add unit test for IPakCreator 2025-01-08 21:05:11 +00:00
Jan 54e240e98c fix: compilation 2025-01-08 17:39:34 +00:00
Jan 3b5ca86b0d test: add unit test for ImageIwdPostProcessor 2025-01-08 17:37:19 +00:00
Jan 8c8ceae0bd test: add unit test for ImageIPakPostProcessor 2025-01-08 17:36:01 +00:00
Jan e0f8b3d3ca chore: add abstraction for opening output files to be able to mock it 2025-01-07 00:02:38 +01:00
Jan cacccf64e1 fix: make sure kvps are in a deterministic order 2025-01-05 10:16:14 +00:00
Jan 67fb11506c chore: initialize ipak and iwd post processors immediately in constructor 2025-01-05 09:35:52 +00:00
Jan 83833cb84e fix: use canonical instead of absolute in test initialization 2025-01-05 09:05:47 +00:00
Jan ce3786f086 chore: check exact paths of test executable and provide temp dir 2025-01-05 00:16:58 +00:00
Jan fc9e6ce14d test: add test for KeyValuePairsCompilerT6 2025-01-05 00:16:57 +00:00
Jan b84c719d3f chore: add missing headers 2025-01-03 14:55:19 +01:00
Jan ac43b646cc feat: automatically add ipak_read kvp when creating ipak 2025-01-03 14:55:19 +01:00
Jan 2313da1c12 chore: inject ZoneAssetCreationStateCollection to states 2025-01-03 14:55:19 +01:00
Jan ef862ff246 chore: make keyvaluepairscompiler use a zonestate 2025-01-03 14:55:19 +01:00
Jan 3c3161448f chore: get Iwd and Ipak creators in constructor for post processors 2025-01-03 11:18:33 +01:00