Skip to content
Creates a printable reference card from your Elite: Dangerous controller bindings
Branch: dev
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Reference sheets
bindings
www
.coveralls.yml
.gitignore
.travis.yml
ChangeLog.md
LICENSE
README.md
color-table.png
purgeAllConfigGraphics.sh
purgeConfigGraphics.sh
purgePrivateConfigs.py
requirements.txt
runtests.sh
test_bindings.py

README.md

Build status

  • live Build Status Coverage Status
  • beta Build Status Coverage Status
  • dev Build Status Coverage Status

Purpose

Elite: Dangerous has a great many command bindings to learn. To help with that, EDFRefCard generates a printable reference card from your Elite: Dangerous bindings file.

Currently hosted at https://edrefcard.info/.

Dependencies

  • Python 3.6 or later

    • Python3 module lxml
    • Python3 module wand
    • Python3 module pytest
    • Python3 module pytest-cov
    • Python3 module coveralls
  • ImageMagick v6 (at the time of writing python wand doesn't support ImageMagick v7)

    • you may need to configure the MAGICK_HOME env var to get wand to see the ImageMagick libraries.

Installation in a web server

  • Base the server on the www subdirectory of this repo.
  • Check that your server is supplying the env vars CONTEXT_DOCUMENT_ROOT and SCRIPT_URI so that Config.dirRoot and Config.webRoot in www/scripts/bindings.py get set correctly. Apache 2 does this by default. Python's cgi.test() is useful here.
  • Add redirects as follows (in Apache 2 notation):
RewriteRule ^/list$ /scripts/bindings.py?list=all
RewriteRule ^/binds/(.+)$ /scripts/bindings.py?replay=$1
RewriteRule ^/configs/([a-z][a-z])([^/]+)$ /configs/$1/$1$2
RewriteRule ^/devices$ /scripts/bindings.py?devicelist=all
RewriteRule ^/device/(.+)$ /scripts/bindings.py?blocks=$1
  • Certain web servers, including Apache 2 on Debian 9, are prone to set brain-dead IO encodings, such as ANSI_X3.4-1968. To fix this, add the following at the end of /etc/apache2/apache2.conf:
SetEnv PYTHONIOENCODING utf-8

Credits

EDRefCard is derived with permission from code originally developed by CMDR jgm.

You can’t perform that action at this time.