From e143a79b06775f169ccca96aea898244f5e42201 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Thu, 13 Dec 2018 16:10:11 +0300 Subject: [PATCH] Remove temporary script I used it to find mutadaptive RR icon --- scripts/stuff.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 scripts/stuff.py diff --git a/scripts/stuff.py b/scripts/stuff.py deleted file mode 100644 index 4dcc18906..000000000 --- a/scripts/stuff.py +++ /dev/null @@ -1,19 +0,0 @@ -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))