Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Latest commit

 

History

History
35 lines (23 loc) · 592 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 592 Bytes

PiMap - Diablo 2 - Map generation test

This code is taken completly from Awesom-O

A Linux based CLI interface to generate maps for diablo 2.

Building

Using docker

sudo apt install libpcap-dev

yarn
yarn build-docker
docker build -t pimap .

Generating maps

docker run -d -v /path/to/d2/game:/app/game -p 8899:8899 pimap

# /map/:seed/:difficulty/:levelCode.json
curl http://localhost:8899/map/1122416/Hell/141.json

PNG export

# /map/:seed/:difficulty/:levelCode.json
wget http://localhost:8899/map/1122416/Hell/141.png