Update icons and EVE data

This commit is contained in:
blitzmann
2015-12-09 21:56:22 -05:00
parent 290f7d116f
commit 753ba00ac0
40 changed files with 10 additions and 1 deletions

BIN
eve.db

Binary file not shown.

BIN
imgs/icons/05_11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 783 B

View File

Before

Width:  |  Height:  |  Size: 851 B

After

Width:  |  Height:  |  Size: 851 B

View File

Before

Width:  |  Height:  |  Size: 709 B

After

Width:  |  Height:  |  Size: 709 B

View File

Before

Width:  |  Height:  |  Size: 788 B

After

Width:  |  Height:  |  Size: 788 B

View File

Before

Width:  |  Height:  |  Size: 750 B

After

Width:  |  Height:  |  Size: 750 B

View File

Before

Width:  |  Height:  |  Size: 871 B

After

Width:  |  Height:  |  Size: 871 B

View File

Before

Width:  |  Height:  |  Size: 860 B

After

Width:  |  Height:  |  Size: 860 B

View File

Before

Width:  |  Height:  |  Size: 859 B

After

Width:  |  Height:  |  Size: 859 B

View File

Before

Width:  |  Height:  |  Size: 497 B

After

Width:  |  Height:  |  Size: 497 B

BIN
imgs/icons/11_05.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

BIN
imgs/icons/26_12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B

BIN
imgs/icons/26_13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 B

BIN
imgs/icons/26_15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 B

BIN
imgs/icons/26_16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 810 B

BIN
imgs/icons/27_05.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 901 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 723 B

View File

Before

Width:  |  Height:  |  Size: 850 B

After

Width:  |  Height:  |  Size: 850 B

View File

Before

Width:  |  Height:  |  Size: 922 B

After

Width:  |  Height:  |  Size: 922 B

View File

Before

Width:  |  Height:  |  Size: 912 B

After

Width:  |  Height:  |  Size: 912 B

View File

Before

Width:  |  Height:  |  Size: 915 B

After

Width:  |  Height:  |  Size: 915 B

View File

Before

Width:  |  Height:  |  Size: 914 B

After

Width:  |  Height:  |  Size: 914 B

BIN
imgs/icons/62_09.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 B

BIN
imgs/icons/62_10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

BIN
imgs/icons/62_11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 831 B

BIN
imgs/icons/62_12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

BIN
imgs/icons/62_13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 958 B

BIN
imgs/icons/62_14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 810 B

BIN
imgs/icons/62_15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 872 B

BIN
imgs/icons/62_16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 871 B

BIN
imgs/icons/70_13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1000 B

BIN
imgs/icons/70_14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
imgs/icons/70_15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
imgs/icons/70_16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 724 B

After

Width:  |  Height:  |  Size: 724 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 748 B

View File

@@ -30,14 +30,16 @@ cursor = db.cursor()
ICON_SIZE = (16, 16)
ITEM_CATEGORIES = (
2, # Celestial
6, # Ship
7, # Module
8, # Charge
16, # Skill
18, # Drone
20, # Implant
32 # Subsystem
32 # Subsystem
)
MARKET_ROOTS = {
9, # Modules
1111, # Rigs

View File

@@ -20,6 +20,7 @@
import os
import sys
import re
# Add eos root path to sys.path so we can import ourselves
path = os.path.dirname(unicode(__file__, sys.getfilesystemencoding()))
@@ -194,6 +195,12 @@ def main(db, json_path):
# fix for issue 80
if jsonName is "icons" and "res:/ui/texture/icons/" in str(row["iconFile"]).lower():
row["iconFile"] = row["iconFile"].lower().replace("res:/ui/texture/icons/", "").replace(".png", "")
# with res:/ui... references, it points to the actual icon file (including it's size variation of #_size_#)
# strip this info out and get the identifying info
split = row['iconFile'].split('_')
if len(split) == 3:
row['iconFile'] = "{}_{}".format(split[0], split[2])
for k, v in row.iteritems():
setattr(instance, fieldMap.get(k, k), v)