Skip to content
/ brs-py Public

Save reader/writer for Brickadia game in Python

License

Notifications You must be signed in to change notification settings

Kmschr/brs-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Save reader/writer for Brickadia game in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages