Skip to content

Latest commit

 

History

History
78 lines (52 loc) · 1.97 KB

README.md

File metadata and controls

78 lines (52 loc) · 1.97 KB

UESP Gamemap

Screenshot

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.

Getting started

Prerequisites

Server setup

The PHP server needs to be configured before getting the gamemap running:

  • Enable mysqli extension in php.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
...

             • 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!

Gamemap setup

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.

Release

To create a release optimised version:

npm run build

To run the release build in your browser:

npm run start

Licensing

Source code is released under the MIT by Dave Humphrey ([email protected]).