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

1.0.8 • 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!

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.8
    5
    • latest

Version History

Package Sidebar

Install

npm i @seiyria/oath-parser

Weekly Downloads

6

Version

1.0.8

License

MIT

Unpacked Size

667 kB

Total Files

16

Last publish

Collaborators

  • seiyria