Integrate libmspack's LZX decompressor for Xbox 360 and UE-style compressed data. This replaces the need for external xcompress64.dll which was hanging/crashing on certain files. - Add mspack/ library (lzxd.c decompressor with Gildor's fixes) - Implement memory-based mspack_system for in-memory decompression - Support multiple LZX formats: raw streams, Xbox 360 block format, and Dead Rising 2's per-block format with 4-byte size headers - Add DecompressDeadRisingLZX() with per-block independent contexts to handle the block-based compression correctly Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
637 B
Prolog
27 lines
637 B
Prolog
QT += core
|
|
TEMPLATE = lib
|
|
CONFIG += staticlib c++17
|
|
DEFINES += MINILZO_USE_STATIC
|
|
|
|
SOURCES += $$files($$PWD/*.cpp, true) \
|
|
$$files($$PWD/*.c, true)
|
|
HEADERS += $$files($$PWD/*.h, true)
|
|
|
|
LIBS += \
|
|
-L$$PWD/../../third_party/xbox_sdk/lib -lxcompress64 \
|
|
-L$$OUT_PWD/../libs/core -lcore \
|
|
-L$$OUT_PWD/../libs/encryption -lencryption
|
|
|
|
INCLUDEPATH += \
|
|
$$PWD/../../third_party/xbox_sdk/include \
|
|
$$PWD/../core \
|
|
$$PWD/../encryption \
|
|
$$PWD/mspack
|
|
|
|
DEPENDPATH += \
|
|
$$PWD/../../third_party/xbox_sdk/include \
|
|
$$PWD/../core \
|
|
$$PWD/../encryption
|
|
|
|
DESTDIR = $$OUT_PWD/../
|