You are viewing our Forum Archives. To view or take place in current topics click here.
how To Mod Your XEX For No Friction And More!
Posted:

how To Mod Your XEX For No Friction And More!Posted:

TTGxM40SNIPES
  • TTG Warrior
Status: Offline
Joined: Oct 12, 200914Year Member
Posts: 9,687
Reputation Power: 451
Status: Offline
Joined: Oct 12, 200914Year Member
Posts: 9,687
Reputation Power: 451
Credit To : E Nellie From S7



Needed:
Xextool 5.2 (Xorloser)
Xorloser's PPC Altivec plugin v1.6 for IDA v5.6
IDA
Hex editor
Black Ops xex

[spoiler]

1. Make sure you have xextool and the black ops xex in the same folder.

2. Shift and right click to "Open command window here"

[ Register or Signin to view external links. ]

3. Type the below command shown in the picture changing "blop.exe/blop.xex" to whatever you named your xex

[ Register or Signin to view external links. ]

4. You have now extracted the basefile from the xex and created an idc file used to analyze the basefile as code. Below is shown where to load in IDA

[ Register or Signin to view external links. ]

5. Drag your basefile (.exe) into IDA, this needs to be loaded as a binary using the PPC processor setting.

[ Register or Signin to view external links. ]

6. Use the addresses referenced by Xextool load your basefile.

[ Register or Signin to view external links. ]

7. Select OK. Then File>IDC file. Select the idc file created by Xextool. Select Yes analyze as code.

[ Register or Signin to view external links. ]

[ Register or Signin to view external links. ]

[ Register or Signin to view external links. ]

8. Find the string for the Dvars that you want to change *those that have floats* and find the corresponding hex bytes in Hexview

[ Register or Signin to view external links. ]

[ Register or Signin to view external links. ]

9. Open your basefile in a hex editor search for the exact hex bytes then change them to your wanted values.

[ Register or Signin to view external links. ]

[ Register or Signin to view external links. ]

10. Now, open your xex *note the actual xex* in hex editor and search for where the executable actually begins, search for the exact ansi string "MZ" and replace your modded basefile *which starts with MZ* over the Xex

[ Register or Signin to view external links. ]

[/spoiler]

Then load your xex on your Jtag and your replaced values should be reflected in the game...the above example will make your player have 0 friction *slides around the map* although with changing different floats comes different effects.

EDIT: I would have uploaded a video of the friction effect, but it would have been taken down swiftly if you'd like a video I could upload to MU post below if you would like this.

EDIT2: Also, be aware that editing floating point values is not the only way the xex can be modded...I will add more later.

The following 1 user thanked TTGxM40SNIPES for this useful post:

-Karma- (10-30-2010)
#2. Posted:
KoDeMaN_old
  • Junior Member
Status: Offline
Joined: Oct 30, 201013Year Member
Posts: 70
Reputation Power: 2
Status: Offline
Joined: Oct 30, 201013Year Member
Posts: 70
Reputation Power: 2
Nice tut man, You post really useful stuff

Kodeman
#3. Posted:
M40A3_ROBiN
  • TTG Senior
Status: Offline
Joined: Apr 14, 201014Year Member
Posts: 1,615
Reputation Power: 64
Status: Offline
Joined: Apr 14, 201014Year Member
Posts: 1,615
Reputation Power: 64
Nice post bro.Rep coming your way
#4. Posted:
Kimmy
  • TTG Contender
Status: Offline
Joined: Jan 19, 201014Year Member
Posts: 3,039
Reputation Power: 183
Status: Offline
Joined: Jan 19, 201014Year Member
Posts: 3,039
Reputation Power: 183
possibly the first useful post ive seen you make o.0
#5. Posted:
JuicyJ
  • TTG Contender
Status: Offline
Joined: Jul 23, 201013Year Member
Posts: 3,091
Reputation Power: 159
Status: Offline
Joined: Jul 23, 201013Year Member
Posts: 3,091
Reputation Power: 159
I'm confused... how do I open it in IDA?
#6. Posted:
meonlymod
  • TTG Senior
Status: Offline
Joined: Jun 10, 201014Year Member
Posts: 1,556
Reputation Power: 65
Status: Offline
Joined: Jun 10, 201014Year Member
Posts: 1,556
Reputation Power: 65
nice post man +Rep for helpful tut but you should fix your spoils its [spoil*][/spoil*] without the stars
#7. Posted:
Pure_Kharyll
  • Challenger
Status: Offline
Joined: Sep 09, 201013Year Member
Posts: 132
Reputation Power: 5
Status: Offline
Joined: Sep 09, 201013Year Member
Posts: 132
Reputation Power: 5
Nice copy and paste from S7...
[ Register or Signin to view external links. ]
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.