Skip to content

Zaparoo fails to correctly launch native Linux games on Batocera v42 #535

@zaparoo-automation-bot

Description

@zaparoo-automation-bot

Issue created from Discord

Source: Zaparoo / #batocera


Reported Message

>>> Target Message:

AldousPulteney (@aldouspulteney) - 2026-02-11 18:38 UTC

I tried setting up the nfc as "@PC/Stardew Valley", for example
I also tried the direct path suggested by the app :
"/userdata/roms/ports/Stardew Valley.sh"
Those two methods result in the behavior I described (as if Batocera is still in the main focus, and the game isn't really launched correctly via emulationstation)
I also tried an explicit zapscript command "launch:ports/userdata/roms/ports/Stardew Valley.sh" but it does not work

Context (previous messages)

Modhack (@_modhack) - 2026-02-09 07:32 UTC

It depends on how the game was defined within ES.

AldousPulteney (@aldouspulteney) - 2026-02-11 18:29 UTC

Hello everyone,
I'm having trouble setting up Zaparoo to work with native linux ports :
I installed Zaparoo within Batocera v42 with the system update, it works perfectly
It also detects correctly the nfc card reader I have plugged in
however, the method of launching a native linux game is weird
Within Batocera, when I click on the .sh of the game,I have a batocera spashscreen coming up and then the game launches
With Zaparoo, I never got the splashscreen, even if the game launches in the end
BUT (this is where it gets weird) :
Once the game is opened, it behaves like it's on background, even though it displays perfectly on the screen : If I click on a button on my controller, it will launch the game focused in Batocera, in the background (while the original game launched with Zaparoo il still running)
I have the feeling I could completely navigate within Batocera, blindly, and go wherever until I launch another game that takes the focus

AldousPulteney (@aldouspulteney) - 2026-02-11 18:35 UTC

I set up my .sh scripts per the Batocera wiki
Essentially, every game I own is from GoG and I launch them using this kind of .sh script in Batocera :
#!/bin/bash
cd /userdata/roms/ports/.data/Celeste && export DISPLAY=:0.0; ./Celeste
(Celeste is taken as an example, but I mainly tried with Stardew Valley)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions