Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20-12-2018, 04:18
Chrushev Chrushev is offline
Registered User
 
Join Date: Dec 2018
Location: US
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Chrushev is on a distinguished road
Question How to know which registry files to extract/use and how to do it?

So please correct me if I am wrong. But what I understand it is sufficient to simply pack (archive) the installation directory of a game for it to run no matter where its installed. But in addition to that we also need registry entries that get created on install.

Whats the easiest way to find which entries are needed and how to export/use them in my installer?

Thanks
Reply With Quote
The Following User Says Thank You to Chrushev For This Useful Post:
yasitha (27-12-2018)
Sponsored Links
  #2  
Old 20-12-2018, 04:28
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Not all games need registry entires nor create them (because they don't have any).

Some games require registry entries (most common for EA games).

You have to know firstly where to look. Most games store information in "HKLM\Software\Wow6432Node\xyz". Simply watch out for publisher keys (it's most common).

Example for GOG games: "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ GOG.com\[GameID]"

Right-click on the key folder and export it to somewhere, then you can use a .reg to .iss converter (it is somewhere in this forum).

Or you could also use InnoIDE to do this job.
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
  #3  
Old 20-12-2018, 05:00
Grumpy's Avatar
Grumpy Grumpy is offline
Moderator
 
Join Date: Jun 2004
Location: Australia
Posts: 5,695
Thanks: 1,256
Thanked 1,851 Times in 812 Posts
Grumpy is on a distinguished road
@Chrushev

Useful Programs

Lots of helpful little programs available in that thread I have linked you too .... you will find a Reg to Inno program in the 2nd post in that thread
__________________
Can't find a Game Conversion? Check the 'Conversion INDEX'
Reply With Quote
The Following User Says Thank You to Grumpy For This Useful Post:
  #4  
Old 27-12-2018, 09:14
yasitha's Avatar
yasitha yasitha is offline
Registered User
 
Join Date: Apr 2013
Location: Krypton
Posts: 297
Thanks: 204
Thanked 48 Times in 33 Posts
yasitha is on a distinguished road
Quote:
Originally Posted by Chrushev View Post
So please correct me if I am wrong. But what I understand it is sufficient to simply pack (archive) the installation directory of a game for it to run no matter where its installed. But in addition to that we also need registry entries that get created on install.

Whats the easiest way to find which entries are needed and how to export/use them in my installer?

Thanks
Use Regshot its Perfect

READ this Articles it will help!

https://www.howtogeek.com/198679/how...your-registry/

https://www.maketecheasier.com/regsh...istry-changes/

https://www.maketecheasier.com/monit...ndows-regshot/


and use this tool to convert .reg file to inno setup registry
Reg to INNO Converter ENG it's Perfect Tool
https://fileforums.com/showpost.php?...65&postcount=2

SPECIAL THANKS TO pakrat2k2 For Making this Tool
__________________
Keep Up The Good Works!
Reply With Quote
  #5  
Old 27-12-2018, 09:25
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
you really dont have to have external program to get the reg entries you want. Use regedit
( comes with every version of windows ), navigate to section you want, then right-click export to conversion folder your working on. After that use reg to inno converter.
Code:
IE:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft\Might and Magic: Heroes VII
IF you dont have X64 system then it would just be SOFTWARE\Ubisoft\...
You would just goto the GOG.com listing, then export that like I mention above.

Much easier then how you currently do it, but thanks for posting that info, as others can use it for reference.

Here is an example from exported Registry Entry for game.
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Ubisoft\Uplay\GameStarter\1176]
"StartResult"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs\1176]
"Language"="pl-PL"
"InstallDir"="{D:\Ubisoft\Might and Magic: Heroes VII}"

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft\Might and Magic: Heroes VII]
"Language"="POL"
"installdir"="{D:\Ubisoft\Might and Magic: Heroes VII}"
After using Reg to Inno Converter, and changing the installed folder, so everyone can install it where they want.
Code:
Root: HKCU; SubKey: Software\Ubisoft\Uplay\GameStarter\1176; ValueType: dword; ValueName: StartResult; ValueData: $00000000; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs\1176; ValueType: string; ValueName: Language; ValueData: pl-PL; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs\1176; ValueType: string; ValueName: InstallDir; ValueData: {{app}; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\WOW6432Node\Ubisoft\Might and Magic: Heroes VII; ValueType: string; ValueName: Language; ValueData: POL; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\WOW6432Node\Ubisoft\Might and Magic: Heroes VII; ValueType: string; ValueName: installdir; ValueData: {{app}; Flags: uninsdeletevalue uninsdeletekeyifempty
You can see how its been changed. You can also add additional languages, copy / paste the pl-PL & POL for as how many languages you would need.
Code:
Root: HKLM; SubKey: SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs\1176; ValueType: string; ValueName: Language; ValueData: en-US; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\WOW6432Node\Ubisoft\Might and Magic: Heroes VII; ValueType: string; ValueName: Language; ValueData: ENG; Flags: uninsdeletevalue uninsdeletekeyifempty

Last edited by pakrat2k2; 27-12-2018 at 09:37.
Reply With Quote
The Following 2 Users Say Thank You to pakrat2k2 For This Useful Post:
jabervamp (21-11-2020), yasitha (27-12-2018)
  #6  
Old 27-12-2018, 09:40
yasitha's Avatar
yasitha yasitha is offline
Registered User
 
Join Date: Apr 2013
Location: Krypton
Posts: 297
Thanks: 204
Thanked 48 Times in 33 Posts
yasitha is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
you really dont have to have external program to get the reg entries you want. Use regedit
( comes with every version of windows ), navigate to section you want, then right-click export to conversion folder your working on. After that use reg to inno converter.
Code:
IE:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\GOG.com\Games\1118073204
IF you dont have X64 system then it would just be SOFTWARE\GOG.com\...
You would just goto the GOG.com listing, then export that like I mention above.

Much easier then how you currently do it, but thanks for posting that info, as others can use it for reference.
i don't use regshot,
like you said,
it will be easier to track down with regedit.exe
we just need to know the game publisher or developers

for example Ubisoft games use here

32 Bit Registry Here:
Code:
HKEY_CURRENT_USER\Software\Ubisoft
HKEY_LOCAL_MACHINE\SOFTWARE\Ubisoft
64 Bit Registry Here:
Code:
HKEY_CURRENT_USER\Software\Wow6432Node
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft
but some others need simple way out
that's why i suggest the regshot
__________________
Keep Up The Good Works!
Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump



All times are GMT -7. The time now is 21:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com