forked from pyfa-org/Phobos
-
Notifications
You must be signed in to change notification settings - Fork 0
Script for getting full data dump from EVE Online client
License
gelli/Phobos
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Phobos is script for dumping EVE client data into JSON format.
How to use:
python run.py --eve=<path to EVE client> --cache=<path to EVE client cache> [--translate=<language>] --json=<output folder> [--list=<comma-separated list of containers to dump>]
Example (how I usually launch it on Linux):
$ python run.py --eve="~/.wine_eve/drive_c/Program Files/CCP/EVE/" --cache="~/.wine_eve/drive_c/users/"$USER"/Local Settings/Application Data/CCP/EVE/c_program_files_ccp_eve_tranquility/" --translate=en-us --json=~/Desktop/phobos_dump_tq --list="invtypes, marketProxy()_GetMarketGroups(), phbmetadata"
Few words about command line arguments script can take:
--eve and --cache - just paths to eve client and to folder which contains client cache and settings.
--translate - specify language to which strings will be translated. You can choose either individual languages (for a list - invoke script with --help argument) or 'multi' option. For individual language, translation will be done in-place (replaces original text with localized text), for multi-language translation - original text is not modified, but new text fields are added, named using <field name>_<language code> convention. Multi-language translation mode is default.
--json - output folder for JSON files.
--list - you can provide list of comma-separated 'containers' to dump, it uses names script prints to stdout. For list of all available names you can launch script without specifying this option (by default it dumps everything it can find).
One of custom data containers Phobos generates is phbtraits, it contains traits for various ships. Data has following format:
Returned value:
For single language: ({'typeID': int, 'traits': traits}, ...)
For multi-language: ({'typeID': int, 'traits_en-us': traits, 'traits_ru': traits, ...}, ...)
Traits: {'skills': (skill section, ...), 'role': role section, 'misc': misc section}
skills, role and misc fields are optional
Section: {'header': string, 'bonuses': (bonus, ...)}
Bonus: {'number': string, 'text': string}
number field is optional
For example, Cambion traits in JSON format:
[
{
"typeID": 32788,
"traits": {
"skills": [
{
"header": "Assault Frigates bonuses (per skill level):",
"bonuses": [
{
"text": "bonus to Light Missile and Rocket Launcher rate of fire",
"number": "5%"
}
]
},
{
"header": "Caldari Frigate bonuses (per skill level):",
"bonuses": [
{
"text": "bonus to all shield resistances",
"number": "4%"
}
]
}
],
"role": {
"header": "Role Bonus:",
"bonuses": [
{
"text": "bonus to kinetic Light Missile and Rocket damage",
"number": "115%"
},
{
"text": "reduction in module heat damage amount taken",
"number": "50%"
}
]
}
}
},
]
About
Script for getting full data dump from EVE Online client
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Python 100.0%