You are viewing our Forum Archives. To view or take place in current topics click here.
How to Mod Black Ops With CFG Files
Posted:

How to Mod Black Ops With CFG FilesPosted:

xLasers
  • TTG Contender
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,068
Reputation Power: 141
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,068
Reputation Power: 141
Today I will be showing how to add a cfg file to your default_mp.xex or xex
credit to fragtastic on 7s for discovering how to load raw cfgs

Now that GPD modding has been killed by Treyarch, you can take your knowledge of GPD modding and apply it to your JTAG and make some sick mod menus.

Also, this method doesn't work with TU1 or earlier Xex's, and I have no idea why. But most people have TU2, which this works with 100% and presumably works with the newest TU3, although I haven't tested yet.

Text doesn't show up on screen in zombies. Limit yourself to a few CFGs and don't try to set it up like a multiplayer menu!

Step 1: Get your xex of choice and turn it into a binary file
So I'm gonna take the Xex, Xex tool and the files for xex tool and put them all in a folder
[ Register or Signin to view external links. ]

Next, open CMD and use the cd function to find your xex files
[ Register or Signin to view external links. ]

Then, enter this command into your CMD window
xextool -e d -c b -o default-binary.xex default_mp.xex


[ Register or Signin to view external links. ]

This will turn your Xex into an uncompressed file, and when you are done modding it you can load it into your jtag as-is or recompress it. If you want to do that, enter this command into xex tool in the same fashion as you did earlier
xextool -e e -c c -o default_mp.xex default-binary.xex


Step 2: Add in a bind to your Xex so it will work
You'll need HxD Hex editor for this step

Set your search settings as text string, all directions:
[ Register or Signin to view external links. ]

Search for "exec viewsensitivity"
[ Register or Signin to view external links. ]

Now time to add a bind
Make it look like this
bind button_back "exec mods.cfg"


[ Register or Signin to view external links. ]

Null out the remaining hex values
[ Register or Signin to view external links. ]

Ok so you can save your Xex now! On to step 3

Step 3: Making a CFG

Open the CFG file I provided with notepad, it's pretty much blank but you can get a look at the coding

(Please Note that UFO mode, jump height and some other commands DO NOT WORK in multiplayer but work in single player or zombies)

Here's what the commands look like so far. So, when you press the dpad down, you can toggle player speed

[ Register or Signin to view external links. ]

Here's some buttons and such for making binds, and also you can bind dvars to the buttons, just like a patch file!

Buttons:
BUTTON_A
BUTTON_B
BUTTON_X
BUTTON_Y
DPAD_UP
DPAD_DOWN
DPAD_LEFT
DPAD_RIGHT
BUTTON_BACK
BUTTON_START
BUTTON_RSHLDR
BUTTON_LSHLDR
BUTTON_RTRIG
BUTTON_LTRIG
BUTTON_RSTICK
BUTTON_LSTICK


Take your modded Xex and cfg file, and paste them into your Black Ops folder, just like you've done before.

modded cfg:
[ Register or Signin to view external links. ]

NEW: How to add wager matches to system link!
Copy this code into your cfg if you want to play some wager matches

say "Press ^2DPAD UP^7 for Gun Game"
say "Press ^2DPAD DOWN^7 for Sharp Shooter"
say "Press ^2DPAD RIGHT^7 for Sticks and Stones"
say "Press ^2DPAD LEFT^7 for One in the Chamber"

unbind DPAD_UP
unbind DPAD_DOWN
unbind DPAD_LEFT
unbind DPAD_RIGHT

bind DPAD_UP "g_gametype gun;map_restart"
bind DPAD_DOWN "g_gametype shrp;map_restart"
bind DPAD_RIGHT "g_gametype hlnd;map_restart"
bind DPAD_LEFT "g_gametype oic;map_restart"


NewChange Game Mode

Now you can change game modes
First add in your bind, this is if you want to make a menu that's different that my wager match one above.

I'm going to bind Team Deathmatch to the left bumper
bind button_lshldr


Then add in the game mode:
bind button_lshldr "g_gametype tdm"


Now time to add the function to make the map reset so it works properly:
bind button_lshldr "g_gametype tdm;map_restart"


How to add in another CFG (for making menus)
 
unbind DPAD_UP
bind DPAD_UP "exec TTG.cfg"


Then make a .cfg with your mods you want. If you want to go back to the main menu put in bind DPAD_UP "exec mods.cfg" (or whatever your first cfg was called)


Add a toggle


Let's add a toggle so you can change how fast the players move in your match, and you've already added the unbind codes/ display text add this:

bind (your button) "toggle (your dvar) (multiple values)"


So for a speed toggle bound to the start button you'd put:

bind button_start "toggle g_speed 200 300 600 800 999"


You could add super jump too but you'd need an Xex patched with no cheat protection, and you'd replace the "toggle g_speed" with the jump height dvar.

Zombie Mods

ufo = ufo mode
noclip = noclip
god = godmode
demigod = gives a lot of health
give_all = gives all the weapons in that level, works better for campaign as you get crappy weapons in zombies


Edits-
1- Added Wager Match Codes
2-5 Fixed Spelling mistakes
6- Added how to change game modes
7- Updated info, and added how to add in another cfg
Added zombie info and toggles


Last edited by xLasers ; edited 14 times in total

The following 11 users thanked xLasers for this useful post:

Xecrated (12-22-2010), Violator (12-15-2010), zeke17 (12-15-2010), G7G7S7 (12-15-2010), nV-II-OMNICiiD3 (12-15-2010), LITLREDNECK587 (12-11-2010), TTG_GYPSY (12-11-2010), SmurFy (12-05-2010), -YinYang- (12-05-2010), DipsetModsUS (12-04-2010), FreNeTiC_ViruZ (12-04-2010)
#2. Posted:
-Bio
  • Fairy Master
Status: Offline
Joined: Oct 26, 201014Year Member
Posts: 962
Reputation Power: 1343
Status: Offline
Joined: Oct 26, 201014Year Member
Posts: 962
Reputation Power: 1343
Nice lil tut for people who doesnt know how to use this program properly
#3. Posted:
xLasers
  • TTG Contender
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,068
Reputation Power: 141
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,068
Reputation Power: 141
fyl_kingjoker wrote Nice lil tut for people who doesnt know how to use this program properly

This is actually the newest way to mod black ops. It's much like a .ff file but easier and you only need notepad. This is the method used to make the mod menu patches seen on youtube by chocolate
#4. Posted:
FreNeTiC_ViruZ
  • Rising Star
Status: Offline
Joined: Mar 23, 201014Year Member
Posts: 773
Reputation Power: 47
Status: Offline
Joined: Mar 23, 201014Year Member
Posts: 773
Reputation Power: 47
Good post and very detailed keep the useful post coming
#5. Posted:
xLasers
  • TTG Contender
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,068
Reputation Power: 141
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,068
Reputation Power: 141
Woo hoo no complaining from me


Last edited by xLasers ; edited 1 time in total
#6. Posted:
United_Kingdom
  • Christmas!
Status: Offline
Joined: Dec 16, 200914Year Member
Posts: 2,863
Reputation Power: 381
Status: Offline
Joined: Dec 16, 200914Year Member
Posts: 2,863
Reputation Power: 381
And this is only for jtags which doesn't help me out lol.

Nice post anyway.
#7. Posted:
xLasers
  • TTG Contender
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,068
Reputation Power: 141
Status: Offline
Joined: Aug 06, 201014Year Member
Posts: 3,068
Reputation Power: 141
Added how to add wager matches to system link
#8. Posted:
DipsetModsUS
  • Resident Elite
Status: Offline
Joined: Jul 11, 201014Year Member
Posts: 285
Reputation Power: 14
Status: Offline
Joined: Jul 11, 201014Year Member
Posts: 285
Reputation Power: 14
#9. Posted:
Soul-Reaper
  • Powerhouse
Status: Offline
Joined: Oct 22, 201014Year Member
Posts: 423
Reputation Power: 19
Status: Offline
Joined: Oct 22, 201014Year Member
Posts: 423
Reputation Power: 19
Very useful. Good work.
#10. Posted:
TTG_Crazy4RS
  • TTG Addict
Status: Offline
Joined: Sep 20, 201014Year Member
Posts: 2,550
Reputation Power: 120
Status: Offline
Joined: Sep 20, 201014Year Member
Posts: 2,550
Reputation Power: 120
It works! I don't understand why there aren't more posts
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.