LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2005, 06:05 PM   #1
IceDragon
LQ Newbie
 
Registered: Aug 2005
Location: Switzerland
Distribution: Kubuntu, Arch Linux
Posts: 20

Rep: Reputation: 1
how to make wine read windows registry


Hi folks,

I have an existing win2k partition with an baldurs gate 2 installation and would like to play that on linux using wine. Wine works fine so far. But when I start the Game, its splash screen looks fine, it starts properly, but I always get prompted by the game to install it. I installed it moths ago in Windows and since then I played a lot! It makes no sense to install it again...
I strongly suspect missing registry keys within the wine registry files (otherwise the game would "know" it's already installed)
Is there an easy way to just copy the contents of the windows registry into wine's reg files?
I use Gentoo Linux and did just "emerge wine" which installs wine just fine. I left all the configuration to default settings, as I plan not to let wine use the windows installation. Except once for copying the registry.
Any ideas or did I miss something?


Thanks in advance for any help,
IceDragon
 
Old 08-06-2005, 12:46 AM   #2
Zeistler
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 108

Rep: Reputation: 15
First, run Windows, in Windows run regedit and export your registry to a file like export.reg or something

Then run wine regedit to run the Wine version of regedit and import the newly exported registry file
 
Old 08-06-2005, 01:27 AM   #3
IceDragon
LQ Newbie
 
Registered: Aug 2005
Location: Switzerland
Distribution: Kubuntu, Arch Linux
Posts: 20

Original Poster
Rep: Reputation: 1
Thanks, I'll try that one out...

IceDragon
 
Old 08-06-2005, 03:27 PM   #4
IceDragon
LQ Newbie
 
Registered: Aug 2005
Location: Switzerland
Distribution: Kubuntu, Arch Linux
Posts: 20

Original Poster
Rep: Reputation: 1

Unfortunately the import into Wine's reg-files does not work. When I start regedit in Linux (which is a shell script ), "wine regedit" is started and I end up with the regedit of Windows.
How do I import the exported reg-file??


Greets & Thanks, IceDragon
 
Old 08-06-2005, 04:26 PM   #5
Ace2005
Member
 
Registered: Dec 2004
Distribution: OpenSuSE 10.0
Posts: 140

Rep: Reputation: 15
I usually copy the entire windows files into wine but the windows install is only 4GB so thats ok, but i think it'll work with just a copy of regedit.

Copy regedit.exe from ?:/windows/regedit.exe into the ~/.wine/drive_c/windows and rename the one that is in there to regedit_backup.exe

Then it will run, the problem is that you are using two different versions of regedit and this will solve it.

Last edited by Ace2005; 08-06-2005 at 04:28 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
read windows registry in a mounted partition jessepangburn Linux - Software 1 04-18-2005 09:10 PM
wine registry problem Rydog2987 Linux - Software 3 08-13-2004 10:50 PM
Wine Registry problems... chewysplace Linux - Software 1 05-07-2004 01:03 PM
How do I use my original Windows XP registry with wine? Xylon Linux - Software 1 03-11-2004 06:31 PM
Wine Registry Help Needed matthurne Linux - Software 0 09-12-2003 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration