Update icons/renders

This commit is contained in:
DarkPhoenix
2018-12-13 16:09:41 +03:00
parent f48ce43c0c
commit fa7c93d99a
1239 changed files with 22 additions and 0 deletions

View File

@@ -10432,3 +10432,6 @@
22076:
description: Gift Box with Ribbon
iconFile: res:/ui/texture/icons/76_64_3.png
22091:
description: Manually added mutadaptive RR icon path
iconFile: res:/ui/texture/icons/modules/abyssalremoterepairer.png

19
scripts/stuff.py Normal file
View File

@@ -0,0 +1,19 @@
import csv
import os
from shutil import copyfile
tqindex = '/home/av/.wine_eve/drive_c/EVE/SharedCache/tq/resfileindex.txt'
map = {}
with open(tqindex) as f:
for row in csv.reader(f):
if row[0].lower().startswith('res:/ui/texture/icons/'):
map[row[0]] = row[1]
basepath = '/home/av/.wine_eve/drive_c/EVE/SharedCache/ResFiles'
outpath = '/home/av/Desktop/icons'
for resname, respath in map.items():
newname = resname[len('res:/ui/texture/icons/'):].replace('/', '_')
copyfile(os.path.join(basepath, respath), os.path.join(outpath, newname))