Xenon 2

Informations

Creator Message
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 15575
Wine: 1.6.2-dos_support_0.6

Feedbacks

Description

Vertical shoot them up, 1989. Wikipedia.

Game downloaded automatically.

Screenshots

Miniature

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-29 13-16)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 19.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: 
# Software based on: ?
#
# CHANGELOG
# [Dadu042] (2019-05-29 13-16)
#   Script refresh.
# [Tinou] (2010 ?)
#   Initial writting.
#
# Known issues:
# - Don't work on xubuntu 19.04 (missing files).

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

TITLE="Xenon 2"
PREFIX="xenon2"
WORKING_WINE_VERSION="1.6.2-dos_support_0.6"
AUTHOR="Tinou"
EDITOR="Image Works"
GAME_URL="https://en.wikipedia.org/wiki/Xenon_2_Megablast"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

cd "$WINEPREFIX/drive_c"
POL_Download "$SITE/divers/oldware/Xenon2.zip" "c2dfbe1f48cd9e806f1dc812cdfb8fe5"
unzip Xenon2.zip

POL_Shortcut "XENON2.EXE" "Xenon 2"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Wednesday 29 May 2019 at 13:27
Dadu042

Information

This update has been approved by the team.

Message

Just refresh.

Xubuntu 19.04: Can't run on  (missing files). 
Ubuntu 16.04: Run OK.

Differences

@@ -1,23 +1,51 @@
-#!/bin/bash
-[ "$PLAYONLINUX" = "" ] && exit 0
+#!/usr/bin/env playonlinux-bash
+# Date : (2019-05-29 13-16)
+# Last revision : See changelog
+# Wine version used : see below
+# Distribution used to test : XUbuntu 19.04 x64
+# Script licence : GPL3
+# Program licence : Retail
+# Playonlinux version used : 4.3.4
+#
+# Software version used to write this script: 
+# Software based on: ?
+#
+# CHANGELOG
+# [Dadu042] (2019-05-29 13-16)
+#   Script refresh.
+# [Tinou] (2010 ?)
+#   Initial writting.
+#
+# Known issues:
+# - Don't work on xubuntu 19.04 (missing files).
+
+[ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-  
+
 TITLE="Xenon 2"
-PREFIX="Xenon2"
-  
-#Presentation
+PREFIX="xenon2"
+WORKING_WINE_VERSION="1.6.2-dos_support_0.6"
+AUTHOR="Tinou"
+EDITOR="Image Works"
+GAME_URL="https://en.wikipedia.org/wiki/Xenon_2_Megablast"
+
 POL_SetupWindow_Init
 POL_Debug_Init
-POL_SetupWindow_presentation "Xenon 2" "" "" "Tinou" "$PREFIX"
-  
+
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+# POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+
 POL_Wine_SelectPrefix "$PREFIX"
-POL_SetupWindow_prefixcreate "1.4-dos_support_0.5"
- 
+POL_System_SetArch "amd64"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+
 cd "$WINEPREFIX/drive_c"
 POL_Download "$SITE/divers/oldware/Xenon2.zip" "c2dfbe1f48cd9e806f1dc812cdfb8fe5"
 unzip Xenon2.zip
-  
+
 POL_Shortcut "XENON2.EXE" "Xenon 2"
- 
+
 POL_SetupWindow_Close
-exit 0
\ No newline at end of file
+exit 0

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-29 13-16)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 19.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: 
# Software based on: ?
#
# CHANGELOG
# [Dadu042] (2019-05-29 13-16)
#   Script refresh.
# [Tinou] (2010 ?)
#   Initial writting.
#
# Known issues:
# - Don't work on xubuntu 19.04 (missing files).

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

TITLE="Xenon 2"
PREFIX="xenon2"
WORKING_WINE_VERSION="1.6.2-dos_support_0.6"
AUTHOR="Tinou"
EDITOR="Image Works"
GAME_URL="https://en.wikipedia.org/wiki/Xenon_2_Megablast"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

cd "$WINEPREFIX/drive_c"
POL_Download "$SITE/divers/oldware/Xenon2.zip" "c2dfbe1f48cd9e806f1dc812cdfb8fe5"
unzip Xenon2.zip

POL_Shortcut "XENON2.EXE" "Xenon 2"

POL_SetupWindow_Close
exit 0

Replies

Edited by Dadu042

Dadu042 Thursday 23 May 2019 at 1:27
Dadu042

Message

Can't run. POL 4.3.4. Ubuntu 18.04 x64

[05/23/19 01:25:30] - Running wine-1.4-dos_support_0.5 XENON2.EXE (Working directory : /home/dadu042/.PlayOnLinux/wineprefix/Xenon2/drive_c/Xenon2)
Dosbox front-end for PlayOnLinux
[PlayOnLinux] Working in /home/faustine/.PlayOnLinux//wineprefix/Xenon2
[PlayOnLinux] Detecting program directory to run: C:\Xenon2
cat: /home/dadu042/.PlayOnLinux//wineprefix/Xenon2/drive_c/autoexec.bat: Aucun fichier ou dossier de ce type
[POL_LoadVar_ScreenResolution] [1;34mMessage:[0m Screen width: 1280
[POL_LoadVar_ScreenResolution] [1;34mMessage:[0m Screen height: 720
DOSBox: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

Replies

Edited by Dadu042