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, 11:09 PM #38
d7w7z
Bounty hunter
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


I think the precache is just used because IW read their strings from an internal file which isn't fast enough to display instantly, so they preload the text from the file.
02-13-2012, 11:15 PM #39
Choco
Respect my authoritah!!
I released my Private Patch using this overflow fix, here it is: You must login or register to view this content.

Amanda, I can not thank you enough. You just gave COD4 a fresh start Smile

The following user thanked Choco for this useful post:

Amanda
02-14-2012, 12:38 AM #40
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


thank you so much Amanda.
I portet Mossy v7 to cod4, i verified all 12 Player in the Lobby, no OVERFLOW !! (onPS3)
Loove it ^^
02-14-2012, 01:09 AM #41
redraiderark
Are you high?
efkeriofmovimdfom
02-14-2012, 01:10 AM #42
xKtF
In my man cave
Originally posted by sniipezZ View Post
thank you so much Amanda.
I portet Mossy v7 to cod4, i verified all 12 Player in the Lobby, no OVERFLOW !! (onPS3)
Loove it ^^


can u link it to me?
02-14-2012, 06:26 AM #43
iReset Nigga
2Fresshh!!
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



This is AMAZING thanks alot me and Newelly are working on a few Mw2 Style Menus.....on pc crashes at 355 lol
u have just made urself my fav cod4 coder Happy
02-14-2012, 09:51 AM #44
nay1995
The Master
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




i can confirm this isnt working on world at war but very nice idea havent tested cod4

cod5 overflows at 380 and renaming the name and camos it still overflows at 380 :(
02-14-2012, 10:33 AM #45
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by nay View Post
i can confirm this isnt working on world at war but very nice idea havent tested cod4

cod5 overflows at 380 and renaming the name and camos it still overflows at 380 :(


Damn i was gonna try this on W@W and if it worked probably make a patch you know just for more stability.
02-14-2012, 10:48 AM #46
nay1995
The Master
Originally posted by IVI40A3Fusionz View Post
Damn i was gonna try this on W@W and if it worked probably make a patch you know just for more stability.


anyway waW is 380 so its fine Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo