Python script to download a Squaremap map. Tested on Windows 10 with Python 3.11.5.
- Download Python.
- Download
squaremap.py
andrequirements.txt
by clicking hyperlinks and saving files onto your computer to same directory. - Open your desired terminal (e.g. Windows' Command Prompt) and navigate to the directory with downloaded files.
- Run
pip install -r requirements.txt
to download required modules. - Run
squaremap.py
via command:
python squaremap.py [map url] [world name] [zoom=0, 1, 2 or 3] [corner coordinates]
- ✅ Good example (test it out!):
python squaremap.py https://map.earthmc.net minecraft_overworld 0 -2280 -13344 7720 -6408
- ⛔ Wrong example:
python squaremap.py map.earthmc.net/?x=180&z=500 2.5 (-1000, -2000) (1000, 4000)
- ℹ️ How to get world name? Click the link button in bottom left corner (if available) while on a map's website. Page will refresh and an updated link with world's name will appear.