Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Zdouf

Pages: [1]
1
Scripting / Displays menu // Filter displays or use several lists ?
« on: August 27, 2023, 03:18:36 AM »
Hello,

From the DISPLAY MENU (not a "regular" display), I'd like to be able to choose between :
- systems (CPS1, CPS2, MVS...),
- manufacturers (ADK,Capcom, Cave...) or
- genre (Shmups, VS fighters...)
with a SpinWheel . There's no filter possible in "displays" menu. Even adding a display as a favorite cannot be usable (not saved anywhere I think).

"fe.list" is the list of displays. My displays are sorted in this order :
If "fe.list.index <= 10" , there are "systems",
if "fe.list.index > 10 && fe.list.index <= 20" , there are "manufacturers"...

So I'd like to reach my goal using this order. My questions :
- Is it a good idea to reach my goal this way ?
- Is it possible to code for a "jump_to" function to a specific name (ADK, my first manufacturers name for example)? I see I can jump to next letter from options but dunno if I can do it with code to a specific name.
- Is it possible to create 3 lists from fe.list and feed the SpinWheel with one of those lists (overpass fe.list.index) and switch between 3 lists with a signal ( function on_signal( sig ).... for example) ?
- Is it possible to feed a SpinWheel with a range of fe.list (for example indexes from 10 to 20) ?
- Is there a plugin, a module or a setting I haven't seen to easily reach my goal ?
- Create 3 "regular" filtered displays ("Systems", "manufacturers" & "genres") that launch one of the target displays instead of "displays menu" is possible with a script ?
- Any idea ?

Have a nice day.
Johann

2
Scripting / Get the magic token [ListEntry] with a function
« on: August 22, 2023, 04:27:38 PM »
Hello,

I'm unable to get the field with a function using " fe.game_info( Info.ListEntry )"

How is it possible to get the index?
I haven't found any solution in an existing layout.
I don't know how to access the Squirrel Root table to find the equivalent function.

Best regards
Johann.

Pages: [1]