I have been struggling for weeks with this problem so I'm now turning to you.
Long story short
I try (but obviously fail) to make my Wine prefix believe that a loop block device is a real CD-ROM device.
Full story
I play the old game Toy Story 2: Buzz Lightyear to the Rescue on my Linux computers via Wine. It mostly works like a charm (at least way better than on modern Windows) but comes with a major drawback: at launch, the game checks the optical disk drive for its CD-ROM and refuses to run without it. As optical disks are falling into oblivion, more and more modern computers do not come with an optical disk drive (and I must say that laptops are thus lighter and ISO files are easier to play with anyway and all this does not displease me). But I still want to play this game, even without the actual CD-ROM handy.
I have tried many things:
- Mounting an ISO of the disk to a certain mount point and pointing my Wine prefix's D: drive to said mount point;
- Using the "Bypass disk check" tip (which, in a nutshell, proposes to copy the CD's content to the hard drive and to set accordingly the relevant Registry keys);
- Creating a loop device file from the ISO using the losetup command in order to really simulate a block disk device.
Although I don't think there is any relation with specific versions of Wine or with my distros, here are my setups:
- Arch Linux (64 bits) with Wine Staging 4.11 (same problem with 4.10);
- Ubuntu 19.04 (64 bits) with Wine Stable 4.0.1;
- Ubuntu 16.04 (32 bits) with Wine Stable 4.0.1;
So I call for help. I believe my last try (with the loop device) is the right path. It would be the cleanest and most generic way to make it work, while answering a bigger question as well. But I am of course open to other suggestions.
Thank you in advance (and if you need any more details, do not hesitate)!
Note: I have searched this forum (and carefully read this thread) but could not find any solutions...