Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 987 Bytes

README.md

File metadata and controls

35 lines (29 loc) · 987 Bytes

Purpose of this project

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.

Build status

Build Status Build status

How to build

$ mkdir build && cd build
$ cmake ..
$ cmake --build .

How to use the library

#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.
    // ...
}