#smoothie-py scoop post install script error
1 messages · Page 1 of 1 (latest)
do the following:
in an admin powershell prompt: Set-ExecutionPolicy Bypass -Scope LocalMachine
Then in a non-admin powershell prompt run the following:
scoop uninstall scoop # accept any prompts
irm get.scoop.sh | iex
scoop install git
scoop bucket add utils "https://github.com/couleur-tweak-tips/utils"
scoop install ffmpeg smoothie
sm -h
'
delete the scoop folder manually
okk
ok
'sm' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\resta>```
check if you have a smoothie folder in %USERPROFILE%\scoop\apps
PS C:\Users\resta> iex(irm tl.ctt.cx) ; Invoke-SmoothiePost
This script is suppose to be ran by Scoop after it's intallation, not manually
TL C:\Users\resta> sm
sm : The term 'sm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ sm
+ ~~
+ CategoryInfo : ObjectNotFound: (sm:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
TL C:\Users\resta>```
run this
$rc = (Get-Content "$DIR\Smoothie\settings\recipe.yaml" -ErrorAction Stop) -replace ('H264 CPU',(Get-EncodingArgs -EzEncArgs))
if ($valid_args -like "H* CPU"){$rc = $rc -replace ('gpu: true','gpu: false')}
Set-Content "$DIR\Smoothie\settings\recipe.ini" -Value $rc
$term = Get-Path conhost.exe
$SendTo = [System.Environment]::GetFolderPath('SendTo')
$Scoop = Get-Command Scoop | Split-Path | Split-Path
$SA = [System.IO.Path]::Combine([Environment]::GetFolderPath('StartMenu'), 'Programs', 'Scoop Apps')
if (-Not(Test-Path $SA)){ # If not using Scoop
$SA = [System.IO.Path]::Combine([Environment]::GetFolderPath('StartMenu'), 'Programs')
}
Set-Content "$Scoop\shims\sm.shim" -Value @"
path = "$DIR\VapourSynth\python.exe"
args = "$DIR\Smoothie\src\main.py"
"@
if (-Not(Test-Path "$Scoop\shims\sm.exe")){
Copy-Item "$Scoop\shims\7z.exe" "$Scoop\shims\sm.exe"
}
$Parameters = @{
Overwrite = $True
LnkPath = "$Scoop\shims\rc.lnk"
TargetPath = "$DIR\Smoothie\settings\recipe.yaml"
}
New-Shortcut @Parameters
$Parameters = @{
Overwrite = $True
LnkPath = "$SA\Smoothie Recipe.lnk"
TargetPath = "$DIR\Smoothie\settings\recipe.yaml"
}
New-Shortcut @Parameters
$Parameters = @{
Overwrite = $True
LnkPath = "$SA\Smoothie.lnk"
TargetPath = $term
Arguments = "`"$DIR\VapourSynth\python.exe`" `"$DIR\Smoothie\src\main.py`" -cui"
Icon = "$DIR\Smoothie\src\sm.ico"
}
New-Shortcut @Parameters
$Parameters = @{
Overwrite = $True
LnkPath = "$SendTo\Smoothie.lnk"
TargetPath = $term
Arguments = "`"$DIR\VapourSynth\python.exe`" `"$DIR\Smoothie\src\main.py`" -cui -input"
Icon = "$DIR\Smoothie\src\sm.ico"
}
New-Shortcut @Parameters
bat file?
nope its should generate sendto shortcuts and sm.exe
ok
yep it fucked up
can you give me like 5 mins
yea
$DIR = "$ENV:USERPROFILE\scoop\apps\smoothie\current"
$rc = (Get-Content "$DIR\Smoothie\settings\recipe.yaml" -ErrorAction Stop) -replace ('H264 CPU',(Get-EncodingArgs -EzEncArgs))
if ($valid_args -like "H* CPU"){$rc = $rc -replace ('gpu: true','gpu: false')}
Set-Content "$DIR\Smoothie\settings\recipe.ini" -Value $rc
$term = Get-Path conhost.exe
$SendTo = [System.Environment]::GetFolderPath('SendTo')
$Scoop = Get-Command Scoop | Split-Path | Split-Path
$SA = [System.IO.Path]::Combine([Environment]::GetFolderPath('StartMenu'), 'Programs', 'Scoop Apps')
if (-Not(Test-Path $SA)){ # If not using Scoop
$SA = [System.IO.Path]::Combine([Environment]::GetFolderPath('StartMenu'), 'Programs')
}
Set-Content "$Scoop\shims\sm.shim" -Value @"
path = "$DIR\VapourSynth\python.exe"
args = "$DIR\Smoothie\src\main.py"
"@
if (-Not(Test-Path "$Scoop\shims\sm.exe")){
Copy-Item "$Scoop\shims\7z.exe" "$Scoop\shims\sm.exe"
}
$Parameters = @{
Overwrite = $True
LnkPath = "$Scoop\shims\rc.lnk"
TargetPath = "$DIR\Smoothie\settings\recipe.yaml"
}
New-Shortcut @Parameters
$Parameters = @{
Overwrite = $True
LnkPath = "$SA\Smoothie Recipe.lnk"
TargetPath = "$DIR\Smoothie\settings\recipe.yaml"
}
New-Shortcut @Parameters
$Parameters = @{
Overwrite = $True
LnkPath = "$SA\Smoothie.lnk"
TargetPath = $term
Arguments = "`"$DIR\VapourSynth\python.exe`" `"$DIR\Smoothie\src\main.py`" -cui"
Icon = "$DIR\Smoothie\src\sm.ico"
}
New-Shortcut @Parameters
$Parameters = @{
Overwrite = $True
LnkPath = "$SendTo\Smoothie.lnk"
TargetPath = $term
Arguments = "`"$DIR\VapourSynth\python.exe`" `"$DIR\Smoothie\src\main.py`" -cui -input"
Icon = "$DIR\Smoothie\src\sm.ico"
}
New-Shortcut @Parameters
@vale dock use this
k
did it work?
ok
and send its output
Microsoft Windows [Version 10.0.19045.2788]
(c) Microsoft Corporation. All rights reserved.
C:\Users\resta>sm
Smoothie 0.7, add the -h arg for more info on the CLI
or go to https://github.com/couleur-tweak-tips/Smoothie/wiki
C:\Users\resta>

lol
yes
see if works properly
check your start menu for
smoothie recipe and smoothie
also check sendto
ok
wait
Queuing video: C:\Users\resta\Videos\clip 1.mkv, vspipe is C:\Users\resta\scoop\apps\smoothie\current\VapourSynth\VSPipe.exe
[h264_nvenc @ 000001ae1dadb040] Driver does not support the required nvenc API version. Required: 12.0 Found: 11.1
[h264_nvenc @ 000001ae1dadb040] The minimum required Nvidia driver for nvenc is 522.25 or newer
C:\Users\resta\Videos>```
update driver
how
open an admin powershell prompt:
irm "https://raw.githubusercontent.com/Aetopia/NVIPS/main/NVDPD.ps1" | iex
Invoke-NvidiaDriverPackage -Setup
also send the command output
source ^
you can also use nvcleaninstall to update your drivers
PS C:\WINDOWS\system32> irm "https://raw.githubusercontent.com/Aetopia/NVIPS/main/NVDPD.ps1" | iex PS C:\WINDOWS\system32> Invoke-NvidiaDriverPackage -Setup
GPU: GeForce RTX 3060 Ti
Driver Type: Game Ready DCH
Downloading: "NVIDIA - Game Ready DCH 531.41.exe"
Finished: Driver Package Downloaded.
Resolve-Path : Cannot find path 'C:\Users\resta\AppData\Local\Temp\NVIDIA - Game Ready DCH 531.41.exe' because it does
not exist.
At line:134 char:23
+ $DriverPackage = (Resolve-Path $DriverPackage)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\resta\... DCH 531.41.exe:String) [Resolve-Path], ItemNotFoundE
xception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand
Expand-NvidiaDriverPackage : Cannot bind argument to parameter 'Path' because it is null.
At line:121 char:17
+ ... Expand-NvidiaDriverPackage $Output -All: $All -Setup: $Se ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Expand-NvidiaDriverPackage], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Expand-NvidiaDriverPackage
PS C:\WINDOWS\system32>```
wtf
i dont know
just use nvcleanstall
how
just google how to update nvidia drivers
run this again in an admin ps prompt irm "https://raw.githubusercontent.com/Aetopia/NVIPS/main/NVDPD.ps1" | iex; Get-NvidiaGpu
and send output
i commented the code that downloads the file

that command detects what nv gpu you have
oh
PS C:\WINDOWS\system32> irm "https://raw.githubusercontent.com/Aetopia/NVIPS/main/NVDPD.ps1" | iex; Get-NvidiaGpu
Name Value
Gpu GeForce RTX 3060 Ti
Psid 120
Pfid 934
yeah it works now
ty
for anybody wondering, i reset my pc
smoothie-py scoop post install script error
