Вы находитесь здесь

Форум

Strong Bad Episode 2

Автор Replies
Kjella Wednesday 24 September 2008 at 0:56
KjellaAnonymous

Basicly same as ep1:

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

presentation "Strong Bad Episode 2: Strong Badia the Free" "Telltale Games" "http://www.telltalegames.com/strongbad" "Kjella" "strongbad-102"
select_prefixe "$REPERTOIRE/wineprefix/strongbad-102"
creer_prefixe 1 4

mkdir -p $WINEPREFIX/drive_c/download/
cd $WINEPREFIX/drive_c/download/

message "Installing DirectX" "Installing DirectX" 2 4 1
# Download winetricks
wget http://www.kegel.com/wine/winetricks
chmod +x winetricks
./winetricks -q directx9

# Unregister everything winetricks did
rm -f dll.reg
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]" > dll.reg
echo "\"d3dim\"=\"builtin\"" >> dll.reg
echo "\"d3drm\"=\"builtin\"" >> dll.reg
echo "\"d3dx8\"=\"builtin\"" >> dll.reg
echo "\"d3dx9_24\"=\"builtin\"" >> dll.reg
echo "\"d3dx9_25\"=\"builtin\"" >> dll.reg
echo "\"d3dx9_26\"=\"builtin\"" >> dll.reg
echo "\"d3dx9_27\"=\"builtin\"" >> dll.reg
echo "\"d3dx9_28\"=\"builtin\"" >> dll.reg
echo "\"d3dx9_29\"=\"builtin\"" >> dll.reg
echo "\"d3dx9_30\"=\"builtin\"" >> dll.reg
echo "\"d3dx9_31\"=\"builtin\"" >> dll.reg
echo "\"d3dx9_32\"=\"builtin\"" >> dll.reg
echo "\"d3dx9_33\"=\"builtin\"" >> dll.reg
echo "\"d3dx9_34\"=\"builtin\"" >> dll.reg
echo "\"d3dx9_35\"=\"builtin\"" >> dll.reg
echo "\"d3dx9_36\"=\"builtin\"" >> dll.reg
echo "\"d3dxof\"=\"builtin\"" >> dll.reg
echo "\"dciman32\"=\"builtin\"" >> dll.reg
echo "\"ddrawex\"=\"builtin\"" >> dll.reg
echo "\"devenum\"=\"builtin\"" >> dll.reg
echo "\"dinput\"=\"builtin\"" >> dll.reg
echo "\"dinput8\"=\"builtin\"" >> dll.reg
echo "\"dmband\"=\"builtin\"" >> dll.reg
echo "\"dmcompos\"=\"builtin\"" >> dll.reg
echo "\"dmime\"=\"builtin\"" >> dll.reg
echo "\"dmloader\"=\"builtin\"" >> dll.reg
echo "\"dmscript\"=\"builtin\"" >> dll.reg
echo "\"dmstyle\"=\"builtin\"" >> dll.reg
echo "\"dmsynth\"=\"builtin\"" >> dll.reg
echo "\"dmusic\"=\"builtin\"" >> dll.reg
echo "\"dmusic32\"=\"builtin\"" >> dll.reg
echo "\"dnsapi\"=\"builtin\"" >> dll.reg
echo "\"dplay\"=\"builtin\"" >> dll.reg
echo "\"dplayx\"=\"builtin\"" >> dll.reg
echo "\"dpnaddr\"=\"builtin\"" >> dll.reg
echo "\"dpnet\"=\"builtin\"" >> dll.reg
echo "\"dpnhpast\"=\"builtin\"" >> dll.reg
echo "\"dpnlobby\"=\"builtin\"" >> dll.reg
echo "\"dsound\"=\"builtin\"" >> dll.reg
echo "\"dswave\"=\"builtin\"" >> dll.reg
echo "\"dxdiagn\"=\"builtin\"" >> dll.reg
echo "\"mscoree\"=\"builtin\"" >> dll.reg
echo "\"msdmo\"=\"builtin\"" >> dll.reg
echo "\"qcap\"=\"builtin\"" >> dll.reg
echo "\"quartz\"=\"builtin\"" >> dll.reg
echo "\"streamci\"=\"builtin\"" >> dll.reg
regedit dll.reg

# Add the one we do need
rm -f dll.reg
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]" > dll.reg
echo "\"d3dx9_36\"=\"native,builtin\"" >> dll.reg
regedit dll.reg

# Download episode from the Telltale website
download "Downloading installer from Telltale" "http://www.telltalegames.com/download/strongbadiathefree" "Downloading Episode" 3 4 1
mv strongbadiathefree 102_Setup.exe

# Download the icon
cd $REPERTOIRE/icones
wget http://www.telltalegames.com/images/productshots/sbcg4ap102_139x110.png

wine $WINEPREFIX/drive_c/download/102_Setup.exe
rm ~/Desktop/Episode\ 2\ -\ Strong\ Badia\ the\ Free.desktop
creer_lanceur "strongbad-102" "Program Files/Telltale Games/Strong Bad/Episode 2 - Strong Badia the Free/" "Homestar102.exe" "sbcg4ap102_139x110.png" "Strong Bad 102: Strong Badia the Free"
Set_WineVersion_Assign "1.1.5" "Strong Bad 101: Homestar Ruiner"

if [ "$POL_LANG" == "fr_FR.UTF-8" ]; then
message "Voici comment faire fonctionner le jeu.
1.Entrez le serial (obtenu après création d'un compte valide sur le site de Telltale)
2. Alt+F4 pour fermer la fenêtre.
3. Relancer le jeu et cliquez sur le lien pour démarrer.
4. Après avoir réglé la résolution et/ou le mode fenêtré, faite Alt+F4 pour sortir. Les paramêtres seront appliqués au prochains lancement." "Instructions pour faire fonctionner le jeu" 4 4 0 "" "Terminer"
else
message "Use these steps to play the game.
1. Enter serial (found in account section on telltale site)
2. Alt + F4 to close.
3. Run again and click the link to run.
4. After changing to windowed mode or resolution, press Alt+F4 to exit. Changes are applied next time you start the game." "Information about running the episode" 4 4 0 "" "Finish"
fi

end_install
Вы находитесь здесь: Index > Your creations. > Strong Bad Episode 2