GOG.com - Rayman Forever
Informations
Creator | Message |
---|---|
med_freeman
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks0 0 DescriptionEnglish: Français : Source code#!/bin/bash # Date : (2014-10-05 19:57) # Date : (2014-10-07 16:28) # Wine version used : 1.6.2-dos_support_0.6 # Distribution used to test : Ubuntu 14.04 Trusty x64 + Debian 7.0 Wheezy x64 # Author : med_freeman # Licence : Retail # Only For : http://www.playonlinux.com [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="GOG.com - Rayman Forever" PREFIX="RaymanForever_gog" GOGID="rayman_forever" EDITOR="Ubisoft" GAME_URL="http://rayman.ubi.com/legends/" AUTHOR="med_freeman" WINE_VERSION="1.6.2-dos_support_0.6" WINE_ARCH="x86" 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 2293 POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Download / Select GOG setup POL_Call POL_GoG_setup "$GOGID" "96e71ea03261646f7f5ce4cb27d6a222" POL_System_SetArch "$WINE_ARCH" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINE_VERSION" # Install GOG setup POL_Call POL_GoG_install cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg" manual_mount=true dosbox_machine=svga_s3 dosbox_captures=capture dosbox_memsize=16 cpu_core=simple cpu_cputype=pentium_slow cpu_cycles=15000 mixer_rate=22050 mixer_blocksize=2048 mixer_prebuffer=80 sblaster_sbtype=sb16 sblaster_sbbase=220 sblaster_irq=7 sblaster_dma=1 sblaster_hdma=5 sblaster_mixer=true sblaster_oplmode=auto sblaster_oplrate=22050 _EOFCFG_ # cd to game folder cd "$GOGROOT/Rayman Forever" # we need this to have the in-game music # symlink ogg files down one folder, or mscdex doesn't recognize it ln -s Music/*.ogg . # edit game.inst to remove ogg paths, save to cue extension or mscdex doesn't recognize it sed -e 's/Music\\//g' game.inst > game.cue # use dos long dir aliases, fix for mscdex path too long, we need this to have the in-game music cat <<_EOFAE_ > "$WINEPREFIX/drive_c/autoexec.bat" imgmount E "C:\GOGGAM~1\RAYMAN~1\game.cue" -t cdrom _EOFAE_ # Different games in the installer RAYMAN="Rayman" RAYMAN_DE="Rayman Designer" RAYMAN_DE_MAPPER="Rayman Designer Mapper" RAYMAN_FANS="Rayman by His Fans" # Rayman POL_Shortcut "RAYMAN.EXE" "$RAYMAN" "$RAYMAN.png" "" "Game;PlatformGame;" # Rayman Designer POL_Shortcut "RAYKIT.EXE" "$RAYMAN_DE" "$RAYMAN_DE.png" "ver=usa" "Game;PlatformGame;" # Rayman Designer Mapper POL_Shortcut "MAPPER.EXE" "$RAYMAN_DE_MAPPER" "" "ver=usa" "Game;PlatformGame;" # Rayman by His Fans POL_Shortcut "RAYFAN.EXE" "$RAYMAN_FANS" "$RAYMAN_FANS.png" "ver=usa" "Game;PlatformGame;" # Manual POL_Shortcut_Document "$RAYMAN" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE_MAPPER" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_FANS" "$GOGROOT/Rayman Forever/Manual.pdf" POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContributeMember | Message |
petch | Tuesday 7 October 2014 at 21:14 |
petch
|
InformationThis update has been approved by the team. Message- put POL_Call POL_GoG_setup before POL_Wine_SelectPrefix/POL_Wine_PrefixCreate Rationale: if the user realizes that (s)he doesn't have the game, or download fails for some reason, etc, the install script would not have created an empty virtual drive (that the user may not even notice until (s)he opens the configuration window) Differences@@ -27,12 +27,14 @@ POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" +# Download / Select GOG setup +POL_Call POL_GoG_setup "$GOGID" "96e71ea03261646f7f5ce4cb27d6a222" + POL_System_SetArch "$WINE_ARCH" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINE_VERSION" -# Download / Select and install GOG setup -POL_Call POL_GoG_setup "$GOGID" "96e71ea03261646f7f5ce4cb27d6a222" +# Install GOG setup POL_Call POL_GoG_install cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg" New source code#!/bin/bash # Date : (2014-10-05 19:57) # Date : (2014-10-07 16:28) # Wine version used : 1.6.2-dos_support_0.6 # Distribution used to test : Ubuntu 14.04 Trusty x64 + Debian 7.0 Wheezy x64 # Author : med_freeman # Licence : Retail # Only For : http://www.playonlinux.com [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="GOG.com - Rayman Forever" PREFIX="RaymanForever_gog" GOGID="rayman_forever" EDITOR="Ubisoft" GAME_URL="http://rayman.ubi.com/legends/" AUTHOR="med_freeman" WINE_VERSION="1.6.2-dos_support_0.6" WINE_ARCH="x86" 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 2293 POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Download / Select GOG setup POL_Call POL_GoG_setup "$GOGID" "96e71ea03261646f7f5ce4cb27d6a222" POL_System_SetArch "$WINE_ARCH" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINE_VERSION" # Install GOG setup POL_Call POL_GoG_install cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg" manual_mount=true dosbox_machine=svga_s3 dosbox_captures=capture dosbox_memsize=16 cpu_core=simple cpu_cputype=pentium_slow cpu_cycles=15000 mixer_rate=22050 mixer_blocksize=2048 mixer_prebuffer=80 sblaster_sbtype=sb16 sblaster_sbbase=220 sblaster_irq=7 sblaster_dma=1 sblaster_hdma=5 sblaster_mixer=true sblaster_oplmode=auto sblaster_oplrate=22050 _EOFCFG_ # cd to game folder cd "$GOGROOT/Rayman Forever" # we need this to have the in-game music # symlink ogg files down one folder, or mscdex doesn't recognize it ln -s Music/*.ogg . # edit game.inst to remove ogg paths, save to cue extension or mscdex doesn't recognize it sed -e 's/Music\\//g' game.inst > game.cue # use dos long dir aliases, fix for mscdex path too long, we need this to have the in-game music cat <<_EOFAE_ > "$WINEPREFIX/drive_c/autoexec.bat" imgmount E "C:\GOGGAM~1\RAYMAN~1\game.cue" -t cdrom _EOFAE_ # Different games in the installer RAYMAN="Rayman" RAYMAN_DE="Rayman Designer" RAYMAN_DE_MAPPER="Rayman Designer Mapper" RAYMAN_FANS="Rayman by His Fans" # Rayman POL_Shortcut "RAYMAN.EXE" "$RAYMAN" "$RAYMAN.png" "" "Game;PlatformGame;" # Rayman Designer POL_Shortcut "RAYKIT.EXE" "$RAYMAN_DE" "$RAYMAN_DE.png" "ver=usa" "Game;PlatformGame;" # Rayman Designer Mapper POL_Shortcut "MAPPER.EXE" "$RAYMAN_DE_MAPPER" "" "ver=usa" "Game;PlatformGame;" # Rayman by His Fans POL_Shortcut "RAYFAN.EXE" "$RAYMAN_FANS" "$RAYMAN_FANS.png" "ver=usa" "Game;PlatformGame;" # Manual POL_Shortcut_Document "$RAYMAN" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE_MAPPER" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_FANS" "$GOGROOT/Rayman Forever/Manual.pdf" POL_SetupWindow_Close exit 0 RepliesWednesday 8 October 2014 at 0:44
|
petch | Tuesday 7 October 2014 at 20:52 |
petch
|
WarningThis update has not been approved yet by the team. Message- 3rd parameter of POL_Shortcut is the name of the shortcut icon on the web server, if any - temp directory not used - gdiplus already installed by POL_GoG_install script Differences@@ -28,14 +28,9 @@ POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_System_SetArch "$WINE_ARCH" -POL_System_TmpCreate "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINE_VERSION" -# Install gdiplus, needed for GOG installer -POL_Call POL_Install_gdiplus -POL_Wine_OverrideDLL "native" "gdiplus" - # Download / Select and install GOG setup POL_Call POL_GoG_setup "$GOGID" "96e71ea03261646f7f5ce4cb27d6a222" POL_Call POL_GoG_install @@ -81,19 +76,18 @@ RAYMAN_FANS="Rayman by His Fans" # Rayman -POL_Shortcut "RAYMAN.EXE" "$RAYMAN" "$RAYMAN" "" "Game;PlatformGame;" +POL_Shortcut "RAYMAN.EXE" "$RAYMAN" "$RAYMAN.png" "" "Game;PlatformGame;" # Rayman Designer -POL_Shortcut "RAYKIT.EXE" "$RAYMAN_DE" "$RAYMAN_DE" "ver=usa" "Game;PlatformGame;" +POL_Shortcut "RAYKIT.EXE" "$RAYMAN_DE" "$RAYMAN_DE.png" "ver=usa" "Game;PlatformGame;" # Rayman Designer Mapper POL_Shortcut "MAPPER.EXE" "$RAYMAN_DE_MAPPER" "" "ver=usa" "Game;PlatformGame;" # Rayman by His Fans -POL_Shortcut "RAYFAN.EXE" "$RAYMAN_FANS" "$RAYMAN_FANS" "ver=usa" "Game;PlatformGame;" +POL_Shortcut "RAYFAN.EXE" "$RAYMAN_FANS" "$RAYMAN_FANS.png" "ver=usa" "Game;PlatformGame;" # Manual POL_Shortcut_Document "$RAYMAN" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE_MAPPER" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_FANS" "$GOGROOT/Rayman Forever/Manual.pdf" -POL_System_TmpDelete POL_SetupWindow_Close exit 0 New source code#!/bin/bash # Date : (2014-10-05 19:57) # Date : (2014-10-07 16:28) # Wine version used : 1.6.2-dos_support_0.6 # Distribution used to test : Ubuntu 14.04 Trusty x64 + Debian 7.0 Wheezy x64 # Author : med_freeman # Licence : Retail # Only For : http://www.playonlinux.com [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="GOG.com - Rayman Forever" PREFIX="RaymanForever_gog" GOGID="rayman_forever" EDITOR="Ubisoft" GAME_URL="http://rayman.ubi.com/legends/" AUTHOR="med_freeman" WINE_VERSION="1.6.2-dos_support_0.6" WINE_ARCH="x86" 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 2293 POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_System_SetArch "$WINE_ARCH" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINE_VERSION" # Download / Select and install GOG setup POL_Call POL_GoG_setup "$GOGID" "96e71ea03261646f7f5ce4cb27d6a222" POL_Call POL_GoG_install cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg" manual_mount=true dosbox_machine=svga_s3 dosbox_captures=capture dosbox_memsize=16 cpu_core=simple cpu_cputype=pentium_slow cpu_cycles=15000 mixer_rate=22050 mixer_blocksize=2048 mixer_prebuffer=80 sblaster_sbtype=sb16 sblaster_sbbase=220 sblaster_irq=7 sblaster_dma=1 sblaster_hdma=5 sblaster_mixer=true sblaster_oplmode=auto sblaster_oplrate=22050 _EOFCFG_ # cd to game folder cd "$GOGROOT/Rayman Forever" # we need this to have the in-game music # symlink ogg files down one folder, or mscdex doesn't recognize it ln -s Music/*.ogg . # edit game.inst to remove ogg paths, save to cue extension or mscdex doesn't recognize it sed -e 's/Music\\//g' game.inst > game.cue # use dos long dir aliases, fix for mscdex path too long, we need this to have the in-game music cat <<_EOFAE_ > "$WINEPREFIX/drive_c/autoexec.bat" imgmount E "C:\GOGGAM~1\RAYMAN~1\game.cue" -t cdrom _EOFAE_ # Different games in the installer RAYMAN="Rayman" RAYMAN_DE="Rayman Designer" RAYMAN_DE_MAPPER="Rayman Designer Mapper" RAYMAN_FANS="Rayman by His Fans" # Rayman POL_Shortcut "RAYMAN.EXE" "$RAYMAN" "$RAYMAN.png" "" "Game;PlatformGame;" # Rayman Designer POL_Shortcut "RAYKIT.EXE" "$RAYMAN_DE" "$RAYMAN_DE.png" "ver=usa" "Game;PlatformGame;" # Rayman Designer Mapper POL_Shortcut "MAPPER.EXE" "$RAYMAN_DE_MAPPER" "" "ver=usa" "Game;PlatformGame;" # Rayman by His Fans POL_Shortcut "RAYFAN.EXE" "$RAYMAN_FANS" "$RAYMAN_FANS.png" "ver=usa" "Game;PlatformGame;" # Manual POL_Shortcut_Document "$RAYMAN" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE_MAPPER" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_FANS" "$GOGROOT/Rayman Forever/Manual.pdf" POL_SetupWindow_Close exit 0 Replies |
petch | Tuesday 7 October 2014 at 20:45 |
petch
|
WarningThis update has not been approved yet by the team. Message- For debugger support to work, $TITLE has to match script name in the repository Differences@@ -10,7 +10,7 @@ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" -TITLE="Rayman Forever" +TITLE="GOG.com - Rayman Forever" PREFIX="RaymanForever_gog" GOGID="rayman_forever" EDITOR="Ubisoft" @@ -62,7 +62,7 @@ _EOFCFG_ # cd to game folder -cd "$GOGROOT/$TITLE" +cd "$GOGROOT/Rayman Forever" # we need this to have the in-game music # symlink ogg files down one folder, or mscdex doesn't recognize it ln -s Music/*.ogg . @@ -89,10 +89,10 @@ # Rayman by His Fans POL_Shortcut "RAYFAN.EXE" "$RAYMAN_FANS" "$RAYMAN_FANS" "ver=usa" "Game;PlatformGame;" # Manual -POL_Shortcut_Document "$RAYMAN" "$GOGROOT/$TITLE/Manual.pdf" -POL_Shortcut_Document "$RAYMAN_DE" "$GOGROOT/$TITLE/Manual.pdf" -POL_Shortcut_Document "$RAYMAN_DE_MAPPER" "$GOGROOT/$TITLE/Manual.pdf" -POL_Shortcut_Document "$RAYMAN_FANS" "$GOGROOT/$TITLE/Manual.pdf" +POL_Shortcut_Document "$RAYMAN" "$GOGROOT/Rayman Forever/Manual.pdf" +POL_Shortcut_Document "$RAYMAN_DE" "$GOGROOT/Rayman Forever/Manual.pdf" +POL_Shortcut_Document "$RAYMAN_DE_MAPPER" "$GOGROOT/Rayman Forever/Manual.pdf" +POL_Shortcut_Document "$RAYMAN_FANS" "$GOGROOT/Rayman Forever/Manual.pdf" POL_System_TmpDelete POL_SetupWindow_Close New source code#!/bin/bash # Date : (2014-10-05 19:57) # Date : (2014-10-07 16:28) # Wine version used : 1.6.2-dos_support_0.6 # Distribution used to test : Ubuntu 14.04 Trusty x64 + Debian 7.0 Wheezy x64 # Author : med_freeman # Licence : Retail # Only For : http://www.playonlinux.com [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="GOG.com - Rayman Forever" PREFIX="RaymanForever_gog" GOGID="rayman_forever" EDITOR="Ubisoft" GAME_URL="http://rayman.ubi.com/legends/" AUTHOR="med_freeman" WINE_VERSION="1.6.2-dos_support_0.6" WINE_ARCH="x86" 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 2293 POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_System_SetArch "$WINE_ARCH" POL_System_TmpCreate "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINE_VERSION" # Install gdiplus, needed for GOG installer POL_Call POL_Install_gdiplus POL_Wine_OverrideDLL "native" "gdiplus" # Download / Select and install GOG setup POL_Call POL_GoG_setup "$GOGID" "96e71ea03261646f7f5ce4cb27d6a222" POL_Call POL_GoG_install cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg" manual_mount=true dosbox_machine=svga_s3 dosbox_captures=capture dosbox_memsize=16 cpu_core=simple cpu_cputype=pentium_slow cpu_cycles=15000 mixer_rate=22050 mixer_blocksize=2048 mixer_prebuffer=80 sblaster_sbtype=sb16 sblaster_sbbase=220 sblaster_irq=7 sblaster_dma=1 sblaster_hdma=5 sblaster_mixer=true sblaster_oplmode=auto sblaster_oplrate=22050 _EOFCFG_ # cd to game folder cd "$GOGROOT/Rayman Forever" # we need this to have the in-game music # symlink ogg files down one folder, or mscdex doesn't recognize it ln -s Music/*.ogg . # edit game.inst to remove ogg paths, save to cue extension or mscdex doesn't recognize it sed -e 's/Music\\//g' game.inst > game.cue # use dos long dir aliases, fix for mscdex path too long, we need this to have the in-game music cat <<_EOFAE_ > "$WINEPREFIX/drive_c/autoexec.bat" imgmount E "C:\GOGGAM~1\RAYMAN~1\game.cue" -t cdrom _EOFAE_ # Different games in the installer RAYMAN="Rayman" RAYMAN_DE="Rayman Designer" RAYMAN_DE_MAPPER="Rayman Designer Mapper" RAYMAN_FANS="Rayman by His Fans" # Rayman POL_Shortcut "RAYMAN.EXE" "$RAYMAN" "$RAYMAN" "" "Game;PlatformGame;" # Rayman Designer POL_Shortcut "RAYKIT.EXE" "$RAYMAN_DE" "$RAYMAN_DE" "ver=usa" "Game;PlatformGame;" # Rayman Designer Mapper POL_Shortcut "MAPPER.EXE" "$RAYMAN_DE_MAPPER" "" "ver=usa" "Game;PlatformGame;" # Rayman by His Fans POL_Shortcut "RAYFAN.EXE" "$RAYMAN_FANS" "$RAYMAN_FANS" "ver=usa" "Game;PlatformGame;" # Manual POL_Shortcut_Document "$RAYMAN" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE_MAPPER" "$GOGROOT/Rayman Forever/Manual.pdf" POL_Shortcut_Document "$RAYMAN_FANS" "$GOGROOT/Rayman Forever/Manual.pdf" POL_System_TmpDelete POL_SetupWindow_Close exit 0 Replies |
petch | Tuesday 7 October 2014 at 20:31 |
petch
|
WarningThis update has not been approved yet by the team. Message- Adding POL_SetupWindow_SetID - Successful completion message are depreciated, as they test nothing so will show up even if the script totally screwed up. Let just PlayOnLinux display an error dialog box if some problem has been detected during the installation. Differences@@ -21,6 +21,7 @@ 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 2293 POL_Debug_Init @@ -93,8 +94,6 @@ POL_Shortcut_Document "$RAYMAN_DE_MAPPER" "$GOGROOT/$TITLE/Manual.pdf" POL_Shortcut_Document "$RAYMAN_FANS" "$GOGROOT/$TITLE/Manual.pdf" -POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" - POL_System_TmpDelete POL_SetupWindow_Close exit 0 New source code#!/bin/bash # Date : (2014-10-05 19:57) # Date : (2014-10-07 16:28) # Wine version used : 1.6.2-dos_support_0.6 # Distribution used to test : Ubuntu 14.04 Trusty x64 + Debian 7.0 Wheezy x64 # Author : med_freeman # Licence : Retail # Only For : http://www.playonlinux.com [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Rayman Forever" PREFIX="RaymanForever_gog" GOGID="rayman_forever" EDITOR="Ubisoft" GAME_URL="http://rayman.ubi.com/legends/" AUTHOR="med_freeman" WINE_VERSION="1.6.2-dos_support_0.6" WINE_ARCH="x86" 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 2293 POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_System_SetArch "$WINE_ARCH" POL_System_TmpCreate "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINE_VERSION" # Install gdiplus, needed for GOG installer POL_Call POL_Install_gdiplus POL_Wine_OverrideDLL "native" "gdiplus" # Download / Select and install GOG setup POL_Call POL_GoG_setup "$GOGID" "96e71ea03261646f7f5ce4cb27d6a222" POL_Call POL_GoG_install cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg" manual_mount=true dosbox_machine=svga_s3 dosbox_captures=capture dosbox_memsize=16 cpu_core=simple cpu_cputype=pentium_slow cpu_cycles=15000 mixer_rate=22050 mixer_blocksize=2048 mixer_prebuffer=80 sblaster_sbtype=sb16 sblaster_sbbase=220 sblaster_irq=7 sblaster_dma=1 sblaster_hdma=5 sblaster_mixer=true sblaster_oplmode=auto sblaster_oplrate=22050 _EOFCFG_ # cd to game folder cd "$GOGROOT/$TITLE" # we need this to have the in-game music # symlink ogg files down one folder, or mscdex doesn't recognize it ln -s Music/*.ogg . # edit game.inst to remove ogg paths, save to cue extension or mscdex doesn't recognize it sed -e 's/Music\\//g' game.inst > game.cue # use dos long dir aliases, fix for mscdex path too long, we need this to have the in-game music cat <<_EOFAE_ > "$WINEPREFIX/drive_c/autoexec.bat" imgmount E "C:\GOGGAM~1\RAYMAN~1\game.cue" -t cdrom _EOFAE_ # Different games in the installer RAYMAN="Rayman" RAYMAN_DE="Rayman Designer" RAYMAN_DE_MAPPER="Rayman Designer Mapper" RAYMAN_FANS="Rayman by His Fans" # Rayman POL_Shortcut "RAYMAN.EXE" "$RAYMAN" "$RAYMAN" "" "Game;PlatformGame;" # Rayman Designer POL_Shortcut "RAYKIT.EXE" "$RAYMAN_DE" "$RAYMAN_DE" "ver=usa" "Game;PlatformGame;" # Rayman Designer Mapper POL_Shortcut "MAPPER.EXE" "$RAYMAN_DE_MAPPER" "" "ver=usa" "Game;PlatformGame;" # Rayman by His Fans POL_Shortcut "RAYFAN.EXE" "$RAYMAN_FANS" "$RAYMAN_FANS" "ver=usa" "Game;PlatformGame;" # Manual POL_Shortcut_Document "$RAYMAN" "$GOGROOT/$TITLE/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE" "$GOGROOT/$TITLE/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE_MAPPER" "$GOGROOT/$TITLE/Manual.pdf" POL_Shortcut_Document "$RAYMAN_FANS" "$GOGROOT/$TITLE/Manual.pdf" POL_System_TmpDelete POL_SetupWindow_Close exit 0 Replies |
med_freeman | Tuesday 7 October 2014 at 16:54 |
med_freeman
|
WarningThis update has not been approved yet by the team. Differences@@ -0,0 +1,100 @@ +#!/bin/bash +# Date : (2014-10-05 19:57) +# Date : (2014-10-07 16:28) +# Wine version used : 1.6.2-dos_support_0.6 +# Distribution used to test : Ubuntu 14.04 Trusty x64 + Debian 7.0 Wheezy x64 +# Author : med_freeman +# Licence : Retail +# Only For : http://www.playonlinux.com + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Rayman Forever" +PREFIX="RaymanForever_gog" +GOGID="rayman_forever" +EDITOR="Ubisoft" +GAME_URL="http://rayman.ubi.com/legends/" +AUTHOR="med_freeman" +WINE_VERSION="1.6.2-dos_support_0.6" +WINE_ARCH="x86" + +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_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + +POL_System_SetArch "$WINE_ARCH" +POL_System_TmpCreate "$PREFIX" +POL_Wine_SelectPrefix "$PREFIX" +POL_Wine_PrefixCreate "$WINE_VERSION" + +# Install gdiplus, needed for GOG installer +POL_Call POL_Install_gdiplus +POL_Wine_OverrideDLL "native" "gdiplus" + +# Download / Select and install GOG setup +POL_Call POL_GoG_setup "$GOGID" "96e71ea03261646f7f5ce4cb27d6a222" +POL_Call POL_GoG_install + +cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg" +manual_mount=true +dosbox_machine=svga_s3 +dosbox_captures=capture +dosbox_memsize=16 +cpu_core=simple +cpu_cputype=pentium_slow +cpu_cycles=15000 +mixer_rate=22050 +mixer_blocksize=2048 +mixer_prebuffer=80 +sblaster_sbtype=sb16 +sblaster_sbbase=220 +sblaster_irq=7 +sblaster_dma=1 +sblaster_hdma=5 +sblaster_mixer=true +sblaster_oplmode=auto +sblaster_oplrate=22050 +_EOFCFG_ + +# cd to game folder +cd "$GOGROOT/$TITLE" +# we need this to have the in-game music +# symlink ogg files down one folder, or mscdex doesn't recognize it +ln -s Music/*.ogg . +# edit game.inst to remove ogg paths, save to cue extension or mscdex doesn't recognize it +sed -e 's/Music\\//g' game.inst > game.cue + +# use dos long dir aliases, fix for mscdex path too long, we need this to have the in-game music +cat <<_EOFAE_ > "$WINEPREFIX/drive_c/autoexec.bat" +imgmount E "C:\GOGGAM~1\RAYMAN~1\game.cue" -t cdrom +_EOFAE_ + +# Different games in the installer +RAYMAN="Rayman" +RAYMAN_DE="Rayman Designer" +RAYMAN_DE_MAPPER="Rayman Designer Mapper" +RAYMAN_FANS="Rayman by His Fans" + +# Rayman +POL_Shortcut "RAYMAN.EXE" "$RAYMAN" "$RAYMAN" "" "Game;PlatformGame;" +# Rayman Designer +POL_Shortcut "RAYKIT.EXE" "$RAYMAN_DE" "$RAYMAN_DE" "ver=usa" "Game;PlatformGame;" +# Rayman Designer Mapper +POL_Shortcut "MAPPER.EXE" "$RAYMAN_DE_MAPPER" "" "ver=usa" "Game;PlatformGame;" +# Rayman by His Fans +POL_Shortcut "RAYFAN.EXE" "$RAYMAN_FANS" "$RAYMAN_FANS" "ver=usa" "Game;PlatformGame;" +# Manual +POL_Shortcut_Document "$RAYMAN" "$GOGROOT/$TITLE/Manual.pdf" +POL_Shortcut_Document "$RAYMAN_DE" "$GOGROOT/$TITLE/Manual.pdf" +POL_Shortcut_Document "$RAYMAN_DE_MAPPER" "$GOGROOT/$TITLE/Manual.pdf" +POL_Shortcut_Document "$RAYMAN_FANS" "$GOGROOT/$TITLE/Manual.pdf" + +POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" + +POL_System_TmpDelete +POL_SetupWindow_Close +exit 0 New source code#!/bin/bash # Date : (2014-10-05 19:57) # Date : (2014-10-07 16:28) # Wine version used : 1.6.2-dos_support_0.6 # Distribution used to test : Ubuntu 14.04 Trusty x64 + Debian 7.0 Wheezy x64 # Author : med_freeman # Licence : Retail # Only For : http://www.playonlinux.com [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Rayman Forever" PREFIX="RaymanForever_gog" GOGID="rayman_forever" EDITOR="Ubisoft" GAME_URL="http://rayman.ubi.com/legends/" AUTHOR="med_freeman" WINE_VERSION="1.6.2-dos_support_0.6" WINE_ARCH="x86" 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_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_System_SetArch "$WINE_ARCH" POL_System_TmpCreate "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINE_VERSION" # Install gdiplus, needed for GOG installer POL_Call POL_Install_gdiplus POL_Wine_OverrideDLL "native" "gdiplus" # Download / Select and install GOG setup POL_Call POL_GoG_setup "$GOGID" "96e71ea03261646f7f5ce4cb27d6a222" POL_Call POL_GoG_install cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg" manual_mount=true dosbox_machine=svga_s3 dosbox_captures=capture dosbox_memsize=16 cpu_core=simple cpu_cputype=pentium_slow cpu_cycles=15000 mixer_rate=22050 mixer_blocksize=2048 mixer_prebuffer=80 sblaster_sbtype=sb16 sblaster_sbbase=220 sblaster_irq=7 sblaster_dma=1 sblaster_hdma=5 sblaster_mixer=true sblaster_oplmode=auto sblaster_oplrate=22050 _EOFCFG_ # cd to game folder cd "$GOGROOT/$TITLE" # we need this to have the in-game music # symlink ogg files down one folder, or mscdex doesn't recognize it ln -s Music/*.ogg . # edit game.inst to remove ogg paths, save to cue extension or mscdex doesn't recognize it sed -e 's/Music\\//g' game.inst > game.cue # use dos long dir aliases, fix for mscdex path too long, we need this to have the in-game music cat <<_EOFAE_ > "$WINEPREFIX/drive_c/autoexec.bat" imgmount E "C:\GOGGAM~1\RAYMAN~1\game.cue" -t cdrom _EOFAE_ # Different games in the installer RAYMAN="Rayman" RAYMAN_DE="Rayman Designer" RAYMAN_DE_MAPPER="Rayman Designer Mapper" RAYMAN_FANS="Rayman by His Fans" # Rayman POL_Shortcut "RAYMAN.EXE" "$RAYMAN" "$RAYMAN" "" "Game;PlatformGame;" # Rayman Designer POL_Shortcut "RAYKIT.EXE" "$RAYMAN_DE" "$RAYMAN_DE" "ver=usa" "Game;PlatformGame;" # Rayman Designer Mapper POL_Shortcut "MAPPER.EXE" "$RAYMAN_DE_MAPPER" "" "ver=usa" "Game;PlatformGame;" # Rayman by His Fans POL_Shortcut "RAYFAN.EXE" "$RAYMAN_FANS" "$RAYMAN_FANS" "ver=usa" "Game;PlatformGame;" # Manual POL_Shortcut_Document "$RAYMAN" "$GOGROOT/$TITLE/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE" "$GOGROOT/$TITLE/Manual.pdf" POL_Shortcut_Document "$RAYMAN_DE_MAPPER" "$GOGROOT/$TITLE/Manual.pdf" POL_Shortcut_Document "$RAYMAN_FANS" "$GOGROOT/$TITLE/Manual.pdf" POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" POL_System_TmpDelete POL_SetupWindow_Close exit 0 RepliesTuesday 7 October 2014 at 17:03
Tuesday 7 October 2014 at 17:03
|
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com