List remaining missing items
parent
5fc80fca13
commit
93dc106d95
@ -1,9 +1,33 @@
|
|||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
|
sitemPath = "R:\\leveldesign\\game_element\\sitem"
|
||||||
|
|
||||||
|
fileMap = {}
|
||||||
|
|
||||||
|
def listPathExt(path, ext):
|
||||||
|
for p in os.listdir(path):
|
||||||
|
fp = path + "\\" + p
|
||||||
|
if os.path.isdir(fp):
|
||||||
|
listPathExt(fp, ext)
|
||||||
|
elif os.path.isfile(fp):
|
||||||
|
if fp.lower().endswith(ext):
|
||||||
|
fileMap[p] = fp
|
||||||
|
|
||||||
|
listPathExt(sitemPath, ".sitem")
|
||||||
|
|
||||||
with open("sitem_list.txt", "w") as w:
|
with open("sitem_list.txt", "w") as w:
|
||||||
with open("sitem_list_r2.txt", "r") as r:
|
with open("sitem_missing.txt", "w") as wm:
|
||||||
for l in r:
|
with open("sitem_list_r2.txt", "r") as r:
|
||||||
w.write(l)
|
for l in r:
|
||||||
with open("sitem_list_wk.txt", "r") as r:
|
|
||||||
for l in r:
|
|
||||||
if len(l.strip()) > 0 and not l.startswith(";"):
|
|
||||||
w.write(l)
|
w.write(l)
|
||||||
|
if not l.strip() in fileMap:
|
||||||
|
wm.write(l)
|
||||||
|
with open("sitem_list_wk.txt", "r") as r:
|
||||||
|
for l in r:
|
||||||
|
if len(l.strip()) > 0 and not l.startswith(";"):
|
||||||
|
w.write(l)
|
||||||
|
if not l.strip() in fileMap:
|
||||||
|
wm.write(l)
|
||||||
|
wm.flush()
|
||||||
|
w.flush()
|
||||||
|
@ -0,0 +1,169 @@
|
|||||||
|
iccm1bm.sitem
|
||||||
|
iccm1pd.sitem
|
||||||
|
iccm1sa.sitem
|
||||||
|
iccm1ss.sitem
|
||||||
|
icf.sitem
|
||||||
|
icf_2.sitem
|
||||||
|
icf_3.sitem
|
||||||
|
icfacb_3.sitem
|
||||||
|
icfacs_3.sitem
|
||||||
|
icfacv_3.sitem
|
||||||
|
icfm1bm.sitem
|
||||||
|
icfm1bm_2.sitem
|
||||||
|
icfm1bm_3.sitem
|
||||||
|
icfm1pd.sitem
|
||||||
|
icfm1pd_2.sitem
|
||||||
|
icfm1pd_3.sitem
|
||||||
|
icfm1ps.sitem
|
||||||
|
icfm1ps_2.sitem
|
||||||
|
icfm1ps_3.sitem
|
||||||
|
icfm1sa.sitem
|
||||||
|
icfm1sa_2.sitem
|
||||||
|
icfm1sa_3.sitem
|
||||||
|
icfm1ss.sitem
|
||||||
|
icfm1ss_2.sitem
|
||||||
|
icfm1ss_3.sitem
|
||||||
|
icfm2bm.sitem
|
||||||
|
icfm2bm_2.sitem
|
||||||
|
icfm2bm_3.sitem
|
||||||
|
icfm2ms.sitem
|
||||||
|
icfm2ms_2.sitem
|
||||||
|
icfm2ms_3.sitem
|
||||||
|
icfm2pp.sitem
|
||||||
|
icfm2pp_2.sitem
|
||||||
|
icfm2pp_3.sitem
|
||||||
|
icfm2sa.sitem
|
||||||
|
icfm2sa_2.sitem
|
||||||
|
icfm2sa_3.sitem
|
||||||
|
icfm2ss.sitem
|
||||||
|
icfm2ss_2.sitem
|
||||||
|
icfm2ss_3.sitem
|
||||||
|
icfsb.sitem
|
||||||
|
icfsb_2.sitem
|
||||||
|
icfsb_3.sitem
|
||||||
|
icfss.sitem
|
||||||
|
icfss_2.sitem
|
||||||
|
icfss_3.sitem
|
||||||
|
icm.sitem
|
||||||
|
icm_2.sitem
|
||||||
|
icm_3.sitem
|
||||||
|
icmacb_3.sitem
|
||||||
|
icmacs_3.sitem
|
||||||
|
icmacv_3.sitem
|
||||||
|
icmm1bm.sitem
|
||||||
|
icmm1bm_2.sitem
|
||||||
|
icmm1bm_3.sitem
|
||||||
|
icmm1pd.sitem
|
||||||
|
icmm1pd_2.sitem
|
||||||
|
icmm1pd_3.sitem
|
||||||
|
icmm1ps.sitem
|
||||||
|
icmm1ps_2.sitem
|
||||||
|
icmm1ps_3.sitem
|
||||||
|
icmm1sa.sitem
|
||||||
|
icmm1sa_2.sitem
|
||||||
|
icmm1sa_3.sitem
|
||||||
|
icmm1ss.sitem
|
||||||
|
icmm1ss_2.sitem
|
||||||
|
icmm1ss_3.sitem
|
||||||
|
icmm2bm.sitem
|
||||||
|
icmm2bm_2.sitem
|
||||||
|
icmm2bm_3.sitem
|
||||||
|
icmm2ms.sitem
|
||||||
|
icmm2ms_2.sitem
|
||||||
|
icmm2ms_3.sitem
|
||||||
|
icmm2pp.sitem
|
||||||
|
icmm2pp_2.sitem
|
||||||
|
icmm2pp_3.sitem
|
||||||
|
icmm2sa.sitem
|
||||||
|
icmm2sa_2.sitem
|
||||||
|
icmm2sa_3.sitem
|
||||||
|
icmm2ss.sitem
|
||||||
|
icmm2ss_2.sitem
|
||||||
|
icmm2ss_3.sitem
|
||||||
|
icmsb.sitem
|
||||||
|
icmsb_2.sitem
|
||||||
|
icmsb_3.sitem
|
||||||
|
icmss.sitem
|
||||||
|
icmss_2.sitem
|
||||||
|
icmss_3.sitem
|
||||||
|
ict.sitem
|
||||||
|
ict_2.sitem
|
||||||
|
ict_3.sitem
|
||||||
|
ictacb_3.sitem
|
||||||
|
ictacs_3.sitem
|
||||||
|
ictacv_3.sitem
|
||||||
|
ictm1bm.sitem
|
||||||
|
ictm1bm_2.sitem
|
||||||
|
ictm1bm_3.sitem
|
||||||
|
ictm1pd.sitem
|
||||||
|
ictm1pd_2.sitem
|
||||||
|
ictm1pd_3.sitem
|
||||||
|
ictm1ps.sitem
|
||||||
|
ictm1ps_2.sitem
|
||||||
|
ictm1ps_3.sitem
|
||||||
|
ictm1sa.sitem
|
||||||
|
ictm1sa_2.sitem
|
||||||
|
ictm1sa_3.sitem
|
||||||
|
ictm1ss.sitem
|
||||||
|
ictm1ss_2.sitem
|
||||||
|
ictm1ss_3.sitem
|
||||||
|
ictm2bm.sitem
|
||||||
|
ictm2bm_2.sitem
|
||||||
|
ictm2bm_3.sitem
|
||||||
|
ictm2ms.sitem
|
||||||
|
ictm2ms_2.sitem
|
||||||
|
ictm2ms_3.sitem
|
||||||
|
ictm2pp.sitem
|
||||||
|
ictm2pp_2.sitem
|
||||||
|
ictm2pp_3.sitem
|
||||||
|
ictm2sa.sitem
|
||||||
|
ictm2sa_2.sitem
|
||||||
|
ictm2sa_3.sitem
|
||||||
|
ictm2ss.sitem
|
||||||
|
ictm2ss_2.sitem
|
||||||
|
ictm2ss_3.sitem
|
||||||
|
ictsb.sitem
|
||||||
|
ictsb_2.sitem
|
||||||
|
ictsb_3.sitem
|
||||||
|
ictss.sitem
|
||||||
|
ictss_2.sitem
|
||||||
|
ictss_3.sitem
|
||||||
|
icz.sitem
|
||||||
|
icz_2.sitem
|
||||||
|
icz_3.sitem
|
||||||
|
iczm1bm.sitem
|
||||||
|
iczm1bm_2.sitem
|
||||||
|
iczm1bm_3.sitem
|
||||||
|
iczm1pd.sitem
|
||||||
|
iczm1pd_2.sitem
|
||||||
|
iczm1pd_3.sitem
|
||||||
|
iczm1ps.sitem
|
||||||
|
iczm1ps_2.sitem
|
||||||
|
iczm1ps_3.sitem
|
||||||
|
iczm1sa.sitem
|
||||||
|
iczm1sa_2.sitem
|
||||||
|
iczm1sa_3.sitem
|
||||||
|
iczm1ss.sitem
|
||||||
|
iczm1ss_2.sitem
|
||||||
|
iczm1ss_3.sitem
|
||||||
|
iczm2bm.sitem
|
||||||
|
iczm2bm_2.sitem
|
||||||
|
iczm2bm_3.sitem
|
||||||
|
iczm2ms.sitem
|
||||||
|
iczm2ms_2.sitem
|
||||||
|
iczm2ms_3.sitem
|
||||||
|
iczm2pp.sitem
|
||||||
|
iczm2pp_2.sitem
|
||||||
|
iczm2pp_3.sitem
|
||||||
|
iczm2sa.sitem
|
||||||
|
iczm2sa_2.sitem
|
||||||
|
iczm2sa_3.sitem
|
||||||
|
iczm2ss.sitem
|
||||||
|
iczm2ss_2.sitem
|
||||||
|
iczm2ss_3.sitem
|
||||||
|
iczsb.sitem
|
||||||
|
iczsb_2.sitem
|
||||||
|
iczsb_3.sitem
|
||||||
|
iczss.sitem
|
||||||
|
iczss_2.sitem
|
||||||
|
iczss_3.sitem
|
Loading…
Reference in New Issue