brdb

Crates.iobrdb
lib.rsbrdb
version0.2.2
created_at2025-07-06 19:46:51.491194+00
updated_at2025-07-15 04:45:40.986587+00
descriptionA library for reading and writing Brickadia's World files.
homepage
repositoryhttps://github.com/brickadia-community/brdb.git
max_upload_size
id1740391
size551,132
Isaac (Meshiest)

documentation

README

BRDB-RS

This library provides an interface for reading and writing Brickadia's World files, which are stored in the .brdb format.

It also contains code for assisting with parsing msgpack-schema files as defined in Zeblote's Brickadia msgpac-schema Gist. Some undocumented changes to this format are required to fully read/write .brdb files.

The .brz format is described in Zeblote's Brickadia brz Gist.

API

See Examples to see how to read/write worlds.

TODO...

Notes

  • Webassembly support requires rusqlite to support the wasm32-unknown-unknown target. When this is merged, the brdb crate should be able to support WebAssembly.
  • This library does not contain every in-game asset name (item classes, etc) so a world with those values needs to be parsed to determine their respective values.
  • The structs and component data inside worlds may change as Brickadia updates. The game should support migrating old worlds, but newly created worlds may have unexpected fields in them.

Liability

Use these libraries on your saves at your own risk:

  • This library may generate invalid .brdb files, which may cause the game (or your computer) to crash or behave unexpectedly. Report these bugs to the Brickadia team.
  • This library may modify the contents of your .brdb files in ways that are not easily recoverable. Make backups of worlds you plan to modify with this library.
Commit count: 0

cargo fmt