shlogg · Early preview
Techie Kho @rechie_kho

C++20 Header-Only Library For Simple Zipping And Unzipping: Libbag

libbag: A C++20 header-only library for simple zipping & unzipping. Packs key-value pairs tightly together with metadata at the end, allowing for efficient loading & saving of resources.

Hello! It has been a while since the last time I did something for entertainment and learning purposes. So I take up a fairly simple C++ project that hopefully could be useful for other fellow C++ devs.

  
  
  Problem Statement

As I play around with raylib, the small, easy, and exceptionally cool game library, I met a small issue. There is no elegant way of packing files together. When I use a texture or audio, or any external resources, I either need to convert it into a C++ header that declares a byte array filled with that resource, or making sure the the user having the resource at the...