Have ideas to improve npm?Join in the discussion! »

    @seiyria/oath-parser
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.7 • Public • Published

    OathParser

    A parser to reverse-engineer Oath TTS savefiles

    Installation

    npm i oath-parser

    Usage

    import { parseOathTTSSavefileString } from '@seiyria/oath-parser'
    
    parseOathTTSSavefileString(yourSavefile);
    

    You can see an example of this in test/savefile.ts.

    References

    The Lua code is kept in lua/. It's copy/pasted out of the TTS mod for easier reference. It's not guaranteed to be up to date.

    Future

    Serialize a savefile string by passing in a JSON object.

    Credits

    • Cole & Leder Games: making this great game (& letting me make cool stuff)
    • AgentElron: having such readable code!

    Install

    npm i @seiyria/oath-parser

    DownloadsWeekly Downloads

    4

    Version

    1.0.7

    License

    MIT

    Unpacked Size

    353 kB

    Total Files

    15

    Last publish

    Collaborators

    • avatar