Forums

Guitar-Rig2&3

auto-script with wine-asio

Auteur Réponses
adam0509 Samedi 5 Janvier 2008 à 13:43
adam0509Anonymous

Here's my script for guitar rig.


The main idea is to use Wineasio.dll.so (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 :

http://appdb.winehq.org/objectManager.php?sClass=application&iId=3629


script :



#!/bin/bash
#check if Pol is running
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
#Loading lib
source "$PLAYONLINUX/lib/sources"

#dep check
cfg_check

#Presentation
presentation "Guitar Rig" "Native Instrument" "http://www.native-instruments.com/" "adam" "guitarrig"

#Code


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



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


## wineasio can be compiled here : http://people.jacklab.net/edogawa/files/wineasio/
## 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"
creer_prefixe


cd $REPERTOIRE/wineprefix/guitarrig

telecharger "Downloading WineAsio" "http://www.sandgreen.dk/xt2/files/wineasio_0.5/wineasio.dll.so"

## original topic :
## http://www.kvraudio.com/forum/viewtopic.php?t=182682&postdays=0&postorder=asc&start=0&sid=29c262c9c45eca2f95b13f81b58f1355


env WINEPREFIX="$REPERTOIRE/wineprefix/guitarrig" regsvr32 wineasio.dll.so


message "Select your installation file of Guitar-Rig"

variable=$(selectionner_fichier)

wine "$variable"


simuler_reboot

#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"
exit

Edité par adam0509

Vous êtes ici: Index > Your creations. > Guitar-Rig2&3

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com