Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 11:48

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: OS information changing - xp to win 7/vista ?
PostPosted: 02 Apr 2010 17:31 

Joined: 24 Sep 2007 02:12
Posts: 1114
Location: http://sethioz.co.uk
is there a way to change XP's information so it says it is win 7.
there's a game called Just Cause 2, that only supports win 7 / vista, its their ridiculous conspiracy to make ppl use crap, instead of old good xp.
some noobs say its because of directx 10, but i do have dx10 on xp, so this isn't the case, game error message says that i need newer version of windows in order to run it. so i want to fool the game to make it think i run vista / win 7.
Luigi told me about GetVersion, but after googling for a while, i did not saw anything useful that i can use to change the version.


Last edited by Sethioz on 03 Apr 2010 15:56, edited 1 time in total.

Top
 Profile  
 
 
 Post subject: Re: OS information chaning - xp to win 7/vista ?
PostPosted: 02 Apr 2010 19:15 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
you should hook (breakpoint in olly) GetVersion and GetVersionEx and checking if the functions are called.
http://msdn.microsoft.com/en-us/library/ms885648.aspx


Top
 Profile  
 
 Post subject: Re: OS information chaning - xp to win 7/vista ?
PostPosted: 03 Apr 2010 15:41 

Joined: 24 Sep 2007 02:12
Posts: 1114
Location: http://sethioz.co.uk
you mean i should debug game instead of windows ? and make game think that i have win 7, not actually change the version ?

EDIT:
how exactly i can breakpoint the GetVersion in olly ? no sure what you mean.


Top
 Profile  
 
 Post subject: Re: OS information changing - xp to win 7/vista ?
PostPosted: 03 Apr 2010 19:08 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
you have 2 ways to set the breakpoint:
1) from the "embedded command-line" using bp GetVersion and bp GetVersionEx
2) select the left-up window, ctrl-g, type GetVersion and then press F2


Top
 Profile  
 
 Post subject: Re: OS information changing - xp to win 7/vista ?
PostPosted: 03 Apr 2010 20:15 

Joined: 24 Sep 2007 02:12
Posts: 1114
Location: http://sethioz.co.uk
just to make sure, i open game.exe right ? set bp and then run it ?
if so, then there's a problem, on some reason olly gets stuck on 97.8% and freezes. says analyzing and thats all, then it stops responding.


Top
 Profile  
 
 Post subject: Re: OS information changing - xp to win 7/vista ?
PostPosted: 03 Apr 2010 21:26 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
yes.
the freeze is normal sometimes with some executables and it could take some minutes.
if you want to skip it press space before the freeze


Top
 Profile  
 
 Post subject: Re: OS information changing - xp to win 7/vista ?
PostPosted: 04 Apr 2010 19:08 

Joined: 24 Sep 2007 02:12
Posts: 1114
Location: http://sethioz.co.uk
yeah did that.
it did find GetVersion and i bp it, at least ctrl-g (go to expression in left upper window) took me to some offset and i put bp there, but nothing happens, doesn't break.
care to take a look at the .exe ?
http://www.sx.brutalcore.co.uk/stuff/JustCause2.rar


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: