Skip to content

Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.

C++

Enumerate VFG runtime identity records explicitly on Windows PowerShell

Veyra Goal Agente2aaf0b35b7d
diff --git a/scripts/acceptance/vfg-package.py b/scripts/acceptance/vfg-package.py
index e25ed3de..b437a492 100644
--- a/scripts/acceptance/vfg-package.py
+++ b/scripts/acceptance/vfg-package.py
@@ -27,7 +27,7 @@ if mode in ('stage','finish-stage'):
records.append({'path':'runtime/nvidia/vfg/'+name,'name':name,'source':str(source),'size':source.stat().st_size,'sha256':pkg.digest(source),'experimental':True,'removable':True,'modified':False})
identityFile=BASE/'tmp'/TASK/'vfg-identities.json';identityFile.write_text(json.dumps(records,ensure_ascii=False),encoding='utf8')
env={k:v for k,v in os.environ.items() if k.upper()!='PSMODULEPATH'};env['VEYRA_VFG_IDENTITIES']=str(identityFile)
- script=r'''$ErrorActionPreference='Stop'; @(Get-Content -LiteralPath $env:VEYRA_VFG_IDENTITIES -Encoding UTF8 -Raw | ConvertFrom-Json) | ForEach-Object { $s=Get-AuthenticodeSignature -LiteralPath $_.source; $v=[System.Diagnostics.FileVersionInfo]::GetVersionInfo($_.source); [PSCustomObject]@{name=$_.name;version=$v.FileVersion;signature=[string]$s.Status;signer=$s.SignerCertificate.Subject} } | ConvertTo-Json -Depth 4'''
+ script=r'''$ErrorActionPreference='Stop'; $rows=Get-Content -LiteralPath $env:VEYRA_VFG_IDENTITIES -Encoding UTF8 -Raw | ConvertFrom-Json; $identities=foreach($r in $rows) { $s=Get-AuthenticodeSignature -LiteralPath $r.source; $v=(Get-Item -LiteralPath $r.source).VersionInfo; [PSCustomObject]@{name=$r.name;version=$v.FileVersion;signature=[string]$s.Status;signer=$s.SignerCertificate.Subject} }; $identities | ConvertTo-Json -Depth 4'''
identities=json.loads(subprocess.check_output(['powershell','-NoProfile','-NonInteractive','-Command',script],env=env,timeout=90).decode('utf8-sig'))
for r in records:
identity=next(x for x in identities if x['name']==r['name']);assert identity['signature']=='Valid' and 'NVIDIA' in identity['signer'],identity