fix ffc cli option
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"abbr":"FSR",
|
"abbr":"ffc",
|
||||||
"displayName":"FidelityFX_CLI",
|
"displayName":"FidelityFX_CLI",
|
||||||
"lastUsedFilePath":"sc",
|
"lastUsedFilePath":"sc",
|
||||||
"fileNameBeginning":"ig",
|
"fileNameBeginning":"ig",
|
||||||
@@ -13,5 +13,5 @@
|
|||||||
"engineLink": "",
|
"engineLink": "",
|
||||||
"supports": [ "upscaling", "sharpening" ],
|
"supports": [ "upscaling", "sharpening" ],
|
||||||
"engineDownloadLink":"",
|
"engineDownloadLink":"",
|
||||||
"filesToInclude": [ "fsr.py" ]
|
"filesToInclude": [ "ffc.py" ]
|
||||||
}
|
}
|
||||||
@@ -54,7 +54,9 @@ def performChecks ( args, ap ):
|
|||||||
try:
|
try:
|
||||||
engineInfo[ args.engine.lower() ]
|
engineInfo[ args.engine.lower() ]
|
||||||
except KeyError:
|
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
|
return False
|
||||||
|
|
||||||
# Check scalefactor argument and also verify that engine supports upscaling
|
# Check scalefactor argument and also verify that engine supports upscaling
|
||||||
|
|||||||
Reference in New Issue
Block a user