The UESP Gamemap is a web app for displaying Elder Scrolls games' maps. Whilst primarily designed for the Unofficial Elder Scrolls Pages (www.uesp.net), it supports a variety of other map formats, and can be modified to support other games/sites if desired.
Under the hood, it uses a modified version of Leaflet for the map, and Svelte for the interface.
The PHP server needs to be configured before getting the gamemap running:
- Enable
mysqliextension inphp.ini:
Go to php.ini config file location (On Linux it's /etc/php/php.ini) and uncomment the ;extension=mysqli line.
...
;extension=ldap
extension=mysqli // <-- uncomment this one
;extension=odbc
...- Install Memcache php extension
• Add line extension=/path/to/php/modules/memcache.so to php.ini to enable it.
- Enable zlib compression in
php.inito fix content encoding errors:
zlib.output_compression = OnDone!
Clone this repo:
git clone https://github.com/uesp/uesp-gamemap.gitInstall Node.js dependencies:
cd uesp-gamemap
npm installThen run in browser:
npm run devThe gamemap should now be running on localhost:8080. Any code changes will be reflected in the browser automatically.
To create a release optimised version:
npm run buildTo run the release build in your browser:
npm run startSource code is released under the MIT by Dave Humphrey ([email protected]).
