GOG.com - Megarace

Informations

Creator Message
med_freeman

Information

This installer has been approved by the team.

Informations

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

Feedbacks

Description

English:
You know those punk highway gangs, the ones who really think they rule the road? You just hate them, don't you? So you say, 'Somebody ought to do something about them criminal highway gangs!' And we says, 'Oh yeah?! Well, why don't YOU do something, mister big-mouth!'. You don't have the car? We'll give you the car! You don't want to get arrested for taking the law into your own hands? Not a problem! You know why? Because it AIN'T REAL! It's a whole lot better than real, baby! It's virtual television: reality's worst nightmare!

Français :
Dans un lointain futur, vous êtes l’un des participants au jeu le plus célèbre de la chaîne de télévision VWBT (Virtual World Broadcast Television) : MegaRace. Dans chaque émission, des Speed Gangs s’affrontent dans des courses endiablées ! L’issue de la course est simple : « Gagner ou mourir ».

Source code

#!/bin/bash
# Date : (2015-05-29 18:38)
# Date : (2015-05-29 22:01)
# 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 - Megarace"
PREFIX="Megarace_gog"
GOGID="megarace"
EDITOR="Cryo Interactive / Anuman Interactive"
GAME_URL="http://www.gog.com/game/megarace_1_2"
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 2539
 
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Download / Select GOG setup
POL_Call POL_GoG_setup "$GOGID" "0b2010804bce973cf5c48a53df162282"
 
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=auto
cpu_cputype=auto
cpu_cycles=8000
mixer_rate=22050
mixer_blocksize=2048
mixer_prebuffer=80
sblaster_sbtype=sb16
sblaster_sbbase=220
sblaster_irq=5
sblaster_dma=1
sblaster_hdma=5
sblaster_mixer=true
sblaster_oplmode=auto
sblaster_oplrate=22050
_EOFCFG_

# mount iso as E drive
cat <<_EOFAE_ > "$WINEPREFIX/drive_c/autoexec.bat"
@ECHO OFF
imgmount E "C:\GOGGAM~1\Megarace\MEGARACE.DAT" -t iso
_EOFAE_
 
POL_Shortcut "RACEPRG.EXE" "Megarace" "Megarace.png" "ENG ADP220 SBP2225 JOY0000-0000-0000-0000 EMS 386" "Game;RacingGame;"
POL_Shortcut_Document "Megarace" "$GOGROOT/Megarace/manual.pdf"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
med_freeman Friday 29 May 2015 at 22:02
med_freeman

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,71 @@
+#!/bin/bash
+# Date : (2015-05-29 18:38)
+# Date : (2015-05-29 22:01)
+# 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 - Megarace"
+PREFIX="Megarace_gog"
+GOGID="megarace"
+EDITOR="Cryo Interactive / Anuman Interactive"
+GAME_URL="http://www.gog.com/game/megarace_1_2"
+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 2539
+ 
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+# Download / Select GOG setup
+POL_Call POL_GoG_setup "$GOGID" "0b2010804bce973cf5c48a53df162282"
+ 
+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=auto
+cpu_cputype=auto
+cpu_cycles=8000
+mixer_rate=22050
+mixer_blocksize=2048
+mixer_prebuffer=80
+sblaster_sbtype=sb16
+sblaster_sbbase=220
+sblaster_irq=5
+sblaster_dma=1
+sblaster_hdma=5
+sblaster_mixer=true
+sblaster_oplmode=auto
+sblaster_oplrate=22050
+_EOFCFG_
+
+# mount iso as E drive
+cat <<_EOFAE_ > "$WINEPREFIX/drive_c/autoexec.bat"
+@ECHO OFF
+imgmount E "C:\GOGGAM~1\Megarace\MEGARACE.DAT" -t iso
+_EOFAE_
+ 
+POL_Shortcut "RACEPRG.EXE" "Megarace" "Megarace.png" "ENG ADP220 SBP2225 JOY0000-0000-0000-0000 EMS 386" "Game;RacingGame;"
+POL_Shortcut_Document "Megarace" "$GOGROOT/Megarace/manual.pdf"
+ 
+POL_SetupWindow_Close
+exit 0

New source code

#!/bin/bash
# Date : (2015-05-29 18:38)
# Date : (2015-05-29 22:01)
# 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 - Megarace"
PREFIX="Megarace_gog"
GOGID="megarace"
EDITOR="Cryo Interactive / Anuman Interactive"
GAME_URL="http://www.gog.com/game/megarace_1_2"
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 2539
 
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Download / Select GOG setup
POL_Call POL_GoG_setup "$GOGID" "0b2010804bce973cf5c48a53df162282"
 
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=auto
cpu_cputype=auto
cpu_cycles=8000
mixer_rate=22050
mixer_blocksize=2048
mixer_prebuffer=80
sblaster_sbtype=sb16
sblaster_sbbase=220
sblaster_irq=5
sblaster_dma=1
sblaster_hdma=5
sblaster_mixer=true
sblaster_oplmode=auto
sblaster_oplrate=22050
_EOFCFG_

# mount iso as E drive
cat <<_EOFAE_ > "$WINEPREFIX/drive_c/autoexec.bat"
@ECHO OFF
imgmount E "C:\GOGGAM~1\Megarace\MEGARACE.DAT" -t iso
_EOFAE_
 
POL_Shortcut "RACEPRG.EXE" "Megarace" "Megarace.png" "ENG ADP220 SBP2225 JOY0000-0000-0000-0000 EMS 386" "Game;RacingGame;"
POL_Shortcut_Document "Megarace" "$GOGROOT/Megarace/manual.pdf"
 
POL_SetupWindow_Close
exit 0

Replies

Saturday 30 May 2015 at 10:54
Thanks a lot ! Would you mind to add the graphics ?
Saturday 30 May 2015 at 10:54
https://github.com/medfreeman/playonlinux/tree/master/Megarace_gog/gfx
Saturday 30 May 2015 at 11:21
Done, by the way I'm not too fond of GOG's round icons (they're not genuine icons, and they become unreadable at low res too)
Saturday 30 May 2015 at 12:13
me neither, right.. i'll try to find or remake the original if there was one ! thanks
Saturday 30 May 2015 at 12:35
Ok, found the original cd in my cupboard :) remade the icons. Sorry for double work !
Monday 1 June 2015 at 11:28
Can you make the update ? Thanks
Monday 1 June 2015 at 14:07
Should be ok now