Scrolls

Informatie

Creator Bericht
kweepeer Anonymous

Warning

This installer is a beta script. It means that it might not work as expected

Informatie

Platforms:
Downloads: 5393
Wine: 1.7.34

Feedbacks

Omschrijving

A multiplayer digital card game by Mojang, the makers of Minecraft. Players on Mac can use the native version ( http://www.scrolls.com ).

Schermafdrukken

MiniatureMiniatureMiniature

Broncode

#!/bin/bash
# Date : 2013-06-02 17:37
# Last revision : 2013-10-21 21:59
# Wine version used : 1.7.34
# Distribution used to test : Xubuntu 14.04
# Author : kweepeer (edited by Trucosuso)
# Depend: unzip

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Scrolls"
PREFIX="scrolls"
SHORTCUT_NAME="Scrolls"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1865
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Mojang" "http://www.scrolls.com" "kweepeer" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.34"

POL_System_TmpCreate "$PREFIX"
# Download installer
POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let Scrolls launch automatically, so the POL setup can complete.')" "$TITLE"
cd "$POL_System_TmpDir"
POL_Download "http://download.scrolls.com/installer/win/Scrolls-Installer.msi" \
             "719ca39cfa957858773cdc18d73092c0"
POL_Wine_WaitBefore "$TITLE"
POL_Wine msiexec /i "$POL_System_TmpDir/Scrolls-Installer.msi"
POL_System_TmpDelete

# Download game data
cd "$WINEPREFIX/drive_c/users/$USER/Local Settings/Application Data/Mojang/Scrolls" || exit 1
POL_Download "http://download.scrolls.com/client/windows.zip"
POL_SetupWindow_wait "$(eval_gettext 'Please wait while we extract $TITLE game data.')" "$TITLE"
(unzip -qqo ./windows.zip && rm -f ./windows.zip) || exit 1

POL_SetupWindow_VMS "128"
POL_Wine_reboot

# Remove Z:\ from Wine because otherwise (for some reason) the game
# tries to write files in / which results in permissions errors.
rm -f "$WINEPREFIX/dosdevices/z:"

POL_Shortcut "Scrolls.exe" "$TITLE" "$SHORTCUT_NAME.png" ""
POL_SetupWindow_Close

exit

Contributions

Filters:

Contribute
Member Bericht
MrMirza Donderdag 14 Juni\ 2018 om 13:07
MrMirza Anonymous

Bericht

while try to run it says:

There should be 'Scrolls_Data'
folder next to the executable

Antwoorden

Anonymous
Donderdag 14 Juni\ 2018 om 13:19
btw , I checked and "Scrolls_Data" folder is there.
Trucosuso Donderdag 22 Januari 2015 om 22:53
Trucosuso Anonymous

Information

This update has been approved by the team.

Bericht

The game runs, but you can't press the upper buttons. But if you change the wine version to 1.7.34 it works fine, at least on Xubuntu 14.04.

I've modified the code, but I don't know if I did something wrong, can someone verify it?

Thanks and happy scrolling!

Differences

@@ -1,9 +1,9 @@
 #!/bin/bash
 # Date : 2013-06-02 17:37
 # Last revision : 2013-10-21 21:59
-# Wine version used : 1.5.29, 1.5.31, 1.6
-# Distribution used to test : Elementary OS (Luna)
-# Author : kweepeer
+# Wine version used : 1.7.34
+# Distribution used to test : Xubuntu 14.04
+# Author : kweepeer (edited by Trucosuso)
 # Depend: unzip
 
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -20,7 +20,7 @@
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "Mojang" "http://www.scrolls.com" "kweepeer" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.6"
+POL_Wine_PrefixCreate "1.7.34"
 
 POL_System_TmpCreate "$PREFIX"
 # Download installer

New source code

#!/bin/bash
# Date : 2013-06-02 17:37
# Last revision : 2013-10-21 21:59
# Wine version used : 1.7.34
# Distribution used to test : Xubuntu 14.04
# Author : kweepeer (edited by Trucosuso)
# Depend: unzip

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Scrolls"
PREFIX="scrolls"
SHORTCUT_NAME="Scrolls"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1865
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Mojang" "http://www.scrolls.com" "kweepeer" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.34"

POL_System_TmpCreate "$PREFIX"
# Download installer
POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let Scrolls launch automatically, so the POL setup can complete.')" "$TITLE"
cd "$POL_System_TmpDir"
POL_Download "http://download.scrolls.com/installer/win/Scrolls-Installer.msi" \
             "719ca39cfa957858773cdc18d73092c0"
POL_Wine_WaitBefore "$TITLE"
POL_Wine msiexec /i "$POL_System_TmpDir/Scrolls-Installer.msi"
POL_System_TmpDelete

# Download game data
cd "$WINEPREFIX/drive_c/users/$USER/Local Settings/Application Data/Mojang/Scrolls" || exit 1
POL_Download "http://download.scrolls.com/client/windows.zip"
POL_SetupWindow_wait "$(eval_gettext 'Please wait while we extract $TITLE game data.')" "$TITLE"
(unzip -qqo ./windows.zip && rm -f ./windows.zip) || exit 1

POL_SetupWindow_VMS "128"
POL_Wine_reboot

# Remove Z:\ from Wine because otherwise (for some reason) the game
# tries to write files in / which results in permissions errors.
rm -f "$WINEPREFIX/dosdevices/z:"

POL_Shortcut "Scrolls.exe" "$TITLE" "$SHORTCUT_NAME.png" ""
POL_SetupWindow_Close

exit

Antwoorden

Donderdag 22 Januari 2015 om 23:45
Looks fine to me