Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] retroarch hangs when exiting game #77

Closed
1 task done
wonx opened this issue May 12, 2024 · 4 comments
Closed
1 task done

[BUG] retroarch hangs when exiting game #77

wonx opened this issue May 12, 2024 · 4 comments

Comments

@wonx
Copy link

wonx commented May 12, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

It's my first time using emulatorjs. I'm having issues when closing/exiting a game. Either pressing ESC twice, or going into the retroarch menu and quitting, the window freezes and I'm unable to get to the main menu again.

Expected Behavior

I should be able to go back to the rom selection screen again.

Steps To Reproduce

  1. Browse the game you want to play
  2. Start it
  3. Press ESC twice to exit.

Environment

- OS: Debian Bookworm
- How docker service was installed: via docker compose.

CPU architecture

x86-64

Docker creation

---
services:
  emulatorjs:
    image: lscr.io/linuxserver/emulatorjs:latest
    container_name: emulatorjs
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - SUBFOLDER=/ #optional
    volumes:
      - /path/to/config:/config
      - /path/to/data:/data
    ports:
      - 3000:3000
      - 80:80
      - 4001:4001 #optional
    restart: unless-stopped

Container logs

Nothing relevant in the logs.
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@thelamer
Copy link
Member

The method to exit a game is to press back on the browser. This catches and ensures the save data is dumped:
https://github.com/linuxserver/emulatorjs/blob/master/frontend/js/index.js#L225-L233

This can also be triggered on a controller with the xbox button three times quickly.

The only time you would need to clean exit retroarch using escape like this is if you made a series of settings changes and wanted the config to be dumped to the browsers local storage.

Basically this is known behavior.

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@LinuxServer-CI LinuxServer-CI closed this as not planned Won't fix, can't repro, duplicate, stale Aug 11, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Aug 11, 2024
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

3 participants