sc-controller icon indicating copy to clipboard operation
sc-controller copied to clipboard

Custom global menus not working at all?

Open gwemmie opened this issue 2 years ago • 3 comments

I'm having a hard time figuring out the cause of this bug. I'm trying to create custom menus for certain profiles, that are just like the global menu, but with some extra profile shortcuts for alternate profiles for that particular game. There seems to be no "copy a menu" option, so I did it from scratch by hand.

For some reason, when I start to build these new menus--when they only have a few items on them--they work fine, no matter what items I put on them.

To be more specific: the total menu items at the end of creation for a certain one of these custom menus is, from top to bottom: -Separator -Profile change -Profile change -Separator -Profile change -Profile change -All profiles submenu -Separator -Open SC Controller... -Kill Current Window -Display Keyboard -Turn Controller OFF

So I've tried making the menu only have 3 or 4 of literally any combination of these items, and it always works. But once I finish making the menu and have all of those items in it, every single item suddenly does nothing when I select it--not even the one to turn the controller off. This persists across every new menu I try to make. It's happening every single time.

gwemmie avatar Dec 12 '21 18:12 gwemmie

Hello and sorry for late response. Would it be possible to post your configuration (they are saved to ~/.config/scc/profiles directory).

Also, turning emulation down and running scc-daemon debug in the console may reveal some error messages either when non-working menu pops out or when you select some item.

kozec avatar Dec 19 '21 08:12 kozec

Two of the profiles in question that aren't working (in both cases their .mod files are identical): FPSRPG. Outer Wilds.sccprofile FPSRPG. Outer Wilds - Echoes of the Eye.sccprofile

scc-daemon debug log: https://pastebin.com/HAphTvQL (I suppose the exception at the end is likely unrelated and has more to do with python 3.10 updating recently?)

Anyway, looks like all the debug log has to say is "Selected menu item is no longer valid."

gwemmie avatar Dec 19 '21 19:12 gwemmie

Whoops, I forgot to post the menu file itself too! Here's that: https://pastebin.com/dXz0zHDr

gwemmie avatar Dec 19 '21 19:12 gwemmie