.reg files, please help!

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
raddellee
Level 1
Level 1
Posts: 5
Joined: Mon Apr 14, 2008 8:41 pm

.reg files, please help!

Post by raddellee »

How does one run a .reg file in wine?

Im asking because to edit a game I need to make a .reg file and run it like an .exe

help will be appreciated!
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: .reg files, please help!

Post by vitamin »

raddellee wrote:How does one run a .reg file in wine?

Im asking because to edit a game I need to make a .reg file and run it like an .exe

help will be appreciated!

Code: Select all

wine start file.reg
raddellee
Level 1
Level 1
Posts: 5
Joined: Mon Apr 14, 2008 8:41 pm

Post by raddellee »

yes i have tried that.

\fixme:spoolsv:serv_main (0 (nil))
err:service:service_get_status service protocol error - failed to read pipe r = 0 count = 0!
fixme:exec:SHELL_execute flags ignored: 0x00000500
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: Success

And that comes up, then nothing happens!

I know other people have used this program in windows, so its not he programs fault. And i have set it up multiple times.

thanks, but is there any thing else?

Help will be appreciated!
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

raddellee wrote:Application could not be started, or no application associated with the specified file.
Indeed nothing is associated. You can't really "run" .reg files. All you can do is to import their content into registry. You can do that with

Code: Select all

regedit file.reg
The only trick - that file have to be REGEDIT4 format (saved for win9x/nt4).
raddellee
Level 1
Level 1
Posts: 5
Joined: Mon Apr 14, 2008 8:41 pm

Post by raddellee »

OK i cd the directory, and typed regedit DCfix.reg
and this error came up!



fixme:spoolsv:serv_main (0 (nil))
err:service:service_get_status service protocol error - failed to read pipe r = 0 count = 0!


What do you mean by:

"The only trick - that file have to be REGEDIT4 format (saved for win9x/nt4)."


Also i made the reg with a text document, could that have anything to do with it?


There is another way that involves a .bat file instead would that be simpler i tryed it once but i didn't get it working? Any tricks to a .bat file?



I am using linux mint, with wine 0.9.58.
James McKenzie

.reg files, please help!

Post by James McKenzie »

raddellee wrote:
OK i cd the directory, and typed regedit DCfix.reg
and this error came up!



fixme:spoolsv:serv_main (0 (nil))
err:service:service_get_status service protocol error - failed to read pipe r = 0 count = 0!


What do you mean by:

"The only trick - that file have to be REGEDIT4 format (saved for win9x/nt4)."


Also i made the reg with a text document, could that have anything to do with it?


Please post the contents of the .reg file here, if it is not a
crack/hack to bypass security coding.

Thank you.

James McKenzie
raddellee
Level 1
Level 1
Posts: 5
Joined: Mon Apr 14, 2008 8:41 pm

Post by raddellee »

Thanks so much, The regedit command did work, i thought it started the game and when it didn't i thought it was a dud.
But thank you. Vitamin.


And james Here id the contents.
I stared out the code!

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\THQ\Dawn Of War]
"CDKEY"="****-****-****-****"
"CDKEY_WXP"="****-****-****-****-"
"InstallLocation"="C:\\Program files\\THQ\\Dawn of War - Dark Crusade\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\THQ\Dawn of War - Dark Crusade]
"W40KCDKEY"="****-****-****-****-"
"WXPCDKEY"="****-****-****-****-****"


I bought the game dawn of war dark crusade, to play lan with my brother, but to install it i had to make room on my hdd, but deleting the previous 2 games.

Later i found out in lan, you need the other 2 games on your hdd to use all the races.

So this reg file uses the cd keys of the first 2 games and shows dark crusade that i have it.

So im not sure if thats a crack or not. My understanding is a crack gets ride of the use of inserting a cd,
Locked