Statistics: Posted by Ze_PilOt — 29 Mar 2013, 17:40
Statistics: Posted by Ze_PilOt — 29 Mar 2013, 17:40
    #making sure we pack only necessary files and not random garbage
    for filename in os.listdir(mapDir):
        if filename.endswith(".lua") or filename.endswith("preview.jpg") or filename.endswith(".scmap"):
            files.append(os.path.join(mapDir, filename))
    #making sure we pack only necessary files and not random garbage
    for filename in os.listdir(mapDir):
        if filename.endswith(".lua") or filename.endswith("preview.jpg") or filename.endswith(".scmap") or filename.endswith(".dds"):
            files.append(os.path.join(mapDir, filename))
Statistics: Posted by Combo — 29 Mar 2013, 16:48