This project is aimed at reading BUNDLE archives used in Burnout Paradise. The project is used in libapt2 but might be helpful for others for usage.
$ mkdir build && cd build
$ cmake ..
$ cmake --build .
#include <libbndl/bundle.hpp>
#include <iostream>
int main(int argc,char** argv)
{
// Create a bundle instance
libbndl::Bundle arch;
// Load the archive
arch.Load(argv[1]);
// Load an entry from the archive
EntryData *entry = arch.GetBinary(argv[2]);
// etc.
// Remember to delete the EntryData and its data members.
// ...
}