Skip to content
Forum Archive

AVS pimp script

11 posts

LittleBuddy88#
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
transfrmr#
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!
LittleBuddy88#
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
transfrmr#
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!
LittleBuddy88#
the "M" must be a typo, I didn't know that I wrote it. :/
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(🙄), you need to open notepad first...
ExecFile "$WINDIR\notepad.exe" $VISDIR\avs\mypack\mytext.txt
sorry bout´ that :/

Clear now? 😉


Linus
transfrmr#
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 🙂
LittleBuddy88#
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