Generate Super Mario War worlds from real-world data.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.4 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # real-worldgen
  2. ![Sample Output](./docs/img/real-worldgen.png)
  3. Generate [Super Mario War](http://supermariowar.supersanctuary.net/) worlds from real-world data.
  4. ## Requirements
  5. - Node.js (preferably latest)
  6. - Yarn
  7. - Existing installation of Super Mario War (obtain v.2.0 from [Super Mario War's GitHub page](https://github.com/mmatyas/supermariowar/releases).
  8. ## Setup
  9. 1. Create `tools/` in the Super Mario War directory.
  10. 2. Clone this repository inside `tools/`.
  11. 3. Install dependencies:
  12. ```shell
  13. yarn [install]
  14. ```
  15. 4. Link the assets to the game files:
  16. ```shell
  17. yarn link-gfx
  18. ```
  19. 5. Build the app:
  20. ```shell
  21. yarn build
  22. ```
  23. 6. Run the app on `http://localhost:3000`:
  24. ```shell
  25. yarn start
  26. ```
  27. ## Development
  28. This project is made from [Next](https://nextjs.org). Development practices for Next are applicable for this project.
  29. ## Credits
  30. Biome map obtained from [Minecraft Earth Map](https://earth.motfe.net/tiles-biomes/).
  31. Land elevation, bathymetry, and real-color maps obtained from [Visible Earth](https://visibleearth.nasa.gov/).
  32. Water mask map obtained from [Shaded Relief](https://www.shadedrelief.com/natural3/pages/extra.html).
  33. Uses [D3](https://d3js.org/) (d3-geo) for map projections. Super Mario is a property of Nintendo.
  34. [Super Mario War](http://supermariowar.supersanctuary.net/) is a fangame inspired by Super Mario games.
  35. ## Samples
  36. ![Larger Sample Output](./docs/img/sample-output-2.png)