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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14-07-2011, 11:32
napalmguy
Guest
 
Posts: n/a
Question about definition file

I don't know if this is the right forum for this or not so forgive me if I'm posting in the wrong forum

I've been repacking some of my very old games, and adding a game definition file to the installation

now i know that the file have to be signed for the content rating to appear

what I am asking is, is there a way to add the "Signed" flag automatically?

noting that I already use the signed gameuxinstallhelper.dll to register the resource file

and thanks in advance you've been a great help to me so far
Reply With Quote
Sponsored Links
  #2  
Old 15-07-2011, 04:05
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Quote:
Originally Posted by napalmguy View Post
I don't know if this is the right forum for this or not so forgive me if I'm posting in the wrong forum

I've been repacking some of my very old games, and adding a game definition file to the installation

now i know that the file have to be signed for the content rating to appear

what I am asking is, is there a way to add the "Signed" flag automatically?

noting that I already use the signed gameuxinstallhelper.dll to register the resource file

and thanks in advance you've been a great help to me so far
taken from msdn:

For the ratings to be interpreted and displayed by Games Explorer, you must digitally sign the DLL or executable file that contains the GDF data by using a trusted Certificate Authority. If your game is not signed, parental controls considers your game to be unrated, even if you have specified a rating in the GDF. For more information about signing code, see Authenticode Signing for Game Developers.
Reply With Quote
  #3  
Old 15-07-2011, 12:55
napalmguy
Guest
 
Posts: n/a
thanks peter for the reply.

I know I have to sign the GDF but of course i can't buy a certificate authority to sign games

i know that i can change the value "IsSigned" to "1"

is there an alternative method to do this automatically?
Reply With Quote
  #4  
Old 15-07-2011, 13:22
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
You can "sign" a package by simply changing the "IsSigned" flag to true?! I can very hardly believe that: if it's that easy - also to counterfeit signatures and to sign malware - then what would be the point of signing?
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
  #5  
Old 15-07-2011, 16:58
napalmguy
Guest
 
Posts: n/a


the IsSigned flag is in the Game Explorer registry values

and by changing that i didn't mean to bypass the signing process but merely to make the content rating that i added to the GDF I made appear in Game Explorer

I do this because I repack some of my very old games like MOH: Pacific Assault and Max Payne, Mafia and so on and some of these games are released long before the CA system became known

i know i can't sign any package but i can make content rating appear by changing that in the registry manually

again question is: is there a way to change this value automatically?

again thanks for you patience Joe
Reply With Quote
  #6  
Old 15-07-2011, 20:18
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
Quote:
Originally Posted by napalmguy View Post



i know i can't sign any package but i can make content rating appear by changing that in the registry manually

again question is: is there a way to change this value automatically?
if repacking / doing conversions for the older games, just add the changed registry value ( for the content rating ) into your inno script under the reg section ). Then when you install from the conversion that value will be already set to what you entered previously.

Some of the games you mentioned may not have been converted using an inno script but by taking one of the ones posted here that uses inno, and a bit of time changing the background images, wizard images, icon registry settings, application exes etc, write your own inno conversion file, and it will have that value preset.

good luck!! its time consuming, and lots of installing from original then backing up reg settings etc, uninstall & test out conversion process. ( easier to do with 2 pcs readily available )
Reply With Quote
  #7  
Old 16-07-2011, 08:07
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
Ahhh, you want to change the registry programmatically? You can use Windows' built-in reg command for that.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
  #8  
Old 16-07-2011, 11:01
napalmguy
Guest
 
Posts: n/a
thanks to all who replied to this thread.

I can't believe many respected members took the time to reply to this post

I'm not experienced user so forgive me for lack of better explanation of my request (I actually was afraid this thread might get deleted)

now I will tell you what I know so far

The game explorer values is in HKLM so it must have administrator rights or UAC turned off for the application to write in it

therefore, the gameuxinstallhelper.dll must be signed to make this system changes

however, the GDF resource file must also be signed for the content rating included in the xml resource to appear in the game explorer

it adds a certain values to the windows registry

example:

Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\GameUX\Games\{XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}]

"IsSigned"=dword:00000001
where the X's is replace by the game unique GUID and that is a random value created by gameuxinstallhelper.dll during the installation process

so the value changes every time, and i think i just can't add a reg value to the install script to change it

so is there like a code to search for all "IsSigned" dword values and check if it's value is "0" changes it to "1"?

and thanks you all for the help so far

PS: @ pakrat glad to see you again man, the main reason for me to do this is repacking the old Tomb Raider games with community patches and so on to play and install correctly on Windows 7 with an installer like the one from GoG (however, if such games is released on GoG i don't have the money to buy it and I won't pay for a game twice)

Edit: thanks Joe, i tried to look at the reg command but couldn't understand it very much or how i will use this in an innoscript, for example to change all signed values to "1"

Last edited by napalmguy; 16-07-2011 at 11:07.
Reply With Quote
  #9  
Old 16-07-2011, 21:41
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
napalmguy check the link posted by peter, link to game definition file editor and a link on left side menu for windows games explorer.. lots of good info in those pages.
Reply With Quote
  #10  
Old 17-07-2011, 00:35
napalmguy
Guest
 
Posts: n/a
@pakrat i read the whole msdn article before that i got a terrible headache from it
and my question is not covered by that link
Reply With Quote
  #11  
Old 17-07-2011, 04:51
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
Ohhh, then you don't need command-line programs: there are tons of registry-related functions in InnoScript, see them at http://www.jrsoftware.org/ishelp/top...tfunctions.htm . (No, I don't know InnoScript at all, just looked it up.) Create a loop that reads through all subkeys of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\GameUX\Games and set IsSigned in those subkeys to 1, if that value is not yet there.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
  #12  
Old 17-07-2011, 10:02
napalmguy
Guest
 
Posts: n/a
@Joe Right On!

thanks a lot sir and thanks to all other members that helped whether in this thread or by their contributions to this wonderful forum
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Midway Arcade Treasures 2 kartking CD/DVD Copy Protections & Utilities 5 19-11-2007 08:19
weird error.... sheykh PC Games 5 07-05-2006 20:23
Have Problems With Burning Please Help!!!!!!!!!!!!!!!! dblue CD/DVD Software & Utilities 1 15-09-2004 17:08
.Bin and . Cue File Question?? spidross01 DVD Backup Forum 3 23-12-2003 00:12
air force delta snake DC Games 1 13-04-2001 20:04



All times are GMT -7. The time now is 14:02.


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