Recent Posts

Pages: [1] 2 3 ... 10
1
General / Mame opens minimized (behind the frontend)
« Last post by Jesper1972 on Yesterday at 09:24:24 AM »
Hi guys, Im running "At the Arcade" theme on a Windows 10 Pro machine, with Mame 0.277
I have one regular PC monitor and a marquee-monitor on top, so two screens

My mame.ini settings is like this, and it works well, aside from mame starting hidden, "behind" the frontend..
If I Alt-Tab to Mame it comes up correct, with the marquee still on the top screen..


If I set all variables to auto, mame starts on top but on BOTH screens, and replaces the marquee, which is what Im after in the frontend in the first place :D

What am I doing wrong here guys ?!



screen                    auto
aspect                    auto
resolution                auto
view                      auto
screen0                   \\.\DISPLAY2
aspect0                   auto
resolution0               auto
view0                     auto
screen1                   auto
aspect1                   auto
resolution1               auto
view1                     auto
screen2                   auto
aspect2                   auto
resolution2               auto
view2                     auto
screen3                   auto
aspect3                   auto
resolution3               auto
view3                     auto
2
General / Re: I can't play on DuckStation and PCSX2 through Attract Mode
« Last post by helendam.lyly on May 07, 2025, 07:25:24 PM »
When you run PS1 or PS2 games using the emulator alone (without going through Attract Mode), do they work normally? If running them alone is fine, then the problem is probably with the command line or configuration in Attract Mode, not the emulator or the game.
3
General / Scraping MAME videos within AM?
« Last post by Draugr on May 06, 2025, 07:00:15 AM »
Hi Everyone.

I've been trying to get MAME videos downloaded via the internal AM scraper but haven't had any success. I tried searching for answers on the Internet but haven't found any info that helped me resolve the issue I'm having.

Can the internal AM scraping features download video files for MAME? I've configured AM (I've been using AM on and off for years) and have the scraper source set as "listxml" (I tried the alternative options under list source/scraper as well) but none are downloading video files. Marquee, snaps (still images), and wheel art are downloading.

1. I downloaded and installed the current version of AM the other day.
2. I am using a laptop that had an older version of AM running on it with video from a while back, so the laptop is powerful enough to run AM and MAME. The old hard drive died so that old version of AM is lost. :(
3. I have the folders properly created for marquees, snaps, videos, wheel, etc.
3a. I have the proper folders listed within the AM config for the MAME emulator.
4. I have AM set to display videos.

I hope there may be a way to have the videos automatically downloaded during the scraping process. I recall it working on that old version I had as I remember sitting around for a while as the scraper downloaded all the MAME videos I needed back then.

Any info is appreciated.

Thanks,
John


4
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
5
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.
6
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
7
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
8
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
9
Emulators / Re: PCSX2 AVX2 QT launch error...
« Last post by manzarek on April 19, 2025, 02:24:03 AM »
 ;) ;) ;) ;)
10
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!
Pages: [1] 2 3 ... 10