XargonWan / RetroDECK

RetroDECK brings you an all-in-one sandboxed application to play your retro games (and even not-so-retro games) on Linux/SteamOS.
https://retrodeck.net
GNU General Public License v3.0
728 stars 32 forks source link

Game and watch : Games won't run #775

Closed Xefir closed 1 month ago

Xefir commented 2 months ago

Hello

In the last version of RetroDECK, Game and watch game can not be run because of an error on Retro Arch. Here is the log :

[INFO] [Config]: Looking for config in: "/home/xefir/.var/app/net.retrodeck.retrodeck/config/retroarch/retroarch.cfg".
[INFO] RetroArch 1.18.0 (Git 06fa532)
[INFO] === Build =======================================
[INFO] CPU Model Name: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.18.0
[INFO] Git: 06fa532
[INFO] Built: Apr 17 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[INFO] [Core]: Loading dynamic libretro core from: "/app/share/libretro/cores/mame_libretro.so"
[INFO] [Overrides]: Redirecting save file to "/mnt/Eternia/retrodeck/saves/gameandwatch/Armor Battle (Mattel Electronics).srm".
[INFO] [Overrides]: Redirecting save state to "/mnt/Eternia/retrodeck/states/gameandwatch/Armor Battle (Mattel Electronics).state".
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: GET_LANGUAGE: "0".
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2_INTL.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[INFO] [Environ]: SET_SUPPORT_NO_GAME: yes.
[INFO] [Environ]: GET_LED_INTERFACE.
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: SYSTEM_DIRECTORY: "/var/config/retroarch/system".
[INFO] [Environ]: CORE_ASSETS_DIRECTORY: "/var/config/retroarch/downloads".
[INFO] [Environ]: SAVE_DIRECTORY: "/mnt/Eternia/retrodeck/saves/gameandwatch".
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[INFO] [Environ]: SET_KEYBOARD_CALLBACK.
[libretro INFO] ------------------------
[libretro INFO] MAME 0.261 (68520cf)
[libretro INFO] ------------------------
[INFO] [Content]: Content loading skipped. Implementation will load it on its own.
[libretro INFO] Starting game: "/mnt/Eternia/retrodeck/roms/gameandwatch/Armor Battle (Mattel Electronics).mgw"
[libretro ERROR] Driver not found: Armor Battle (Mattel Electronics)
[libretro ERROR] System not found: gameandwatch
[INFO] [Environ]: SET_ROTATION: 0
[libretro ERROR] Unknown system 'Armor Battle (Mattel Electronics)'
[libretro ERROR] 
"Armor Battle (Mattel Electronics)" approximately matches the following
supported machines (best match first):

[libretro ERROR] armora            Armor Attack                           (Cinematronics, 1980)
[libretro ERROR] armorap           Armor Attack (prototype)               (Cinematronics, 1980)
[libretro ERROR] armorar           Armor Attack (Rock-Ola)                (Cinematronics (Rock-Ola license), 1980)
[libretro ERROR] armedff           Armed F (Fillmore license)             (Nichibutsu (Fillmore license), 1988)
[libretro ERROR] arrball           Arrange Ball                           (A-One LSI, 1980)
[libretro ERROR] amidaru           Amidar (Stern Electronics)             (Konami (Stern Electronics license), 1982)
[libretro ERROR] msoccer           Soccer (Mattel)                        (Mattel Electronics, 1978)
[libretro ERROR] mfootb            Football (Mattel)                      (Mattel Electronics, 1977)
[libretro ERROR] astrob2a          Astro Blaster (version 2a)             (Sega, 1981)
[libretro ERROR] ambushv           Ambush (Volt Electronics)              (Tecfri (Volt Electronics license), 1983)
[libretro ERROR] abattle           Astro Battle (set 1)                   (bootleg? (Sidam), 1979)
[libretro ERROR] msthawk           Star Hawk (Mattel)                     (Mattel Electronics, 1982)
[libretro ERROR] karatblzt         Karate Blazers (World, Tecmo license)  (Video System Co. (Tecmo license), 1991)
[libretro ERROR] gravity           Gravity (Mattel)                       (Mattel Electronics, 1980)
[libretro ERROR] msoccer2          Soccer 2 (Mattel)                      (Mattel Electronics, 1979)
[libretro ERROR] ac1_32            Amateurcomputer AC1 Berlin (32 lines)  (Frank Heyder, 1984)
[ERROR] [Content]: Failed to load content
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [Core]: Saved core options file to "/home/xefir/.var/app/net.retrodeck.retrodeck/config/retroarch/retroarch-core-options.cfg".

The crash happens on Steam Deck and Linux desktop as well.

Hope it can be useful. Have a nice day.

XargonWan commented 2 months ago

Can you try to reset RetroArch from the RetroDECK Configurator (not from the emulator itself). Be aware that this will wipe any custom configs done not in the Configurator itself.

If this doesn't help I would try to test the same game on the official Retroarch Flatpak.

I would even test other games in the same way.

Xefir commented 2 months ago

Hello again.

I only use the official flatpak. I don't know how to install retrodeck by any other way.

To get the log, I follow this guide : https://retrodeck.readthedocs.io/en/latest/wiki_development/general/debug-mode/

The problem persist if I uninstall the flatpak, use the --delete-data parameters to clear the app datas ans reinstall from scratch (via flatpak). I hope this information can help you.

Thank you.

Lazorne commented 2 months ago

He meant install RetroArch flatpak and see if it has the same issue as within RetroDECK.

Just search for RetroArch on flathub and put one "game and watch" rom there and try to launch it.

Xefir commented 2 months ago

Oh sorry for the misunderstanding.

If I install the official RetroArch flatpak, it works, but it use the gw_libretro core instead of the mame_libretro that retrodeck automatically choose for running the game.

If I run the retroarch graphically inside retrodeck and running the game manually, it also boot with gw_libretro core and run fine.

So this is only when running the game through emulator station that it fails to choose the right core.

XargonWan commented 1 month ago

Fixed by defaulting gw_libretro, fix in 0.8.1b