Jump to content

Photo

How to Decompile your xex [Tutorial]




This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1 Bullet

Bullet

    XPG Site Owner

  • Founder
  • 19369 posts

Posted 11 September 2011 - 07:20 PM


This tutorial will show you how to decompile an xex file for modding in an easy to follow guide.
Some of you already know this, thats great but this tutorial is for those that do not know how yet or are only just getting into xex modding.

Ok so you will need the following:

Xextool

WX360 ( You will need this to extract the defualt xex for the game you want to mod.)

Default.xex from the game you want to mod.

How to do it:

Ok firstly we need to extract the default.xex from the game you wish to mod. For this tutorial i will use dead island.
Open WX360 and select the game you wish to mod.
Then right click on the default.xex and select extract.

Posted Image

Now you have the default.xex extracted you need to create a new folder on your desktop.
Once you create a new folder ( i named mine tutorial) place the default.xex and xextool inside it.

Posted Image

Press shift and right click on the folder you made. Now select open command window here

Posted Image

Now you will see a command prompt window open.
Type xextool -c u default.xex now hit enter.

Posted Image

Your xex should now be uncompressed...

Posted Image

Now you want to type xextool -e d default.xex and hit enter

Posted Image

You should now see this message

Posted Image

Your xex is now unencrypted and uncompressed and you can now go ahead and open it in a hex editor and get modding....

                                      









#2 iUseJuGGZz

iUseJuGGZz

    Getting Started

  • Gamers
  • 37 posts

Posted 13 September 2011 - 03:19 AM

Thanks dude I needed this for gears 3, but how do you re-encrypt it? Or is it not needed?

#3 FeralA9X

FeralA9X

    The EX-Terminator

  • Retired Staff




  • 3354 posts

Posted 13 September 2011 - 07:37 AM

There are a few more commands you can try:

i usually use the following command to uncompress and decrypt all at once
xextool -ed -cu default.xex

to recrypt and recompress (not that it really matters, game should run fine decrypted and decompressed)
xextool -ee -cc default.xex

to keep your file intact and create a new decrypted/decompressed xex ( this will create a file named whatever you want, eg. i chose modded.xex)
xextool -ed -cu -o modded.xex default.xex

                       



#4 extraginger

extraginger

    Keener

  • Gamers
  • 69 posts

Posted 13 September 2012 - 04:37 AM

amazing tut dude, this really saved me a lot of time, if you can't do this then you can't see the computer screen properly. Very well done and easy to follow!