Jump to content

xDiffPatcher, xDiffGen2, Packet Parser and Packet Extractor


Shakto

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  402
  • Reputation:   89
  • Joined:  02/07/13
  • Last Seen:  

If anyone want to join this project, tell me or tell to Yommy

 

-= xDiffPatcher =-

 

324462xdiffpatcher.jpg

 

Download

xDiffPatcher

This is our Next-Generation Diff Patcher, it requires a new style of diff file called xDiff, (xml based) each xdiff is specific for a single ragexe,

and will not work on any other ragexe date.

xDiff files are created with the xDiffGen software below.

There is a recent build in the directory : xDiffPatcher\bin\Debug

Source is included if anyone wants to improve somethings

 

---------------------------------------------------

 

All the following software need to use php language. Please install it on your computer.

This is CommandLine PHP, Do not attempt to run these scripts in a web browser

We would recommend using Subversion since these projects are frequently updated with new features.

 

- Linux : sudo apt-get install php5

- Windows : install this http://windows.php.net/download/#php-5.4

Open your control panel and search : Edit environment variable for your account

In this Windows, the second part (title System variables), search the variable Path

Enter your PHP directory at the end, including ';' before (e.g. ;C:\php)

 

Now search your php.ini files

Uncomment the line extension=php_sockets.dll (you have to remove the char ';')

 
 
 

 

-= xDiffGen 2 =-

 

567994xdiffgen.jpg

 

 

Download

xDiffGen2

 

To use that software, you have to put the decrypted exe in the Clients folder and open the file DiffGen.bat

Then select the first option (0 - Local client folder), select your exe and the xDiff will be create in the Diffs folder

some patches also extract some data (msgstringtables, packet_lengths, etc), these are put into the Extracted_Data folder

 

Options 2 and 3 do not fully work as intended, since gravity are distributing new clients with Themida protection /sadface

Options M and F are used to test a single patch against all clients to detect when some patterns fails (again not working with themida clients)

 

 

 

-= Packet Parser =-

 

760959packetparser.jpg

 

Download

PacketParser

 

To use that software you have to place ws2_pp.dll from the dev folder, into your RO folder.

Then hex edit your Ragexe.exe : search ws2_32.dll and replace the both occurrences by ws2_pp.dll

 

Next you should extract the packetlength file using Packet Extract, And place it into packet parser\data\packet

Next, open the parser.bat, choose Live Network Capture, choose your packet length tables file, and choose full_info

Then open your Ragexe.exe (if done correct you will be prompted to use PacketParser)

Enjoy smile.png

 

 

-= Packet Extract =-

 

434971packetextract.jpg

 

Download

this is a subscript of PacketParser above

 

All you have to do here is to place your Ragexe.exe in the folder clients, with a pattern like this : 2013-05-22Ragexe.exe

Open Packet_Extract.bat, select your exe

Your Packet Data Length is now in the plens folder

 

 

All credits to Yommy

I just worked personally on the xDiffGen2 patches.

 

We are open for anyone who wants to help with any of these projects.

they are designed to be edited and hacked about with, and hope you can find some use with them

  • Upvote 7
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1167
  • Reputation:   159
  • Joined:  06/12/12
  • Last Seen:  

@shakto do you have 20130320 ragexe.exe and xdiff for this client?

because i'm really need this file.

Thanks

Edited by hendra814
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   15
  • Joined:  01/08/12
  • Last Seen:  

Since which client date "Themida protection" is used?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  402
  • Reputation:   89
  • Joined:  02/07/13
  • Last Seen:  

@shakto do you have 20130320 ragexe.exe and xdiff for this client?

because i'm really need this file.

Thanks

I'll release it here :

http://rathena.org/board/topic/82726-2013-ragexe-and-diff-up-to-date-2013-05-29/

 

 

@OnNplay 2012-07-24aRagexe i think

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1167
  • Reputation:   159
  • Joined:  06/12/12
  • Last Seen:  

@shakto, Thank but i didn't see xdiff for 2013-03-20

can you make it.

thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  402
  • Reputation:   89
  • Joined:  02/07/13
  • Last Seen:  

Done :

 

Diff 2013-03-20 v1 (update 31/05/13) : http://www.mediafire.com/?b3ljwx3a9by9wtc    -   Packets : Already set in emulator

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1167
  • Reputation:   159
  • Joined:  06/12/12
  • Last Seen:  

@Shakto Thanks for your help

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  78
  • Reputation:   0
  • Joined:  08/21/12
  • Last Seen:  

wow nice I'll try it soon

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   15
  • Joined:  01/08/12
  • Last Seen:  

Seem every new client easily can be extracted out their packets, how about source code that working for newly found packet. As I understand packet db still need communication part in source code that handle it.

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  07/10/13
  • Last Seen:  

where the download link for "Packet Extract"?



I seem to have found:

http://subversion.assembla.com/svn/packetparser/dev/plen_extract/

 

but it does not work:

0  : 2012-01-04aRagexeRE.exe

Extract packet_len from which client? : 0
PE Header       138h
Image Base      400000h
Client Date     20120104

Name    vSize   vOffset rSize   rOffset vrDiff
----    -----   ------- -----   ------- ------
.text   3f1fea  1000    3f2000  400     c00
.rdata  8de75   3f3000  8e000   3f2400  c00
.data   c0b38   481000  12200   480400  c00
.rsrc   2b30    542000  2c00    492600  afa00
.reloc  3a89c   545000  3aa00   495200  afe00

packet Length @ 18fea0#
unknown opcode 14 @ 18feb6 ##code() found no matches# Failed in part 3

Link to comment
Share on other sites

  • 4 months later...

  • Group:  Members
  • Topic Count:  117
  • Topics Per Day:  0.03
  • Content Count:  312
  • Reputation:   34
  • Joined:  10/15/12
  • Last Seen:  

how do i download this?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  61
  • Reputation:   6
  • Joined:  12/23/11
  • Last Seen:  

Packet Extract failed with 2012-04-10 client

Link to comment
Share on other sites

  • 9 months later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   0
  • Joined:  08/27/14
  • Last Seen:  

diff for 2013 clients +lvl99 auras please xd

Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   189
  • Joined:  11/27/11
  • Last Seen:  

Why ?

#code() found no matches#
Failed in part 1

For Packet Extract.bat

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...