Skip to content
736c6f77706f6b65 edited this page Dec 21, 2018 · 7 revisions

Description

This is a library made in python for reading, editing and saving Speedrunners map files.

Setup

The only requirement for srmap is Python 3.x To install it, run

$ pip install srmap

Alternatively, you can download the source code and use it as normal. If you do this, make sure to place your scripts in the same folder as the src folder is located.

Using map files

Local copies of map files can be found in:

[Your Steam installation folder]\userdata\[Your Steam 3 ID]\207140\remote

When testing your map files, you need to restart the game to see changes made to map files

Simple Script

This will save a blank map file with no tiles or actors.

from srmap import level
lvl = level.Level()
lvl.save('map.sr')
Clone this wiki locally