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.Color(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.2.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brs_py-0.5.2-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file brs-py-0.5.2.tar.gz.

File metadata

  • Download URL: brs-py-0.5.2.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for brs-py-0.5.2.tar.gz
Algorithm Hash digest
SHA256 afe0aa8b7f85a66c2bc51de8c13416a9ce017a1a3628d392bf2bef7ed1054002
MD5 a558ada11c4eafb2107c0ee5858e5803
BLAKE2b-256 473a7c3e555d3cbe604ba32e64e4691cdd6ce1a09f4879bff2c50076079381a6

See more details on using hashes here.

File details

Details for the file brs_py-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: brs_py-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for brs_py-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 71e69058614bd271e0e51d749ad5a99e660fa28e7f7d376884c808311167e551
MD5 ff75c5fce4c615dacaef9ff0e4cb1e37
BLAKE2b-256 621e5959c885239efbc9496b3df7d880aa9ca96d2ffc5becd7d4ff61dc58d891

See more details on using hashes here.

Supported by

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