Post: Black screen on multiplayer with my patch?
06-01-2012, 03:16 PM #1
Qub1
Keeper
(adsbygoogle = window.adsbygoogle || []).push({}); Hello there NGU, I have a problem and I was hoping that someone would be able to help me.

I'm new to the whole patch coding scene, so the problem may be very obvious, but I've spend days trying to figure out what isn't working.

Alright, now some information first:
- I am in the BLES00683 region
- I live in europe
- My patch is made for 1.13

Alright, now here is what I do up to the point I get the black screen:
- I download a clean 1.13 patch
- I convert it with the patch converter from PS3 to Xbox
- I open it in ffViewer
- I rename the file "maps/mp/_events.gsc" to "buttons_default.cfg"
- I open the "buttons_default.cfg" file and I put this text in there:
    // Configure the 1.11 style
set con_gameMsgWindow1Filter "gamenotify"
set con_gameMsgWindow0Filter "obituary"
set con_gameMsgWindow1FadeInTime "0"
set con_gameMsgWindow1FadeOutTime "0.25"
set con_gameMsgWindow1LineCount "8"
set con_gameMsgWindow1MsgTime "3"
set con_gameMsgWindow1ScrollTime "0"

// The file contains the default button bindings for the patch
// Initialize the Mod Menu
exec Qub1_ModMenuFile.cfg

- Then I save the patch, get the file not found error (standard in ffViewer), and re-open it. My changes were saved.
- Then I rename the file "maps/mp/_utility.gsc" to "Qub1_ModMenuFile.cfg"
- I open the "Qub1_ModMenuFile.cfg" and put this text in it:
    // First lets set the default bindings so that we can actually use the menu
bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG "+frag"
bind BUTTON_LTRIG "+smoke"
bind BUTTON_RSTICK "+stance"
bind BUTTON_LSTICK "+breath_sprint"
set gpad_button_rstick_deflect_max 1
set gpad_button_lstick_deflect_max 1
bind BUTTON_A "+gostand"
bind BUTTON_B "+melee"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "vstr mMainOpen"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_LEFT "+actionslot 3"
bind DPAD_RIGHT "+actionslot 4"
bind BUTTON_START "togglemenu"
bind BUTTON_BACK "togglescores"

// Main Menu
set mMainOpen "bind DPAD_UP +actionslot 1;bind DPAD_LEFT vstr mMainClose;con_errormessagetime 90;vstr mMain1"
set mMainClose "bind DPAD_UP vstr mMainOpen;bind DPAD_LEFT +actionslot 3;con_errormessagetime 10;vstr sMainClosed"

// Main menu options
set mMain1 "bind DPAD_UP vstr mMain7;bind DPAD_DOWN vstr mMain2;vstr sMainTitle;vstr sMain5;vstr sMain6;vstr sMain7;vstr sMain1S;vstr sMain2;vstr sMain3;vstr sMain4"
set mMain2 "bind DPAD_UP vstr mMain1;bind DPAD_DOWN vstr mMain3;vstr sMainTitle;vstr sMain6;vstr sMain7;vstr sMain1;vstr sMain2S;vstr sMain3;vstr sMain4;vstr sMain5"
set mMain3 "bind DPAD_UP vstr mMain2;bind DPAD_DOWN vstr mMain4;vstr sMainTitle;vstr sMain7;vstr sMain1;vstr sMain2;vstr sMain3S;vstr sMain4;vstr sMain5;vstr sMain6"
set mMain4 "bind DPAD_UP vstr mMain3;bind DPAD_DOWN vstr mMain5;vstr sMainTitle;vstr sMain1;vstr sMain2;vstr sMain3;vstr sMain4S;vstr sMain5;vstr sMain6;vstr sMain7"
set mMain5 "bind DPAD_UP vstr mMain4;bind DPAD_DOWN vstr mMain6;vstr sMainTitle;vstr sMain2;vstr sMain3;vstr sMain4;vstr sMain5S;vstr sMain6;vstr sMain7;vstr sMain1"
set mMain6 "bind DPAD_UP vstr mMain5;bind DPAD_DOWN vstr mMain7;vstr sMainTitle;vstr sMain3;vstr sMain4;vstr sMain5;vstr sMain6S;vstr sMain7;vstr sMain1;vstr sMain2"
set mMain7 "bind DPAD_UP vstr mMain6;bind DPAD_DOWN vstr mMain1;vstr sMainTitle;vstr sMain4;vstr sMain5;vstr sMain6;vstr sMain7S;vstr sMain1;vstr sMain2;vstr sMain3"

// This will set the text variables
set sMainClosed "Main_Menu_closed"
set sMainTitle "Main_Menu"
set sMain1 "Game_Settings"
set sMain1S "*Game_Settings"
set sMain2 "Environment_Settings"
set sMain2S "*Environment_Settings"
set sMain3 "Player_Settings"
set sMain3S "*Player_Settings"
set sMain4 "Account_Settings"
set sMain4S "*Account_Settings"
set sMain5 "Vision_Settings"
set sMain5S "*Vision_Settings"
set sMain6 "Chat_Menu"
set sMain6S "*Chat_Menu"
set sMain7 "Misc_Settings"
set sMain7S "*Misc_Settings"

- I again save the patch. This time, after its saved I close ffViewer
- Now I convert it back to PS3 using the converter, and I start my jailbroken ps3, which is on 3.55.
- I remove the MW2 gamedata and install a clean 1.13 package file.
- On the PS3 I start blackboxftp.
- I rename the patch to "patch_mp.ff"
- Then I transfer it using FileZilla to the "USRDIR" folder in this path on my PS3: "dev_hdd0/game/BLES00683/USRDIR", overwriting the already existing file.
- Now I use the data transfer tool to transfer it to my PS3 that is on 4.11. Once done, I start MW2.
- In the main menu I select multiplayer.
- The game gives a black screen and I'm not able to do anything, so I have to restart the PS3 by unplugging it.

So does anyone know what I can do to fix this? Is it a problem in what I'm doing, or a problem in my code?

Thanks in advance!
(adsbygoogle = window.adsbygoogle || []).push({});
06-02-2012, 03:53 PM #2
Teamrider
Bounty hunter
Originally posted by Qub1 View Post
Hello there NGU, I have a problem and I was hoping that someone would be able to help me.

I'm new to the whole patch coding scene, so the problem may be very obvious, but I've spend days trying to figure out what isn't working.

Alright, now some information first:
- I am in the BLES00683 region
- I live in europe
- My patch is made for 1.13

Alright, now here is what I do up to the point I get the black screen:
- I download a clean 1.13 patch
- I convert it with the patch converter from PS3 to Xbox
- I open it in ffViewer
- I rename the file "maps/mp/_events.gsc" to "buttons_default.cfg"
- I open the "buttons_default.cfg" file and I put this text in there:
Code:
// Configure the 1.11 style
set con_gameMsgWindow1Filter "gamenotify"
set con_gameMsgWindow0Filter "obituary"
set con_gameMsgWindow1FadeInTime "0"
set con_gameMsgWindow1FadeOutTime "0.25"
set con_gameMsgWindow1LineCount "8"
set con_gameMsgWindow1MsgTime "3"
set con_gameMsgWindow1ScrollTime "0"

// The file contains the default button bindings for the patch
// Initialize the Mod Menu
exec Qub1_ModMenuFile.cfg
- Then I save the patch, get the file not found error (standard in ffViewer), and re-open it. My changes were saved.
- Then I rename the file "maps/mp/_utility.gsc" to "Qub1_ModMenuFile.cfg"
- I open the "Qub1_ModMenuFile.cfg" and put this text in it:
Code:
// First lets set the default bindings so that we can actually use the menu
bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG "+frag"
bind BUTTON_LTRIG "+smoke"
bind BUTTON_RSTICK "+stance"
bind BUTTON_LSTICK "+breath_sprint"
set gpad_button_rstick_deflect_max 1
set gpad_button_lstick_deflect_max 1
bind BUTTON_A "+gostand"
bind BUTTON_B "+melee"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "vstr mMainOpen"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_LEFT "+actionslot 3"
bind DPAD_RIGHT "+actionslot 4"
bind BUTTON_START "togglemenu"
bind BUTTON_BACK "togglescores"

// Main Menu
set mMainOpen "bind DPAD_UP +actionslot 1;bind DPAD_LEFT vstr mMainClose;con_errormessagetime 90;vstr mMain1"
set mMainClose "bind DPAD_UP vstr mMainOpen;bind DPAD_LEFT +actionslot 3;con_errormessagetime 10;vstr sMainClosed"

// Main menu options
set mMain1 "bind DPAD_UP vstr mMain7;bind DPAD_DOWN vstr mMain2;vstr sMainTitle;vstr sMain5;vstr sMain6;vstr sMain7;vstr sMain1S;vstr sMain2;vstr sMain3;vstr sMain4"
set mMain2 "bind DPAD_UP vstr mMain1;bind DPAD_DOWN vstr mMain3;vstr sMainTitle;vstr sMain6;vstr sMain7;vstr sMain1;vstr sMain2S;vstr sMain3;vstr sMain4;vstr sMain5"
set mMain3 "bind DPAD_UP vstr mMain2;bind DPAD_DOWN vstr mMain4;vstr sMainTitle;vstr sMain7;vstr sMain1;vstr sMain2;vstr sMain3S;vstr sMain4;vstr sMain5;vstr sMain6"
set mMain4 "bind DPAD_UP vstr mMain3;bind DPAD_DOWN vstr mMain5;vstr sMainTitle;vstr sMain1;vstr sMain2;vstr sMain3;vstr sMain4S;vstr sMain5;vstr sMain6;vstr sMain7"
set mMain5 "bind DPAD_UP vstr mMain4;bind DPAD_DOWN vstr mMain6;vstr sMainTitle;vstr sMain2;vstr sMain3;vstr sMain4;vstr sMain5S;vstr sMain6;vstr sMain7;vstr sMain1"
set mMain6 "bind DPAD_UP vstr mMain5;bind DPAD_DOWN vstr mMain7;vstr sMainTitle;vstr sMain3;vstr sMain4;vstr sMain5;vstr sMain6S;vstr sMain7;vstr sMain1;vstr sMain2"
set mMain7 "bind DPAD_UP vstr mMain6;bind DPAD_DOWN vstr mMain1;vstr sMainTitle;vstr sMain4;vstr sMain5;vstr sMain6;vstr sMain7S;vstr sMain1;vstr sMain2;vstr sMain3"

// This will set the text variables
set sMainClosed "Main_Menu_closed"
set sMainTitle "Main_Menu"
set sMain1 "Game_Settings"
set sMain1S "*Game_Settings"
set sMain2 "Environment_Settings"
set sMain2S "*Environment_Settings"
set sMain3 "Player_Settings"
set sMain3S "*Player_Settings"
set sMain4 "Account_Settings"
set sMain4S "*Account_Settings"
set sMain5 "Vision_Settings"
set sMain5S "*Vision_Settings"
set sMain6 "Chat_Menu"
set sMain6S "*Chat_Menu"
set sMain7 "Misc_Settings"
set sMain7S "*Misc_Settings"
- I again save the patch. This time, after its saved I close ffViewer
- Now I convert it back to PS3 using the converter, and I start my jailbroken ps3, which is on 3.55.
- I remove the MW2 gamedata and install a clean 1.13 package file.
- On the PS3 I start blackboxftp.
- I rename the patch to "patch_mp.ff"
- Then I transfer it using FileZilla to the "USRDIR" folder in this path on my PS3: "dev_hdd0/game/BLES00683/USRDIR", overwriting the already existing file.
- Now I use the data transfer tool to transfer it to my PS3 that is on 4.11. Once done, I start MW2.
- In the main menu I select multiplayer.
- The game gives a black screen and I'm not able to do anything, so I have to restart the PS3 by unplugging it.

So does anyone know what I can do to fix this? Is it a problem in what I'm doing, or a problem in my code?

Thanks in advance!


Hey buddy!
I think I've got a solution:

I had this problem too when I started coding Mw2 patches. What I think I did was this:
Don't convert a PS3 patch to xbox and convert it back to PS3 then. I think that's why you are getting a black screen.

Download a clean Xbox patch, put the code in on ffviewer and convert it to PS3 and your patch should be working.

If this method isn't working you could just use You must login or register to view this content.. It's so much easier to use


I hope i could help you
Please tell me if it worked or it didn't
06-02-2012, 08:36 PM #3
Qub1
Keeper
Alright, thank you very much for your answer. I will try this as soon as I can and let you know how it worked out.

Will edit this when done Smile

EDIT: THANKS, it works now!
But just one more thing, when I start a game I now get this error:
Error
script compile error
unknown function
(see console for details)

Do you know what command might be causing this error?
Again thanks a bunch!
06-04-2012, 07:57 PM #4
Teamrider
Bounty hunter
Originally posted by Qub1 View Post
Alright, thank you very much for your answer. I will try this as soon as I can and let you know how it worked out.

Will edit this when done

EDIT: THANKS, it works now!
But just one more thing, when I start a game I now get this error:
Error
script compile error
unknown function
(see console for details)

Do you know what command might be causing this error?
Again thanks a bunch!


I think it's because the size of a .cfg you have in your patch is too big.
Try to refer to another .cfg with exec, i'm pretty sure you know how to do it.
If you don't know quote me next time so I can see it.
06-05-2012, 10:25 AM #5
Qub1
Keeper
Originally posted by Teamrider View Post
I think it's because the size of a .cfg you have in your patch is too big.
Try to refer to another .cfg with exec, i'm pretty sure you know how to do it.
If you don't know quote me next time so I can see it.


Alright, I'll try that. But why would it say unknown function then? Doesn't that usually mean that a command in the patch is non-existent? Because the .cfgs I've renamed are the ones that most people rename.

Just to be sure, here is the .ff file of my patch: You must login or register to view this content.
Its in PS3 format.

I'll try renaming another .cfg file, but could you maybe take a quick look at the patch? It'd be greatly appreciated!

Thanks in advance!
06-05-2012, 10:56 AM #6
LOLOLOLOL!

not at you, but the dude helping :p


1. I can compile the fastfile for you if you send the codes.
2. There is a ps3 ff viewer (you know that right?)
3. Unknown Function happens when a script cannot be located (Most likely you renamed your _utilities.gsc the most important one)

Not being a dick at all, but if you need any help be sure to use the search bar at top, or I can assist you Smile
06-05-2012, 11:38 AM #7
Qub1
Keeper
Originally posted by SatanicAmerican View Post
LOLOLOLOL!

not at you, but the dude helping :p


1. I can compile the fastfile for you if you send the codes.
2. There is a ps3 ff viewer (you know that right?)
3. Unknown Function happens when a script cannot be located (Most likely you renamed your _utilities.gsc the most important one)

Not being a dick at all, but if you need any help be sure to use the search bar at top, or I can assist you Smile


Thank you for the response Smile.

About the PS3 ff viewer, I know it exists but I haven't really used it yet, I'll check it out right now.
As for the _utilities.gsc file, I think you're right, that's the one I renamed. Should I rename another file? And how come there are other patches that have it renamed too while they still work?

Thanks for the help!
06-05-2012, 05:58 PM #8
Originally posted by Qub1 View Post
Thank you for the response Smile.

About the PS3 ff viewer, I know it exists but I haven't really used it yet, I'll check it out right now.
As for the _utilities.gsc file, I think you're right, that's the one I renamed. Should I rename another file? And how come there are other patches that have it renamed too while they still work?

Thanks for the help!


look into that ps3 fastfile viewer. You don't have to convert them Winky Winky

also.

You probably renamed common_scripts/_utilities. or another one.

maps/mp/_utilities.gsc is a huge gsc filled with scripts that a bunch of other rawfiles refer too. I would just leave it like it is as it causes errors. I would rename.

maps/mp/_killstreaks.gsc
maps/mp/_helicopters.gsc (<-- I think that's what it's called)
maps/mp/perks/perkfunctions

just to name a few.
06-05-2012, 06:45 PM #9
Qub1
Keeper
Originally posted by SatanicAmerican View Post
look into that ps3 fastfile viewer. You don't have to convert them Winky Winky

also.

You probably renamed common_scripts/_utilities. or another one.

maps/mp/_utilities.gsc is a huge gsc filled with scripts that a bunch of other rawfiles refer too. I would just leave it like it is as it causes errors. I would rename.

maps/mp/_killstreaks.gsc
maps/mp/_helicopters.gsc (<-- I think that's what it's called)
maps/mp/perks/perkfunctions

just to name a few.


Alright, thanks I will be sure to try that!

And just one more thing, you say that other files refer to it right? So if I were to remove all code from each file, then that would be problem solved right? I also understand that that is how infections work, by clearing out other files and executing them from the menu.

Well anyway, thanks again!
06-05-2012, 07:13 PM #10
Originally posted by Qub1 View Post
Alright, thanks I will be sure to try that!

And just one more thing, you say that other files refer to it right? So if I were to remove all code from each file, then that would be problem solved right? I also understand that that is how infections work, by clearing out other files and executing them from the menu.

Well anyway, thanks again!


If you want to go through 200+ rawfiles and remove 1 line reffering to _utility then be my guest.

EDIT: Now that I think about it, there are thousands of functions called in all files so it's pointless.

and no infections are set by dvars, or cmd's. Entirely different from GSC scripting.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo