Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion utils/vmt_to_vmat.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,10 @@ def parseVMTParameter(line, parameters):
print('ERROR: CMD Arguments are invalid. Required format: "vmt_to_vmat.py C:\\path\\to\\folder_or_vmt"')
quit()

if (len(fileList) == 0):
print('INFO: Did not find any .vmt or .vtf files in target folder. Make sure you .tga, .vmt, and .vtf files are together.')
quit()

for vmtFileName in fileList:
print("+ Processing .vmt file: " + vmtFileName)
baseFileName = os.path.basename(vmtFileName.replace('.vmt', ''))
Expand Down Expand Up @@ -650,4 +654,4 @@ def parseVMTParameter(line, parameters):

print('+ Finished Writing ' + vmatFileName)

input("Press the <ENTER> key to close...")
input("Press the <ENTER> key to close...")