238 Commits

Author SHA1 Message Date
Jan
c47ea48b6b Open search paths for assets, gdts and source in Linker 2021-03-10 12:26:09 +01:00
Jan
e6a91c0305 add linker basis 2021-03-08 12:46:27 +01:00
Jan
1a45cf2107 Fix more gcc compilation issues 2021-03-03 09:12:27 -08:00
Jan
1cd06668e0 Replace FileAPI with c++ streams and std::filesystem 2021-03-03 14:04:35 +01:00
Jan
eed7164b5b Save scriptstrings per zone and not per asset since that solves all problems with multiple assets of the same zone referencing the same struct in memory that has scriptstring indices 2020-10-23 15:54:27 +02:00
Jan
ac022ee78a Add dumping of luminance textures from iwis 2020-10-18 17:39:22 +02:00
Jan
464f8231df IWD code style changes 2020-10-17 15:15:17 +02:00
Jan
395c139681 Use map for IWD entries to speed up finding entries by name 2020-10-17 14:59:36 +02:00
Jan
a1c965a4c0 Dump iw4 images 2020-10-16 15:57:39 +02:00
Jan
e7898a1f3c Fix Cubemap mipmap sizes 2020-09-08 12:34:54 +02:00
Jan
f0c50ce943 ObjLoading: Fix not being able to load cubemaps due to wrong calculation of mipsize
Now includes the face count into the calculation which is 6 for cube maps and 1 for everything else
2020-02-22 01:53:24 +01:00
Jan
9572391082 Unlinker: Make zone files creators game dependent and in the unlinker project instead of the ObjWriting component 2020-02-18 17:15:51 +01:00
Jan
992e9cea30 ZoneLoading: Properly link assets as dependencies instead of only saving the name of the dependency 2020-02-18 13:16:39 +01:00
Jan
23f77bb335 Unlinker: Make parsing specified command line arguments its own class 2020-02-14 23:40:47 +01:00
Jan
6b59fcb5fe ObjCommon: Add Id to ImageFormats to be able to identify predefined formats without comparing pointers 2020-02-11 23:46:25 +01:00
Jan
dd4987c2f1 ObjLoading: Fix not setting texture size on loading an image to signalize there's a valid texture object 2020-02-11 20:45:57 +01:00
Jan
80deff450d ObjLoading: Load common ipaks depending on SP/MP/ZM for every zone and make sure to not double load them 2020-02-10 23:02:44 +01:00
Jan
53b03c1fdb ObjLoading: Fix loading the wrong chunkbuffer window data when trying to shift chunkbuffer 2020-02-10 14:17:28 +01:00
Jan
76712328b2 ObjLoading: Add implementation for loading iwis of version 27 (T6) 2020-02-10 14:16:49 +01:00
Jan
43fa845839 ObjLoading: Add possibility to go back to the beginning of a IPakEntryReadStream 2020-02-09 10:01:09 +01:00
Jan
4baca81210 ObjLoading: Implement IPakEntryReadStream as a linear stream 2020-02-09 09:51:57 +01:00
Jan
7b3b527ece ObjLoading: Fix not including algorithm header even though using find_if 2020-02-09 01:27:20 +01:00
Jan
eaa64665d6 ObjLoading: Fix Ipak entry size not specifying the filesize but the difference between start pos and end pos 2020-02-09 01:22:27 +01:00
Jan
345687125f ObjLoading: Fix not increasing head on reading uncompressed ipak data 2020-02-09 00:04:21 +01:00
Jan
28bc614a6d ObjLoading: Initial commit for IPak entry reading 2020-02-08 22:54:24 +01:00
Jan
91d5439f25 ObjLoading: Fix not respecting that IPak index entries specify an offset to the data section and not a file offset 2020-02-08 22:53:33 +01:00
Jan
00d7997d0a ObjLoading: Add basis for IPakEntryReadStream to read ipak entries 2020-02-08 15:55:10 +01:00
Jan
5bda400acb ObjLoading: Add basis for Iwi loading 2020-02-07 20:55:10 +01:00
Jan
9f8022c2ca ZoneCommon: Add GameLanguagePrefix class and save known prefixes for languages in the game object 2020-02-07 20:52:24 +01:00
Jan
b67b4ee316 ObjLoading: Add documentation for IObjLoader, ObjLoading and IWD 2020-02-04 23:48:11 +01:00
Jan
b8de90a675 ObjLoading: Do not attempt to load textures that already have a loaddef 2020-02-04 19:52:23 +01:00
Jan
b8c2557482 ObjLoading: Display error message on directory_iterator throwing an exception 2020-02-04 19:44:56 +01:00
Jan
96f2067030 ObjLoading: Read index section of ipaks and try to open images from it when loading obj data 2020-01-03 01:13:07 +01:00
Jan
204d3aed78 ObjLoading: Fix Repository not updating iterator when erasing entry 2020-01-03 01:11:28 +01:00
Jan
c2f3bca268 ObjLoading: Add indexing and reading of files in IWDs 2020-01-02 00:52:56 +01:00
Jan
0abdb64832 ObjLoading: Be able to load and index IWD files 2020-01-01 18:46:33 +01:00
Jan
153f8f2e89 Unlinker/ObjLoading: Add skeleton for dynamically loading search paths based on current zone 2019-12-30 23:52:33 +01:00
Jan
af55c202cf ObjLoading/ObjWriting: Initial skeleton for loading and writing obj files 2019-12-29 16:40:03 +01:00