Skip to content

ttalexander2/ofnir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ofnir

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.

Building

git clone https://github.com/ttalexander2/ofnir.git
mkdir build
cd build
cmake --build .

Usage

#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;
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages