Skip to main content

Brickadia savefile reader/writer

Project description

brs-py

A savefile reader/writer for the Brickadia game

Brickadia is a multiplayer brick building game

Made for version 8 savefiles (Brickadia Alpha 5)

Install

pip3 install brs-py

Example Usage

Display info about a save

import brs

save = brs.readBRS("Freebuild.brs")
print(save)

Make a save from scratch, with bricks showing the default colorset

import brs

save = brs.default()

for color_index in range(len(save.colors)):
    brick = brs.Brick.default()
    brick.position = [color_index * 10, 0, 6]
    brick.color = brs.ColorMode(save.colors[color_index])
    save.bricks.append(brick)

brs.writeBRS("colors.brs", save)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brs-py-0.5.1.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distribution

brs_py-0.5.1-py3-none-any.whl (9.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page