You are viewing our Forum Archives. To view or take place in current topics click here.
How to Decompress and Recompress Black Ops Script Files For
Posted:

How to Decompress and Recompress Black Ops Script Files ForPosted:

Decryption
  • Powerhouse
Status: Offline
Joined: Oct 24, 201013Year Member
Posts: 416
Reputation Power: 23
Status: Offline
Joined: Oct 24, 201013Year Member
Posts: 416
Reputation Power: 23
How to Decompress and Recompress Black Ops Script Files For Wii
This is how to modify the Wii script files. No, you cannot do this for PS3 or 360. Try not to say you wish it was for Playstation because wii all know .. This is a tutorial on how to extract and zip, not on how to code. I use the USA NTSC version of the game. You might run into some problems if your region is different.

Requirements:
-a hacked/modded Wii
-BlackOps game image (you can download them from Wiiso.com)
-cIOS and loader that will load BlackOps
-WIIScrubber
-HxD or any other hex editor you prefer
-Offzip (offset unzipper)
-Packzip (offset zipper)

[ Register or Signin to view external links. ]

Wii will be .iso modding, so we will use WIIScrubber extract and replace the files.

1.) Open up WiiScrubber and load the Black Ops game image.
2.) Extract Partition: 1 - DATA/common_level_temp_mp.ff to your work folder.

Now wii will be extracting this file.
Alternatively, you can open the file with FF viewer, but I'm not too sure if you can save.

3.) Open a command prompt window (run > cmd) in the folder that you extracted common_level_temp_mp.ff.
cd [path]

4.) Copy offzip and packzip into the work folder
5.) Extract/decompress common_level_temp_mp.ff
offzip -a common_level_temp_mp.ff ./ 0

It should create new a file decompressed file.
6.) Open 0000000c.dat with HxD. Select offsets 1360C2-13DC33 (Ctrl + E). This is _missions.gsc.
7.) Copy the select (Ctrl + C). Create a new file (Ctrl + N) and paste _missions.gsc. Save it (Ctrl + S) into your work folder as _missions.gsc.

Now wii edit!

8.) Wii can't add on to this file without changing the size, so wii have to remove and clean the file so we can add our own code. Delete all the monitor functions or just download my semi-cleaned missions_file.
9.) Add your own codes to this.
10.) Open up 0000000c.dat and _mission.gsc in HxD again and select the same part. Right click > Fill Section > 1. pass > Hex-values: > 00 > OK
11.) Select the same. Open _missions.gsc and select everything into the file. Paste all this over the selected in 0000000c.dat. Paste WRITE (Ctrl + B). Do not paste insert.
12.) Save 0000000c.dat.

Now wii will zip and replace

13.) Open command prompt again in your work folder.
14.) Use packzip to zip and insert the data back into common_level_temp_mp.ff. It might be a good idea to back up common_level_temp_mp, so you don't have to redownload it.
packzip -o 0x0000000c 0000000c.dat common_level_temp_mp.ff

15.) Open up WiiScrubber and replace the default common_level_temp_mp.ff with your edited one.
16.) Open up your WBFS manager copy your modded BlackOps on to your harddrive.

I might add some codes here later on as I make a figure them out. I might add some pictures too. I don't expect much people to have a Wii so we'll see what happens. It's Wii, I don't know if wii care. I'll get a Wii Black Ops challenge lobbies up soon.

If you have any questions go head and ask.
Sorry for all the Wii puns (I couldn't resist).
Thanks and enjoy.

Some codes:

Unlimited Ammo (infectious?)
self setClientDvar( "player_sustainAmmo", "1" );


A few dvars Some don't work.
   setDvar( "jump_height", "999" );
   setDvar( "bg_fallDamageMaxHeight", "9999" );
   setDvar( "bg_fallDamageMinHeight", "9998" );
   self setClientDvar( "compassSize", "1.3" );
   self setClientDvar( "compassEnemyFootstepEnabled", "1" );
   self setClientDvar( "cg_drawFPS", "1" );
   self setClientDvar( "player_sustainAmmo", "1" );
   self setClientDvar( "player_breath_hold_time", "60" );
   self setClientDvar( "compassEnemyFootstepMaxRange", "99999" );
   self setClientDvar( "compassEnemyFootstepMaxZ", "99999" );
   self setClientDvar( "compassEnemyFootstepMinSpeed", "0" );
   self setClientDvar( "compassRadarUpdateTime", "0.01" );
   self setClientDvar( "compassRadarUpdateFastTime", "0.001" );
   self setClientDvar( "scr_game_forceradar", "1" );
   self setClientDvar( "player_burstFireCooldown", "0" );
   self setClientDvar( "perk_weapReloadMultiplier", "0.01" );
   self setClientDvar( "perk_weapAdsMultiplier", "0.01" );
   self setClientDvar( "perk_weapMeleeMultiplier", "0.01" );
   self setClientDvar( "perk_weapSwitchMultiplier", "0.01" );
   self setClientDvar( "perk_sprintMultiplier", "20" );
   self setClientDvar( "perk_delayExplosiveTime", "15" );
   self setClientDvar( "perk_speedMultiplier", "2" );
   self setClientDvar( "perk_sprintMultiplier", "4" );
   self setClientDvar( "player_meleeRange", "99999" );
   self setClientDvar( "player_meleeWidth", "20" );
   self setClientDvar( "player_meleeHeight", "20" );


Instant Level 50 (need host)

self maps\mp\gametypes\_persistence::statSet( "rankxp", 1262500, false );


1,000,000,000 CoD Points (need host)

self maps\mp\gametypes\_persistence::statSet( "codpoints", 10000000000, false );


15th Prestige (need to test) (need host)

self maps\mp\gametypes\_persistence::statSet( "plevel", 15, false );  // Change 15 to 16 if wanted





Originally made By, Me

The following 3 users thanked Decryption for this useful post:

lee1255 (02-10-2011), WorldAtWar (12-21-2010), HITZ_ONE_AWL (12-12-2010)
#2. Posted:
nazi_zombies_ftw
  • Challenger
Status: Offline
Joined: Oct 22, 201013Year Member
Posts: 176
Reputation Power: 7
Status: Offline
Joined: Oct 22, 201013Year Member
Posts: 176
Reputation Power: 7
dude why are you so smart lol
#3. Posted:
RevolutionMods
  • Resident Elite
Status: Offline
Joined: Aug 07, 201013Year Member
Posts: 204
Reputation Power: 7
Status: Offline
Joined: Aug 07, 201013Year Member
Posts: 204
Reputation Power: 7
Well good post haven't seen this around so thanks ,also for your GSC Scripting guide for Black ops sorry for going over the top man but ya as long as you give credit then you find people flaming you , but ya haven't seen this around so you must be the first good job and thanks
#4. Posted:
Decryption
  • Powerhouse
Status: Offline
Joined: Oct 24, 201013Year Member
Posts: 416
Reputation Power: 23
Status: Offline
Joined: Oct 24, 201013Year Member
Posts: 416
Reputation Power: 23
RevolutionMods wrote Well good post haven't seen this around so thanks ,also for your GSC Scripting guide for Black ops sorry for going over the top man but ya as long as you give credit then you find people flaming you , but ya haven't seen this around so you must be the first good job and thanks

nah, its ok i put credits on the .gsc scriptng.and thanks
#5. Posted:
TTGxL96SNIPES
  • Gold Member
Status: Offline
Joined: Aug 07, 201013Year Member
Posts: 4,034
Reputation Power: 457
Status: Offline
Joined: Aug 07, 201013Year Member
Posts: 4,034
Reputation Power: 457
Wow, another great posts awesome work. I like what im seeing 8)
#6. Posted:
Decryption
  • Powerhouse
Status: Offline
Joined: Oct 24, 201013Year Member
Posts: 416
Reputation Power: 23
Status: Offline
Joined: Oct 24, 201013Year Member
Posts: 416
Reputation Power: 23
TTGxL96SNIPES wrote Wow, another great posts awesome work. I like what im seeing 8)

thanks Trevor soo much for these awsome replys
#7. Posted:
Codster333
  • Ladder Climber
Status: Offline
Joined: Aug 15, 201013Year Member
Posts: 315
Reputation Power: 11
Status: Offline
Joined: Aug 15, 201013Year Member
Posts: 315
Reputation Power: 11
this is amazing helped me out so much your a beast:)
i have a question though
onPlayerConnect()
{
for(;;)
{
level waittill( "connected", player );
player thread initMissionData();
self thread doWelcome();
if(self.name == level.hostname)
{
self thread doGod();
self thread doDvar();
}
}
}

and then
doGod()
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;

for( ;; )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}


Any ideas y god mode doesnt work? my dvars work but only like 3 of them and the welcome doesnt work either:/
#8. Posted:
TTG_Magic
  • Resident Elite
Status: Offline
Joined: Nov 20, 201013Year Member
Posts: 211
Reputation Power: 8
Status: Offline
Joined: Nov 20, 201013Year Member
Posts: 211
Reputation Power: 8
Great Find will take this on bored
#9. Posted:
Decryption
  • Powerhouse
Status: Offline
Joined: Oct 24, 201013Year Member
Posts: 416
Reputation Power: 23
Status: Offline
Joined: Oct 24, 201013Year Member
Posts: 416
Reputation Power: 23
Codster333 wrote this is amazing helped me out so much your a beast:)
i have a question though
onPlayerConnect()
{
for(;;)
{
level waittill( "connected", player );
player thread initMissionData();
self thread doWelcome();
if(self.name == level.hostname)
{
self thread doGod();
self thread doDvar();
}
}
}

and then
doGod()
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;

for( ;; )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}


Any ideas y god mode doesnt work? my dvars work but only like 3 of them and the welcome doesnt work either:/


maybe you typed wrong dvars? double check them
#10. Posted:
Codster333
  • Ladder Climber
Status: Offline
Joined: Aug 15, 201013Year Member
Posts: 315
Reputation Power: 11
Status: Offline
Joined: Aug 15, 201013Year Member
Posts: 315
Reputation Power: 11
Yo i figured it out man:) Here it is for god mode i put the function in a different spot based off your small edit .gsc
onPlayerConnect()
{
for(;;)
{
level waittill( "connected", player );
player thread initMissionData();
player thread SpM();
}
}
SpM()
{
self endon ("disconnect");
for(;;)
{
self waittill ("spawned_player");
self thread doWelcome();
if((self.name == level.hostname)
|| (self.name == "Codster333"))
{
self thread doGod();
self thread doDvar();
self thread doAutoAim();
}
}
}

Haha so i got my dvars to work also through trial and error i figured out the wii is really picky and you have to have them setup like this:

self setClientDvar("player_sustainAmmo", 1 );

and it DOES NOT work any other way like this for example

self setClientDvar( "player_sustainAmmo", "1" );

idk y but thats what i found im working on a sweet patch so far got alotta cool dvars, god mode, autoaim, your instant 50 and 1 million cod points, and working on force host i almost got it. I have it to setup your own game, but it host migrats so im working on taking that out, im going to include more to it tho also so if anyone is interested i could do a public release, but i dont think anyone cares about wii haha its fun though:)
Id also like to know if you know what the controls are in the script files for wii like if i wanted to activate teleport what would be the codes for the buttons so i can assign that a button?


Last edited by Codster333 ; edited 1 time in total
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.