Command And Conquer : Red Alert 1

Informations

Créateur Messages
KoRnKloWn

Attention

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

Informations

Plate-formes :
Téléchargements : 42208
Wine: 1.3.12

Retours d'expérience

Description

Script for the classic Command And Conquer Red Alert (1995 ?), released as freeware ISO CD images by EA Games to promote Red Alert 3 (2008). However if you use those ISO images, they will need to be burned to disc for this game to work correctly.
Wikipedia.

Code source

#!/bin/bash
# Date: (7/3/2012)
# Wine version used: 1.3.12
# Distribution used to test : Linux Ubuntu 12.04 x64
# Author: Tory Gaurnier
# Licence: OpenSource
 
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Command And Conquer : Red Alert"
PREFIX="RedAlert"
DDRAWURL="http://hifi.iki.fi/cnc-ddraw/ddraw.dll"
PATCHURL="http://nyerguds.arsaneus-design.com/cncstuff/ra303patch.exe"
 
# Starting the script
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Westwood Studios Inc." "www.commandandconquer.com" "Tory Gaurnier" "$PREFIX"

POL_SetupWindow_message "$(eval_gettext 'NOTE: This installer requires you to use a CD, if you downloaded the freeware ISO images released by EA, please burn them to a CD or DVD using something like Brasero, and insert into your CD drive. Mounting the ISO images may work with certain software, however I know that Mounty does not work for this.')" "$TITLE"

# Create temp folder and download needed files
POL_System_TmpCreate "RedAlert"
cd $POL_System_TmpDir
POL_Download "$PATCHURL"
POL_Download "$DDRAWURL"

# Create and setup wine prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "1.3.12"
POL_Wine_OverrideDLL "native,builtin" "ddraw"
Set_OS "win98"

# Install game
POL_SetupWindow_cdrom
SETUP_EXE=$CDROM/SETUP.EXE
ln -s $CDROM/ $WINEPREFIX/dosdevices/d\:
#POL_SetupWindow_message "$(eval_gettext 'Next, mount the Soviet disk or iso image, and choose its mount location')" "$TITLE"
POL_Wine start /unix "$SETUP_EXE"
POL_Wine_WaitExit "$TITLE"

# Set back to winxp and install update patch
Set_OS "winxp"
POL_Wine start /unix "$POL_System_TmpDir/ra303patch.exe"
POL_Wine_WaitExit "$TITLE"

# Move ddraw.dll to game directory (fixes most bugs under Windows XP and Wine)
mv "$POL_System_TmpDir/ddraw.dll" "$WINEPREFIX/drive_c/WESTWOOD/REDALERT/ddraw.dll"

POL_System_TmpDelete
POL_Shortcut "RA95.exe" "$TITLE" "redalert.png"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
anyb Jeudi 4 Juin 2015 à 20:43
anyb Anonymous

Messages

Hi. Installer expecting CD to be burned. Is there any workaround for Notebook without CD-ROM drive at all?

Réponses

Jeudi 4 Juin 2015 à 20:57
Unfortunately, if you only have a CD, but not drive, you might have to copy the disc to a flash drive and try to point the installer to the flash drive. That is just what comes to mind. It should work, though.
Anonymous
Jeudi 4 Juin 2015 à 21:49
Thank you for response.
After your suggestion I have tried following procedure:
1. Format USB Flash drive (FAT/NTFS/ext4)
2. Copy .iso using dd command: sudo dd if=/.../isofile.iso of=/dev/sdX
3. Run the PlayOnLinux script

Unfortunately, none of these file system works. In case FAT it was total failure (something about drive being inaccessible), for NTFS/ext it was exact same error as if I use mount command.

I'm leaving this message out to not waste time and efforts of anybody who might look into this in future.
Jeudi 4 Juin 2015 à 22:02
Wait, this was an ISO? where did you get it from?
Anonymous
Jeudi 4 Juin 2015 à 22:15
When EA was advertising RA3 they provide RA1 for free. Here is webarchive: http://web.archive.org/web/20080913232303/http://www.ea.com/redalert/news-detail.jsp?id=62 (link to download might be out dated now). I've downloaded it back then. This copy of iso certainly was working under Windows (mounted) because I was using it like that back then via DeamonTools I think.
Jeudi 4 Juin 2015 à 22:18
Oh ok. Cool. You should be able to mount it in Linux the same way, but using a different program. We don't support ISO mounting, but it is really simple to find by doing a little searching. ;)

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