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
mysqli
extension 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.ini
to fix content encoding errors:
zlib.output_compression = On
Done!
Clone this repo:
git clone https://github.com/uesp/uesp-gamemap.git
Install Node.js dependencies:
cd uesp-gamemap
npm install
Then run in browser:
npm run dev
The 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 build
To run the release build in your browser:
npm run start
Source code is released under the MIT by Dave Humphrey ([email protected]).