[Wine] Installing/running Command and Conquer Gold on OpenSolaris

davenz wineforum-user at winehq.org
Fri Oct 23 17:01:11 CDT 2009


For the benefit of anyone else trying to do this  :P 


Using Wine 1.1.26 as built on a snv_118 x64 system.


1) mount the ISO as a block accessible device using lofiadm, e.g:

pfexec lofiadm -a /export/home/dkoe001/Documents/Games/CnCGold/CnC_GDI95.iso  /dev/lofi/1

pfexec mount -F hsfs /dev/lofo/1 /mnt


2) use winecfg to map a drive to /mnt, configured as a "CD-ROM" drive (using drive D: in my case)


3) I then had to use the following trick to get the installer to actually run - all other attempts were met with the error similar to "Setup cannot find the files necessary to run the installation..."

See post number 3 by "NZLamb":

http://forum.eeeuser.com/viewtopic.php?id=13174

So for example:

cd /export/home/dkoe001/.wine/dosdevices

ls -l 

drwxr-xr-x 4 dkoe001 staff  8 2009-10-23 23:20 ..
drwxr-xr-x 2 dkoe001 staff  8 2009-10-23 22:50 .
lrwxrwxrwx 1 dkoe001 staff  5 2009-10-23 22:34 d: -> /mnt/
lrwxrwxrwx 1 dkoe001 staff 17 2009-10-23 22:33 e:: -> /dev/dsk/c8t0d0s2
lrwxrwxrwx 1 dkoe001 staff 20 2009-10-17 18:09 h: -> /export/home/dkoe001
lrwxrwxrwx 1 dkoe001 staff  1 2009-08-16 16:41 z: -> /
lrwxrwxrwx 1 dkoe001 staff 10 2009-08-16 16:41 c: -> ../drive_c

ln -s /export/home/dkoe001/Documents/Games/CnCGold/CnC_GDI95.iso d::

ls -l 

drwxr-xr-x 4 dkoe001 staff  8 2009-10-23 23:20 ..
drwxr-xr-x 2 dkoe001 staff  8 2009-10-23 22:50 .
lrwxrwxrwx 1 dkoe001 staff 58 2009-10-23 22:50 d:: -> /export/home/dkoe001/Documents/Games/CnCGold/CnC_GDI95.iso
lrwxrwxrwx 1 dkoe001 staff  5 2009-10-23 22:34 d: -> /mnt/
lrwxrwxrwx 1 dkoe001 staff 17 2009-10-23 22:33 e:: -> /dev/dsk/c8t0d0s2
lrwxrwxrwx 1 dkoe001 staff 20 2009-10-17 18:09 h: -> /export/home/dkoe001
lrwxrwxrwx 1 dkoe001 staff  1 2009-08-16 16:41 z: -> /
lrwxrwxrwx 1 dkoe001 staff 10 2009-08-16 16:41 c: -> ../drive_c


Installer now runs without issue. 


Now getting it to run on one core only - running CnC on my Intell Q8200 was unstable to the point of being totally unplayable. 

On snv_124 wine will run CnC in a full screen nicely, but there is some incompatibility with GNOME such that attempting to bounce out of it results in the original desktop resolution being nuked in favour of 640x480, if it snaps out of it at all. 

So, I execute wine 'C&C95' on the CLI, then halt the process before it takes over the display and obtain the wine PIDs. 

Feed these into pbind:

pfexec pbind -b 0 1082 1083 1098 

where 0 is the CPU number, and 1082 1083 1098 are wine PIDs. One can use psrinfo to obtain CPU information, and pgrep wine to obtain wine PIDs if needed.

Foreground the process, et voila! Kludgy but really does seem to work! :D 


Many thanks to the Wine devs for this wonderful piece of software!  :D







More information about the wine-users mailing list