Vous êtes ici
Baldur's Gate
Informations
Créateur | Messages |
---|---|
GNU_Raziel
|
InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes : Retours d'expérience2 1 DescriptionBaldur's Gate famous game Captures d'écran
Code source#!/bin/bash # Date : (2010-03-12 21-00) # Last revision : (2012-04-22 21:00) # Wine version used : 1.2.1, 1.2.3, 1.4 # Distribution used to test : Debian Testing x64 # Author : GNU_Raziel # Licence : Retail # Only For : http://www.playonlinux.com [ "$PLAYONLINUX" = "" ] && exit source "$PLAYONLINUX/lib/sources" TITLE="Baldur's Gate" PREFIX="BaldursGate1" EDITOR="BioWare" GAME_URL="http://www.bioware.com/games/baldurs_gate/" AUTHOR="GNU_Raziel" WORKING_WINE_VERSION="1.4" GAME_VMS="128" # Starting the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/BG1/top.jpg" "http://files.playonlinux.com/resources/setups/BG1/left.jpg" "$TITLE" POL_SetupWindow_Init # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Choose between CD, DVD and Digital Download version POL_SetupWindow_InstallMethod "CD,DVD,LOCAL" if [ "$INSTALL_METHOD" == "CD" ]; then # Asking for CDROM and checking if it's correct one # CD-ROM 1 POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "SETUP.EXE" # Disk 1 cd "$WINEPREFIX"/dosdevices ln -sf "$CDROM" p: POL_Wine start /unix "$CDROM/SETUP.EXE" # Ejecting Disk 1 POL_SetupWindow_message "$(eval_gettext 'When the game setup will ask for next Disk\nclick on \"Forward\"')" "$TITLE" POL_Wine eject # Disk 2 POL_SetupWindow_message "$(eval_gettext 'Please insert the next game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom cd "$WINEPREFIX"/dosdevices ln -sf "$CDROM" p: # Ejecting Disk 2 POL_SetupWindow_message "$(eval_gettext 'When the game setup will ask for next Disk\nclick on \"Forward\"')" "$TITLE" POL_Wine eject # Disk 3 POL_SetupWindow_message "$(eval_gettext 'Please insert the next game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom cd "$WINEPREFIX"/dosdevices ln -sf "$CDROM" p: # Disk 4 POL_SetupWindow_message "$(eval_gettext 'Please insert the next game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom cd "$WINEPREFIX"/dosdevices ln -sf "$CDROM" p: # Disk 5 POL_SetupWindow_message "$(eval_gettext 'Please insert the next game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom cd "$WINEPREFIX"/dosdevices ln -sf "$CDROM" p: POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "DVD" ]; then # Asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "baldur.ico" POL_Wine start /unix "$CDROM/Setup.exe" POL_Wine_WaitExit "$TITLE" else # Asking then installing DDV of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" fi # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Fix for this game # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix # Cleaning temp if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then rm -rf "$WINEPREFIX/drive_c/windows/temp/"* chmod -R 777 "$POL_USER_ROOT/tmp/" rm -rf "$POL_USER_ROOT/tmp/"* fi # Making shortcut POL_Shortcut "Baldur.exe" "$TITLE" "$TITLE.png" "" POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContribuerMembre | Messages |
truman075 | Dimanche 23 Novembre 2014 à 19:57 |
truman075
|
Messagesinstallation, ok when click to start game, open message: don`t detect CD-ROM drive. My DVD drive is a sata1 device. RéponsesLundi 24 Novembre 2014 à 0:27
Samedi 17 Janvier 2015 à 20:07
Samedi 17 Janvier 2015 à 20:08
Samedi 17 Janvier 2015 à 20:11
Mardi 20 Janvier 2015 à 18:46
|
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 dmca-notice@playonlinux.com