Riffstation Trial

Informations

Creator Message
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 4823
Wine: 1.7.17

Feedbacks

Screenshots

Miniature

Source code

#!/bin/bash
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Riffstation"
PREFIX="Riffstation"
EDITOR="Riffstation"
GAME_URL="http://www.riffstation.com/"
AUTHOR="Quentin PÂRIS"
 
# Starting the script
POL_SetupWindow_Init
POL_SetupWindow_SetID 2131
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting Wine Version
WORKING_WINE_VERSION="1.7.17"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
 

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/TERA"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Downloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/TERA"
        POL_Download "http://www.riffstation.com/RiffstationTrial.exe" "c1abbcdc69dc561045634f0bb08ceed7"
        SETUP_EXE="$PWD/RiffstationTrial.exe"
else
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi
POL_Wine_WaitBefore "$TITLE" 

POL_Wine "$SETUP_EXE"
POL_Wine_WaitExit "$TITLE"
 
# Making shortcut
POL_Shortcut "Riffstation.exe" "Riffstation"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Quentin PÂRIS Friday 4 July 2014 at 16:48
Quentin PÂRIS
Admin

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Ajout d'un message pendant l'installation

Differences

@@ -46,6 +46,7 @@
         SETUP_EXE="$APP_ANSWER"
 fi
 POL_Wine_WaitBefore "$TITLE" 
+
 POL_Wine "$SETUP_EXE"
 POL_Wine_WaitExit "$TITLE"
  

New source code

#!/bin/bash
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Riffstation"
PREFIX="Riffstation"
EDITOR="Riffstation"
GAME_URL="http://www.riffstation.com/"
AUTHOR="Quentin PÂRIS"
 
# Starting the script
POL_SetupWindow_Init
POL_SetupWindow_SetID 2131
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting Wine Version
WORKING_WINE_VERSION="1.7.17"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
 

# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/TERA"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Downloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/TERA"
        POL_Download "http://www.riffstation.com/RiffstationTrial.exe" "c1abbcdc69dc561045634f0bb08ceed7"
        SETUP_EXE="$PWD/RiffstationTrial.exe"
else
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi
POL_Wine_WaitBefore "$TITLE" 

POL_Wine "$SETUP_EXE"
POL_Wine_WaitExit "$TITLE"
 
# Making shortcut
POL_Shortcut "Riffstation.exe" "Riffstation"
 
POL_SetupWindow_Close
exit 0

Replies

Edited by Tinou

Quentin PÂRIS Friday 4 July 2014 at 16:45
Quentin PÂRIS
Admin

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,58 @@
+#!/bin/bash
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Riffstation"
+PREFIX="Riffstation"
+EDITOR="Riffstation"
+GAME_URL="http://www.riffstation.com/"
+AUTHOR="Quentin PÂRIS"
+ 
+# Starting the script
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2131
+ 
+# Starting debugging API
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+# Setting Wine Version
+WORKING_WINE_VERSION="1.7.17"
+ 
+# Setting prefix path
+POL_Wine_SelectPrefix "$PREFIX"
+ 
+# Downloading wine if necessary and creating prefix
+POL_System_SetArch "auto"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+ 
+# Choose between Downloading client or using local one
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+ 
+ 
+# Set Graphic Card information keys for wine
+POL_Wine_SetVideoDriver
+ 
+# Downloading client or choosing existing one
+mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/TERA"
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
+        # Downloading client
+        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/TERA"
+        POL_Download "http://www.riffstation.com/RiffstationTrial.exe" "c1abbcdc69dc561045634f0bb08ceed7"
+        SETUP_EXE="$PWD/RiffstationTrial.exe"
+else
+        # Asking for client exe
+        cd "$HOME"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+fi
+POL_Wine "$SETUP_EXE"
+POL_Wine_WaitExit "$TITLE"
+ 
+# Making shortcut
+POL_Shortcut "Riffstation.exe" "Riffstation"
+ 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Riffstation"
PREFIX="Riffstation"
EDITOR="Riffstation"
GAME_URL="http://www.riffstation.com/"
AUTHOR="Quentin PÂRIS"
 
# Starting the script
POL_SetupWindow_Init
POL_SetupWindow_SetID 2131
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting Wine Version
WORKING_WINE_VERSION="1.7.17"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
 
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
 
# Downloading client or choosing existing one
mkdir -p "$WINEPREFIX/drive_c/$PROGRAMFILES/TERA"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        # Downloading client
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/TERA"
        POL_Download "http://www.riffstation.com/RiffstationTrial.exe" "c1abbcdc69dc561045634f0bb08ceed7"
        SETUP_EXE="$PWD/RiffstationTrial.exe"
else
        # Asking for client exe
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi
POL_Wine "$SETUP_EXE"
POL_Wine_WaitExit "$TITLE"
 
# Making shortcut
POL_Shortcut "Riffstation.exe" "Riffstation"
 
POL_SetupWindow_Close
exit 0

Replies