Skip to content

Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools.

License

Notifications You must be signed in to change notification settings

AnthorNet/EDMarketConnector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elite: Dangerous Market Connector (EDMC)

This app downloads your Cmdr's data, system, scan and station data from the game Elite: Dangerous and, at your choice, either:

You can run the app on the same machine on which you're running Elite: Dangerous or on another machine connected via a network share.

Usage

The user-interface is deliberately minimal - when you land at a station just switch to the app and press the “Update” button or press Enter to download and transmit and/or save your choice of data.

Click on the system name to go to its Elite: Dangerous Star Map (“EDSM”) entry in your web broswer.

Click on the station name to go to its Elite: Dangerous Database (“eddb”) entry in your web broswer.

Windows screenshot   Mac screenshot

Windows screenshot   Mac screenshot

Installation

Mac:

  • Requires Mac OS 10.10 or later.
  • Download the .zip archive of the latest release.
  • The zip archive contains the EDMarketConnector app - move this app to Applications or wherever you want it.
  • Double-click on the app to run it.

Windows:

  • Requires Windows 7 or later.
  • Download the .msi package of the latest release.
  • Double-click on it to install.
  • Run Elite Dangerous Market Connector from the Start Menu or Start Screen.

Setup

The first time that you run the app you are prompted for your username and password. This is the same username and password combination that you use to log into the Elite: Dangerous launcher, and is required so that the Frontier servers can send the app your data and the data for the station that you are docked at.

You can also choose here what data to save (refer to the next section for details), whether to “Update” Cmdr and station data automatically on docking and/or with a hotkey, and whether to attach your Cmdr name or a pseudo-anonymized ID to the data.

You will be prompted to authenticate with a “verification code”, which you will shortly receive by email from Frontier. Note that each “verification code” is one-time only - if you enter the code incorrectly or quit the app before authenticating you will need to wait for Frontier to send you a new code.

If you are not prompted to authenticate, but instead see the message “Error: Invalid Credentials” then choose the menu option EDMarketConnector → Preferences (Mac) or File → Settings (Windows) and double-check your username and password.

Output

This app can save a variety of data in a variety of formats:

By default these files will be placed in your Documents folder. Since this app will create a lot of files if you use it for a while you may wish to create a separate folder for the files and tell the app to place them there.

Some options work by reading the Elite: Dangerous game's “journal” files. If you're running this app on a different machine from the Elite: Dangerous game then adjust the “E:D journal file location” setting on the Configuration tab to point to the game's journal files.

EDDN

  • Station data
  • System and scan data
    • Sends general system information and the results of your detailed planet scans to “EDDN” from where you and others can use it via online prospecting tools such as eddb, Inara, etc.
    • You can choose to delay sending this information to EDDN until you're next safely docked at a station. Otherwise the information is sent as soon as you enter a system or perform a scan.

EDSM

You can send a record of your location to Elite: Dangerous Star Map where you can view your flight log under My account → Exploration Logs and optionally add private comments about a system. You will need to register for an account and then follow the “Elite Dangerous Star Map credentials” link to obtain your API key.

Uninstall

Mac:

  • Delete the EDMarketConnector app.

Windows:

  • Uninstall Elite Dangerous Market Connector from Control Panel → Programs.

Note: Uninstalling the app does not delete any output files that it has previously written.

Plugins

Plugins extend the behavior of this app. To install a downloaded plugin, open the .zip archive and move the folder contained inside into the following folder:

  • Windows: %LOCALAPPDATA%\EDMarketConnector\plugins (usually C:\Users\you\AppData\Local\EDMarketConnector\plugins).
  • Mac: ~/Library/Application Support/EDMarketConnector/plugins (in Finder hold ⌥ and choose Go → Library to open your ~/Library folder).
  • Linux: $XDG_DATA_HOME/EDMarketConnector/plugins, or ~/.local/share/EDMarketConnector/plugins if $XDG_DATA_HOME is unset.

You will need to re-start EDMC for it to notice the new plugin.

Refer to PLUGINS.md if you would like to write a plugin.

Troubleshooting

Shipyard data not reported

The Frontier server that supplies the data to this app sometimes fails to supply shipyard data. Visit the shipyard in-game and try “Updating” again.

This problem is tracked as Issue #86.

Rares profits wiped out

Due to a bug in the server that supplies the data to this app, profit on any Rare cargo in your hold may be wiped out when you visit the in-game Commodity Market after having “Updated”.

Ensure that you visit the in-game Commodity Market at a station where you intend to sell Rares before hitting “Update”.

This problem is tracked as Issue #92.

Doesn't track Systems visited

This app uses Elite: Dangerous' “journal” files to track the systems and stations that you visit. If you're running this app on a different machine from the Elite: Dangerous game, or if you find that this app isn't automatically tracking the systems that you visit and/or isn't automatically “updating” on docking (if you have that option selected), then adjust the “E:D journal file location” setting on the Configuration tab to point to the game's journal files.

Error: Can't connect to EDDN

EDMC needs to talk to eddn-gateway.elite-markets.net on port 8080. If you consistently receive this error check that your router or VPN configuration allows port 8080 / tcp outbound.

Running from source

Download and extract the source code of the latest release.

Mac:

  • Requires the Python “requests” and “watchdog” modules - install these with easy_install requests watchdog .
  • Run with ./EDMarketConnector.py .

Windows:

  • Requires Python2.7 and the Python “requests” and “watchdog” modules.
  • Run with EDMarketConnector.py .

Linux:

  • Requires the Python “imaging-tk”, “iniparse” and “requests” modules. On Debian-based systems install these with sudo apt-get install python-imaging-tk python-iniparse python-requests .
  • Run with ./EDMarketConnector.py .

Command-line

The command-line program EDMC.py writes the current system and station (if docked) to stdout and optionally writes player status, ship locations, ship loadout and/or station data to file. This program requires that the user has performed setup and verification through the app.

Arguments:

 -h, --help     show this help message and exit
 -v, --version  print program version and exit
 -c FILE        write ship loadout to FILE in Coriolis json format
 -e FILE        write ship loadout to FILE in E:D Shipyard format
 -l FILE        write ship locations to FILE in CSV format
 -m FILE        write station commodity market data to FILE in CSV format
 -o FILE        write station outfitting data to FILE in CSV format
 -s FILE        write station shipyard data to FILE in CSV format
 -t FILE        write player status to FILE in CSV format
 -d FILE        write raw JSON data to FILE
 -n             send data to EDDN

The program returns one of the following exit codes. Further information may be written to stderr.

  1. Success. Note that this doesn't necessarily mean that any requested output files have been produced - for example if the current station doesn't support the facilities for which data was requested.
  2. Server is down.
  3. Invalid Credentials.
  4. Verification Required.
  5. Not docked. You have requested station data but the user is not docked at a station.
  6. I/O or other OS error.

Packaging for distribution

Mac:

  • requires py2app 0.9.x
  • Sparkle.framework installed in /Library/Frameworks
  • Run setup.py py2app

Windows:

  • requires py2exe 0.6.x
  • winsparkle.dll & .pdb from WinSparkle copied to the current directory
  • WiX Toolset
  • Run setup.py py2exe

Disclaimer

This app uses the “Companion” web API that Frontier originally supplied for their Elite Dangerous iOS app and now support for third-party apps. However this API could go away at some time in the future - in which case this app will cease to work.

Acknowledgements

  • “Elite: Dangerous” is © 1984 - 2016 Frontier Developments plc.
  • Thanks to Cmdrs CatfoodCZ, Mike Stix & DaraCZ for the Czech translation.
  • Thanks to Cmdr CoolBreeze for the Dutch translation.
  • Thanks to Cmdr Anthor for the French translation.
  • Thanks to Cmdr DragoCubX for keeping the German translation up to date.
  • Thanks to Cmdr Koreldan for the Italian translation.
  • Thanks to Cmdr magni1200s for the Japanese translation.
  • Thanks to Cmdr bubis7 for the Latvian translation.
  • Thanks to Cmdr Amarok 73 for the Polish translation.
  • Thanks to Shadow Panther for keeping the Russian translation up to date.
  • Thanks to Armando Ota for the Slovenian translation.
  • Thanks to Cmdr Mila Strelok for the Spanish translation.
  • Thanks to Taras Velychko for the Ukranian translation.
  • Thanks to James Muscat for EDDN and to Cmdr Anthor for the stats.
  • Thanks to Andargor for the idea of using the “Companion” interface in edce-client.
  • Uses Sparkle by Andy Matuschak and the Sparkle Project.
  • Uses WinSparkle by Václav Slavík.
  • Uses OneSky for translation management.

License

Copyright © 2015-2016 Jonathan Harris.

Licensed under the GNU Public License (GPL) version 2 or later.

About

Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.7%
  • Other 0.3%