Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Themes / Big iris for AM+
« Last post by tankman37 on May 01, 2025, 04:31:22 AM »
The Big iris theme, AM+ required. Multiple artwork and colour options
https://github.com/Tankman3737

Video preview:
https://youtu.be/oIeDdG9yG4M
72
General / Re: I can't play on DuckStation and PCSX2 through Attract Mode
« Last post by thomasfrank on April 29, 2025, 04:19:51 AM »
Make sure the .cue file exists in the specified folder and that its internal FILE line matches the exact name of the .bin file. If you've renamed the files, open the .cue in a text editor and update any outdated references to match the new filenames.
73
Themes / N64 Classic Theme
« Last post by stazna01 on April 22, 2025, 11:06:18 PM »


With Retroflag's awesome 64Pi case, it seemed a sin to not have a N64 Classic theme. Thankfully @caminiti45 had posted a SNES Classic theme, so I modified and simplified that to work as a basic N64 Classic theme, with the theming matching the 64Pi case.

Feel free to use this theme, modify it as you see fit, create a future Gamecube Classic theme, etc.

N64 Classic Theme Video
N64 Classic Theme
74
Themes / Jukebox+ (for AM+ only)
« Last post by kent79 on April 20, 2025, 07:29:08 PM »
Jukebox+ is out. For let you easy to setup and well known configuration. The package is including the theme and AM+ 3.1.0. Please make sure read the readMe first.

The theme is designed for remote controller. Just buy one with num key model (less than $US10) and you will get a great experience for listening your music or radio now

Thanks and Enjoy!

Demo:
https://youtu.be/tEBrvw6et6E

Download:
AM+ Discord
https://discord.gg/86bB9dD
75
Themes / Re: *Solved* Can't get Nevato to work in 2.6.1
« Last post by rbdesouza@2010 on April 19, 2025, 05:12:53 PM »
CHANGE IN THEME'S layout.nut

//fe.layout.width = 1920;
//fe.layout.height = 1080;

STOP

fe.layout.width = 1920;
fe.layout.height = 1080;

REMOVING // AND SAVING
HAVING FUN
76
Emulators / Re: PCSX2 AVX2 QT launch error...
« Last post by manzarek on April 19, 2025, 02:24:03 AM »
 ;) ;) ;) ;)
77
Scripting / I'm trying to do in Attract-Mode (Help Needed!) Please
« Last post by gamesmame on April 16, 2025, 05:24:19 PM »
## 🧵 What I'm trying to do in Attract-Mode (Help Needed!)

Hello everyone, I need some help with a layout I'm creating in Attract-Mode.

I'm trying to load custom artwork positions (x, y, width, height) from a per-game `.txt` file and apply them dynamically when the layout is loaded.

---
### ✅ What I have so far

Each game has a corresponding text file like this, stored in:
```
M:/Media/Nintendo Entertainment System/LayoutsData/
```

Example file: `Abadox - The Deadly Inner War (USA).txt`
```
snap_x=100
snap_y=120
snap_w=900
snap_h=680
art3_x=0
art3_y=0
art3_w=1920
art3_h=1080
```

---
### 🧠 My layout.nut logic

I'm using this Squirrel code in `layout.nut`:

```nut
fe.layout.width = 1920;
fe.layout.height = 1080;

function read_config(path)
{
    local config = {};
    try {
        local f = file(path, "r");
        if (typeof f.read_line != "function") {
            print("Invalid file: " + path + "\n");
            return config;
        }

        while (!f.eos())
        {
            local line = f.read_line().strip();
            if (line == "" || line.find("=") == null) continue;
            local parts = line.split("=");
            if (parts.len() >= 2)
            {
                local key = parts[0].strip();
                local value = parts[1].tointeger();
                config[key] <- value;
            }
        }
        f.close();
    } catch(e) {
        print("Error reading config: " + path + "\n");
    }
    return config;
}

local game_name = fe.game_info(Info.Name);
local config_path = "M:/Media/Nintendo Entertainment System/LayoutsData/" + game_name + ".txt";
local cfg = read_config(config_path);

// Default values if not found
local snap_x = cfg.rawin("snap_x") ? cfg["snap_x"] : 100;
local snap_y = cfg.rawin("snap_y") ? cfg["snap_y"] : 100;
local snap_w = cfg.rawin("snap_w") ? cfg["snap_w"] : 640;
local snap_h = cfg.rawin("snap_h") ? cfg["snap_h"] : 480;

local art3_x = cfg.rawin("art3_x") ? cfg["art3_x"] : 0;
local art3_y = cfg.rawin("art3_y") ? cfg["art3_y"] : 0;
local art3_w = cfg.rawin("art3_w") ? cfg["art3_w"] : fe.layout.width;
local art3_h = cfg.rawin("art3_h") ? cfg["art3_h"] : fe.layout.height;

local bg = fe.add_artwork("background", 0, 0, fe.layout.width, fe.layout.height);
bg.preserve_aspect_ratio = false;

local snap = fe.add_artwork("snap", snap_x, snap_y, snap_w, snap_h);
snap.preserve_aspect_ratio = true;

local art3 = fe.add_artwork("artwork3", art3_x, art3_y, art3_w, art3_h);
art3.preserve_aspect_ratio = true;
```

---
### ❌ Issue I'm facing

The layout loads the background and artworks, **but it seems to ignore the values from the config files.** No error appears, but the coordinates from the `.txt` file aren’t being applied.

If I hardcode the values, it works. If I try to apply them dynamically via `.x`, `.y`, `.width`, `.height` after `add_artwork`, then nothing shows.

---
### 🔍 What I tried that **didn’t work**:

```nut
local snap = fe.add_artwork("snap", 0, 0, 640, 480);
if ("snap_x" in cfg) snap.x = cfg["snap_x"];
if ("snap_y" in cfg) snap.y = cfg["snap_y"];
if ("snap_w" in cfg) snap.width = cfg["snap_w"];
if ("snap_h" in cfg) snap.height = cfg["snap_h"];
```

Same thing for `art3`. Nothing is rendered.

---
### 💬 What I'm looking for

I just want to read position values from `.txt` files per game and dynamically apply them to `add_artwork` objects. If someone has done something similar or sees what's wrong, I’d really appreciate any help or working example.

Thanks a lot!
78
Scripting / Re: Help in getting Scrolling Text to go RIGHT and/or VERTICAL
« Last post by jakabasej8 on April 15, 2025, 02:19:11 AM »
I just starting using this feature and love it!

But my text is only scrolling Right to Left, and Horizontal Bounce works also. https://kuhinje-nemec.com/kuhinjski-pulti/kamniti-pulti/

But i'm unable to get Horizontal_Right and any of the Vertical options to function. Atelier Rebul
Even when using the sample object scrolling layout included, The Horiztonal_Right and Vertical examples all scroll Right to Left.

I've searched this forun as best i can, but unable to find out what i'm doing wrong.
Any advice?

Thank you all!
Feels like a demo reel with commitment issues
79
Scripting / Re: [TOOL] Flashpoint Importer for Launchers
« Last post by jakabasej8 on April 15, 2025, 02:18:22 AM »
Just came across this, looking forward to trying it out. Dekton pult I don't want many flash games because https://atelierrebul.si/shop/category/disave-za-dom-difuzorji-23  it's overwhelming for someone just visiting to play on the cab...may like 100 games in different genres...need an all killer or no filler type list...
Totally get that—100 well-picked games beats a bloated list
80
Scripting / Re: Ultimarc Servo-Stik plugin for Linux
« Last post by jakabasej8 on April 15, 2025, 02:16:08 AM »
In case anyone is interested, there is also an app called LEDSpicer that handles mode switching for ServoStiks, https://kuhinje-nemec.com/ U360s, GGG Rotary and GGG 49-ways based on rom choice or via manual control (it handles LED stuff too). It's not my app, https://atelierrebul.si/shop/category/parfumi-moski-parfumi-75 but I work with the author of it from time to time on documentation and testing. I did some work on the documentation for RGBCommander as well and have used both extensively.

https://sourceforge.net/p/ledspicer/wiki/Home/
https://sourceforge.net/p/ledspicer/wiki/Deployment/

There are some interesting features like the ability to design interactive LED lighting based on inputs. Like.... coin light flashes until a coin is inserted, and then player 1 flashes until pressed. It has support for MAME's output system too, which works great with stuff like blinking LEDs in DigDug and Galaga, or the knocker feature from Qbert. Just know, to use that feature you'd need to be using MAME versions over 188 or so. 188 manages to run old roms like DigDug and Galaga at fullspeed on my Rpi3b+ (as long as I'm not running a monitor in high resolution).

Anyway, sorry for the old topic bump, but I was searching for something and figured it'd be useful to have this info here.
I can't get either of these to work...
I can activate the servos manually with SETSERVOSTIK from command line... but i can't get anything to happen while in attract mode (groovyarcade/arch)
I've generated the romlist and called it arcade.txt as well as mame.txt and put them in the romlists folder (is this the correct filename? does the script look at this filename?)

Ended up getting LEDSpicer working after an issue was fixed through github
Would be good to know what the issue is with RGBc though...
Yes, romlist filename matters.
Pages: 1 ... 6 7 [8] 9 10