forum.rallyesim.fr
http://forum.rallyesim.fr/

RBR sous Linux (Français)
http://forum.rallyesim.fr/viewtopic.php?f=70&t=40
Page 1 of 1

Author:  Aube [ Mon 11 Oct 2010 11:18 ]
Post subject:  RBR sous Linux (Français)

http://www.playonlinux.com/forums/see_t ... topic=1545

Script de lancement pour RBR :

    #!/bin/bash
    if [ "$PLAYONLINUX" = "" ]
    then
    exit 0
    fi
    source "$PLAYONLINUX/lib/sources"

    cfg_check

    POL_SetupWindow_Init

    POL_SetupWindow_presentation "Richard Burns Rally" "SCi Games" "http://www.richardburnsrally.com/" "thib25" "RichardBurnsRally"

    #Création du préfixe de wine
    POL_SetupWindow_prefixcreate "$REPERTOIRE/wineprefix/RichardBurnsRally/"
    mkdir -p $REPERTOIRE/wineprefix/RichardBurnsRally
    select_prefixe "$REPERTOIRE/wineprefix/RichardBurnsRally"

    #Détection du cd-rom
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "setup.exe"

    #Lancement de l'installation avec Wine 1.1.2
    Set_WineVersion_Session "1.1.2"
    wine $CDROM/setup.exe
    POL_SetupWindow_detect_exit

    #Création du lanceur et des raccourcis si l'utilisateur en veut
    POL_SetupWindow_make_shortcut "RichardBurnsRally" "Program Files/SCi Games/Richard Burns Rally" "richardburnsrally.exe" "" "Richard Burns Rally"

    POL_SetupWindow_reboot
    POL_SetupWindow_Close
    exit

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/