mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-28 20:29:04 +03:00
850 B
850 B
Installation
Dependencies
To build, you need a Linux-like environment with bash
, wget
, unzip
, etc.
You also osmosis
for the import script.
At runtime if you want to use the screen-capture plugin, you need scrot
.
One-time setup
In the future, I'll set up Github binary releases for multiple platforms.
-
Install Rust, at least 1.31. https://www.rust-lang.org/tools/install
-
Download the repository:
git clone https://github.com/dabreegster/abstreet.git
-
Download all input data and build maps. Compilation times will be very slow at first.
cd abstreet; ./import.sh
-
Optional: Speed up map loading:
./precompute.sh
. Don't be alarmed if many maps don't successfully convert.
Running
There's a bit more to it, but the basics:
cd editor; cargo run ../data/maps/montlake_no_edits.abst