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.


Messages - keilmillerjr

Pages: [1] 2 3 ... 39
1
Scripting / Re: Error (index "0") while using Leap Plugin
« on: Yesterday at 07:15:29 PM »
Major code rewrite
* Resolved spelling and formatting errors
* Display menu no longer throws error
* Cleaned up code

@rand0m Please try it and let me know if it works for you as well. Thank you. Pushed a displays menu fix for mvscomplete theme. Will have to hit my other themes too. My themes need some overall updates as well.

2
Scripting / Re: Error (index "0") while using Leap Plugin
« on: Yesterday at 02:53:18 AM »
Spot on! I also think that since display menu lacks filters thats why leap plugin is showing the index 0 error. I first believed that when no filter is set, romlist defaults to "All" but that doesn't seem to be the case in display menu.

One way to tackle this might be to select specific lists where leap plugin is applied (or select where leap shouldn't apply). In most cases first two tiers of hierarchy "Display menu > Platforms" need to be excluded.

In your case, Platforms is an actual display with filters. So it should be ok. It’s only a “Display Menu” that is the bugger. I can fix this. No worries. Sorry it took so long to get to this point, and thank you for the help.

3
Scripting / Re: Error (index "0") while using Leap Plugin
« on: October 15, 2018, 07:12:01 PM »
    So I figured out something, I think. Correct me if I am wrong.

    • Display has a romlist.
    • A romlist can be an actual game or another display for nesting.
    • Displays can have multiple nesting of displays.
    • Usage of „displays menu“ sort of simulates a display comprised of actual displays where in_menu is marked as yes.
    • “displays menu“ has no filter or display name, so it will throw errors for an active layout/plugin/module that uses such normal features. Game title will be display name.

    Is there a way to determine if the current display is the „displays menu“? I don’t really like the idea of this menu being auto generated rather than following the normal display syntax and way of working. It would be nice if display name and filter names were just empty strings.

    Edit: Looking at layouts.md real quick, it seems as though I can determine if I am in the display menu, and make adjustments to my themes and plugins accordingly.

4
Themes / Re: help with controls on a theme
« on: October 15, 2018, 08:47:30 AM »
@jedione makes sense. Thank you. Do you have any issues with navigating the config menu trigging your theme?

@zapaolo11x interesting. Do you have a layout of yours I can reference to understand why? I would have thought the other way around. List index can change, but it’s easy for lots of things to hook into a signal change and execute code with it.

5
Scripting / Re: Squirrel development environment
« on: October 15, 2018, 07:46:24 AM »
I am currently using the Atom.io code editor. It’s multi platform. Use terminal on Mac, cd to the bin folder within the app package, and execute the bin or launch script directly. It eliminates some errors that have happened on Mac platform. Check out debug plugin. Comes in handy.

6
Themes / Re: help with controls on a theme
« on: October 15, 2018, 03:47:32 AM »
Bump on a really old topic, but I was wondering the same. Sharing horizontal and vertical navigation on the same machine would require “swapping” controls to not confuse the user. Unless I’m missing something, which I have been lately with all the new features rolling out, only way to accomplish this is to have themes utilize custom keys, or not for default mapping.

7
Scripting / Re: Error (index "0") while using Leap Plugin
« on: October 14, 2018, 07:15:11 PM »
config menu -> startup mode -> show displays menu

Two options: menu and exit attract-mode. I have a shit load of errors within my layout and leap plugin referring to the index '0' does not exist. I didnt create this menu, so it has no “roms”. Not sure whats going on with my understanding of menus. Interesting. Will investigate further. I thought this menu stuff would be simpler.

8
Scripting / Re: Problem plugin - Random
« on: October 14, 2018, 07:07:27 PM »
Is there any way to auto pause the script while you’re playing a game? Feels a bit weird to exit a game and have another game selected. (I haven’t tried the experimental version yet, so apologies if it was already added to that).

Amazing work, thank you for making this.

No, but I can add that feature. I forgot that the front end doesn’t really pause when focus is taken away. Perhaps this weekend I can work on it.

That would be fantastic. I really appreciate your work.

I did some work to the master branch. Totally revised. I am very pleased with the outcome.

  • Picks random target index
  • Picks a random direction
  • Changes fe.list.index -1/+1 based on direction
  • Sends signal to move to our target index

  • Game will not change during gameplay, and will reset counter FromGame.
  • No issues with fade art module
  • No drop in frame rate when changing games
  • “Spinning wheel“ type movement is not present like the experimental branch, but utilizing next and prevention signals at random means that other modules can still provide some sort of movement.

I think I’m at end with the experimental branch unless some one can provide some insight for an approach. Master branch is pretty good in my eyes, and would like feedback as to how well it’s interaction with other themes is.

9
General / Re: Attract mode. Slow loading
« on: October 13, 2018, 08:04:21 AM »
I know attract has different video options; software and hardware. Perhaps try both? Which layout are you guys using? Have you tried other layouts?

10
General / Re: Attract Mode on Retropie Scraper still broken?
« on: October 12, 2018, 08:40:39 AM »
I’d like to create a Raspbian image with current attract and mame versions. The thing I’m stumped on is controller configurations. Anyone shed some light? It’s just a thought right now.

11
Scripting / Re: Problem plugin - Random
« on: October 11, 2018, 08:41:50 AM »
Is there any way to auto pause the script while you’re playing a game? Feels a bit weird to exit a game and have another game selected. (I haven’t tried the experimental version yet, so apologies if it was already added to that).

Amazing work, thank you for making this.

No, but I can add that feature. I forgot that the front end doesn’t really pause when focus is taken away. Perhaps this weekend I can work on it.

12
Scripting / Re: Problem plugin - Random
« on: October 09, 2018, 07:24:27 PM »
Updated the experimental branch for sequencer plugin. Sorry it took so long. I just spent two hours with it. I added the ability to jump ahead indexes. It makes the action quicker. Anyone can try it and provide input or fork/pull request. Still hung up on why fe.signal on every consecutive tick does not produce the same result as navigation button press. My frame rate gets low too.

13
General / Re: advanced filters
« on: October 08, 2018, 05:43:44 PM »
https://github.com/mickelson/attract/wiki/Example-filters

Shows example similar to your situation. You can escape a parentheses with a backslash. I don’t think regex is supported. If this is the case, I see two options. Don’t include a parenthesis. Or explicitly come up with every language combo you see.

14
Scripting / Re: What action causes Transition.EndNavigation?
« on: October 07, 2018, 05:40:15 AM »
fe.signal()

Unfortunately, fe.signal() doesn’t work the same as an actual button press. That’s the issue I’m running into.

15
Scripting / Re: What action causes Transition.EndNavigation?
« on: October 07, 2018, 05:34:41 AM »
@oomek is there any way to simulate a press of a navigation button?

Pages: [1] 2 3 ... 39