Hot Fixing broken "sourcemods" main menu's
Quote from CosmicD on May 17, 2012, 2:03 pmHello,
For you who have made your portal 2 mod using the sourcemods methods described here, you will find the main menu of your mod broken after valve updated portal 2 with the new Perpetual Testing DLC.
This is because the engine no longer looks inside the packaged filesystem for mainmenu.res , but mainmenu_new.res when trying to find it inside the resource/ui/basemod/ui folder.
I relealise people will mostly use the new workshop/puzzlemaker combo, but I invested allot in a bit of story telling, custom props and scripts for my campaign so whenever I update it I want it to update it foremost using the "sourcemods" approach.
After that I'll see if I can cram all this stuff inside workshop version of my individual core maps.
Anyway, just want to mention this for people having the same prob.
Hello,
For you who have made your portal 2 mod using the sourcemods methods described here, you will find the main menu of your mod broken after valve updated portal 2 with the new Perpetual Testing DLC.
This is because the engine no longer looks inside the packaged filesystem for mainmenu.res , but mainmenu_new.res when trying to find it inside the resource/ui/basemod/ui folder.
I relealise people will mostly use the new workshop/puzzlemaker combo, but I invested allot in a bit of story telling, custom props and scripts for my campaign so whenever I update it I want it to update it foremost using the "sourcemods" approach.
After that I'll see if I can cram all this stuff inside workshop version of my individual core maps.
Anyway, just want to mention this for people having the same prob.
Quote from Lpfreaky90 on May 17, 2012, 2:05 pmYea, I found the same solution too, but thanks for sharing!
Now if there was only a way to properly modify portals' main menu...
Yea, I found the same solution too, but thanks for sharing!
Now if there was only a way to properly modify portals' main menu...
Quote from CosmicD on May 17, 2012, 2:10 pmyeah, doing the main menus it's a drag. But honestly I was very relieved that hotfixing it was so simple
I'm totally no programmer but I'm sure that following its structure, you could make a front-end application for it.
yeah, doing the main menus it's a drag. But honestly I was very relieved that hotfixing it was so simple I'm totally no programmer but I'm sure that following its structure, you could make a front-end application for it.

Quote from ChickenMobile on May 17, 2012, 10:36 pminteresting... ty cosmicd
interesting... ty cosmicd

Quote from josepezdj on May 18, 2012, 4:34 amI also found that same shortcut. After I went to my mod's menu and saw that it looked like the new Portal2's menu including the "Play Community Chambers" button and such (what made me angry and worried...), I quickly went and looked into the dlc2 folder and the pak01_dir in it and found the new mainmeu_new.res file...
I also found that same shortcut. After I went to my mod's menu and saw that it looked like the new Portal2's menu including the "Play Community Chambers" button and such (what made me angry and worried...), I quickly went and looked into the dlc2 folder and the pak01_dir in it and found the new mainmeu_new.res file...
Quote from CosmicD on May 18, 2012, 6:29 amYEah I was annoyed too. WHen I saw thid bodged menu, all I could think was hard things, like when they stopped reading vpk's in the addons folder, i thought like OMG, have they stopped reading resources from sourcemods dirs ? Have they stopped reading packed dirs ? Maybe they restricted to read the main menu from any other location but the main dlc2 dir.....
But I'm glad to say I was wrong lol.
YEah I was annoyed too. WHen I saw thid bodged menu, all I could think was hard things, like when they stopped reading vpk's in the addons folder, i thought like OMG, have they stopped reading resources from sourcemods dirs ? Have they stopped reading packed dirs ? Maybe they restricted to read the main menu from any other location but the main dlc2 dir.....
But I'm glad to say I was wrong lol.
Quote from FelixGriffin on May 18, 2012, 8:46 amWait, addons don't work anymore? When did that happen?
Wait, addons don't work anymore? When did that happen?

Quote from ChickenMobile on May 18, 2012, 9:04 amOnly vpk's in the addons. This has been for months, ever since the last DLC came out.
Only vpk's in the addons. This has been for months, ever since the last DLC came out.
Quote from Lpfreaky90 on May 18, 2012, 10:04 amEver since the first DLC came out
Hopefully valve will fix this... ...eventually!
Ever since the first DLC came out
Hopefully valve will fix this... ...eventually!
Quote from FelixGriffin on May 18, 2012, 2:40 pmWell, that's awful! Is there any way to play addons like Retrospective anymore?
Well, that's awful! Is there any way to play addons like Retrospective anymore?