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, 10:44 PM #29
d7w7z
Bounty hunter
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


MW2 doesn't use tableLookUpIString() in buildChallengeInfo(), so you probably found how IW increased the amount of unique strings before the game crashes. Claps

Basiclly, remove all tableLookUpIString calls for maximum strings Smile
02-13-2012, 10:45 PM #30
Originally posted by IVI40A3Fusionz View Post
Menus with Flashing text are nice but what would you prefer a menu with shit loads of cool mods to choose from and won't overflow or a menu with shit loads of mods but with flashing text everywhere and will overflow after some time? :/.


And with this you can have both now Awesome face

---------- Post added at 10:45 PM ---------- Previous post was at 10:44 PM ----------

Originally posted by Karoolus View Post
mmhm yeah, i see..

me personally, i never really liked that Happy but hey, that's just my opinion Winky Winky


Me, I never liked any menu patches Happy
02-13-2012, 10:46 PM #31
aerosoul94
smooth like butter
Originally posted by Amanda View Post
I know, we can resize rawfiles, but I think that the total patch must be the same number of bytes, am I wrong?

It's time to port EliteMossys V2 menu on COD4 Gasp

We can also make full players menu with 18 players, RGB Editors and whatever we want!

Or we can still use the new line "\n" to make over 200 Menus in one patch!

OR over 200 DoHearts() <3 !!!

I don't really understand why you'd need to resize a rawfile but you have 2 solutions: Take bytes from other rawfiles or create a custom fastfile.
02-13-2012, 10:46 PM #32
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by x. View Post
Well, I have put the fix into my patch, so it now has lots of cool mods and gamemodes etc without the overflow ( subject to testing Cool Man (aka Tustin) ) .
But people will want the flashy menus, guaranteed... :(

You must login or register to view this content.


Like i said flashy menus are nice but they belong in MW2, COD4's more of a professional look when it comes to patches makes it look like a mature person made it. Unlike some MW2 patches where there's flashing text every where and that it looks like a 13 year old made it.
02-13-2012, 10:47 PM #33
Originally posted by IVI40A3Fusionz View Post
Like i said flashy menus are nice but they belong in MW2, COD4's more of a professional look when it comes to patches makes it look like a mature person made it. Unlike some MW2 patches where there's flashing text every where and that a 13 year old made it.


It's good if it's subtle. TheUnkn0wns was Ok just with the small scaleOverTime on the selected text..

The following user thanked x_DaftVader_x for this useful post:

Beats
02-13-2012, 10:49 PM #34
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by x. View Post
It's good if it's subtle. TheUnkn0wns was Ok just with the small scaleOverTime on the selected text..


Yeah that's what i mean there's not a lot of text on the screen flashing, same with Derektrotters. I'm talking about the EliteMossy edits Winky Winky (excluding Derektrotter).
02-13-2012, 10:52 PM #35
Originally posted by IVI40A3Fusionz View Post
Yeah that's what i mean there's not a lot of text on the screen flashing, same with Derektrotters. I'm talking about the EliteMossy edits Winky Winky (excluding Derektrotter).
And any xbox patch ever made. Ever...
02-13-2012, 10:52 PM #36
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by x. View Post
And any xbox patch ever made. Ever...


OMGmw2 xbox patches made me go crazy. As in i hated them :\ too much setText for me.
02-13-2012, 11:08 PM #37
redraiderark
Are you high?
Amanda you have got some of the biggest names in cod coding talking and coming up with new ideas.

A new era in patch making begins.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo