/* * This file is part of VoidArchiveTool. * * Copyright (C) 2025 Yanczi * * Void Archive Toolis free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see . */ #pragma once #include #include #define EXTENSION "pak" #define SIGNATURE "VoidFS" #define VERSION 11 //Prgoram title #define PROGRAM_TITLE "Void Archive Tool" #define PROGRAM_VERSION "v1.1" #define PROGRAM_AUTHOR "Yanczi" #define PROGRAM_COMPILING "1 September 2025" #define PROGRAM_LICENSE "GNU LGPL v3" struct CargoHead { std::string signature; uint8_t version; uint32_t files; uint64_t table; }; struct FilesTable { uint8_t nameLen; std::string nameFile; uint64_t offset; uint32_t size; uint32_t rawSize; uint64_t crc; bool isZip; };