Archive: PIMP scripts help !


11th September 2001 18:50 UTC

PIMP scripts help !
I guys... ! :) I've complete my AVS Pack !! its very good, of course its not, Like Wacko or EL-Vis but, its very good, I hope U download it when avaible on Winamp page !

I just need help to do 1 thing !
I want help doing My PIMP ! I've made all the install stuff and bla bla bla ! Now I want to know how I made the "Licenseagreement" or the "LicenseData" because I've made a txt file with some comments and "thanks" :) and I want to display that information, before start the installation !
And wanna know too how to make my 1º preset start running after, installation complete ! :cool:

Hope someone can help me!, and Sorry my bad english :D


21st September 2001 23:04 UTC

okay let me try to help you. :)

First problem
Quite easy, use:

LicenseData "Your file with comments and "thanks".txt"

before you acctually begin with installing stuff. This means that you'll have to put license & thank's into one file though. But that won't be a problem I think.


Second problem:
You could try this at the end of the install section.

; prompt user, and if they select no, skip the following 3 instructions.

MessageBox MB_YESNO|MB_ICONQUESTION \
"The pack was installed. Would you like to run Winamp now with your AVS pack as the default plug-in?" \
IDNO NoWinamp

WriteINIStr "$INSTDIR\Winamp.ini" "Winamp" "visplugin_name" "vis_avs.dll"
WriteINIStr "$INSTDIR\Winamp.ini" "AVS" "last_preset_name" "C:\PROGRAm FILES\WINAMP\PLUGINS\your path to your 1º preset\1º preset.avs

NoWinamp:


If this doesn't solve your problems just let me know and I'll help you again. :)


23rd September 2001 02:45 UTC

THANKS :)
thanks for the help, it comes a litlle bit late, but theres no problem... I will use the things you told me on my future packs, and if I had more question, you can have a sure I will ask you :)
Thanks Kaboon
download or comment my AVS Pack -> http://www.winamp.com/plugins/detail...ponentId=79361