Zcalanie ręczne. Jak git nie chce po dobroci to będzie siłą

This commit is contained in:
yanczi 2025-11-19 22:01:25 +01:00
parent 690e5278c5
commit 3bf98ba472
22 changed files with 790 additions and 457 deletions

View file

@ -21,20 +21,29 @@
#include <cstdint>
#include <string>
#include <boost/crc.hpp>
#define EXTENSION "pak"
#define SIGNATURE "XPAK"
#define VERSION 100
#define SIGNATURE_KEY_FILE 1497713496 // XKEY
#define VERSION 300
enum StoreMethod
{
FILTERING = -1,
RAW = 0,
COMPRESS = 1,
ENCRYPT = 2,
COMPRESSxENCRYPT = 3
};
//Prgoram title
#define PROGRAM_TITLE "eXtendet PAK"
#define PROGRAM_VERSION "v1.1"
#define PROGRAM_VERSION "v1.3"
#define PROGRAM_AUTHOR "Yanczi"
#define PROGRAM_COMPILING "24 October 2025"
#define PROGRAM_COMPILING "16 November 2025"
#define PROGRAM_LICENSE "GNU LGPL v3"
//Limity
@ -50,18 +59,18 @@
struct CargoHead
{
std::string signature;
uint16_t version;
int16_t version;
uint32_t files;
uint64_t table;
};
struct FilesTable
{
uint8_t nameLen;
int16_t nameLen;
std::string nameFile;
uint64_t hashName;
uint64_t offset;
uint32_t size;
uint64_t crc;
uint8_t isZip;
int16_t flag;
};