Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions map-generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ the [Official Openfront Wiki](https://openfront.wiki/Map_Making)
## Installation

1. Install go <https://go.dev/doc/install>
2. Go to map-generator folder: `cd map-generator`
3. Install dependencies: `go mod download`
4. Run the generator for all maps: `go run .`
2. Install a C compiler (required by the WebP dependency via CGO):
- **Windows:** Install [MSYS2](https://www.msys2.org/), open the **UCRT64** terminal, and run `pacman -S mingw-w64-ucrt-x86_64-gcc`. Either use Go from within that terminal or add the UCRT64 `bin` directory (e.g. `C:\msys64\ucrt64\bin`) to your PATH so `gcc` is available. Alternatively, install [TDM-GCC](https://jmeubank.github.io/tdm-gcc/).
- **macOS:** `xcode-select --install`
- **Linux:** `sudo apt install gcc` (Debian/Ubuntu) or equivalent.
3. Go to map-generator folder: `cd map-generator`
4. Install dependencies: `go mod download`
5. Run the generator for all maps: `go run .`

## Creating a new map

Expand Down
Loading