2019-04-10 05:20:53 +02:00
|
|
|
# BSArchive DLL and C++ bindings
|
2019-04-10 05:16:25 +02:00
|
|
|
BSArchive Dynamic Link Library and C++ bindings
|
2019-04-10 05:20:53 +02:00
|
|
|
|
|
|
|
|
## How to build
|
|
|
|
|
|
2019-04-10 05:24:16 +02:00
|
|
|
1) Create a `XEditPath` environment variable and set it to the directory containing the XEdit code
|
2019-04-10 05:20:53 +02:00
|
|
|
2) Build the DLL in Delphi by opening the `libbsarch.dproj` project
|
|
|
|
|
3) Build the LIB in Visual Studio by opening the `libbsarch.sln` project
|
|
|
|
|
|
|
|
|
|
## How to use
|
|
|
|
|
|
2019-04-10 05:26:55 +02:00
|
|
|
Use the `libbsarch.dll` (The one created by Delphi, not Visual Studio), `libbsarch.lib` and `libbsarch.h` in your project.
|
2019-04-10 05:44:17 +02:00
|
|
|
|
|
|
|
|
## Attribution
|
|
|
|
|
|
|
|
|
|
The original BSArchive can be found at: https://github.com/TES5Edit/TES5Edit/tree/dev/Tools/BSArchive
|
|
|
|
|
The version in this project had been modified for better compatibility with C/C++ and allow the users to allocate their own memory in some cases.
|