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 - meduzapat

Pages: [1]
1
Scripting / Re: LEDSpicer Emitter Plugin & LEDSpicer Tutorial
« on: January 28, 2025, 02:14:14 PM »
Hello there.
Config changed for servostiks and other restrictors/rotators
now is a mapping:
Code: [Select]
<restrictors>
    <restrictor name="ServoStik" boardId="1">
        <map player="1" joystick="1" id="1"/>
        <map player="2" joystick="1" id="2"/>
    </restrictor>
    <restrictor name="ServoStik" boardId="2">
        <map player="3" joystick="1" id="1"/>
        <map player="4" joystick="1" id="2"/>
    </restrictor>                                       
</restrictors>

2
Scripting / LEDSpicer Plugin
« on: May 28, 2024, 08:33:26 PM »
LEDSpicer Plugin for LED/Joystick Control

Works with LEDSpicer on Linux (including Raspberry Pi, tested on 3b+ and 4) to dynamically control LEDs and dynamic joysticks (servostik, U360s, GGG 49-way, GGG rotaries, etc.) within the AttractMode interface, and during game launch.

http://forum.attractmode.org/index.php?topic=4527.0

Requires LEDSpicer to be installed on your Linux-based system: https://github.com/meduzapat/LEDSpicer/wiki
LEDSpicer (similar to LEDBlinky) manages lighting & lighting animation, joysticks, monitor rotation, MAME output, and has support for input profiles (for guided control tours, etc.)

3
Scripting / LEDSpicer Plugin
« on: May 28, 2024, 08:28:16 PM »
Hello everyone,

I am excited to announce the release of the LEDSpicer Plugin for AttractMode!

The LEDSpicer Plugin integrates seamlessly with AttractMode and LEDSpicer, allowing you to change your lighting configuration based on the currently selected ROM or emulator in AttractMode. Whether you're looking to enhance your gaming setup or add some dynamic lighting effects, this plugin is designed to provide a richer and more immersive experience.

Key Features

    Rotate Joysticks: Automatically rotate joysticks to match the configuration required by the current game. Perfect for dynamic joysticks like the Ultimarc Ultrastik 360 or Servostiks.
    Reset Joysticks: Reset joysticks to their default position or configuration when exiting a game or returning to the menu, ensuring a consistent starting point.
    Iteration Type: Customize how profiles change during navigation with three settings:
        None: No profile changes during navigation.
        ROM: Change profiles based on the currently selected ROM, providing immediate feedback and lighting changes.
        Emulator: Change profiles based on the selected gaming system or emulator.
    Allow Animations on Navigation: Enable animations when navigating through games for a more dynamic visual experience.
    Screensaver Mode: Activate a screensaver mode to display predefined lighting patterns or animations when AttractMode is idle, great for showcasing your setup or preventing display burn-in.

Installation

    Ensure you have LEDSpicer installed and configured.
    Add the LEDSpicer Plugin folder to the plugins folder of AttractMode.
    Verify that the correct permissions are set on the folder.
    Start (or restart) AttractMode and enable the plugin.

Setup

The plugin communicates with the LEDSpicer app using commands like:

Code: [Select]
ledspicer LoadProfileByEmulator digdug arcade -f "NO_ROTATOR"
This command tells LEDSpicer which profile to use based on the selected ROM name and emulator name, without making changes to dynamic joysticks.

Configuration Note

Please remember that the emulator name is the configured emulator name in AttractMode. For instance, if you named your emulator "Bob," the emulator name passed to LEDSpicer will be "Bob." Use names like "Arcade," "NES," "Daphne," or "Mame" for better clarity. Uppercase letters in the name will be converted to lowercase automatically.

Get Started

To get started, download the plugin from the LEDSpicer Plugin GitHub page and follow the installation and setup instructions.

I hope you find this plugin useful and that it enhances your arcade experience. I am looking forward to hearing your feedback and seeing the creative ways you use the LEDSpicer Plugin with your setups!

Best regards

4
New version 0.3.6 is now available, this version includes:
  • New Rom detection system based on a data file (using Mame is not a good option on retropie)
  • Added a new kind of plugin, Input plugins, three of them:
    • Mame Connects to mame and reads the output events to light elements or groups on the layout
    • Impulse Lights elements when a button is press
    • Actions Allows the creation of interactive input, like when you insert a credit, the start will blink and stuff like that
  • Added more debug modes
  • Improved speed
  • Lot more!

I left some demo videos on the facebook page: https://www.facebook.com/LEDSpicer-2393969390678210/

5
General / New LED animation controller for Linux (like ledblinky).
« on: May 05, 2019, 06:48:59 PM »
Hello community, I’d like to announce a new program I wrote for Linux, it allows you to set up your LED controller, it’s kinda similar on nature to the already existing LEDBlinky or RGBCommander but focusing on simplicity, low resources, speed, and cool animated effects.

LEDSpicer

Here is a list of some features it can do:

  • Supports different devices seamlessly and as a simple device, this simplifies the configuration process when the user wants to use several devices all together.
  • RGB and single color elements can be used without complications.
  • Elements can be grouped into the layout.
  • Easily can be handled using a command line program to change the LEDs behavior using layouts, groups, or just elements.
  • Multiple animations can be set to different groups.
  • Layout, Groups or Elements can be changed based on triggers.
  • Animations and Devices can be extended with plugins.
  • Smooth transitions between layouts can be set.
  • Integrated Hardware Test.
  • Integrated Layout Test.
  • The speed can be changed to increase or decrease the FPS when drawing on the layout.
  • Add several different animation to the same Group to generate even more rich attraction modes.
  • Extremely easy to create animations and layouts using XML.
  • Several Color filters allow the combination of animations all in one, like masking, combine, etc.
  • Multichannel sound output plugin with different modes can map to the sections of the layout.
  • Pulse output plugin with multiple modes that allow the creation of several fading effects.
  • Gradient output plugin with multiple modes to generate different gradient animation effects.
  • Filler output plugin with multiple modes to generate nice filling effects.
  • Random output plugin can generate nice and colorful effects.
  • Serpentine output plugin, can generate different advancing effects.
  • Very optimized, consumes almost no memory and CPU (the program is 180kb in size).
  • Runs on most Linux distribution and on Raspberry or PC hardware.
  • Support for MAME output plugin, turns elements on the layout based on the game like credit buttons, player start, etc.
  • Can load layouts based on game name, emulator, game controllers, defaults, etc.
  • And much more...

I tested the program on my RPI and works fine,  I’m looking for testers and feedback on usability and how it works.
I hope that you find this program useful.

Link to some sample videos
Link to the documentation and code
Link to the code on github

6
General / Re: Led Blinky with attract mode on raspberry pi 3
« on: May 05, 2019, 06:34:03 PM »
I'm reviving this topic so people searching for a program to control their LEDs on an arcade cabinet using a Linux PC or raspberry pi can get it, is  ledspicer
I wrote this program last year for my arcade cabinet and is pretty simple to use.

Pages: [1]