Archive: AVS pimp script


9th September 2001 03:42 UTC

AVS pimp script
any one have a ready done template pimp script for avs packages


9th September 2001 03:45 UTC

try Nsis forum


10th September 2001 17:33 UTC

Try this...

; Pimpscript file v1.3.0
; Copyright (C) 1999 Nullsoft Inc.
; You can comment by starting lines with ; or #.

Name My supercool, superphat mindblowing shit

Text Just klick next...

OutFile C:\program\makepimp\filename.exe

SetOutPath $VISDIR\AVS\adirectory\

AddFile C:\program\Winamp\Plugins\avs\Yourfile.avs


Just copy this into a text file and rename it to "myfile.psc" then change "adirectory" to the directory you want it in, let $VISDIR\AVS\ remain, it's easier that way. Change the name on "filename.exe" to the name you want, just remember .exe in the end ;)
Use one addfile for every file that you are using in your pack, remember to NOT use $VISDIR here, it fucks up if you do.
I think you can use a catalog too, but i'm not sure on that point :)


Linus


10th September 2001 19:03 UTC

or this -
http://64.12.38.241/showthread.php?threadid=51533


11th September 2001 01:44 UTC

thanks!


11th September 2001 06:12 UTC

Hey...
I tried to find it elsewhere, but couldn't really..

Can anyone give me an example of how to have one file from thre pimp package put into a different directory..
Specifically I have a preset that requires an AVI, now the AVI has to be put in the "c:\program files\winamp\plugins\avs" directory, while I want the rest to go into my preset's directory.

I tried to figure it out, but itjust doesn't seem to work..

thanks!


12th September 2001 19:13 UTC

Name My supercool, superphat mindblowing shit
Text Just klick next...

OutFile C:\program\makepimp\filename.exe

SetOutPath $VISDIR\AVS\M
AddFile C:\program\Winamp\Plugins\avs\MYvideo.avi

SetOutPath $VISDIR\AVS\mypack\ ;Just do this again to select another dir
addfile C:\program\winamp\plugins\avs\mycoolshit\*.avs
addfile C:\program\winamp\plugins\avs\mytext.txt

ExecFile $VISDIR\AVS\mypack\mytext.txt ; open this file when done


Simple enough, ey?
I'll look into Superpimp too soon ;)


Linus


13th September 2001 08:44 UTC

Originally posted by LittleBuddy88

OutFile C:\program\makepimp\filename.exe
<
SetOutPath $VISDIR\AVS\M <-------What is this M? a Typo?
AddFile C:\program\Winamp\Plugins\avs\MYvideo.avi

SetOutPath $VISDIR\AVS\mypack\ ;Just do this again to select another dir
addfile C:\program\winamp\plugins\avs\mycoolshit\*.avs
addfile C:\program\winamp\plugins\avs\mytext.tx <----- If you can do this here (diffrent directories under the same outpath) why didn't you just do that with the top one as well?

ExecFile $VISDIR\AVS\mypack\mytext.txt ; open this file when done


Simple enough, ey?
I'll look into Superpimp too soon ;)


Linus [/B]

Yeah, lots of stuff is just extra... you can drop so many commands from their suggested pimp scripts it gets confusing.. For example, I didn't know you could execfile a txt document directly. I had mine exec'ing the notepad.exe file and then showing the text doc..

different

much appreciation!

13th September 2001 14:39 UTC

the "M" must be a typo, I didn't know that I wrote it. :/
Quote:


13th September 2001 19:37 UTC

Think I've got it...
Ok,

So basically this:

SetOutpath $VISDIR\AVS\Mypack\
addfile C\program\winamp\plugins\avs\mypack\*.avs

SetOutPath $VISDIR\AVS
addfile c:\program\winamp\plugins\avs\whatever.avi

Is the part of the script that extracts the files seperately. And I can use the command "SetOutPath" As many times as I want to install stuff in different diretories..

Ok, cool thanks :)


14th September 2001 07:21 UTC

Yup, you got me. ;)
SetOutPath is used to set the map you want to copy it to, and addfile is where the file you want added to "SetOutPath" is located.


Linus



SetOutPath $VISDIR\AVS\mypack\ ;Just do this again to select another dir
addfile C:\program\winamp\plugins\avs\mycoolshit\*.avs
addfile C:\program\winamp\plugins\avs\mytext.txt <----- If you can do this here (diffrent directories under the same outpath) why didn't you just do that with the top one as well? SetOutPath... this is the directory I want to copy the files to.
the purpose of the 2 "addfile" was to show that you can add files from different directories and they end up in the same one.

Oh, and sorry, must have made another mistake(:rolleyes:), you need to open notepad first...
ExecFile "$WINDIR\notepad.exe" $VISDIR\avs\mypack\mytext.txt
sorry bout´ that :/

Clear now? ;)


Linus