Post: Sacrifice a GSC, Save up to 263 Unique Strings!
02-13-2012, 08:28 PM #1
Amanda
Can’t trickshot me!
(adsbygoogle = window.adsbygoogle || []).push({}); Note: All these things below have been tested and work perfectly on PC. I need someone to test them on PS3 too. If it works, then we will have endless posibilities for Mods and MW2 style Menus Smile

With 263 more strings available we can create over 200 sub-menus, with unlimited options in the same patch, or use a MW2 style menu with over 200 options!

The only limitation to this method is that we need the rank.gsc intact in the patch. This means that if we rename it in order to clear it and write our own scripts in it, then the game will read it from the disc and the trick will not work.

The method to save strings is simple! We just make the game not to read and precache all the challenge names from the .csv file, but we give all challenges a name of our choice, the same name! For example if someone in the game achieves 100 Headshots with the M40A3 the following message would appear: CHALLENGE COMPLETED. M40A3 EXPERT. ACHIEVE 100 HEADSHOTS WITH THIS WEAPON. Now with the modified data this message will appear when the player completes the same challenge or any other challenge: CHALLENGE COMPLETED. HIDDEN CHALLENGE!


Here is the only change you should do in rank.gsc
Find the function BuildChallengeInfo() and modify it as shown in the picture!


You must login or register to view this content.

Here is some proof that actually works on PC! I believe that it works on a PS3 too because they both read the strings from the .csv file and then precache them, but need someone to test for sure!

You must login or register to view this content.

You must login or register to view this content.

Function used for the test:

    StringTest() {
display = createFontString("default",1.5 ,self);
display setPoint("CENTER","CENTER",0,0);
i=0;
for(;Winky Winky
{
display setText("^6We love Patty " + i + " <3");
i++;
wait 1;
}
}


as a sub thread on PlayerSpawned();



Results:
PC originally supports up to 90 extra strings!
By removing the challenges names, it supports 353 custom strings such as Menu Options etc.
So we saved 353 - 90 = 263 more strings!
263 is almost the number of challenges that exist in the game!
PS3 supports near 30 strings, 60 less than PC.
But it shares the same 263 challenges...
So what if we remove their names?
If this works the same way, that means that we will have 233 free strings to use on a PS3 without worrying for an overflow anymore!

The only limitation we will have is the size of the rawfiles Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({});

The following 37 users say thank you to Amanda for this useful post:

aerosoul94, Baby-panama, BossamBemass, Choco, codybenti, Correy, d7w7z, DlBSY993, EpiiiCxDGx, Full-Evil, FutureOps, IELIITEMODZX, iiReFuZee, iPROFamily, iReset Nigga, IVI40A3Fusionz, Jacob-And-Britt, KCxFTW, Kush Friendly, Loxy, oCmKs_4_LiFe, Cmd-X, Rainbow Gravity, Right, Taylor, TheFuziioN-, ThePhantom410., Uk_ViiPeR, Vampytwistッ, x_DaftVader_x, xHeAVeN, xMrCheatVisionx, xMrSuperMoDzZ--
02-13-2012, 09:37 PM #11
Taylor
Former Black Knight.
Originally posted by Amanda View Post
Note: All these things below have been tested and work perfectly on PC. I need someone to test them on PS3 too. If it works, then we will have endless posibilities for Mods and MW2 style Menus Smile

With 263 more strings available we can create over 200 sub-menus, with unlimited options in the same patch, or use a MW2 style menu with over 200 options!

The only limitation to this method is that we need the rank.gsc intact in the patch. This means that if we rename it in order to clear it and write our own scripts in it, then the game will read it from the disc and the trick will not work.

The method to save strings is simple! We just make the game not to read and precache all the challenge names from the .csv file, but we give all challenges a name of our choice, the same name! For example if someone in the game achieves 100 Headshots with the M40A3 the following message would appear: CHALLENGE COMPLETED. M40A3 EXPERT. ACHIEVE 100 HEADSHOTS WITH THIS WEAPON. Now with the modified data this message will appear when the player completes the same challenge or any other challenge: CHALLENGE COMPLETED. HIDDEN CHALLENGE!


Here is the only change you should do in rank.gsc
Find the function BuildChallengeInfo() and modify it as shown in the picture!


You must login or register to view this content.

Here is some proof that actually works on PC! I believe that it works on a PS3 too because they both read the strings from the .csv file and then precache them, but need someone to test for sure!

You must login or register to view this content.

You must login or register to view this content.

Function used for the test:

    StringTest() {
display = createFontString("default",1.5 ,self);
display setPoint("CENTER","CENTER",0,0);
i=0;
for(;Winky Winky
{
display setText("^6We love Patty " + i + " <3");
i++;
wait 1;
}
}


as a sub thread on PlayerSpawned();



Results:
PC originally supports up to 90 extra strings!
By removing the challenges names, it supports 353 custom strings such as Menu Options etc.
So we saved 353 - 90 = 263 more strings!
263 is almost the number of challenges that exist in the game!
PS3 supports near 30 strings, 60 less than PC.
But it shares the same 263 challenges...
So what if we remove their names?
If this works the same way, that means that we will have 233 free strings to use on a PS3 without worrying for an overflow anymore!

The only limitation we will have is the size of the rawfiles Winky Winky


Amazing Find Amanda, Good Work

The following user thanked Taylor for this useful post:

Amanda
02-13-2012, 09:56 PM #12
aerosoul94
smooth like butter
Originally posted by Amanda View Post
The only limitation we will have is the size of the rawfiles Winky Winky


Originally posted by Amanda View Post
I don't have my jailbroken PS3 with me :( This is why I need someone to test it.
We can also prevent the game loading Quick Messages by disabling them from globallogic, but then we need to sacrifice the largest gsc in the patch file for about 30 more strings, no way!
And yes, if this theory works we can have MW2 menus in COD4 .:love:..

I can resize rawfiles if needed. Smile
02-13-2012, 09:59 PM #13
i think this will work, i use it for my gungame and that dose not overflow :/

level.test = "IELIITEMODZX";
precacheString( level.test );

prob not tho lolz. Happy
02-13-2012, 10:01 PM #14
Karoolus
I'm the W@W Menu Guy !
Originally posted by IELIITEMODZX View Post
i think this will work, i use it for my gungame and that dose not overflow :/

level.test = "IELIITEMODZX";
precacheString( level.test );

prob not tho lolz. Happy


no serious, this challenge name thingy works perfect..
overflow on pc (for me) was at 74 without fix, 346 with fix..

is nice difference imo Winky Winky
02-13-2012, 10:02 PM #15
Originally posted by aerosoul94 View Post
I can resize rawfiles if needed. Smile
You don't really need to. My patch has weapons.gsc and rank.gsc in tact, and even with hawkins zombies and all the other gamemodes and mods, it still has space to spare. The cod4 patch is HUGE
02-13-2012, 10:05 PM #16
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by Karoolus View Post
no serious, this challenge name thingy works perfect..
overflow on pc (for me) was at 74 without fix, 346 with fix..

is nice difference imo Winky Winky


Mine overflowed at 355 strings.

You must login or register to view this content.
02-13-2012, 10:06 PM #17
Correy
I'm the Original
Originally posted by Amanda View Post
Note: All these things below have been tested and work perfectly on PC. I need someone to test them on PS3 too. If it works, then we will have endless posibilities for Mods and MW2 style Menus Smile

With 263 more strings available we can create over 200 sub-menus, with unlimited options in the same patch, or use a MW2 style menu with over 200 options!

The only limitation to this method is that we need the rank.gsc intact in the patch. This means that if we rename it in order to clear it and write our own scripts in it, then the game will read it from the disc and the trick will not work.

The method to save strings is simple! We just make the game not to read and precache all the challenge names from the .csv file, but we give all challenges a name of our choice, the same name! For example if someone in the game achieves 100 Headshots with the M40A3 the following message would appear: CHALLENGE COMPLETED. M40A3 EXPERT. ACHIEVE 100 HEADSHOTS WITH THIS WEAPON. Now with the modified data this message will appear when the player completes the same challenge or any other challenge: CHALLENGE COMPLETED. HIDDEN CHALLENGE!


Here is the only change you should do in rank.gsc
Find the function BuildChallengeInfo() and modify it as shown in the picture!


You must login or register to view this content.

Here is some proof that actually works on PC! I believe that it works on a PS3 too because they both read the strings from the .csv file and then precache them, but need someone to test for sure!

You must login or register to view this content.

You must login or register to view this content.

Function used for the test:

    StringTest() {
display = createFontString("default",1.5 ,self);
display setPoint("CENTER","CENTER",0,0);
i=0;
for(;Winky Winky
{
display setText("^6We love Patty " + i + " <3");
i++;
wait 1;
}
}


as a sub thread on PlayerSpawned();



Results:
PC originally supports up to 90 extra strings!
By removing the challenges names, it supports 353 custom strings such as Menu Options etc.
So we saved 353 - 90 = 263 more strings!
263 is almost the number of challenges that exist in the game!
PS3 supports near 30 strings, 60 less than PC.
But it shares the same 263 challenges...
So what if we remove their names?
If this works the same way, that means that we will have 233 free strings to use on a PS3 without worrying for an overflow anymore!

The only limitation we will have is the size of the rawfiles Winky Winky


actually your wrong.
the size of the raw files can be changed, just only so many know about it.. im trying to learn myself.
02-13-2012, 10:06 PM #18
i cant get overflow on my pc :( ive tryed lots of scripts but it will not overflow :/ only if i use mumbers in setText()
02-13-2012, 10:12 PM #19
Choco
Respect my authoritah!!
I just hosted an online domination game with this fix, with EVERYONE in my lobby verified... it did not overflow, from start to finish. Amanda, you are a GOD.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo