Welcome, Guest. Please login or register.

Login with username, password and session length
May 20, 2012, 05:05:51 AM
[Less]
  • News: ATokar.net 3.0 has been released! Click here for more info.

  •  
linktree ATokar.net  >  Coding  >  Tutorials
linktree Topic: How To: Install .iso files through wine on Ubuntu
Pages: [1]   Go Down
  Print  
Author Topic: How To: Install .iso files through wine on Ubuntu  (Read 10763 times)
0 Members and 1 Guest are viewing this topic. Bookmarked by 0 members.
Nobbit
Global Moderator
Karma: +4/-0
Offline Offline

Gender: Male
Posts: 148




« on: February 09, 2009, 08:33:17 PM »

Hi,

I tried to install Baldur's Gate 2 on my Ubuntu 8.10 Laptop through wine. The problem, that you have to change the discs while installing is well known: Wine won't detect the follow-up CD. For me, it was even a problem to get CD1 out without interrupting the installation process.

I searched all the forums I would find, but either the solutions worked only partially or in no way. So I decided, whenever I would make it to finally install it, I'd have a post here - and there we are:

Note: Whereever BG2_CD1 or similar appears, you have to insert the exact name of the original cd :P

1) throw CD1 in

2) open Nautilus
3) right mouseclick on BG2_CD1, 'unmount' (CD should stay in the drive, so don't chose other options)

4) run Terminal as root. To change to root you have to

Code: [Select]
sudo -s


5) now create an .iso file

Code: [Select]
dd if=/dev/cdrom of=BG2_CD1.iso # for cdrom

Be patient, progress will not be shown, only result - could take some minutes.
The .iso file appeared in /home/nobbit

6) throw out CD1, throw in CD2. The same procedure starting over. Watch out while naming the files - remember: they have to be the exact name of the CD. So for me it would start over with

Code: [Select]
dd if=/dev/cdrom of=BG2_CD2.iso # for cdrom
dd if=/dev/cdrom of=BG2_CD3.iso # for cdrom
dd if=/dev/cdrom of=BG2_CD4.iso # for cdrom


Resulting in four .iso files in /home/nobbit

7) Get your last CD out of the drive.

8) Terminal still running under root - perfect! Because we need to

Code: [Select]
mount -o loop -t iso9660 BG2_CD1.iso /cdrom


9) Now you have to search for setup.exe in Nautilus and run it through wine. After that you can close nautilus - no need anymore.
10) Installation starts. Attention!, Chose to install fully/completely! The process will stop at 37% when you will be required to throw CD2 in. Therfore you got to throw out the .iso file you mounted earlier:

Code: [Select]
sudo eject /dev/cdrom

11) Just go on as you practiced :):

Code: [Select]
mount -o loop -t iso9660 BG2_CD2.iso /cdrom


Wait for Wine to ask you for CD3

Code: [Select]
sudo eject /dev/cdrom
mount -o loop -t iso9660 BG2_CD3.iso /cdrom

Wait for Wine to ask you for CD4

Code: [Select]
sudo eject /dev/cdrom
mount -o loop -t iso9660 BG2_CD4.iso /cdrom


Now the installation will run to 95% (or something like that).

12) Note! Now you will have to input the "real" CD1; this is due to copy protection.

Code: [Select]
sudo eject /dev/cdrom


to throw out the .iso file. Afterwards you insert CD1 and hit okay. Wine will detect the CD (finally, this time).

13) To start playing, you need CD2 to be in the drive. otherwise you won't even see the video sequences. In this moment, my lovely OS refused to mount CD2 - restart helped.

14) To install the extension pack "Throne of Bhaal" you can simply do that through wine with the CD. After installing the extension you need the extension-CD to be in your drive to start the game.
Btw: Although you can find the shortcuts of Shadows of Amn still being in the Wine menue, You can start the game only via the shortcuts of Throne of Bhaal.

15) Another hint: In configuration menue you can set the three panels to max (today everyone has more than 600MHz, i guess), but disable 3D effects (they don#t work under Wine).

I hope, this was of help for you and I'll be glad to receive a feedback on this :)
« Last Edit: February 10, 2009, 11:48:23 AM by Nobbit » Logged

And after they killed the Hobbit, it went even worse 'cause there appeared ... the Nobbit
Pages: [1]   Go Up
  Print  
 
Jump to:  


Copyright © 2007–2010 ATokar.net. All trademarks are property of their respective owners.
Powered by SMF | SMF © 2006–2007, Simple Machines LLC
Page created in 0.079 seconds with 26 queries.
Contact Us - ATokar.net - XML - Sitemap - Top
Valid HTML 4.01! Valid CSS! Valid RSS! Powered by Linux Powered by MySQL Powered by PHP Powered by Apache 2.2