Post: Load GSC Menus From CFG File
07-27-2013, 12:33 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); So I had this idea to setup mod menus from dvars. Now this is possible but you'll have to configure it to work with your menu base. I wrote up a quick psuedo code for an example how to use it. (or how you would use it).


In Your GSC:
You must login or register to view this content.


In Your Config File On USB:
    
set menu_conf "main,exit,0[|]submenu,main,1[|]submenu_2,main,2";
set opts_conf "main,0,SubMenu,::SubMenu[|]main,1,SubMenu 2,::SubMenu[|]submenu,0,GodMode,::doGod[|]submenu_2,0,UFO,::doUFO";


Oh and you will obviously execute the usb cfg via the following:
    exec "../../../../dev_usb000/conf.cfg"



Now the idea here is you could add menus to your mod menu and only it only reads the hosts config. So you can setup the way your menu is arranged without having to switch the patch around, or hell even adjust the way other people in the menu want to set it up.

Add Menus By:
menuid, parent, menunum

and for multiple menus add the seperator "[|]"

To Add Menu Opts:
menuid, option pos, option name, option func

and for multiple opts add the seperator "[|]"
(adsbygoogle = window.adsbygoogle || []).push({});

The following 9 users say thank you to Jakes625 for this useful post:

*xActionMods*, Alex-George-HnM, BigGucciSosa300, blackhawk2299, ResistTheJamsha, MW2TopTenWORLD, Script Kiddie, xRevolutions
07-27-2013, 01:49 PM #2
wow if this works it will be awesome!
but noobie question this would be for 1.14?
07-27-2013, 01:53 PM #3
I don't see how this would work as any update above 1.11 doesn't read .gsc? :S
07-27-2013, 04:29 PM #4
Awesome release man ! Can't wait to have some fun on bypass with this haha

So do you have to have a menu already for this to work or can you make a full menu using this sort of coding?

Im unsure of the concept behind this.

The following 2 users say thank you to Alex-George-HnM for this useful post:

Obris, zUnboundPatcher
07-28-2013, 02:15 AM #5
Originally posted by HnM View Post
Awesome release man ! Can't wait to have some fun on bypass with this haha

So do you have to have a menu already for this to work or can you make a full menu using this sort of coding?

Im unsure of the concept behind this.


You make a 1.11 patch with the GSC codes in the pastebin.
Then on a USB menu, you make your mod menu.
It could be an easy way to make and change patches.
Or this could be so complicated that nobody will use it.

The following user thanked MrBerrics for this useful post:

Kush Friendly
07-30-2013, 03:18 AM #6
.godz
I am error
I also had this idea! I think it would work..
07-30-2013, 02:35 PM #7
ModdedModder
Gym leader
Wasnt this my idea first? You must login or register to view this content.
07-31-2013, 02:11 AM #8
xRevolutions
Pokemon Trainer
Amazing Idea :y:
I think some GSC Modder would return if this work Smile
Thanks for sharing
07-31-2013, 02:21 AM #9
Nice Idea!
08-05-2013, 03:14 AM #10
i just dont understand where you put the gsc at?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo