The forum

[Script] V-Rally 3

Author Replies
Dadu042 Sunday 20 January 2019 at 22:30
Dadu042

I used the European version, 2 CD-ROM (released in 2003).

 

  • It disable all videos (MPEG1 format) in order to let the game start.
  • Musics seems to not work.

 

-Script :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#!/bin/bash
# Date : (2019-01-07 23-45)
# Last revision : (2019-01-20 19-56)
# Wine version used : 3.0.3
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
 
[ -z "$PLAYONLINUX" ] && exit 0
 
source "$PLAYONLINUX/lib/sources"
 
 
TITLE="V-Rally 3"
 
PREFIX="v-rally3"
 
WORKING_WINE_VERSION="3.0.3"
 
AUTHOR="Dadu042"
 
EDITOR="Atari"
 
 
 
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"
 
# d3dx9_43
 
# POL_SetupWindow_InstallMethod "LOCAL,CD,STEAM"
 
POL_SetupWindow_InstallMethod "LOCAL,CD"
 
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"
 
 
elif [ "$INSTALL_METHOD" == "STEAM" ];then
 
# V Rally 3 on Steam: maybe one day ?  (2018)
 
 
        POL_Call POL_Install_steam
 
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
 
        POL_Wine "steam.exe" steam://install/297920
 
        POL_Wine_WaitBefore "$TITLE"
 
else
 
        POL_SetupWindow_cdrom
 
        POL_SetupWindow_check_cdrom "Vr3.ICO"
 
        POL_Wine start /unix "$CDROM/setup.exe"
 
        POL_Wine_WaitExit "setup.exe"
 
        cd "$POL_System_TmpDir"
 
fi
 
 
if [ "$INSTALL_METHOD" == "STEAM" ]; then
 
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/297920"
 
else
 
        POL_Shortcut "VRally3.exe" "$TITLE" "" "Game;RacingGame;"
 
fi
 
# Disable intro videos in order to let the game menu appear (Wine 3.0.3)
 
mv "$WINEPREFIX/drive_c/Program Files/Atari/VRally3/Euro/Bnk/Video" "$WINEPREFIX/drive_c/Program Files/Atari/VRally3/Euro/Bnk/Video_disabled"
 
#
 
# Trick from :
 
# 'Game crashes after title screen' : Remove "Videos" folder from "Euro\Bnk" in game installation directory. They will not play, but they aren't essential.
 
# https://pcgamingwiki.com/wiki/V-Rally_3#Game_crashes_after_title_screen
 
POL_System_TmpDelete
 
POL_SetupWindow_Close
 
exit 0

 

Edited by Dadu042

Dadu042 Saturday 20 April 2019 at 19:31
Dadu042

Script moved to "Supported applications".

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@playonlinux.com