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

Sam and Max 202: Moai Better Blues

Informations

Creator Message
Kjella Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 5611
Wine: System

Feedbacks

Description

A surprise trip to the tropics turns into a working vacation when Sam & Max sign up to stop a massive volcano eruption. Will their special blend of bewildering wit and renegade justice be enough to win over the gods? (Not to mention the locals?)

Source code

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

FULLNAME="Sam and Max 202: Moai Better Blues"
CODENAME="sammax-202"
COMPANY="Telltale Games"
WEBSITE="http://www.telltalegames.com/samandmax"
SCRIPTER="Kjella"

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

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

LINKDIR="Program Files/Telltale Games/Sam and Max - Season Two/Episode 202 - Moai Better Blues"
LINKFILE="SamMax202.exe"
LINKNAME="Sam & Max 202: Moai Better Blues"

# 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\ 202\ -\ Moai\ Better\ Blues.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