-
Notifications
You must be signed in to change notification settings - Fork 411
Updating for new EVE expansions
Note: this document is meant for developers. If you have no interest in pyfa development, then this doesn't offer you much
Each time EVE is updated, pyfa may need to be updated too. This document covers only the most basic activities. Please remember that sometimes more work is needed to update pyfa properly.
Launch EVE client, make sure it is updated. Log in, open market window, tab with market tree to cache it. Use Phobos for actual data extraction:
$ python dumpToJson.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/" --json=~/Desktop/phobos_dump_tq --tables="dgmattribs|dgmeffects|dgmtypeattribs|dgmtypeeffects|dgmunits|icons|invcategories|invgroups|invmetagroups|invmetatypes|invtypes|marketProxy()_GetMarketGroups()"
For now, additional step is needed to extract traits data:
$ python dumpTraits.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/" --json=~/Desktop/phobos_dump_tq
Using eos/utils/scripts/jsonToSql.py script, convert data into suitable to pyfa format:
$ python jsonToSql.py --json=~/Desktop/phobos_dump_tq/ --db=sqlite:////home/$USER/Desktop/eve.db
Usingeos/utils/scripts/itemDiff.py script, compare existing and new databases:
$ python3 itemDiff.py --old=../../../staticdata/eve.db --new=~/Desktop/eve.db > ~/Desktop/diff
If output file is empty, then pyfa update is not needed at all. Else, use output file as your guidance for updating pyfa.