Sam and Max 204: Chariots of the Dogs

Informations

Creator Message
Kjella Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 8109
Wine: System

Feedbacks

Description

Bosco's vanished from the face of the Earth—literally! When Sam & Max manage to track him down, what they find is so mind boggling, you'll have to see it to believe it. Can the Freelance Police set things right, or will life as they know it fall victim to the capricious whims of T-H-E-M?

Source code

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

FULLNAME="Sam and Max 204: Chariots of the Dogs"
CODENAME="sammax-204"
COMPANY="Telltale Games"
WEBSITE="http://www.telltalegames.com/samandmax"
SCRIPTER="Kjella"

INSTDIR="http://www.telltalegames.com/download"
INSTNAME="chariotsofthedogs"

ICONDIR="http://files.telltalegames.com/productshots/gameicons"
ICONNAME="icon_sammax204.png"

LINKDIR="Program Files/Telltale Games/Sam and Max - Season Two/Episode 204 - Chariots of the Dogs"
LINKFILE="SamMax204.exe"
LINKNAME="Sam & Max 204: Chariots of the Dogs"

# Basic setup
POL_SetupWindow_Init
POL_SetupWindow_presentation "$FULLNAME" "$COMPANY" "$WEBSITE" "$SCRIPTER" "$CODENAME"
select_prefixe "$REPERTOIRE/wineprefix/$CODENAME"
POL_SetupWindow_prefixcreate 

### Custom: WINE setup
Set_OS "vista"

# Install game
cd $PLAYONLINUX/tmp/
POL_SetupWindow_download "Downloading installer from $COMPANY" "Downloading installer" "$INSTDIR/$INSTNAME"
mv $INSTNAME $CODENAME.exe
wine $CODENAME.exe
rm $CODENAME.exe

### Custom: Remove WINE desktop icon
rm ~/Desktop/Episode\ 204\ -\ Chariots\ of\ the\ Dogs.desktop

# Set up the shortcut
cd $REPERTOIRE/icones
wget $ICONDIR/$ICONNAME
mv $ICONNAME $CODENAME.png
POL_SetupWindow_make_shortcut "$CODENAME" "$LINKDIR" "$LINKFILE" "$CODENAME.png" "$LINKNAME"

# Cleanup
POL_SetupWindow_reboot
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message