Turrican II - The Final Fight

Informations

Creator Message
gnu32 Anonymous

Warning

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

Informations

Platforms:
Downloads: 95
Wine:

Feedbacks

Description

«Turrican», un nom qui doit rappeler des souvenirs aux plus anciens. En 1990, cette bombe débarque sur les micros et remporte un énorme succés. Bien entendu, une suite devait voir le jour et c’est en 1991 que débarque «Turrican 2». Factor 5 ne fait pas dans la dentelle. «Turrican 2», c’est le premier épisode à la puissance dix. Tout est mieux, le graphisme, le son, la jouabilité, les niveaux... Tout est fait pour coller au rythme du premier épisode tout en réinventant l’intérêt du titre au fil des niveaux. Ainsi, on passe d’un jeu d’action à un shoot-them-up pour revenir à des passages très plates-formes.

Mais attardons-nous sur cette version PC. Sortie 4 ans après la première mouture, «Turrican 2» revient dans une version qui n’a pas à rougir devant la version Amiga. Même la musique, pour peu que l’on possède une bonne carte son, est au rendez-vous et on retrouve ce qui à fait le charme du jeu. La version PC n’a vraiment rien perdu dans la conversion. En revanche, le graphisme peut choquer sur certains aspects. C’est tellement fin et joli que les sprites en deviennent pratiquement trop jolis par rapport à l’univers qu’on avait découvert sur les micros 8 / 16 bits. La palme revenant au personnage principal, qui possède maintenant des oreilles relativement grandes... Ce n’est qu’un détail, mais quand on connaît la version Amiga, on voit tout de suite de quoi je veux parler. J’ai également relevé quelques bugs comme celui de passer par-dessus un élément de décor et de rester coincé dans celui-ci… Enervant surtout quand on vient de passer plusieurs niveaux.

L’armement dans «Turrican» est relativement complet et les bonus tombent de partout pour vous en faire profiter au maximum. Petit conseil, tirer un peu partout est une technique comme une autre pour tomber sur une "brique bonus"... Mode de tirs multiples, laser, tir bounce, rayon plasma directionnel… Ajoutons à cela la ligne d’énergie, les mines et la bombe utilisable une fois par vie et nous avons de quoi faire pour un moment. Et «Turrican» ne serait pas complet sans la transformation en scie circulaire dévastatrice... Si si, vous avez bien lu. Et un petit plus qui va rappeler une technique du plombier de chez Nintendo : le saut sur la tête des ennemis ! Mais attention, ce n’est pas possible sur tous les ennemis. Le pad est géré et même recommandé !

Avec tout ça, ne croyez pas finir le jeu en deux temps trois mouvements. C’est relativement dur et le rythme pousse le joueur à toujours rester attentif à ce qu’il fait. Les ennemis sont nombreux et diversifiés. Les niveaux sont immenses et se perdre est chose courante surtout quand on y joue pour la première fois.

Nous avons donc là un jeu mythique, un peu en retard, mais qu’il faut à tout prix essayer.
 

source : http://www.abandonware-france.org/

Source code

#!/bin/bash
# Date : (2016-03-24 21-00)
# Last revision : (2013-08-24 19-14)
# Wine version used : 1.6.2-dos_support_0.6
# Distribution used to test : Linux Mint 17.3 Rosa
# PlayOnLinux: 4.2.2
# Author : GNU32
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Turrican II - The Final Fight"
PREFIX="TurricanII"
WINEVERSION="1.6.2-dos_support_0.6"
AUTHOR="GNU32"
GAME_URL="http://www.abandonware-utopia.com/abandonware-telecharger-118-Turrican_II_The_Final_Fight.htm"
GAME_EDITOR="Rainbow Arts"
 
if [ "$POL_LANG" == "fr" ]; then
    LNG_INSTALL_INFO1="a été installé avec succès."
    LNG_INSTALL_INFO2="Il suffit d'appuyer sur la touche "Entrée" après chaque lancement pour pouvoir démarrer le jeu."
    LNG_INSTALL_INFO3="Bon jeu à tous."
    LNG_INSTALL_INFO4="Pour le bon déroulement de l'installation veuillez laissez les options proposées par défaut."
else
    LNG_INSTALL_INFO1="has been installed successfully."
    LNG_INSTALL_INFO2="Just press the "Enter" key after each launch to be able to start the game."
    LNG_INSTALL_INFO3="Good luck with the game."
    LNG_INSTALL_INFO4="For the proper functioning of the installation please leave the default options."
fi
 
POL_SetupWindow_Init
POL_Debug_Init
 
# Présentation
POL_SetupWindow_presentation \
    "${TITLE}" \
    "${GAME_EDITOR}" \
    "${GAME_URL}" \
    "${AUTHOR}" \
    "${PREFIX}"
 
# Creation du Préfixe
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "${PREFIX}"
POL_Wine_PrefixCreate "${WINEVERSION}"
 
# Dosbox config
cat <<_EOF_ > "$WINEPREFIX/playonlinux_dos.cfg"
manual_mount=true
sdl_fullscreen=true
sdl_fulldouble=true
sdl_fullresolution=original
sdl_windowresolution=original
sdl_output=overlay
sdl_autolock=true
sdl_sensitivity=100
sdl_waitonerror=true
sdl_priority="highest,highest"
sdl_mapperfile=mapper.txt
sdl_usescancodes=true
dosbox_language=
dosbox_machine=vga
dosbox_memsize=64
dosbox_captures=capture
render_frameskip=0
render_scaler=normal2x
render_aspect=true
cpu_core=auto
cpu_cycles=auto
cpu_cycleup=500
cpu_cycledown=20
mixer_nosound=false
mixer_rate=44100
mixer_blocksize=2048
mixer_prebuffer=10
midi_mpu401=intelligent
midi_device=default
sblaster_sbtype=sb16
sblaster_sbbase=220
sblaster_irq=7
sblaster_dma=1
sblaster_hdma=1
sblaster_mixer=true
sblaster_oplrate=22050
sblaster_oplmode=auto
gus_gus=false
dos_keyboardlayout=FR
_EOF_
 
POL_SetupWindow_menu "Veuillez choisir votre mirroir de téléchargement" "Liste des mirroirs" "http://rares.abandons.org/|http://www.abandonware-utopia.com/" "|"
 
# Téléchargement
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
 
if [ "$APP_ANSWER" = "http://www.abandonware-utopia.com/" ]
then
    POL_Download "http://www.abandonware-utopia.com/pages/telechargement/jeux/Turrican%20II%20-%20The%20Final%20Fight.7z" "b8eb9636f7e2fd06da8932956c6eff7b"
    7z x "Turrican%20II%20-%20The%20Final%20Fight.7z" -o"$WINEPREFIX/drive_c"
    mv "$WINEPREFIX/drive_c/Turrican II - The Final Fight" "$WINEPREFIX/drive_c/turrican"
    cp -a "$WINEPREFIX/drive_c/turrican/CFG/ENGLISH.LNG" "$WINEPREFIX/drive_c/turrican/ENGLISH.LNG"
 
    if type -t POL_unbase64 > /dev/null; then
            POL_unbase64 <<-'_EOF_' > "$WINEPREFIX/drive_c/turrican/TURRICAN.CFG"
ICAgICAgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCiAgICAgID09PSBTVU4gUFJPSkVDVCBDT05GSUcgRklMRSBGT1IgVFVSUklDQU4gSUkgUEMgPT09DQogICAgICA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgU09VTkQgU0VUVVAgIyMjIyMjIyMjIw0KDQpDYXJkTmFtZT1DcmVhdGl2ZSBMYWJzIFNvdW5kQmxhc3RlciAgICANClNvdW5kRHJpdmVyPVNCLk1TRA0KUG9ydD01NDQNCkludGVycnVwdD03DQpETUFDaGFubmVsPTENClBsYXlpbmdGcmVxdWVuY3k9MjIwMDANCg0KIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIFZJREVPIFNFVFVQICMjIyMjIyMjIyMNCg0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQohISEgV0FSTklORyA6IERPIE5PVCBNT0RJRlkgVEhFU0UgVkFMVUVTICAhISENCiEhISAgICAgICAgICAgWU9VIENBTiBEQU1BR0UgWU9VUiBNT05JVE9SICEhIQ0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQoNClZpZGVvTW9kZT02MA0KVmVydGljYWxUb3RhbD01MjcNClZlcnRpY2FsQ2VudGVyPTQ5MA0KSG9yaXpvbnRhbENlbnRlcj04NA0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgSU5QVVQgREVWSUNFIFNFVFVQICMjIw0KDQpJbnB1dERldmljZT0wDQpKb3lDYWwxPTANCkpveUNhbDI9MA0KSm95Q2FsMz0wDQpKb3lDYWw0PTANCg0KDQo=
    _EOF_
    fi
 
cat <<_EOF_ > "$WINEPREFIX/drive_c/autoexec.bat"
@echo off
keyb fr
cls
echo.-----------------------------------------------
echo                  Turrican II
echo          www.abandonware-utopia.com
echo.-----------------------------------------------
echo                  DOSBox v0.74
echo.-----------------------------------------------
echo   Commandes de base pour Dosbox :
echo   ALT  + ENTREE - MODE PLEIN ECRAN/FENETRE
echo   CTRL + F5     - CAPTURE D'ECRAN
echo   CTRL + F10    - CAPTURER/LIBERER LE CURSEUR
echo   CTRL + F12/11 - AUGMENTER/REDUIRE LA VITESSE
echo   CTRL + F9     - QUITER DOSBOX
echo.-----------------------------------------------
echo.  
echo.
pause
_EOF_
 
    POL_Shortcut "T2.EXE" "$TITLE"
 
elif [ "$APP_ANSWER" = "http://rares.abandons.org/" ]
then
    POL_Download "http://rares.abandons.org/fichiers/jeux/1994-1995/setup-00914-Turrican2-PCDOS.exe" "efefedc43294e123807ef642980e14b5"
    POL_SetupWindow_message "$LNG_INSTALL_INFO4" "$TITLE"
    POL_Wine "$POL_System_TmpDir/setup-00914-Turrican2-PCDOS.exe"
 
    if type -t POL_unbase64 > /dev/null; then
            POL_unbase64 <<-'_EOF_' > "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/C/TURRICAN.CFG/TURRICAN.CFG"
ICAgICAgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCiAgICAgID09PSBTVU4gUFJPSkVDVCBDT05GSUcgRklMRSBGT1IgVFVSUklDQU4gSUkgUEMgPT09DQogICAgICA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgU09VTkQgU0VUVVAgIyMjIyMjIyMjIw0KDQpDYXJkTmFtZT1DcmVhdGl2ZSBMYWJzIFNvdW5kQmxhc3RlciAgICANClNvdW5kRHJpdmVyPVNCLk1TRA0KUG9ydD01NDQNCkludGVycnVwdD03DQpETUFDaGFubmVsPTENClBsYXlpbmdGcmVxdWVuY3k9MjIwMDANCg0KIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIFZJREVPIFNFVFVQICMjIyMjIyMjIyMNCg0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQohISEgV0FSTklORyA6IERPIE5PVCBNT0RJRlkgVEhFU0UgVkFMVUVTICAhISENCiEhISAgICAgICAgICAgWU9VIENBTiBEQU1BR0UgWU9VUiBNT05JVE9SICEhIQ0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQoNClZpZGVvTW9kZT02MA0KVmVydGljYWxUb3RhbD01MjcNClZlcnRpY2FsQ2VudGVyPTQ5MA0KSG9yaXpvbnRhbENlbnRlcj04NA0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgSU5QVVQgREVWSUNFIFNFVFVQICMjIw0KDQpJbnB1dERldmljZT0wDQpKb3lDYWwxPTANCkpveUNhbDI9MA0KSm95Q2FsMz0wDQpKb3lDYWw0PTANCg0KDQo=
    _EOF_
    fi
 
cat <<_EOF_ > "$WINEPREFIX/drive_c/autoexec.bat"
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
@echo off
keyb fr
mount -u c
mount c "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/C" -label harddisk
imgmount d "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/CD/Turric2.iso" -t iso -fs iso
cls
echo.-----------------------------------------------
echo                  Turrican II
echo.              Version CD anglaise                   
echo          www.abandonware-france.org       
echo.-----------------------------------------------
echo                  DOSBox v0.74
echo.-----------------------------------------------
echo   Commandes de base pour Dosbox :
echo   ALT  + ENTREE - MODE PLEIN ECRAN/FENETRE
echo   CTRL + F5     - CAPTURE D'ECRAN
echo   CTRL + F10    - CAPTURER/LIBERER LE CURSEUR
echo   CTRL + F12/11 - AUGMENTER/REDUIRE LA VITESSE
echo   CTRL + F9     - QUITER DOSBOX
echo.-----------------------------------------------
echo.  
echo.
pause
c:
t2
exit
_EOF_
    POL_Shortcut "Turrican2.bat" "$TITLE"
fi
 
POL_SetupWindow_message "$TITLE $LNG_INSTALL_INFO1\\n\\n\\n$LNG_INSTALL_INFO2\\n\\n$LNG_INSTALL_INFO3" "$TITLE"
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
gnu32 Friday 25 March 2016 at 14:46
gnu32 Anonymous

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,181 @@
+#!/bin/bash
+# Date : (2016-03-24 21-00)
+# Last revision : (2013-08-24 19-14)
+# Wine version used : 1.6.2-dos_support_0.6
+# Distribution used to test : Linux Mint 17.3 Rosa
+# PlayOnLinux: 4.2.2
+# Author : GNU32
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Turrican II - The Final Fight"
+PREFIX="TurricanII"
+WINEVERSION="1.6.2-dos_support_0.6"
+AUTHOR="GNU32"
+GAME_URL="http://www.abandonware-utopia.com/abandonware-telecharger-118-Turrican_II_The_Final_Fight.htm"
+GAME_EDITOR="Rainbow Arts"
+ 
+if [ "$POL_LANG" == "fr" ]; then
+    LNG_INSTALL_INFO1="a été installé avec succès."
+    LNG_INSTALL_INFO2="Il suffit d'appuyer sur la touche "Entrée" après chaque lancement pour pouvoir démarrer le jeu."
+    LNG_INSTALL_INFO3="Bon jeu à tous."
+    LNG_INSTALL_INFO4="Pour le bon déroulement de l'installation veuillez laissez les options proposées par défaut."
+else
+    LNG_INSTALL_INFO1="has been installed successfully."
+    LNG_INSTALL_INFO2="Just press the "Enter" key after each launch to be able to start the game."
+    LNG_INSTALL_INFO3="Good luck with the game."
+    LNG_INSTALL_INFO4="For the proper functioning of the installation please leave the default options."
+fi
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+# Présentation
+POL_SetupWindow_presentation \
+    "${TITLE}" \
+    "${GAME_EDITOR}" \
+    "${GAME_URL}" \
+    "${AUTHOR}" \
+    "${PREFIX}"
+ 
+# Creation du Préfixe
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "${PREFIX}"
+POL_Wine_PrefixCreate "${WINEVERSION}"
+ 
+# Dosbox config
+cat <<_EOF_ > "$WINEPREFIX/playonlinux_dos.cfg"
+manual_mount=true
+sdl_fullscreen=true
+sdl_fulldouble=true
+sdl_fullresolution=original
+sdl_windowresolution=original
+sdl_output=overlay
+sdl_autolock=true
+sdl_sensitivity=100
+sdl_waitonerror=true
+sdl_priority="highest,highest"
+sdl_mapperfile=mapper.txt
+sdl_usescancodes=true
+dosbox_language=
+dosbox_machine=vga
+dosbox_memsize=64
+dosbox_captures=capture
+render_frameskip=0
+render_scaler=normal2x
+render_aspect=true
+cpu_core=auto
+cpu_cycles=auto
+cpu_cycleup=500
+cpu_cycledown=20
+mixer_nosound=false
+mixer_rate=44100
+mixer_blocksize=2048
+mixer_prebuffer=10
+midi_mpu401=intelligent
+midi_device=default
+sblaster_sbtype=sb16
+sblaster_sbbase=220
+sblaster_irq=7
+sblaster_dma=1
+sblaster_hdma=1
+sblaster_mixer=true
+sblaster_oplrate=22050
+sblaster_oplmode=auto
+gus_gus=false
+dos_keyboardlayout=FR
+_EOF_
+ 
+POL_SetupWindow_menu "Veuillez choisir votre mirroir de téléchargement" "Liste des mirroirs" "http://rares.abandons.org/|http://www.abandonware-utopia.com/" "|"
+ 
+# Téléchargement
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+ 
+if [ "$APP_ANSWER" = "http://www.abandonware-utopia.com/" ]
+then
+    POL_Download "http://www.abandonware-utopia.com/pages/telechargement/jeux/Turrican%20II%20-%20The%20Final%20Fight.7z" "b8eb9636f7e2fd06da8932956c6eff7b"
+    7z x "Turrican%20II%20-%20The%20Final%20Fight.7z" -o"$WINEPREFIX/drive_c"
+    mv "$WINEPREFIX/drive_c/Turrican II - The Final Fight" "$WINEPREFIX/drive_c/turrican"
+    cp -a "$WINEPREFIX/drive_c/turrican/CFG/ENGLISH.LNG" "$WINEPREFIX/drive_c/turrican/ENGLISH.LNG"
+ 
+    if type -t POL_unbase64 > /dev/null; then
+            POL_unbase64 <<-'_EOF_' > "$WINEPREFIX/drive_c/turrican/TURRICAN.CFG"
+ICAgICAgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCiAgICAgID09PSBTVU4gUFJPSkVDVCBDT05GSUcgRklMRSBGT1IgVFVSUklDQU4gSUkgUEMgPT09DQogICAgICA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgU09VTkQgU0VUVVAgIyMjIyMjIyMjIw0KDQpDYXJkTmFtZT1DcmVhdGl2ZSBMYWJzIFNvdW5kQmxhc3RlciAgICANClNvdW5kRHJpdmVyPVNCLk1TRA0KUG9ydD01NDQNCkludGVycnVwdD03DQpETUFDaGFubmVsPTENClBsYXlpbmdGcmVxdWVuY3k9MjIwMDANCg0KIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIFZJREVPIFNFVFVQICMjIyMjIyMjIyMNCg0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQohISEgV0FSTklORyA6IERPIE5PVCBNT0RJRlkgVEhFU0UgVkFMVUVTICAhISENCiEhISAgICAgICAgICAgWU9VIENBTiBEQU1BR0UgWU9VUiBNT05JVE9SICEhIQ0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQoNClZpZGVvTW9kZT02MA0KVmVydGljYWxUb3RhbD01MjcNClZlcnRpY2FsQ2VudGVyPTQ5MA0KSG9yaXpvbnRhbENlbnRlcj04NA0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgSU5QVVQgREVWSUNFIFNFVFVQICMjIw0KDQpJbnB1dERldmljZT0wDQpKb3lDYWwxPTANCkpveUNhbDI9MA0KSm95Q2FsMz0wDQpKb3lDYWw0PTANCg0KDQo=
+    _EOF_
+    fi
+ 
+cat <<_EOF_ > "$WINEPREFIX/drive_c/autoexec.bat"
+@echo off
+keyb fr
+cls
+echo.-----------------------------------------------
+echo                  Turrican II
+echo          www.abandonware-utopia.com
+echo.-----------------------------------------------
+echo                  DOSBox v0.74
+echo.-----------------------------------------------
+echo   Commandes de base pour Dosbox :
+echo   ALT  + ENTREE - MODE PLEIN ECRAN/FENETRE
+echo   CTRL + F5     - CAPTURE D'ECRAN
+echo   CTRL + F10    - CAPTURER/LIBERER LE CURSEUR
+echo   CTRL + F12/11 - AUGMENTER/REDUIRE LA VITESSE
+echo   CTRL + F9     - QUITER DOSBOX
+echo.-----------------------------------------------
+echo.  
+echo.
+pause
+_EOF_
+ 
+    POL_Shortcut "T2.EXE" "$TITLE"
+ 
+elif [ "$APP_ANSWER" = "http://rares.abandons.org/" ]
+then
+    POL_Download "http://rares.abandons.org/fichiers/jeux/1994-1995/setup-00914-Turrican2-PCDOS.exe" "efefedc43294e123807ef642980e14b5"
+    POL_SetupWindow_message "$LNG_INSTALL_INFO4" "$TITLE"
+    POL_Wine "$POL_System_TmpDir/setup-00914-Turrican2-PCDOS.exe"
+ 
+    if type -t POL_unbase64 > /dev/null; then
+            POL_unbase64 <<-'_EOF_' > "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/C/TURRICAN.CFG/TURRICAN.CFG"
+ICAgICAgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCiAgICAgID09PSBTVU4gUFJPSkVDVCBDT05GSUcgRklMRSBGT1IgVFVSUklDQU4gSUkgUEMgPT09DQogICAgICA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgU09VTkQgU0VUVVAgIyMjIyMjIyMjIw0KDQpDYXJkTmFtZT1DcmVhdGl2ZSBMYWJzIFNvdW5kQmxhc3RlciAgICANClNvdW5kRHJpdmVyPVNCLk1TRA0KUG9ydD01NDQNCkludGVycnVwdD03DQpETUFDaGFubmVsPTENClBsYXlpbmdGcmVxdWVuY3k9MjIwMDANCg0KIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIFZJREVPIFNFVFVQICMjIyMjIyMjIyMNCg0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQohISEgV0FSTklORyA6IERPIE5PVCBNT0RJRlkgVEhFU0UgVkFMVUVTICAhISENCiEhISAgICAgICAgICAgWU9VIENBTiBEQU1BR0UgWU9VUiBNT05JVE9SICEhIQ0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQoNClZpZGVvTW9kZT02MA0KVmVydGljYWxUb3RhbD01MjcNClZlcnRpY2FsQ2VudGVyPTQ5MA0KSG9yaXpvbnRhbENlbnRlcj04NA0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgSU5QVVQgREVWSUNFIFNFVFVQICMjIw0KDQpJbnB1dERldmljZT0wDQpKb3lDYWwxPTANCkpveUNhbDI9MA0KSm95Q2FsMz0wDQpKb3lDYWw0PTANCg0KDQo=
+    _EOF_
+    fi
+ 
+cat <<_EOF_ > "$WINEPREFIX/drive_c/autoexec.bat"
+# Lines in this section will be run at startup.
+# You can put your MOUNT lines here.
+@echo off
+keyb fr
+mount -u c
+mount c "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/C" -label harddisk
+imgmount d "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/CD/Turric2.iso" -t iso -fs iso
+cls
+echo.-----------------------------------------------
+echo                  Turrican II
+echo.              Version CD anglaise                   
+echo          www.abandonware-france.org       
+echo.-----------------------------------------------
+echo                  DOSBox v0.74
+echo.-----------------------------------------------
+echo   Commandes de base pour Dosbox :
+echo   ALT  + ENTREE - MODE PLEIN ECRAN/FENETRE
+echo   CTRL + F5     - CAPTURE D'ECRAN
+echo   CTRL + F10    - CAPTURER/LIBERER LE CURSEUR
+echo   CTRL + F12/11 - AUGMENTER/REDUIRE LA VITESSE
+echo   CTRL + F9     - QUITER DOSBOX
+echo.-----------------------------------------------
+echo.  
+echo.
+pause
+c:
+t2
+exit
+_EOF_
+    POL_Shortcut "Turrican2.bat" "$TITLE"
+fi
+ 
+POL_SetupWindow_message "$TITLE $LNG_INSTALL_INFO1\\n\\n\\n$LNG_INSTALL_INFO2\\n\\n$LNG_INSTALL_INFO3" "$TITLE"
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-03-24 21-00)
# Last revision : (2013-08-24 19-14)
# Wine version used : 1.6.2-dos_support_0.6
# Distribution used to test : Linux Mint 17.3 Rosa
# PlayOnLinux: 4.2.2
# Author : GNU32
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Turrican II - The Final Fight"
PREFIX="TurricanII"
WINEVERSION="1.6.2-dos_support_0.6"
AUTHOR="GNU32"
GAME_URL="http://www.abandonware-utopia.com/abandonware-telecharger-118-Turrican_II_The_Final_Fight.htm"
GAME_EDITOR="Rainbow Arts"
 
if [ "$POL_LANG" == "fr" ]; then
    LNG_INSTALL_INFO1="a été installé avec succès."
    LNG_INSTALL_INFO2="Il suffit d'appuyer sur la touche "Entrée" après chaque lancement pour pouvoir démarrer le jeu."
    LNG_INSTALL_INFO3="Bon jeu à tous."
    LNG_INSTALL_INFO4="Pour le bon déroulement de l'installation veuillez laissez les options proposées par défaut."
else
    LNG_INSTALL_INFO1="has been installed successfully."
    LNG_INSTALL_INFO2="Just press the "Enter" key after each launch to be able to start the game."
    LNG_INSTALL_INFO3="Good luck with the game."
    LNG_INSTALL_INFO4="For the proper functioning of the installation please leave the default options."
fi
 
POL_SetupWindow_Init
POL_Debug_Init
 
# Présentation
POL_SetupWindow_presentation \
    "${TITLE}" \
    "${GAME_EDITOR}" \
    "${GAME_URL}" \
    "${AUTHOR}" \
    "${PREFIX}"
 
# Creation du Préfixe
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "${PREFIX}"
POL_Wine_PrefixCreate "${WINEVERSION}"
 
# Dosbox config
cat <<_EOF_ > "$WINEPREFIX/playonlinux_dos.cfg"
manual_mount=true
sdl_fullscreen=true
sdl_fulldouble=true
sdl_fullresolution=original
sdl_windowresolution=original
sdl_output=overlay
sdl_autolock=true
sdl_sensitivity=100
sdl_waitonerror=true
sdl_priority="highest,highest"
sdl_mapperfile=mapper.txt
sdl_usescancodes=true
dosbox_language=
dosbox_machine=vga
dosbox_memsize=64
dosbox_captures=capture
render_frameskip=0
render_scaler=normal2x
render_aspect=true
cpu_core=auto
cpu_cycles=auto
cpu_cycleup=500
cpu_cycledown=20
mixer_nosound=false
mixer_rate=44100
mixer_blocksize=2048
mixer_prebuffer=10
midi_mpu401=intelligent
midi_device=default
sblaster_sbtype=sb16
sblaster_sbbase=220
sblaster_irq=7
sblaster_dma=1
sblaster_hdma=1
sblaster_mixer=true
sblaster_oplrate=22050
sblaster_oplmode=auto
gus_gus=false
dos_keyboardlayout=FR
_EOF_
 
POL_SetupWindow_menu "Veuillez choisir votre mirroir de téléchargement" "Liste des mirroirs" "http://rares.abandons.org/|http://www.abandonware-utopia.com/" "|"
 
# Téléchargement
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
 
if [ "$APP_ANSWER" = "http://www.abandonware-utopia.com/" ]
then
    POL_Download "http://www.abandonware-utopia.com/pages/telechargement/jeux/Turrican%20II%20-%20The%20Final%20Fight.7z" "b8eb9636f7e2fd06da8932956c6eff7b"
    7z x "Turrican%20II%20-%20The%20Final%20Fight.7z" -o"$WINEPREFIX/drive_c"
    mv "$WINEPREFIX/drive_c/Turrican II - The Final Fight" "$WINEPREFIX/drive_c/turrican"
    cp -a "$WINEPREFIX/drive_c/turrican/CFG/ENGLISH.LNG" "$WINEPREFIX/drive_c/turrican/ENGLISH.LNG"
 
    if type -t POL_unbase64 > /dev/null; then
            POL_unbase64 <<-'_EOF_' > "$WINEPREFIX/drive_c/turrican/TURRICAN.CFG"
ICAgICAgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCiAgICAgID09PSBTVU4gUFJPSkVDVCBDT05GSUcgRklMRSBGT1IgVFVSUklDQU4gSUkgUEMgPT09DQogICAgICA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgU09VTkQgU0VUVVAgIyMjIyMjIyMjIw0KDQpDYXJkTmFtZT1DcmVhdGl2ZSBMYWJzIFNvdW5kQmxhc3RlciAgICANClNvdW5kRHJpdmVyPVNCLk1TRA0KUG9ydD01NDQNCkludGVycnVwdD03DQpETUFDaGFubmVsPTENClBsYXlpbmdGcmVxdWVuY3k9MjIwMDANCg0KIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIFZJREVPIFNFVFVQICMjIyMjIyMjIyMNCg0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQohISEgV0FSTklORyA6IERPIE5PVCBNT0RJRlkgVEhFU0UgVkFMVUVTICAhISENCiEhISAgICAgICAgICAgWU9VIENBTiBEQU1BR0UgWU9VUiBNT05JVE9SICEhIQ0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQoNClZpZGVvTW9kZT02MA0KVmVydGljYWxUb3RhbD01MjcNClZlcnRpY2FsQ2VudGVyPTQ5MA0KSG9yaXpvbnRhbENlbnRlcj04NA0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgSU5QVVQgREVWSUNFIFNFVFVQICMjIw0KDQpJbnB1dERldmljZT0wDQpKb3lDYWwxPTANCkpveUNhbDI9MA0KSm95Q2FsMz0wDQpKb3lDYWw0PTANCg0KDQo=
    _EOF_
    fi
 
cat <<_EOF_ > "$WINEPREFIX/drive_c/autoexec.bat"
@echo off
keyb fr
cls
echo.-----------------------------------------------
echo                  Turrican II
echo          www.abandonware-utopia.com
echo.-----------------------------------------------
echo                  DOSBox v0.74
echo.-----------------------------------------------
echo   Commandes de base pour Dosbox :
echo   ALT  + ENTREE - MODE PLEIN ECRAN/FENETRE
echo   CTRL + F5     - CAPTURE D'ECRAN
echo   CTRL + F10    - CAPTURER/LIBERER LE CURSEUR
echo   CTRL + F12/11 - AUGMENTER/REDUIRE LA VITESSE
echo   CTRL + F9     - QUITER DOSBOX
echo.-----------------------------------------------
echo.  
echo.
pause
_EOF_
 
    POL_Shortcut "T2.EXE" "$TITLE"
 
elif [ "$APP_ANSWER" = "http://rares.abandons.org/" ]
then
    POL_Download "http://rares.abandons.org/fichiers/jeux/1994-1995/setup-00914-Turrican2-PCDOS.exe" "efefedc43294e123807ef642980e14b5"
    POL_SetupWindow_message "$LNG_INSTALL_INFO4" "$TITLE"
    POL_Wine "$POL_System_TmpDir/setup-00914-Turrican2-PCDOS.exe"
 
    if type -t POL_unbase64 > /dev/null; then
            POL_unbase64 <<-'_EOF_' > "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/C/TURRICAN.CFG/TURRICAN.CFG"
ICAgICAgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCiAgICAgID09PSBTVU4gUFJPSkVDVCBDT05GSUcgRklMRSBGT1IgVFVSUklDQU4gSUkgUEMgPT09DQogICAgICA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgU09VTkQgU0VUVVAgIyMjIyMjIyMjIw0KDQpDYXJkTmFtZT1DcmVhdGl2ZSBMYWJzIFNvdW5kQmxhc3RlciAgICANClNvdW5kRHJpdmVyPVNCLk1TRA0KUG9ydD01NDQNCkludGVycnVwdD03DQpETUFDaGFubmVsPTENClBsYXlpbmdGcmVxdWVuY3k9MjIwMDANCg0KIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIFZJREVPIFNFVFVQICMjIyMjIyMjIyMNCg0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQohISEgV0FSTklORyA6IERPIE5PVCBNT0RJRlkgVEhFU0UgVkFMVUVTICAhISENCiEhISAgICAgICAgICAgWU9VIENBTiBEQU1BR0UgWU9VUiBNT05JVE9SICEhIQ0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQoNClZpZGVvTW9kZT02MA0KVmVydGljYWxUb3RhbD01MjcNClZlcnRpY2FsQ2VudGVyPTQ5MA0KSG9yaXpvbnRhbENlbnRlcj04NA0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgSU5QVVQgREVWSUNFIFNFVFVQICMjIw0KDQpJbnB1dERldmljZT0wDQpKb3lDYWwxPTANCkpveUNhbDI9MA0KSm95Q2FsMz0wDQpKb3lDYWw0PTANCg0KDQo=
    _EOF_
    fi
 
cat <<_EOF_ > "$WINEPREFIX/drive_c/autoexec.bat"
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
@echo off
keyb fr
mount -u c
mount c "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/C" -label harddisk
imgmount d "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/CD/Turric2.iso" -t iso -fs iso
cls
echo.-----------------------------------------------
echo                  Turrican II
echo.              Version CD anglaise                   
echo          www.abandonware-france.org       
echo.-----------------------------------------------
echo                  DOSBox v0.74
echo.-----------------------------------------------
echo   Commandes de base pour Dosbox :
echo   ALT  + ENTREE - MODE PLEIN ECRAN/FENETRE
echo   CTRL + F5     - CAPTURE D'ECRAN
echo   CTRL + F10    - CAPTURER/LIBERER LE CURSEUR
echo   CTRL + F12/11 - AUGMENTER/REDUIRE LA VITESSE
echo   CTRL + F9     - QUITER DOSBOX
echo.-----------------------------------------------
echo.  
echo.
pause
c:
t2
exit
_EOF_
    POL_Shortcut "Turrican2.bat" "$TITLE"
fi
 
POL_SetupWindow_message "$TITLE $LNG_INSTALL_INFO1\\n\\n\\n$LNG_INSTALL_INFO2\\n\\n$LNG_INSTALL_INFO3" "$TITLE"
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Friday 2 August 2019 at 21:47
Approved.

Edited by Dadu042

gnu32 Friday 25 March 2016 at 13:38
gnu32 Anonymous

Warning

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

Differences

@@ -0,0 +1,182 @@
+#!/bin/bash
+# Date : (2016-03-24 21-00)
+# Last revision : (2013-08-24 19-14)
+# Wine version used : 1.6.2-dos_support_0.6
+# Distribution used to test : Linux Mint 17.3 Rosa
+# PlayOnLinux: 4.2.2
+# Author : GNU32
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Turrican II - The Final Fight"
+PREFIX="TurricanII"
+WINEVERSION="1.6.2-dos_support_0.6"
+AUTHOR="GNU32"
+GAME_URL="http://www.abandonware-utopia.com/abandonware-telecharger-118-Turrican_II_The_Final_Fight.htm"
+GAME_EDITOR="Rainbow Arts"
+
+if [ "$POL_LANG" == "fr" ]; then
+	LNG_INSTALL_INFO1="a été installé avec succès."
+	LNG_INSTALL_INFO2="Il suffit d'appuyer sur la touche "Entrée" après chaque lancement pour pouvoir démarrer le jeu."
+	LNG_INSTALL_INFO3="Bon jeu à tous."
+	LNG_INSTALL_INFO4="Pour le bon déroulement de l'installation veuillez laissez les options proposées par défaut."
+else
+	LNG_INSTALL_INFO1="has been installed successfully."
+	LNG_INSTALL_INFO2="Just press the "Enter" key after each launch to be able to start the game."
+	LNG_INSTALL_INFO3="Good luck with the game."
+	LNG_INSTALL_INFO4="For the proper functioning of the installation please leave the default options."
+fi
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+# Présentation
+POL_SetupWindow_presentation \
+    "${TITLE}" \
+    "${GAME_EDITOR}" \
+    "${GAME_URL}" \
+    "${AUTHOR}" \
+    "${PREFIX}"
+
+# Creation du Préfixe
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "${PREFIX}"
+POL_Wine_PrefixCreate "${WINEVERSION}"
+
+# Dosbox config
+cat <<_EOF_ > "$WINEPREFIX/playonlinux_dos.cfg"
+manual_mount=true
+sdl_fullscreen=true
+sdl_fulldouble=true
+sdl_fullresolution=original
+sdl_windowresolution=original
+sdl_output=overlay
+sdl_autolock=true
+sdl_sensitivity=100
+sdl_waitonerror=true
+sdl_priority="highest,highest"
+sdl_mapperfile=mapper.txt
+sdl_usescancodes=true
+dosbox_language=
+dosbox_machine=vga
+dosbox_memsize=64
+dosbox_captures=capture
+render_frameskip=0
+render_scaler=normal2x
+render_aspect=true
+cpu_core=auto
+cpu_cycles=auto
+cpu_cycleup=500
+cpu_cycledown=20
+mixer_nosound=false
+mixer_rate=44100
+mixer_blocksize=2048
+mixer_prebuffer=10
+midi_mpu401=intelligent
+midi_device=default
+sblaster_sbtype=sb16
+sblaster_sbbase=220
+sblaster_irq=7
+sblaster_dma=1
+sblaster_hdma=1
+sblaster_mixer=true
+sblaster_oplrate=22050
+sblaster_oplmode=auto
+gus_gus=false
+dos_keyboardlayout=FR
+_EOF_
+
+
+POL_SetupWindow_menu "Veuillez choisir votre mirroir de téléchargement" "Liste des mirroirs" "http://rares.abandons.org/|http://www.abandonware-utopia.com/" "|"
+
+# Téléchargement
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+
+if [ "$APP_ANSWER" = "http://www.abandonware-utopia.com/" ]
+then
+    POL_Download "http://www.abandonware-utopia.com/pages/telechargement/jeux/Turrican%20II%20-%20The%20Final%20Fight.7z" "b8eb9636f7e2fd06da8932956c6eff7b"
+    7z x "Turrican%20II%20-%20The%20Final%20Fight.7z" -o"$WINEPREFIX/drive_c"
+    mv "$WINEPREFIX/drive_c/Turrican II - The Final Fight" "$WINEPREFIX/drive_c/turrican"
+    cp -a "$WINEPREFIX/drive_c/turrican/CFG/ENGLISH.LNG" "$WINEPREFIX/drive_c/turrican/ENGLISH.LNG"
+
+	if type -t POL_unbase64 > /dev/null; then
+	        POL_unbase64 <<-'_EOF_' > "$WINEPREFIX/drive_c/turrican/TURRICAN.CFG"
+ICAgICAgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCiAgICAgID09PSBTVU4gUFJPSkVDVCBDT05GSUcgRklMRSBGT1IgVFVSUklDQU4gSUkgUEMgPT09DQogICAgICA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgU09VTkQgU0VUVVAgIyMjIyMjIyMjIw0KDQpDYXJkTmFtZT1DcmVhdGl2ZSBMYWJzIFNvdW5kQmxhc3RlciAgICANClNvdW5kRHJpdmVyPVNCLk1TRA0KUG9ydD01NDQNCkludGVycnVwdD03DQpETUFDaGFubmVsPTENClBsYXlpbmdGcmVxdWVuY3k9MjIwMDANCg0KIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIFZJREVPIFNFVFVQICMjIyMjIyMjIyMNCg0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQohISEgV0FSTklORyA6IERPIE5PVCBNT0RJRlkgVEhFU0UgVkFMVUVTICAhISENCiEhISAgICAgICAgICAgWU9VIENBTiBEQU1BR0UgWU9VUiBNT05JVE9SICEhIQ0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQoNClZpZGVvTW9kZT02MA0KVmVydGljYWxUb3RhbD01MjcNClZlcnRpY2FsQ2VudGVyPTQ5MA0KSG9yaXpvbnRhbENlbnRlcj04NA0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgSU5QVVQgREVWSUNFIFNFVFVQICMjIw0KDQpJbnB1dERldmljZT0wDQpKb3lDYWwxPTANCkpveUNhbDI9MA0KSm95Q2FsMz0wDQpKb3lDYWw0PTANCg0KDQo=
+	_EOF_
+	fi
+
+cat <<_EOF_ > "$WINEPREFIX/drive_c/autoexec.bat"
+@echo off
+keyb fr
+cls
+echo.-----------------------------------------------
+echo                  Turrican II
+echo          www.abandonware-utopia.com 
+echo.-----------------------------------------------
+echo                  DOSBox v0.74
+echo.-----------------------------------------------
+echo   Commandes de base pour Dosbox :
+echo   ALT  + ENTREE - MODE PLEIN ECRAN/FENETRE
+echo   CTRL + F5     - CAPTURE D'ECRAN
+echo   CTRL + F10    - CAPTURER/LIBERER LE CURSEUR
+echo   CTRL + F12/11 - AUGMENTER/REDUIRE LA VITESSE
+echo   CTRL + F9     - QUITER DOSBOX
+echo.-----------------------------------------------
+echo.  
+echo.
+pause
+_EOF_
+
+    POL_Shortcut "T2.EXE" "$TITLE"
+
+elif [ "$APP_ANSWER" = "http://rares.abandons.org/" ]
+then
+    POL_Download "http://rares.abandons.org/fichiers/jeux/1994-1995/setup-00914-Turrican2-PCDOS.exe" "efefedc43294e123807ef642980e14b5"
+    POL_SetupWindow_message "$LNG_INSTALL_INFO4" "$TITLE"
+    POL_Wine "$POL_System_TmpDir/setup-00914-Turrican2-PCDOS.exe"
+
+	if type -t POL_unbase64 > /dev/null; then
+	        POL_unbase64 <<-'_EOF_' > "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/C/TURRICAN.CFG/TURRICAN.CFG"
+ICAgICAgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCiAgICAgID09PSBTVU4gUFJPSkVDVCBDT05GSUcgRklMRSBGT1IgVFVSUklDQU4gSUkgUEMgPT09DQogICAgICA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgU09VTkQgU0VUVVAgIyMjIyMjIyMjIw0KDQpDYXJkTmFtZT1DcmVhdGl2ZSBMYWJzIFNvdW5kQmxhc3RlciAgICANClNvdW5kRHJpdmVyPVNCLk1TRA0KUG9ydD01NDQNCkludGVycnVwdD03DQpETUFDaGFubmVsPTENClBsYXlpbmdGcmVxdWVuY3k9MjIwMDANCg0KIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIFZJREVPIFNFVFVQICMjIyMjIyMjIyMNCg0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQohISEgV0FSTklORyA6IERPIE5PVCBNT0RJRlkgVEhFU0UgVkFMVUVTICAhISENCiEhISAgICAgICAgICAgWU9VIENBTiBEQU1BR0UgWU9VUiBNT05JVE9SICEhIQ0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQoNClZpZGVvTW9kZT02MA0KVmVydGljYWxUb3RhbD01MjcNClZlcnRpY2FsQ2VudGVyPTQ5MA0KSG9yaXpvbnRhbENlbnRlcj04NA0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgSU5QVVQgREVWSUNFIFNFVFVQICMjIw0KDQpJbnB1dERldmljZT0wDQpKb3lDYWwxPTANCkpveUNhbDI9MA0KSm95Q2FsMz0wDQpKb3lDYWw0PTANCg0KDQo=
+	_EOF_
+	fi
+
+cat <<_EOF_ > "$WINEPREFIX/drive_c/autoexec.bat"
+# Lines in this section will be run at startup.
+# You can put your MOUNT lines here.
+@echo off
+keyb fr
+mount -u c
+mount c "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/C" -label harddisk
+imgmount d "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/CD/Turric2.iso" -t iso -fs iso 
+cls
+echo.-----------------------------------------------
+echo                  Turrican II
+echo.              Version CD anglaise                   
+echo          www.abandonware-france.org       
+echo.-----------------------------------------------
+echo                  DOSBox v0.74
+echo.-----------------------------------------------
+echo   Commandes de base pour Dosbox :
+echo   ALT  + ENTREE - MODE PLEIN ECRAN/FENETRE
+echo   CTRL + F5     - CAPTURE D'ECRAN
+echo   CTRL + F10    - CAPTURER/LIBERER LE CURSEUR
+echo   CTRL + F12/11 - AUGMENTER/REDUIRE LA VITESSE
+echo   CTRL + F9     - QUITER DOSBOX
+echo.-----------------------------------------------
+echo.  
+echo.
+pause
+c:
+t2
+exit
+_EOF_
+    POL_Shortcut "Turrican2.bat" "$TITLE"
+fi
+
+POL_SetupWindow_message "$TITLE $LNG_INSTALL_INFO1\\n\\n\\n$LNG_INSTALL_INFO2\\n\\n$LNG_INSTALL_INFO3" "$TITLE"
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-03-24 21-00)
# Last revision : (2013-08-24 19-14)
# Wine version used : 1.6.2-dos_support_0.6
# Distribution used to test : Linux Mint 17.3 Rosa
# PlayOnLinux: 4.2.2
# Author : GNU32

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Turrican II - The Final Fight"
PREFIX="TurricanII"
WINEVERSION="1.6.2-dos_support_0.6"
AUTHOR="GNU32"
GAME_URL="http://www.abandonware-utopia.com/abandonware-telecharger-118-Turrican_II_The_Final_Fight.htm"
GAME_EDITOR="Rainbow Arts"

if [ "$POL_LANG" == "fr" ]; then
        LNG_INSTALL_INFO1="a été installé avec succès."
        LNG_INSTALL_INFO2="Il suffit d'appuyer sur la touche "Entrée" après chaque lancement pour pouvoir démarrer le jeu."
        LNG_INSTALL_INFO3="Bon jeu à tous."
        LNG_INSTALL_INFO4="Pour le bon déroulement de l'installation veuillez laissez les options proposées par défaut."
else
        LNG_INSTALL_INFO1="has been installed successfully."
        LNG_INSTALL_INFO2="Just press the "Enter" key after each launch to be able to start the game."
        LNG_INSTALL_INFO3="Good luck with the game."
        LNG_INSTALL_INFO4="For the proper functioning of the installation please leave the default options."
fi

POL_SetupWindow_Init
POL_Debug_Init

# Présentation
POL_SetupWindow_presentation \
    "${TITLE}" \
    "${GAME_EDITOR}" \
    "${GAME_URL}" \
    "${AUTHOR}" \
    "${PREFIX}"

# Creation du Préfixe
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "${PREFIX}"
POL_Wine_PrefixCreate "${WINEVERSION}"

# Dosbox config
cat <<_EOF_ > "$WINEPREFIX/playonlinux_dos.cfg"
manual_mount=true
sdl_fullscreen=true
sdl_fulldouble=true
sdl_fullresolution=original
sdl_windowresolution=original
sdl_output=overlay
sdl_autolock=true
sdl_sensitivity=100
sdl_waitonerror=true
sdl_priority="highest,highest"
sdl_mapperfile=mapper.txt
sdl_usescancodes=true
dosbox_language=
dosbox_machine=vga
dosbox_memsize=64
dosbox_captures=capture
render_frameskip=0
render_scaler=normal2x
render_aspect=true
cpu_core=auto
cpu_cycles=auto
cpu_cycleup=500
cpu_cycledown=20
mixer_nosound=false
mixer_rate=44100
mixer_blocksize=2048
mixer_prebuffer=10
midi_mpu401=intelligent
midi_device=default
sblaster_sbtype=sb16
sblaster_sbbase=220
sblaster_irq=7
sblaster_dma=1
sblaster_hdma=1
sblaster_mixer=true
sblaster_oplrate=22050
sblaster_oplmode=auto
gus_gus=false
dos_keyboardlayout=FR
_EOF_


POL_SetupWindow_menu "Veuillez choisir votre mirroir de téléchargement" "Liste des mirroirs" "http://rares.abandons.org/|http://www.abandonware-utopia.com/" "|"

# Téléchargement
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

if [ "$APP_ANSWER" = "http://www.abandonware-utopia.com/" ]
then
    POL_Download "http://www.abandonware-utopia.com/pages/telechargement/jeux/Turrican%20II%20-%20The%20Final%20Fight.7z" "b8eb9636f7e2fd06da8932956c6eff7b"
    7z x "Turrican%20II%20-%20The%20Final%20Fight.7z" -o"$WINEPREFIX/drive_c"
    mv "$WINEPREFIX/drive_c/Turrican II - The Final Fight" "$WINEPREFIX/drive_c/turrican"
    cp -a "$WINEPREFIX/drive_c/turrican/CFG/ENGLISH.LNG" "$WINEPREFIX/drive_c/turrican/ENGLISH.LNG"

        if type -t POL_unbase64 > /dev/null; then
                POL_unbase64 <<-'_EOF_' > "$WINEPREFIX/drive_c/turrican/TURRICAN.CFG"
ICAgICAgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCiAgICAgID09PSBTVU4gUFJPSkVDVCBDT05GSUcgRklMRSBGT1IgVFVSUklDQU4gSUkgUEMgPT09DQogICAgICA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgU09VTkQgU0VUVVAgIyMjIyMjIyMjIw0KDQpDYXJkTmFtZT1DcmVhdGl2ZSBMYWJzIFNvdW5kQmxhc3RlciAgICANClNvdW5kRHJpdmVyPVNCLk1TRA0KUG9ydD01NDQNCkludGVycnVwdD03DQpETUFDaGFubmVsPTENClBsYXlpbmdGcmVxdWVuY3k9MjIwMDANCg0KIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIFZJREVPIFNFVFVQICMjIyMjIyMjIyMNCg0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQohISEgV0FSTklORyA6IERPIE5PVCBNT0RJRlkgVEhFU0UgVkFMVUVTICAhISENCiEhISAgICAgICAgICAgWU9VIENBTiBEQU1BR0UgWU9VUiBNT05JVE9SICEhIQ0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQoNClZpZGVvTW9kZT02MA0KVmVydGljYWxUb3RhbD01MjcNClZlcnRpY2FsQ2VudGVyPTQ5MA0KSG9yaXpvbnRhbENlbnRlcj04NA0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgSU5QVVQgREVWSUNFIFNFVFVQICMjIw0KDQpJbnB1dERldmljZT0wDQpKb3lDYWwxPTANCkpveUNhbDI9MA0KSm95Q2FsMz0wDQpKb3lDYWw0PTANCg0KDQo=
        _EOF_
        fi

cat <<_EOF_ > "$WINEPREFIX/drive_c/autoexec.bat"
@echo off
keyb fr
cls
echo.-----------------------------------------------
echo                  Turrican II
echo          www.abandonware-utopia.com 
echo.-----------------------------------------------
echo                  DOSBox v0.74
echo.-----------------------------------------------
echo   Commandes de base pour Dosbox :
echo   ALT  + ENTREE - MODE PLEIN ECRAN/FENETRE
echo   CTRL + F5     - CAPTURE D'ECRAN
echo   CTRL + F10    - CAPTURER/LIBERER LE CURSEUR
echo   CTRL + F12/11 - AUGMENTER/REDUIRE LA VITESSE
echo   CTRL + F9     - QUITER DOSBOX
echo.-----------------------------------------------
echo.  
echo.
pause
_EOF_

    POL_Shortcut "T2.EXE" "$TITLE"

elif [ "$APP_ANSWER" = "http://rares.abandons.org/" ]
then
    POL_Download "http://rares.abandons.org/fichiers/jeux/1994-1995/setup-00914-Turrican2-PCDOS.exe" "efefedc43294e123807ef642980e14b5"
    POL_SetupWindow_message "$LNG_INSTALL_INFO4" "$TITLE"
    POL_Wine "$POL_System_TmpDir/setup-00914-Turrican2-PCDOS.exe"

        if type -t POL_unbase64 > /dev/null; then
                POL_unbase64 <<-'_EOF_' > "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/C/TURRICAN.CFG/TURRICAN.CFG"
ICAgICAgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCiAgICAgID09PSBTVU4gUFJPSkVDVCBDT05GSUcgRklMRSBGT1IgVFVSUklDQU4gSUkgUEMgPT09DQogICAgICA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgU09VTkQgU0VUVVAgIyMjIyMjIyMjIw0KDQpDYXJkTmFtZT1DcmVhdGl2ZSBMYWJzIFNvdW5kQmxhc3RlciAgICANClNvdW5kRHJpdmVyPVNCLk1TRA0KUG9ydD01NDQNCkludGVycnVwdD03DQpETUFDaGFubmVsPTENClBsYXlpbmdGcmVxdWVuY3k9MjIwMDANCg0KIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIFZJREVPIFNFVFVQICMjIyMjIyMjIyMNCg0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQohISEgV0FSTklORyA6IERPIE5PVCBNT0RJRlkgVEhFU0UgVkFMVUVTICAhISENCiEhISAgICAgICAgICAgWU9VIENBTiBEQU1BR0UgWU9VUiBNT05JVE9SICEhIQ0KxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEDQoNClZpZGVvTW9kZT02MA0KVmVydGljYWxUb3RhbD01MjcNClZlcnRpY2FsQ2VudGVyPTQ5MA0KSG9yaXpvbnRhbENlbnRlcj04NA0KDQojIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMgSU5QVVQgREVWSUNFIFNFVFVQICMjIw0KDQpJbnB1dERldmljZT0wDQpKb3lDYWwxPTANCkpveUNhbDI9MA0KSm95Q2FsMz0wDQpKb3lDYWw0PTANCg0KDQo=
        _EOF_
        fi

cat <<_EOF_ > "$WINEPREFIX/drive_c/autoexec.bat"
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
@echo off
keyb fr
mount -u c
mount c "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/C" -label harddisk
imgmount d "$WINEPREFIX/drive_c/users/$USERNAME/Application Data/Abandonware-France/Turrican 2/CD/Turric2.iso" -t iso -fs iso 
cls
echo.-----------------------------------------------
echo                  Turrican II
echo.              Version CD anglaise                   
echo          www.abandonware-france.org       
echo.-----------------------------------------------
echo                  DOSBox v0.74
echo.-----------------------------------------------
echo   Commandes de base pour Dosbox :
echo   ALT  + ENTREE - MODE PLEIN ECRAN/FENETRE
echo   CTRL + F5     - CAPTURE D'ECRAN
echo   CTRL + F10    - CAPTURER/LIBERER LE CURSEUR
echo   CTRL + F12/11 - AUGMENTER/REDUIRE LA VITESSE
echo   CTRL + F9     - QUITER DOSBOX
echo.-----------------------------------------------
echo.  
echo.
pause
c:
t2
exit
_EOF_
    POL_Shortcut "Turrican2.bat" "$TITLE"
fi

POL_SetupWindow_message "$TITLE $LNG_INSTALL_INFO1\\n\\n\\n$LNG_INSTALL_INFO2\\n\\n$LNG_INSTALL_INFO3" "$TITLE"
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies