Sauerworld Forum

Sauerbraten Content => Scripts => Topic started by: pink-vertex on March 29, 2018, 04:23:54 PM

Title: Python Script to read and write brush files (*.obr)
Post by: pink-vertex on March 29, 2018, 04:23:54 PM
I thought i might share this here - an experimental python script to read and write *.obr files which are less complex than *.ogz map files
There are two generator functions implemented (yet):

Gist Link (https://gist.github.com/pink-vertex/74f52e2784d7d17f19f7f4900f98cc7f)
Title: Re: Python Script to read and write brush files (*.obr)
Post by: arCABAL on April 18, 2018, 11:28:43 PM
Can you explain more about what this is exactly? You're somehow scripting pastebrush and savebrush commands with python? Maybe use Peek (https://github.com/phw/peek) to show what you can do with this?