WIP Elden Ring save file browser and library, written in c++23. Just supports PC saves for now, only works on little endian systems.
Can be used as a library, but not currently supported to do so.
Note: Currently the parser reads the entire save file into memory, so that the tool has the file open for the smallest possible amout of time. This may be inefficient in terms of memory, but the idea is to hopefully minimize the possibility that the game will attempt to read from the file while the tool has it open.
git clone https://github.com/ttalexander2/ofnir.git
mkdir build
cd build
cmake --build .#include <gideon/sl2_parser.hpp>
int main() {
using namespace gideon;
constexpr auto path = "/home/thomas/Downloads/ER0000.co2";
const auto data = std::make_unique<SL2Data>();
const SL2ParserResult result = SL2Parser::parse(path, data);
if (result == SL2ParserResult_Success) {
std::cout << "Character 1: " << data->characters[0].player.get_character_name() << std::endl;
}
return 0;
}