fix ffc cli option

This commit is contained in:
janis
2023-06-09 09:44:32 +02:00
parent f0346465fd
commit 506baf2cd3
3 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
{
"abbr":"FSR",
"abbr":"ffc",
"displayName":"FidelityFX_CLI",
"lastUsedFilePath":"sc",
"fileNameBeginning":"ig",
@@ -13,5 +13,5 @@
"engineLink": "",
"supports": [ "upscaling", "sharpening" ],
"engineDownloadLink":"",
"filesToInclude": [ "fsr.py" ]
"filesToInclude": [ "ffc.py" ]
}

View File

@@ -54,7 +54,9 @@ def performChecks ( args, ap ):
try:
engineInfo[ args.engine.lower() ]
except KeyError:
print( '\n==> ERROR: Engine not available. Ensure you have specified a valid engine' )
print( '\n==> ERROR: Engine not available. Ensure you have specified a valid engine. Possible engines: ' )
for entry in engineList:
print( ' --> ' + entry )
return False
# Check scalefactor argument and also verify that engine supports upscaling
@@ -103,7 +105,7 @@ def performChecks ( args, ap ):
else:
print( '\n\n==> Available engines <==\n' )
for entry in engineList:
print( '--> ' + entry )
print( ' --> ' + entry )
print( '\n\n' )
else:
print( '\n\n ==> INFOS about ' + engineInfo[ args.details.lower() ][ 'displayName' ] + '\n' )