Package: vkbasalt-cli
vkbasalt-clivkbasalt-cli (filenamevkbasalt) is a CLI utility and library in conjunction withvkBasalt. This makes generating configuration files or running vkBasalt with games easier. This is mainly convenient in environments where integrating vkBasalt is wishful, for example a GUI application. Integrating vkbasalt-cli allows a front-end to easily generate and use specific configurations on the fly, without asking the user to manually write a configuration file.InstallationFirst, clone the directory, and then enter it:gitclonehttps://gitlab.com/TheEvilSkeleton/vkbasalt-clicdvkbasalt-cliFlatpakThe recommended method is to install usingflatpak-builder:flatpak-builder --user --install --install-deps-from=flathub --default-branch=main --force-clean build-dir io.gitlab.theevilskeleton.vkbasalt.yamlYou can run with:flatpak run io.gitlab.theevilskeleton.vkbasaltPythonThe second method is to install via thepythoncommand:python setup.py install  # --user for user installUsing vkbasalt-cli as a libraryImportparseandParseConfigmethods from thevkbasalt.libmodule:fromvkbasalt.libimportparse,ParseConfigFor examples of using vkbasalt-cli as a library, see:vkbasalt/cli.pyBottlesUsing within FlatpakIf your application is available as a Flatpak and you would like to add the library in the manifest, then add this snippet depending on the file type:YAML:-name:vkbasalt-clibuildsystem:simplebuild-commands:-python3 setup.py install --prefix=/app --root=/sources:-type:giturl:https://gitlab.com/TheEvilSkeleton/vkbasalt-cli.gittag:TAG_NUMBERcommit:COMMIT_HASHJSON:{"name":"vkbasalt-cli","buildsystem":"simple","build-commands":["python3 setup.py install --prefix=/app --root=/"],"sources":[{"type":"git","url":"https://gitlab.com/TheEvilSkeleton/vkbasalt-cli.git","tag":"TAG_NUMBER","commit":"COMMIT_HASH"}]}List of optionsoptionalarguments:-h,--helpshowthishelpmessageandexit-e{cas,dls,fxaa,smaa,lut}[{cas,dls,fxaa,smaa,lut}...],--effects{cas,dls,fxaa,smaa,lut}[{cas,dls,fxaa,smaa,lut}...]effectsinaseparatedlistofeffecttouse-oOUTPUT,--outputOUTPUToutputfile-d,--defaultusedefaultconfiguration--toggle-keyTOGGLE_KEYtogglekey(default:Home)--disable-on-launchdisableonlaunch--cas-sharpnessCAS_SHARPNESSadjustCASsharpness--dls-sharpnessDLS_SHARPNESSadjustDLSsharpness--dls-denoiseDLS_DENOISEadjustDLSdenoise--fxaa-subpixel-qualityFXAA_SUBPIXEL_QUALITYadjustFXAAsubpixelquality--fxaa-quality-edge-thresholdFXAA_QUALITY_EDGE_THRESHOLDadjustFXAAqualityedgethreshold--fxaa-quality-edge-threshold-minFXAA_QUALITY_EDGE_THRESHOLD_MINadjustFXAAqualityedgethresholdminimum--smaa-edge-detection{luma,color}adjustSMAAedgedetection(default:luma)--smaa-thresholdSMAA_THRESHOLDadjustSMAAthreshold--smaa-max-search-stepsSMAA_MAX_SEARCH_STEPSadjustSMAAmaxsearchsteps--smaa-max-search-steps-diagonalSMAA_MAX_SEARCH_STEPS_DIAGONALadjustSMAAmaxsearchstepsdiagonal--smaa-corner-roundingSMAA_CORNER_ROUNDINGadjustSMAAcornerrounding--lut-file-pathLUT_FILE_PATHspecifyLUTfilepath--execEXECexecutecommandExamplesApply CAS and FXAA filters; output to the current directory:vkbasalt--effectscasfxaa--output.Apply CAS and FXAA filters; set CAS sharpness to0.35; output to the current directory:vkbasalt--effectscasfxaa--cas-sharpness0.35--output.Apply DLS and FXAA filters; set DLS sharpness to1; output to~/.config/vkBasalt:vkbasalt--effectsdlsfxaa--dls-sharpness1--output~/.config/vkBasaltApply SMAA, DLS and CAS filters; set CAS sharpness to1, DLS sharpness to0.5and DLS denoise to0.75:vkbasalt--effectssmaadlscas--cas-sharpness1--dls-sharpness0.5--dls-denoise0.75Apply CAS, FXAA, DLS and SMAA filters; disable vkBasalt on launch; set CAS sharpness to1, DLS sharpness to1, DLS denoise to1, FXAA subpixel quality to1, FXAA edge quality threshold to1, FXAA edge minimum quality threshold to0.1, SMAA edge detection tocolor, SMAA threshold to0.5, SMAA max search steps to1, SMAA corner rounding to1, SMAA max steps diagonal to1; executeMY_GAME:vkbasalt--effectscasfxaadlssmaa\--disable-on-launch\--cas-sharpness1\--dls-sharpness1\--dls-denoise1\--fxaa-subpixel-quality1\--fxaa-quality-edge-threshold1\--fxaa-quality-edge-threshold-min0.1\--smaa-edge-detectioncolor\--smaa-threshold0.5\--smaa-max-search-steps1\--smaa-corner-rounding1\--smaa-max-search-steps-diagonal1\--exec"MY_GAME"