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.
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.