Forums

DSA Drakensang

Auteur Réponses
darkeagle Lundi 6 Octobre 2008 à 18:23
darkeagleAnonymous

Everything you need to get Drakensang running with PlayOnLinux:
http://rapidshare.de/files/40624575/Drakensang_Linux.zip.html

You need some extra files from the package

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

cfg_check

# Description of DSA Drakensang
POL_SetupWindow_Init
POL_SetupWindow_presentation "DSA Drakensang (German)" "Radon Labs" "http://www.drakensang.de" "Dominik Schürmann" "DSADrakensang"



# Prefix Creation
select_prefixe "$REPERTOIRE/wineprefix/DSADrakensang"

# Wine Preferences
Set_SoundDriver "oss"
Set_OS "winxp"
# cd to drive_c
cd "$REPERTOIRE/wineprefix/DSADrakensang/drive_c/"

DRAKENSANG_DIR="$REPERTOIRE/wineprefix/DSADrakensang/drive_c/Programme/Drakensang"



### 0. Installation instructions
POL_SetupWindow_message "To install <Das schwarze Auge: Drakensang (German) 1.01>
we need to go through severel steps:
1. Installation from the official CD
2. Downloading and Installing Patch 1.01
3. Installing additional files to get rid of starting- and soundproblems!
4. Installing hacked Wine 1.15 for Drakensang
because of Wine Bug 14758


INFO:

Questions and help: contact me on www.dominikschuermann.de

Install alsa-oss package when you got soundproblems." "Installation instructions"



### 1. Install from CD Drive
POL_SetupWindow_message "Please choose C:\Programme\Drakensang as installation path!" "Installation path"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
cd $CDROM
POL_SetupWindow_wait_next_signal "Installing from CD..." "1. Installation: DSA Drakensang"
wine $CDROM/setup.exe
POL_SetupWindow_detect_exit

# Remove WINE desktop icon, they should not be used!
rm ~/Desktop/Drakensang.desktop
rm ~/Desktop/Drakensang.lnk



### 2. Patch 1.01
cd "$REPERTOIRE/tmp/"
POL_SetupWindow_download "Downloading Patch 1.01 German...
URL: http://drakensang.de/oe_uploads/downloads/Drakensang_Patch_1.01_DE.zip" "2.1. Download: Patch 1.01 German" "http://drakensang.de/oe_uploads/downloads/Drakensang_Patch_1.01_DE.zip"
unzip Drakensang_Patch_1.01_DE.zip

POL_SetupWindow_wait_next_signal "Installing downloaded Patch..." "2.2. Installation: Patch 1.01 German"
wine "$REPERTOIRE/tmp/Drakensang_Patch_1.01_DE.exe"
POL_SetupWindow_detect_exit

# Temp cleaner:
rm -r $REPERTOIRE/tmp/*



### 3.1. Additional Files
POL_SetupWindow_browse "Please choose the file <Drakensang_files.zip>" "3.1. Installation: Additional files"
FILE="$APP_ANSWER"
FILE_NAME="$(basename "$FILE")"
FILE_DIR="$(dirname "$FILE")"

cd "$FILE_DIR"
cp $FILE_NAME "$REPERTOIRE/tmp/"

cd "$REPERTOIRE/tmp/"
unzip $FILE_NAME

cd "Drakensang_files"
cp * $DRAKENSANG_DIR/



### 3.2. Registering the dlls
POL_SetupWindow_message "The next steps will register the dlls!

xactengine2_0 to 3_1 and xaudio2_0 to 2_1" "3.2. Registering the dlls"

POL_SetupWindow_wait_next_signal "1/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xactengine2_0.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "2/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xactengine2_1.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "3/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xactengine2_2.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "4/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xactengine2_3.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "5/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xactengine2_4.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "6/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xactengine2_5.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "7/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xactengine2_6.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "8/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xactengine2_7.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "9/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xactengine2_8.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "10/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xactengine2_9.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "11/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xactengine2_10.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "12/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xactengine3_0.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "13/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xactengine3_1.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "14/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xaudio2_0.dll"
POL_SetupWindow_detect_exit
POL_SetupWindow_wait_next_signal "15/15" "Registering dlls..."
regsvr32 "$DRAKENSANG_DIR/xaudio2_1.dll"
POL_SetupWindow_detect_exit

# Temp cleaner:
rm -r $REPERTOIRE/tmp/*



### 4. Hacked Wine
### Hacked 1.1.5 because of http://bugs.winehq.org/show_bug.cgi?id=14758
### 3.1. Additional Files
POL_SetupWindow_browse "Please choose the file <1.1.5Drakensang.zip>" "3.1. Installation: Hacked Wine 1.1.5 for Drakensang"
FILE="$APP_ANSWER"
FILE_NAME="$(basename "$FILE")"
FILE_DIR="$(dirname "$FILE")"

cd "$FILE_DIR"
cp $FILE_NAME "$REPERTOIRE/tmp/"

cd "$REPERTOIRE/tmp/"
unzip $FILE_NAME

cd "1.1.5Drakensang"
mkdir $REPERTOIRE/WineVersions/1.1.5Drakensang
cp -r * $REPERTOIRE/WineVersions/1.1.5Drakensang/

# Temp cleaner:
rm -r $REPERTOIRE/tmp/*



### Success
POL_SetupWindow_make_shortcut "DSADrakensang" "Programme/Drakensang/" "drakensang.exe" "" "DSA Drakensang" "" "-novideo"
POL_SetupWindow_message "You have successfull installed Drakensang.

Happy roleplaying!" "Success"



# Set Wine Version:
Set_WineVersion_Assign "1.1.5Drakensang" "DSA Drakensang"


POL_SetupWindow_Close
exit

Edité par darkeagle

miklas15 Jeudi 29 Janvier 2009 à 8:51
miklas15Anonymous

file is deleted.... reload please
Vous êtes ici: Index > Your creations. > DSA Drakensang

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