libretro / libretro/RetroArch

Mame bezels cause Android retroarch to crash (neither lay file nor zip can be choosen as the video layout path)

Open
#13,570 21 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

  • Mame bezels cause Android retroarch to crash (neither lay file nor zip can be choosen as the video layout path)
Expected behavior
  • MAME layout should be displayed on the screen in the Android version
  • Note that this works fine on the PC version.
Actual behavior
  • Retroach android crashes in both cases, when trying to use the MAME bezel from:
    • the .lay file
    • the .zip file
Steps to reproduce the bug
  1. Have some MAME bezels ready in either .zip format or folders with the .lay file inside.
    eg, attaching some examples to help reproducing the problem:
    Mame bezels not working in Android Retroarch.zip

  2. Unzip the MAME bezels in the example above in your Android phone and note the path

  3. Launch any arcade game in Retroarch android and bring up the Quick Menu

  4. Scroll down the options to 'Video Layout'

  5. Click it an enable it

  6. Now on 'Video Layout Path', navigate to the folder where you extracted the zip above and select the default.lay file

  7. Retroarch android app crashes as soon as you do that.

  8. I've tried with very many different .lay files, and with .zip files for the MAME bezels too, but it crashes every time.

  9. I've tried as well with 4 different Android devices and reproducible in all of them.

Bisect Results
  • First time I've tried this weekend and not working
  • Didn't see any other bug mentioning it
Version/Commit
  • RetroArch: Android Retroarch from 12 Sep 2021, 3 Nov 2021, 25 Jan 2022
Environment information
  • OS: Android 10, 7, 6 and 5
Video of the issue

https://user-images.githubusercontent.com/7086650/151676186-f082c7f9-c473-4d13-a502-59c06f3a8e42.mp4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Android Quick Menu's Video Layout Path flow and reproduce the crash using the supplied bezel archive or default.lay file. Compare the Android behavior with the working PC behavior; done means selecting either a .lay file or .zip no longer crashes and the MAME layout is displayed.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.