#smoothie-py scoop post install script error

1 messages · Page 1 of 1 (latest)

vale dock
chrome pagoda
# vale dock

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
chrome pagoda
vale dock
#

okk

chrome pagoda
vale dock
#

ok

#
'sm' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\resta>```
chrome pagoda
#

check if you have a smoothie folder in %USERPROFILE%\scoop\apps

vale dock
chrome pagoda
#

scoop/shims

#

and see if you have sm in there

vale dock
chrome pagoda
# vale dock

use this command iex(irm tl.ctt.cx) ; Invoke-SmoothiePost

#

in powershell

vale dock
#
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>```
chrome pagoda
# vale dock ```PowerShell PS C:\Users\resta> iex(irm tl.ctt.cx) ; Invoke-SmoothiePost This s...

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
vale dock
#

bat file?

chrome pagoda
#

nope its should generate sendto shortcuts and sm.exe

vale dock
#

ok

chrome pagoda
#

wait

#

don't run it

vale dock
#

i did-

#

uhm

chrome pagoda
#

yep it fucked up

vale dock
#

:/

#

what do i do

chrome pagoda
#

can you give me like 5 mins

vale dock
#

yea

chrome pagoda
#
$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

vale dock
#

k

chrome pagoda
#

did it work?

vale dock
#

yeah

#

no errors

chrome pagoda
#

open a new cmd window

#

and run sm in it

vale dock
#

ok

chrome pagoda
#

and send its output

vale dock
#

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>

GitHub

🧋 Highly customizable motion-blur effect CLI helper for video-game footage (using the VapourSynth frameserver). - couleur-tweak-tips/Smoothie

chrome pagoda
vale dock
#

lol

chrome pagoda
#

sm installed

vale dock
#

yes

chrome pagoda
#

see if works properly

#

check your start menu for

#

smoothie recipe and smoothie

#

also check sendto

vale dock
#

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>```
vale dock
#

how

chrome pagoda
#

google

#

or

vale dock
#

or?

#

oreo

chrome pagoda
#

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

vale dock
#
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>```
chrome pagoda
#

wtf

vale dock
#

i dont know

chrome pagoda
#

just use nvcleanstall

vale dock
#

how

chrome pagoda
#

google

vale dock
#

site looks

#

... sketch to say the least lmfao

chrome pagoda
vale dock
#

what

#

ok

#

can u just send the link idont know where it is

#

theres 500 diff sites

chrome pagoda
vale dock
#

downloading

#

i guess

chrome pagoda
# vale dock

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

vale dock
#

but i downloaded driver...

#

from the nvidia site

#

lol

chrome pagoda
vale dock
#

oh

#

yeah it works now

#

ty

#

for anybody wondering, i reset my pc

finite hearth
#

smoothie-py scoop post install script error