Luigi Auriemma

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

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Star Wars Battlefront 2: Cross Platform project
PostPosted: 27 Jun 2009 03:17 

Joined: 27 Jun 2009 03:12
Posts: 3
Hey luigi, I hate to be one of the nubs here asking for help, but im in a bit of a jam you see, I am trying to enable cross platform star wars battlefront 2. I know that the lvls and everything are different, but they can be easily modified (the editing of the game so its compatible is the least of my issues). I successfully got the pc game to connect to the ps2 server (if you connect to it without changing swbfront2pc to swbfront2ps2 it refuses the connection) but it keeps telling me version mismatch. I wet digging into the executables of the server and pc game and they are essentially the same, except the server is 2.00 alpha, and the pc game is 2.00 final. changing the pc version to 2.00 final did nothing. I was wondering if you knew anything about the version check protocol that battlefront 2 uses... and if theres a way of tricking the server into thinking the client is the same version. your or anyone elses help would be greatly appreciated. I feel as though im on the verge of a breakthrough, but my inexperience is proving detrimental.


Top
 Profile  
 
 
 Post subject: Re: Star Wars Battlefront 2: Cross Platform project
PostPosted: 27 Jun 2009 10:51 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
uhmmm the following patch script for lpatch (http://aluigi.org/mytoolz.htm#lpatch but it's enough basic that you can do it even manually with a hex editor) removes the check on the client's version performed by the server and which I "guess" is what you mean:
Code:
====================================================================================

TITLE
    test

FILE
    battlefrontii.exe

BYTES_ORIGINAL
    83 BD 7C FF FF FF ??    ; CMP DWORD PTR SS:[EBP-84],1
    0F 85 ?? ?? 00 00       ; JNZ Battlefr.0073C171

BYTES_PATCH
    90 90 90 90 90 90 90
    90 90 90 90 90 90

====================================================================================
indeed the pc version uses version 1 while the ps2 one uses version 61


Top
 Profile  
 
 Post subject: Re: Star Wars Battlefront 2: Cross Platform project
PostPosted: 27 Jun 2009 15:04 

Joined: 27 Jun 2009 03:12
Posts: 3
Sorry, i should have worded that better ^^;; but this is almost what i need, i need to change the game to tell the server it is version 61, instead of 1. ive been using nothing but a hex editor for all of this so yeah. the server im trying to join is a paid server, so modifying the server's executable wouldnt be possible because you cant touch exe files on the file manager. I dont need to remove the version check for the server, i need to change the version of the game so i can join the server.


Top
 Profile  
 
 Post subject: Re: Star Wars Battlefront 2: Cross Platform project
PostPosted: 27 Jun 2009 16:02 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
ah so a client's modification.
uhmmm this is a bit more complex due to various reasons (included the fact that I don't have the game and "1" is not a so unique number for having luck in finding it) so I doubt I will have updates for this thread.


Top
 Profile  
 
 Post subject: Re: Star Wars Battlefront 2: Cross Platform project
PostPosted: 27 Jun 2009 17:54 

Joined: 27 Jun 2009 03:12
Posts: 3
ah, but will it be in a unique spot or will it be somewhere random? i imagine you could search for 00 31 00 or perhaps find the version number in the elf and compare it with the pc version... hmm... thank you for your help


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