Fora

[Script] Beyond Good & Evil

work in progress

Autor Odpowiedzi
Dadu042 Saturday 2 March 2019 at 17:04
Dadu042
Moderator

Gameplay tested : 5 minutes.  I will improve this script.

 

 

#!/bin/bash
# Date : (2019-03-01 12-11)
# Last revision : (2019-03-02 16-49)
# Wine version used : 4.2
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux : 4.3.4
#
# Tested : retail DVD, setup.exe: december 2nd 2002.
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Beyond Good & Evil"
PREFIX="beyond_good_evil"
WORKING_WINE_VERSION="4.2"
AUTHOR="Dadu042"
EDITOR="Mindscape"
GAME_URL="https://en.wikipedia.org/wiki/Beyond_Good_%26_Evil_(video_game)"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "winxp" "sp1"

###############
# Please note #
###############
 
POL_SetupWindow_message  "Please note: do not accept online registering, nor icons creation.\n" "$TITLE"

POL_SetupWindow_InstallMethod "LOCAL,DVD"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Mindscape.bmp"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Call POL_Install_mfc42
POL_Call POL_Install_d3dx9_43

POL_Shortcut "BGE.exe" "$TITLE" ""
POL_Shortcut "SettingsApplication.exe" "$TITLE - Settings Application" ""

##############################################
# User guide: (this install any language...) #
##############################################

POL_Shortcut_Document "$TITLE" "$PREFIX/English/BeyondGoodAndEvil.pdf"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0    

 

Quentin PÂRIS Monday 4 March 2019 at 21:05
Quentin PÂRIS
Admin

Thank's a lot for all your script. Do you want to submit them in Supported Software section?

Regards

Dadu042 Tuesday 5 March 2019 at 20:31
Dadu042
Moderator

Yes please, some of them seems (to me) good enough for release. The followings are OK :

[Script] Heretic Kingdoms - The Inquisition (AKA Kult - Heretic Kingdoms)
[Script] Ground Control

[Script] Loki: Heroes of Mythology
[Script] V-Rally 3

 

I doubt on : [Script] Silent Hunter III
 

Shoud I repost them into the right forum ?

Edytowane przez Dadu042

Quentin PÂRIS Wednesday 27 March 2019 at 11:07
Quentin PÂRIS
Admin

Ideally if you could post them in the "Supported software" section, it would accelerate the review process and you'll be identified as the author of the script

Thanks

Dadu042 Saturday 20 April 2019 at 19:46
Dadu042
Moderator

Moved to "Supported software".