CDemu Half Life 2 install problem

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
guriinii
Newbie
Newbie
Posts: 2
Joined: Tue Aug 02, 2011 3:01 pm

CDemu Half Life 2 install problem

Post by guriinii »

Hi!

I'm trying to install HL2 and I have no CD drive, So I've been using CDemu to mount the CDs, which works, but when the installer asks "Insert Disc 2" I eject the CD with

Code: Select all

wine eject d:
I then mount CD2 and click to continue but nothing happens and the window doesn't go away.

I am stuck and exhausted my resources, can anyone help?
ryan woodsmall

CDemu Half Life 2 install problem

Post by ryan woodsmall »

I am stuck and exhausted my resources, can anyone help?
Yes, don't use pirated software. HL2 is $9.99 on Steam. -r
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: CDemu Half Life 2 install problem

Post by vitamin »

guriinii wrote:I'm trying to install HL2 and I have no CD drive
Install it from Steam.
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Re: CDemu Half Life 2 install problem

Post by DaVince »

ryan woodsmall wrote:
I am stuck and exhausted my resources, can anyone help?
Yes, don't use pirated software. HL2 is $9.99 on Steam. -r
That's a rather easy assumption to make... I regularly make ISOs of my completely legally bought games too, because they're more convenient...

But yes, installing through Steam would be the easiest solution to this, probably.

If you insist on installing through CD images... Do both CD images have the same mount point? Or is the mount point based on the CD's name label?
guriinii
Newbie
Newbie
Posts: 2
Joined: Tue Aug 02, 2011 3:01 pm

Re: CDemu Half Life 2 install problem

Post by guriinii »

DaVince wrote:Do both CD images have the same mount point? Or is the mount point based on the CD's name label?
Not sure, I think the mount point is based on the name. Which are HL2_1 and HL2_2. But I'm thinking of setting up a dual boot of XP, which is also proving to be difficult without a CD drive.
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Post by SpawnHappyJake »

CDemu can mount 2 images at once. Why not have them both mounted at the same time to make a D: drive and an E: drive? Then you don't have to bother with ejecting, unless it looks to the same drive letter; but I think it would be smarter than that.
Also, people having problems with multi-CD/DVD installations with WINE has occurred before, and netbooks (no optical drive) aren't a rarity, plus there are MacBook Airs (no optical drive), so there is no argument that can accuse our op of piracy, though it might look a little suspicious. BTW, who thought that a CD check would reduce piracy? You can just make a physical copy the disc (duh), emulators aside. You need something like phone/ online activation, and have updates override hacked binaries. Did they think pirates were too lazy/ cheap to burn a disc? It's still cheaper than buying the game, even if you buy the blanks. If game discs were protected by drive firmware, then it might make sense, but they're not.

Cheers,
Jake
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Re: CDemu Half Life 2 install problem

Post by DaVince »

guriinii wrote:
DaVince wrote:Do both CD images have the same mount point? Or is the mount point based on the CD's name label?
Not sure, I think the mount point is based on the name. Which are HL2_1 and HL2_2. But I'm thinking of setting up a dual boot of XP, which is also proving to be difficult without a CD drive.
I suggest you manually mount them on the same mount point (whenever they're needed of course, since you can only mount one thing at one point). That way, Wine will detect both locations as the same CD drive, and the chance of the installer failing lowers quite a bit.
DL
Level 3
Level 3
Posts: 70
Joined: Fri Jun 27, 2008 7:47 pm

Re: CDemu Half Life 2 install problem

Post by DL »

guriinii wrote:Hi!

I'm trying to install HL2 and I have no CD drive, So I've been using CDemu to mount the CDs, which works, but when the installer asks "Insert Disc 2" I eject the CD with

Code: Select all

wine eject d:
I then mount CD2 and click to continue but nothing happens and the window doesn't go away.

I am stuck and exhausted my resources, can anyone help?
You could try the loopback method for mounting CD images:

Code: Select all

sudo mount -o loop <filename.iso> <mount point>
Then once you are prompted for the next disc you could use the same "wine eject d:" method, or you could do a lazy umount:

Code: Select all

sudo umount -l <mount point>
Then mount the next image with the same process. You could also try a lazy umount with cdemu as well.
DL
Level 3
Level 3
Posts: 70
Joined: Fri Jun 27, 2008 7:47 pm

Post by DL »

Oh and to be clear, you'll need to add the mount point for a loopback mount as a cd drive with winecfg (or just use whatever mount point you used for cdemu)
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Post by SpawnHappyJake »

Just remember, the loopback thing does not emulate hardware. It won't look like a CD drive.

Cheers,
Jake
Locked