A Terraria player editor written in Gleam
Find a file
Lily Rose 1d4ecce2c5
Some checks failed
test / test (push) Failing after 2s
Make items and buffs optional
2026-02-22 03:23:07 +11:00
.github/workflows In progress initial commit 2026-02-19 02:03:25 +11:00
src Make items and buffs optional 2026-02-22 03:23:07 +11:00
test Rename package to cthulhu 2026-02-22 01:32:27 +11:00
.gitignore In progress initial commit 2026-02-19 02:03:25 +11:00
gleam.toml Rename package to cthulhu 2026-02-22 01:32:27 +11:00
manifest.toml In progress initial commit 2026-02-19 02:03:25 +11:00
README.md Update readme 2026-02-22 01:35:18 +11:00

cthulhu

Package Version Hex Docs

A Terraria player editor written in Gleam

gleam add cthulhu@1
import cthulhu
import simplifile

pub fn main() -> Nil {
  let assert Ok(encrypted_player) = simplifile.read_bits(test_player_path)
  let assert Ok(raw_player) = cthulhu.decrypt(encrypted_player)
  let assert Ok(player) = cthulhu.decode_player(raw_player)
  echo player
}

Further documentation can be found at https://hexdocs.pm/cthulhu.

Development

gleam run   # Run the project
gleam test  # Run the tests (requires a player file named test.plr)