texrename: put textures in gfx folder

This commit is contained in:
fgsfds 2020-06-09 05:23:15 +03:00
parent 326f8ed071
commit 3589d7cfed

View file

@ -53,7 +53,7 @@ try:
crc = int(crcstr[2:], 16) crc = int(crcstr[2:], 16)
else: else:
crc = int(crcstr) crc = int(crcstr)
crcmap.append((crc, os.path.join(outpath, tok[1].strip()))) crcmap.append((crc, os.path.join(outpath, 'gfx', tok[1].strip())))
except OSError as e: except OSError as e:
print('could not open {0}: {1}'.format(mapfname, e)) print('could not open {0}: {1}'.format(mapfname, e))
except ValueError as e: except ValueError as e: