The forum


auto-script with wine-asio

Author Replies
adam0509 Saturday 5 January 2008 at 13:43

Here's my script for guitar rig.

The main idea is to use (can't compil with winedev 0.9.51), I use a pre-compiled version.

Script ask for *.exe and create 3 launchers (that can be deleted after depending on what you need) :

Guitar rig 3

Guitar rig 2 Registration (to register)

Guitar rig 2 (normal)

Teste with success with guitar rig 2 et 3 (You'll find démo on NATIVE ISNTRUMENT Website).

appdbs :

script :

#check if Pol is running
if [ "$PLAYONLINUX" = "" ]
exit 0
#Loading lib
source "$PLAYONLINUX/lib/sources"

#dep check

presentation "Guitar Rig" "Native Instrument" "" "adam" "guitarrig"


attention " * You may need to install JACK/qJACK.

* WineASIO used here is 0.5 (pré-compiled)."

## wineasio can be compiled here :
## you'll need those package if you wan't to manual compile builds-essentials wine-dev qjackctl libjack-dev

mkdir -p $REPERTOIRE/wineprefix/guitarrig
select_prefixe "$REPERTOIRE/wineprefix/guitarrig"

cd $REPERTOIRE/wineprefix/guitarrig

telecharger "Downloading WineAsio" ""

## original topic :

env WINEPREFIX="$REPERTOIRE/wineprefix/guitarrig" regsvr32

message "Select your installation file of Guitar-Rig"


wine "$variable"


#End Game Code
#Creating launchers

creer_lanceur "guitarrig" "Program Files/Native Instruments/Guitar Rig 3/" "Guitar Rig 3.exe" "guitar.xpm" "Guitar Rig 3"

creer_lanceur "guitarrig" "Program Files/Native Instruments/Guitar Rig 2/" "GuitarRig 2.exe" "guitar.xpm" "Guitar Rig 2"

creer_lanceur "guitarrig" "Program Files/Native Instruments/Guitar Rig 2/" "Registration Tool.exe" "guitar.xpm" "Guitar Rig 2 Registration Tool"

message "Installation finished"

Edited by adam0509