Jump to content
  • 0

How to install and play Tiberian dawn, Red alert1, Tiberian Sun and RA2 on Linux


pichorra

Question

This is for C&C95. For RA95, read the post#2, TS post #3, RA2 post #4

 

 

!!- Remember -!! $ for user commands, # for Root commands!

 

 

1 - download and install the game from here

-- A note: You can't install the game from the discs. Wine will annoy you that there are files missing.

 

2 - Run the game installer ( $ wine cc95versionumber_full.exe ) and install in somewhere of the disk.

 

4 - Download the lastest patch from here

 

5 - Run the patch ( $ wine cc95versionnumber.exe ) and point where you installed the game.

 

6 - Download CnC-DDraw and copy to the game folder.

 

7 - Create a DDraw.ini in the game folder, and put the especific settings:

[ddraw]
width=yourcurrentresolutionwidth
height=yourcurrentresolutionheight
; bits per pixel, possible values: 16, 24 and 32, 0 = auto
bpp=0
windowed=false
; show window borders in windowed mode
border=true
; use letter- or windowboxing to make a best fit (GDI only!)
boxing=false
; real rendering rate, -1 = screen rate, 0 = unlimited, n = cap
maxfps=120
; vertical synchronization, enable if you get tearing (OpenGL only)
vsync=false
; scaling filter, nearest = sharp, linear = smooth (OpenGL only)
filter=nearest
; mouse sensitivity scaling
adjmouse=false
; manual sensitivity scaling, 0 = disabled, 0.5 = half, 1.0 = normal
sensitivity=0.0
; enable C&C/RA mouse hack
mhack=true
; enable C&C video resize hack, auto = auto-detect game, true = forced, false = disabled (OpenGL only)
vhack=auto
; switch between OpenGL (opengl) and software (gdi) renderers, latter supports less features but might be faster depending on the GPU
renderer=opengl

-- A note¹: if you want the game in windowed, keep reading this topic

-- A note²: you can change the filter, and the renderer settings for your preferences.

 

8 - Configure wine

 

$ winecfg

 

On the Applications tab, click on "Add Application", and point to the C&C95.exe

On the Libraries tab, add "ddraw.dll" for the library replacements.

On the Graphics tab, Enable "Emulate an virtual desktop", and put your current resolution there.

On the Audio tab, Change the "Hardware acceleration" from "Hardware" to "Emulation".

 

-- A note: If you want the game in windowed mode, change the width and height of ddraw.ini to an smaller than your screen, and so do it for the Wine desktop emulation.

 

9 - $ wine ccsetup.exe  and select your resolution. Don't mess into other settings, otherwise cnc-ddraw will not work right.

-- A note: Edit conquer.ini to get more options. And if you use 640x400, you will get the game original aspect ratio.

 

10 - now, browse in the game folder using the terminal and run it with the following command:

 

$ wine C/&C95.exe (do not forget the "/"!)

 

 

A probably FAQ:

 

Q: Why can't i use the windowed in ddraw.ini?

A: Somehow, if you do that, the mouse get locked in the middle of the screen :P

 

Q: Why i can't enable vsync?

A: I do not recomend that, give me a crappy FPS and Mouse lag bug.

 

Q: Why do i need to put the Hardware acceleration to "Emulation"

A: Otherwise the game sound will hang up.

 

Q: Why do i need to set the "Emulate a virtual desktop"?

A: Otherwise the Mouse will lock into the botton of the screen.

 

CnCNet under linux: http://www.cnc-comm.com/community/index.php?topic=1713.msg8489#msg8489

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

RA95: Red Alert 1

 

1 - download the game from here and unzip in somewhere of the disk

 

2 - Download CnC-DDraw and copy to the game folder.

 

4 - Create a DDraw.ini in the game folder, and put the especific settings:

[ddraw]
width=yourcurrentresolutionwidth
height=yourcurrentresolutionheight
; bits per pixel, possible values: 16, 24 and 32, 0 = auto
bpp=0
windowed=false
; show window borders in windowed mode
border=true
; use letter- or windowboxing to make a best fit (GDI only!)
boxing=false
; real rendering rate, -1 = screen rate, 0 = unlimited, n = cap
maxfps=120
; vertical synchronization, enable if you get tearing (OpenGL only)
vsync=false
; scaling filter, nearest = sharp, linear = smooth (OpenGL only)
filter=nearest
; mouse sensitivity scaling
adjmouse=false
; manual sensitivity scaling, 0 = disabled, 0.5 = half, 1.0 = normal
sensitivity=0.0
; enable C&C/RA mouse hack
mhack=true
; enable C&C video resize hack, auto = auto-detect game, true = forced, false = disabled (OpenGL only)
vhack=auto
; switch between OpenGL (opengl) and software (gdi) renderers, latter supports less features but might be faster depending on the GPU
renderer=opengl

-- A note¹: if you want the game in windowed, keep reading this topic

-- A note²: you can change the filter, and the renderer settings for your preferences.

 

5 - Configure wine

 

$ winecfg

 

On the Applications tab, click on "Add Application", and point to the RA95.exe

On the Libraries tab, add "ddraw.dll" and "wsock32.dll" for the library replacements.

On the Graphics tab, Enable "Emulate an virtual desktop", and put your current resolution there.

On the Audio tab, Change the "Hardware acceleration" from "Full" to "Emulation".

 

-- A note: If you want the game in windowed mode, change the width and height of ddraw.ini to an smaller than your screen, and so do it for the Wine desktop emulation.

 

6 - now, browse in the game folder using the terminal and run it with the following command:

 

$ wine RA95.exe

 

 

Q: Why can't i use the windowed in ddraw.ini?

A: Somehow, if you do that, the mouse get locked in the middle of the screen :P

 

Q: Why i can't enable vsync?

A: I do not recomend that, give me a crappy FPS and Mouse lag bug.

 

Q: The game only show up in the Upper-left corner! What can i do?

A: check if there is a RA95.DAT in your game folder. If yes, rename ra95.exe to ra95.bak, and rename ra95.dat to ra95.exe.

 

Q: Why do i need to put the Hardware acceleration to "Emulation"

A: Otherwise the game sound will hang up.

 

Q: Why do i need to set the "Emulate a virtual desktop"?

A: Otherwise the Mouse will lock into the botton of the screen.

 

 

CnCNet v3 on Linux http://www.cnc-comm.com/community/index.php?topic=1713.msg8490#new

 

Link to comment
Share on other sites

  • 0

TS:

 

1 - download and install the game from url=http://www.cnc-comm.com/community/index.php?action=downloads;sa=view;down=41]here[/url].

 

2 - Browse where is  the installer and run it with the following command:

$ wine TSinstaller12.exe

 

3 - Edit SUN.INI and choose wathever you want (resolution, etc)

 

4 - $ winecfg

 

 On the Applications tab, click on "Add Application", and point to the GAME.exe

 On the Libraries tab, add "wsock32.dll" for the library replacements.

 

5 - Add the following tricks (from WineHQ):

 

  Run 'wine regedit', browse to HKEY_CURRENT_USER\Software\Wine. If there is no key (the stuff with folder icons) called AppDefaults, then create it

 

  Right-click on that key and create a new key game.exe

 

  Create a new subkey Direct3D. In that key create two string variables:

 

  DirectDrawRenderer with value opengl

 

  RenderTargetLockMode with value readtex

 

6 - $ wine game.exe

 

have fun!

 

Playing in cncnet: http://www.cnc-comm.com/community/index.php?topic=1713.msg8489#msg8489

Link to comment
Share on other sites

  • 0

RA2 - Red Alert 2:

 

 

1 - Install Red Alert 2 on a Windows computer (yes, you have to install it on Windows first), using your game CD. Make sure that you install the Westwood Shared Internet Components, as these provide the auto-updater.

 

2 -  Update the game to version 1.006. If the auto-updater fails, you can download a standalone patch, which you should scan with your Windows anti-virus software before running.

-- A note: If you are running TFD version of it, you do not need to patch the game

 

3 - Copy everything to an Removable drive, and copy back to your linux computer.

 

4 - Edit RA2.INI and choose wathever you want (resolution, etc)

 

4 - $ winecfg

 

 On the Applications tab, click on "Add Application", and point to the GAME.exe

 On the Libraries tab, add "wsock32.dll" for the library replacements.

 Put your game disk, On the Drive tab, Click on "Advanced", select "CD-ROM Drive" and on path, browse where your disk is monted.

 

 

5 - Add the following tricks (from WineHQ):

 

  Run 'wine regedit', browse to HKEY_CURRENT_USER\Software\Wine. If there is no key (the stuff with folder icons) called AppDefaults, then create it

 

  Right-click on that key and create a new key game.exe

 

  Create a new subkey Direct3D. In that key create two string variables:

 

  DirectDrawRenderer with value opengl

 

  RenderTargetLockMode with value readtex

 

6 - $ wine game.exe

 

have fun!

 

Playing in cncnet: http://www.cnc-comm.com/community/index.php?topic=1713.msg8489#msg8489

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...