A simple and straightforward package manager for games.

SimplyPack

    v1.0
    by: Wassimulator

A very simple and straightforward package manager for games, written in C.
Use SimplyPack.exe or compile simplypack.cpp to use the packer.

the Packer

**SimplyPack.exe** takes 3 arguments:
    1- The path to the folder from which to pack files
    2- The path to the output file
    3- 1 or 0 to display detailed output of what was packed (optional)
The packer is pretty simple, and will pack everything inside the folder you specify. 
reserving a header at the beginning that contains the following information consecutively:
- The number of files packed 
- An array of structs of the type 'SP_fileinfo' which contain:
    - original file name
    - original file size
    - packed file location (relative to the beginning of the pack file)

the Unpacker

To use the unpacker make sure you first call 'SP_OpenPack' with the path to the 
pack file. This call copies the pack into memory.
'SP_GetData' gets you a pointer to the data stored in memory, you should use
this pointer to read the data, make sure you copy it.
'SP_ClosePack' frees the memory used by the pack.
The algorithm doesn't hash but instead matches file names. This tool intended for smaller projects.


Dependencies: tinydir.h, included in the project, 
please read the copyright information for that in the file.
Licensing info at the bottom.
Owner
Wassim Alhajomar
Programmer, med student, artist.
Wassim Alhajomar
Similar Resources

A simple X11 window manager

A simple X11 window manager

Devoid WM A simple x11 tiling window manager Devoid tries to abide by the principle - "Do one thing, do it well". All it is is a window manager which

Dec 6, 2022

Simple Software Application Package Installer for CachyOS which helps setting up & installing applications

cachyos-packageinstaller Simple Software Application Package Installer. Requirements C++20 feature required (tested with GCC 11.1.0 and Clang 13(clang

Jul 1, 2022

dwm is an extremely fast, small, and dynamic window manager for X.

dwm - dynamic window manager dwm is an extremely fast, small, and dynamic window manager for X. My Patches This is in the order that I patched everyth

Dec 23, 2022

A fast and fun layout manager for FLTK

A fast and fun layout manager for FLTK

Fl_Flow A fast and fun layout manager for FLTK Fl_Flow is a layout manager for FLTK which works in a largely different manner to existing systems you

Dec 1, 2022

Small Header-Only Window and OpenGL Manager.

Small Header-Only Window and OpenGL Manager.

LxDemOWin Linux Demo OpenGL and Window manager A small header-Only Window and OpenGL manager made in C, written in about 2 hours. With some basic code

Oct 23, 2022

Small Header-Only Window and OpenGL Manager.

Small Header-Only Window and OpenGL Manager.

LxDemOWin Linux Demo OpenGL and Window manager A small header-Only Window and OpenGL manager made in C, written in about 2 hours. With some basic code

Dec 11, 2021

A cross platform connection manager for V2Ray and other backends.

A cross platform connection manager for V2Ray and other backends.

Qv2ray - For developers. By developers. Qv2ray is a cross-platform connection manager for V2Ray and other backends. This is the original Qv2ray projec

Jan 7, 2023

C++ Library Manager for Windows, Linux, and MacOS

Vcpkg: Overview 中文总览 Español 한국어 Français Vcpkg helps you manage C and C++ libraries on Windows, Linux and MacOS. This tool and ecosystem are constant

Jan 4, 2023

An extension manager for browsing and installing GNOME Shell Extensions.

An extension manager for browsing and installing GNOME Shell Extensions.

Extension Manager A native tool for browsing, installing, and managing GNOME Shell Extensions. Written with GTK 4 and libadwaita. Features The tool su

Jan 1, 2023
C++ front-end package manager for embedding and redistributing with native applications

Pacm Simple C++ package manager Homepage: https://sourcey.com/pacm Documentation: https://sourcey.com/libsourcey/api-pacm/ Dependencies: LibSourcey (b

Jun 5, 2022
ZPM - The C++ package manager based on premake5

ZPM ZPM is the C++ package manager built for everyone who uses premake! We designed it to make it easy to use libraries, modules and assets. PLEASE NO

Oct 10, 2022
Example of downloading/installing dependencies using Hunter package manager.

Linux/OSX Windows Example of downloading/installing dependencies using Hunter package manager. Requirements CMake version 3.0 Usage Set HUNTER_ROOT en

Dec 30, 2022
A package manager for C++, like Cargo for Rust.
A package manager for C++, like Cargo for Rust.

Description Poac is a package manager for C++ users. Poac can download project's dependencies and compile a project. Please see poac.pm, installation

Jan 2, 2023
BSCXX (for BootStrap CXX project) is a C++ package manager.

bscxx bscxx (for bootstrap CXX project) is a very light utility software, written in C++ 17, to help you starting quickly a new C++ project using cmak

Sep 21, 2019
C/C++ Package Manager
C/C++ Package Manager

CPM/CPPM C/C++ Package Manager Explore the docs » Report Bug · Request Feature Table of Contents About the Project Built With Getting Started Prerequi

May 9, 2022
Tactile-Arcade-Games - Wrote a C program comprised of four separate games that run in a loop using the PSoC 5LP board and Cypress IDE.

Tactile-Arcade-Games - Wrote a C program comprised of four separate games that run in a loop using the PSoC 5LP board and Cypress IDE. Used two potentiometers, two ADCs to convert their voltages to digital values, a PWM to drive two servos, an 8x8 RGB LED matrix, 40 digital output pins and 8 power MOSFETS to control the matrix, and a character LCD display.

Dec 30, 2022
Defold Engine integration with Yandex.Metrica to track your games on Yandex.Games.
Defold Engine integration with Yandex.Metrica to track your games on Yandex.Games.

Yandex.Metrica for Defold Yandex.Metrica is a free of charge web analytics tool for websites, that's the reason why we can use it for HTML5 games. Yan

Nov 26, 2022
Simple and light C++ global keyboard/keybinding manager

Global key binding written in C++ // Style: // Hungarian Notation for variables, eg. float flFloatingPoint; int iInteger; string szString; // Member

Aug 2, 2022
isabel - Simple, minimalist note manager.

isabel isabel - Simple, minimalist note manager. Usage Type name and body of note and press Ctrl+s for save note. Press Tab to open notes list. Press

Oct 2, 2021