gcdemu

Questions about Wine on Linux
Locked
sponsor61
Level 3
Level 3
Posts: 65
Joined: Tue Apr 07, 2020 10:05 pm

gcdemu

Post by sponsor61 »

I installed gcdemu on Ubuntu 22.04LTS from the provided PPA. I was able to mount an windows game iso, and install it by double-clicking on Setup.exe from winefile. Yet when I try to run the game, I still get an "insert CD" dialog box.

What is the proper way to use gcdemu, which as I understand it emulates the CD-ROM hardware, such that I don't get stuck at "insert CD"?

Thanks!

P.S. I tried searching winehq for information about gcdemu, but found only old posts from 2013 and before.
sponsor61
Level 3
Level 3
Posts: 65
Joined: Tue Apr 07, 2020 10:05 pm

Re: gcdemu

Post by sponsor61 »

I made the iso from a CD of a 20 year old Windows game. gcdemu mounts it on drive H:. I tried also mounting it on drive D: using winecfg. I can install the game from drive H: or drive D: by double-clicking on Setup.exe from winefile, but either way a get stuck at the "insert CD" prompt. I notice that in winecfg, drive the H: drive mounted by gcdemu lists /dev/sr1 in the driver line, while for the D: drive entry I made has the driver line blank and unedittable
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: gcdemu

Post by jkfloris »

Wine creates two references for a CD-ROM drive in ~/.wine/dosdevices
Probably you have something like this

Code: Select all

dosdevices$ ls -asl
totaal 8
4 drwxr-xr-x 2 floris floris 4096 24 jul 22:42 .
4 drwxr-xr-x 4 floris floris 4096 24 jul 22:43 ..
0 lrwxrwxrwx 1 floris floris   10 24 jul 22:37 c: -> ../drive_c
0 lrwxrwxrwx 1 floris floris    8 24 jul 22:40 d: -> /dev/sr1
0 lrwxrwxrwx 1 floris floris   13 24 jul 22:42 h: -> /media/cdrom0
0 lrwxrwxrwx 1 floris floris    8 24 jul 22:42 h:: -> /dev/sr1
0 lrwxrwxrwx 1 floris floris    1 24 jul 22:37 z: -> /
You can remove the d-disk reference and rename the two h-disk references to d

Code: Select all

dosdevices$ rm d\: 
dosdevices$ mv h\: d\:
dosdevices$ mv h\:\: d\:\:
dosdevices$ ls -asl
totaal 8
4 drwxr-xr-x 2 floris floris 4096 24 jul 22:47 .
4 drwxr-xr-x 4 floris floris 4096 24 jul 22:45 ..
0 lrwxrwxrwx 1 floris floris   10 24 jul 22:37 c: -> ../drive_c
0 lrwxrwxrwx 1 floris floris   13 24 jul 22:42 d: -> /media/cdrom0
0 lrwxrwxrwx 1 floris floris    8 24 jul 22:42 d:: -> /dev/sr0
0 lrwxrwxrwx 1 floris floris    1 24 jul 22:37 z: -> /
I doubt this will help pass the CD check.
Some CD protections will work if the Windows version is set to Windows 98. Other CD protections do not work well with Wine and the only solution then is to find a no-cd patch. What game are you trying to install?
Locked