1
0
Fork 0

Got rid of redundent "Target path" field as its always "./textures"

patch_skins
James David Clarke 2024-01-09 07:26:54 +00:00 committed by the-real-herowl
parent 7cb17eefa1
commit 3103969bdc
2 changed files with 971 additions and 971 deletions

File diff suppressed because it is too large Load Diff

View File

@ -139,18 +139,18 @@ def convert_textures():
src_dir = row[0] src_dir = row[0]
src_filename = row[1] src_filename = row[1]
dst_dir = row[2] dst_dir = './textures'
dst_filename = row[3] dst_filename = row[2]
if row[4] != "": if row[4] != "":
xs = int(row[4]) xs = int(row[3])
ys = int(row[5]) ys = int(row[4])
xl = int(row[6]) xl = int(row[5])
yl = int(row[7]) yl = int(row[6])
xt = int(row[8]) xt = int(row[7])
yt = int(row[9]) yt = int(row[8])
else: else:
xs = None xs = None
blacklisted = row[10] blacklisted = row[9]
if blacklisted == "y": if blacklisted == "y":
# Skip blacklisted files # Skip blacklisted files