375 Commits

Author SHA1 Message Date
njohnson
ead2e4eaf7 Fix: Use XDataStream instead of QDataStream for COD4 PS3 fast file parsing. 2025-09-10 21:55:30 -04:00
njohnson
63ccc50de3 Fix: Use XDataStream instead of QDataStream 2025-09-10 21:55:29 -04:00
njohnson
a753c24d9d Fix: Use XDataStream instead of QDataStream 2025-09-10 21:55:28 -04:00
njohnson
d4bf2e0796 Fix: Use XDataStream instead of QDataStream 2025-09-10 21:55:27 -04:00
njohnson
2472cd5d1b Fix: Use XDataStream instead of QDataStream for COD7/COD9 parsing. 2025-09-10 21:55:26 -04:00
njohnson
7bfe92eb9c Fix: Use XDataStream instead of QDataStream for COD7/COD9 parsing. 2025-09-10 21:55:25 -04:00
njohnson
990d413673 Fix: Use XDataStream instead of QDataStream 2025-09-10 21:55:25 -04:00
njohnson
b4f677f81b Fix: Use XDataStream instead of QDataStream for COD5 Fast File parsing. 2025-09-10 21:55:24 -04:00
njohnson
59dfc3f05e Fix: Use XDataStream instead of QDataStream for COD5 Fast File parsing. 2025-09-10 21:55:23 -04:00
njohnson
3d409fc1d4 Fix: Use XDataStream instead of QDataStream 2025-09-10 21:55:22 -04:00
njohnson
ab437b460f Fix: Use XDataStream instead of QDataStream 2025-09-10 21:55:21 -04:00
njohnson
ff46687106 Fix: Use XDataStream instead of QDataStream 2025-09-10 21:55:20 -04:00
njohnson
d7f099dc05 Fix: Use XDataStream and BigEndian for COD7/COD9 parsing
This commit corrects the byte order handling for the COD7/COD9 file parsing, utilizing `XDataStream` and `BigEndian` to ensure correct data interpretation.
2025-09-10 21:55:20 -04:00
njohnson
415156256a Fix: Use XDataStream and BigEndian for COD8/COD9
This commit replaces `QDataStream` with `XDataStream` and ensures `BigEndian` byte order is used, aligning with the specific requirements for COD8/COD9 file loading.
2025-09-10 21:55:18 -04:00
njohnson
c799f53687 Refactor: Use XDataStream instead of QDataStream for COD7/COD9 parsing. 2025-09-10 21:55:17 -04:00
njohnson
15ff5e65b1 Fix: Decompress ZLIB correctly
This commit fixes an issue where the ZLIB decompression was not being performed correctly after stripping hash blocks. The corrected code ensures that the decompressed data is properly handled.
2025-09-10 21:55:16 -04:00
njohnson
a3769f0bad Fix: Use XDataStream instead of QDataStream for COD4 360 file parsing. 2025-09-10 21:55:15 -04:00
njohnson
8a668620de Fix: Use XDataStream instead of QDataStream 2025-09-10 21:55:15 -04:00
njohnson
935634c9e2 Fix: Use XDataStream instead of QDataStream
Change QDataStream to XDataStream for parsing the fastfile data.
2025-09-10 21:55:14 -04:00
njohnson
d13e227eb9 Fix: Use XDataStream instead of QDataStream 2025-09-10 21:55:13 -04:00
njohnson
b977dbd183 Fix: Use XDataStream instead of QDataStream
Change QDataStream to XDataStream for improved compatibility and consistency.
2025-09-10 21:55:12 -04:00
njohnson
15399a2969 Fix: Handle endianness in SHA1 block expansion
Addresses a potential endianness issue in the SHA1 block expansion logic, using `#ifdef WORDS_BIGENDIAN` to ensure correct data access regardless of platform.
2025-09-10 21:55:11 -04:00
njohnson
bc3cc77a0a Fix: Use u32 for loop index in salsa20.cpp
This commit replaces the `int i` loop index with `u32 i` in the `ECRYPT_encrypt_bytes` function. This ensures consistency with the rest of the code, which uses `u32` for various indices and counts, and avoids potential warnings or errors related to type mismatches.
2025-09-10 21:55:10 -04:00
njohnson
dcd6d9bf7b Fix: Correctly initialize IV table values
This commit fixes a minor issue where the IV table initialization was slightly off, leading to incorrect values in some cases. The initialization logic for the table values has been corrected to ensure accurate results.
2025-09-10 21:55:09 -04:00
njohnson
ddcb00676a Remove warning about macro usage
This commit removes a warning message regarding the potential misuse of macros within the `ecrypt-portable.h` file. The message cautioned against using the macros in scenarios where side effects were intended, highlighting the importance of careful usage.  The warning was deemed overly restrictive and has been removed to allow for greater flexibility in how the macros are utilized, while still encouraging awareness of their specific behavior.
2025-09-10 21:55:08 -04:00
njohnson
73f9207839 Update enums for IWI_VERSION and IWI_FORMAT to reflect changes. 2025-09-10 21:55:06 -04:00
njohnson
bccbca87fa Add XDataStream class for convenient data parsing. 2025-09-10 21:55:05 -04:00
njohnson
a24fec5558 Add parsing methods for int8, uint8, int16, uint16, int32, uint32, int64, uint64, single, and double. Add debug output to each parsing method. 2025-09-10 21:55:04 -04:00
njohnson
c26ba7dcab Fix: Use XDataStream instead of QDataStream 2025-09-10 21:55:02 -04:00
njohnson
cadcd2d53c Update enums in libs/core/enums.h to improve code readability and maintainability. 2025-09-10 21:55:01 -04:00
njohnson
7eca939c06 Update: Add xdatastream.cpp and xdatastream.h to core.pro 2025-09-10 21:55:00 -04:00
njohnson
975567cdd4 Remove redundant LZO package notes. 2025-09-10 21:54:59 -04:00
njohnson
2df2d491ae Fix: Include correct lzo definitions header 2025-09-10 21:54:58 -04:00
njohnson
9b4852f393 Update build dependencies for compression library. 2025-09-10 21:54:57 -04:00
njohnson
f3d0abb65e ```
Commit message:
Fix: Resolve compilation issues with XCompress and Minilzo.
```
2025-09-10 21:54:57 -04:00
njohnson
2f044a8d94 Updated xwater 2025-09-07 23:16:15 -04:00
njohnson
a1a54665d9 Updated xsurfacevertexinfo 2025-09-07 23:16:14 -04:00
njohnson
6e73c2d50c Updated xsurface 2025-09-07 23:16:14 -04:00
njohnson
53f690c554 Updated xsunflare 2025-09-07 23:16:13 -04:00
njohnson
eebd333e11 Updated xphyspreset 2025-09-07 23:16:12 -04:00
njohnson
3b65f1bdf2 Updated xpackedunitvec 2025-09-07 23:16:11 -04:00
njohnson
a9444c05bf Updated xpackedtexcoords 2025-09-07 23:16:11 -04:00
njohnson
9a957138b5 Updated xmodelpieces 2025-09-07 23:16:10 -04:00
njohnson
a94e3bd012 Updated xmodelpiece 2025-09-07 23:16:09 -04:00
njohnson
b80cfab4fb Updated xmodelcollsurf 2025-09-07 23:16:08 -04:00
njohnson
da6233c10d Updated xmodel 2025-09-07 23:16:08 -04:00
njohnson
43e925ae23 Updated xmenudef 2025-09-07 23:16:07 -04:00
njohnson
cd7c65ef4a Updated xmaterialtexturedefinfo 2025-09-07 23:16:06 -04:00
njohnson
fd7f466578 Updated xmaterialtexturedef 2025-09-07 23:16:05 -04:00
njohnson
3a84ccd30f Updated xmaterialtechniqueset 2025-09-07 23:16:05 -04:00