Luigi Auriemma

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

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: bf2guid tool for 1942?
PostPosted: 07 Aug 2009 12:10 

Joined: 07 Aug 2009 12:01
Posts: 3
Anyone got to work some code to change BF1942 keyhash/cdkey into proper PB guid? I tried to use key2pb tool, but with no effect =/
Such tool would be usefull to check players on the Master Ban List without having to catch them on the server to look up their guid.


Top
 Profile  
 
 
 Post subject: Re: bf2guid tool for 1942?
PostPosted: 07 Aug 2009 12:48 

Joined: 16 Aug 2007 06:25
Posts: 367
I tried brute forcing the seeds for 1942 a while back (all seeds in 0xFFFFFFFF), but had no luck. It would take some reverse engineering skills to see what seeds it uses (since it appears to use more than 1 seed). It might even use a different hashing method, but I doubt it. Maybe Luigi can take a look if he has the game installed.


Top
 Profile  
 
 Post subject: Re: bf2guid tool for 1942?
PostPosted: 07 Aug 2009 13:37 

Joined: 07 Aug 2009 12:01
Posts: 3
I found this topic -> http://www.mpcforum.com/showthread.php? ... post615484 (last 2 posts) and tried to make something out of this, but all i get is a wrong guid =/ (but my C/C++ skills are rather low)


Top
 Profile  
 
 Post subject: Re: bf2guid tool for 1942?
PostPosted: 07 Aug 2009 14:03 

Joined: 16 Aug 2007 06:25
Posts: 367
That link helped me figure it out. It's almost identical to BF2/BF2142/Crysis/etc. Just download Luigi's bf2guid tool and comment out the following line (or just delete it):

p = do_md5(p, 32, 0x11c85);

Then compile it, and you should be good to go. Other than that, everything else is the same.


Top
 Profile  
 
 Post subject: Re: bf2guid tool for 1942?
PostPosted: 07 Aug 2009 14:36 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
an alternative to the recompiling of the tool is the changing of the following bytes (orginal, new bytes):
Code:
000009C1   E8       90
000009C2   5A       90
000009C3   FE       90
000009C4   FF       90
000009C5   FF       90


Top
 Profile  
 
 Post subject: Re: bf2guid tool for 1942?
PostPosted: 07 Aug 2009 14:39 

Joined: 07 Aug 2009 12:01
Posts: 3
Thx very much, it works :) (at least for my keyhash gives proper guid)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 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:
cron