Added a manual workaround above.

And I have to make a correction: By default the libretro cores go to
/usr/lib/x86_64-linux-gnu/libretro

I had the PPA installed and just the files from there go to
/usr/lib/libretro

** Description changed:

- Gnome-games-app discovers Playstation games, NES games and all other
- games supported by Libretro, but when I try to start one, it says
- "Playstation system is not yet supported", even if the proper libretro
- core is installed from the Universe repository.
+ Ubuntu/Debian and even the upstream "Libretro" team PPA
+ (https://launchpad.net/~libretro/+archive/ubuntu/stable)  do not ship
+ the descriptor files for the libretro cores.
  
- When trying the official GNOME.org flatpak version of gnome-games-app
- these games work.
+ Those descriptor files are listed in: https://gitlab.gnome.org/GNOME
+ /gnome-games/tree/master/flatpak/libretro-cores
  
- Obviously the Debian/Ubuntu package of GNOME-games-app is compiled in a way 
that it doesn't pick up the libretro cores and thus cannot start the emulation.
- GNOME-games-app is broken in Artful and Bionic. But I seem to remember that 
it worked in Zesty (I hope that this memory is true).
+ Due to the missing descriptor files gnome-games-app cannot pick up those
+ cores and play the games.
  
- Jeremy, did you change any compile flags between Zesty and Artful?
+ Those descriptor files should be shipped within the libretro packages
+ and installed alongside the proper .so file.
+ 
+ ==Workaround==
+ Add those descriptor files manually:
+ 
+ My example is the Nestopia (Nintendo NES) core
+ 
+ 1) Ubuntu installs the cores in /usr/lib/x86_64-linux-gnu/libretro
+ If you install the libretro-nestopia package the file nestopia_libretro.so 
will go there automatically
+ 
+ 2) See the list above: https://gitlab.gnome.org/GNOME/gnome-
+ games/tree/master/flatpak/libretro-cores
+ 
+ 3) Choose the proper file for the core, here it is the file
+ nestopia.libretro
+ 
+ 4) Start up gedit with superuser privileges and add this file alongside
+ the .so file. The content of the descriptor file in my example would be:
+ 
+ [Libretro]
+ Type=Emulator
+ Version=1.0
+ Name=Nestopia UE
+ Module=nestopia_libretro.so
+ LibretroVersion=1
+ Authors=Martin Freij;R. Belmont;R. Danbrook;
+ License=GPL-2.0+;
+ 
+ [Platform:NintendoEntertainmentSystem]
+ MimeType=application/x-nes-rom;
+ 
+ [Platform:FamicomDiskSystem]
+ MimeType=application/x-fds-disk;
+ Firmwares=FamicomDiskSystem;
+ 
+ [Firmware:FamicomDiskSystem]
+ Path=disksys.rom
+ MD5=ca30b50f880eb660a320674ed365ef7a 
SHA-512=d7692af63b107b7e79ccf0d90e5ff7e70325e3196a41b6d4d83aaf8ffa5ca976351f8f31bcb1d497c02f7c699e94e77c27a0813f72aa96b576685acaae5bdad5
+ Mandatory=true
+ 
+ 
+ 5) If you use the upstream PPA, the nestopia_libretro.so file is
+ installed to /usr/lib/libretro instead of /usr/lib/x86_64-linux-
+ gnu/libretro. You would have to add the descriptor file in this
+ directory instead.

** Description changed:

  Ubuntu/Debian and even the upstream "Libretro" team PPA
  (https://launchpad.net/~libretro/+archive/ubuntu/stable)  do not ship
  the descriptor files for the libretro cores.
  
  Those descriptor files are listed in: https://gitlab.gnome.org/GNOME
  /gnome-games/tree/master/flatpak/libretro-cores
  
  Due to the missing descriptor files gnome-games-app cannot pick up those
  cores and play the games.
  
  Those descriptor files should be shipped within the libretro packages
  and installed alongside the proper .so file.
  
- ==Workaround==
+ 
+ ==Workaround 1==
+ Just use the upstream flatpak bundle. The most common cores are bundled there 
together with the descriptor files:
+ 
+ *sudo apt install flatpak
+ 
+ *flatpak install
+ https://flathub.org/repo/appstream/org.gnome.Games.flatpakref
+ 
+ 
+ ==Workaround 2==
  Add those descriptor files manually:
  
  My example is the Nestopia (Nintendo NES) core
  
  1) Ubuntu installs the cores in /usr/lib/x86_64-linux-gnu/libretro
  If you install the libretro-nestopia package the file nestopia_libretro.so 
will go there automatically
  
  2) See the list above: https://gitlab.gnome.org/GNOME/gnome-
  games/tree/master/flatpak/libretro-cores
  
  3) Choose the proper file for the core, here it is the file
  nestopia.libretro
  
  4) Start up gedit with superuser privileges and add this file alongside
  the .so file. The content of the descriptor file in my example would be:
  
  [Libretro]
  Type=Emulator
  Version=1.0
  Name=Nestopia UE
  Module=nestopia_libretro.so
  LibretroVersion=1
  Authors=Martin Freij;R. Belmont;R. Danbrook;
  License=GPL-2.0+;
  
  [Platform:NintendoEntertainmentSystem]
  MimeType=application/x-nes-rom;
  
  [Platform:FamicomDiskSystem]
  MimeType=application/x-fds-disk;
  Firmwares=FamicomDiskSystem;
  
  [Firmware:FamicomDiskSystem]
  Path=disksys.rom
  MD5=ca30b50f880eb660a320674ed365ef7a 
SHA-512=d7692af63b107b7e79ccf0d90e5ff7e70325e3196a41b6d4d83aaf8ffa5ca976351f8f31bcb1d497c02f7c699e94e77c27a0813f72aa96b576685acaae5bdad5
  Mandatory=true
  
- 
  5) If you use the upstream PPA, the nestopia_libretro.so file is
  installed to /usr/lib/libretro instead of /usr/lib/x86_64-linux-
  gnu/libretro. You would have to add the descriptor file in this
  directory instead.

** Description changed:

  Ubuntu/Debian and even the upstream "Libretro" team PPA
  (https://launchpad.net/~libretro/+archive/ubuntu/stable)  do not ship
  the descriptor files for the libretro cores.
  
  Those descriptor files are listed in: https://gitlab.gnome.org/GNOME
  /gnome-games/tree/master/flatpak/libretro-cores
  
  Due to the missing descriptor files gnome-games-app cannot pick up those
  cores and play the games.
  
  Those descriptor files should be shipped within the libretro packages
  and installed alongside the proper .so file.
  
- 
  ==Workaround 1==
  Just use the upstream flatpak bundle. The most common cores are bundled there 
together with the descriptor files:
  
- *sudo apt install flatpak
+ sudo apt install flatpak
  
- *flatpak install
+ flatpak install
  https://flathub.org/repo/appstream/org.gnome.Games.flatpakref
- 
  
  ==Workaround 2==
  Add those descriptor files manually:
  
  My example is the Nestopia (Nintendo NES) core
  
  1) Ubuntu installs the cores in /usr/lib/x86_64-linux-gnu/libretro
  If you install the libretro-nestopia package the file nestopia_libretro.so 
will go there automatically
  
  2) See the list above: https://gitlab.gnome.org/GNOME/gnome-
  games/tree/master/flatpak/libretro-cores
  
  3) Choose the proper file for the core, here it is the file
  nestopia.libretro
  
  4) Start up gedit with superuser privileges and add this file alongside
  the .so file. The content of the descriptor file in my example would be:
  
  [Libretro]
  Type=Emulator
  Version=1.0
  Name=Nestopia UE
  Module=nestopia_libretro.so
  LibretroVersion=1
  Authors=Martin Freij;R. Belmont;R. Danbrook;
  License=GPL-2.0+;
  
  [Platform:NintendoEntertainmentSystem]
  MimeType=application/x-nes-rom;
  
  [Platform:FamicomDiskSystem]
  MimeType=application/x-fds-disk;
  Firmwares=FamicomDiskSystem;
  
  [Firmware:FamicomDiskSystem]
  Path=disksys.rom
  MD5=ca30b50f880eb660a320674ed365ef7a 
SHA-512=d7692af63b107b7e79ccf0d90e5ff7e70325e3196a41b6d4d83aaf8ffa5ca976351f8f31bcb1d497c02f7c699e94e77c27a0813f72aa96b576685acaae5bdad5
  Mandatory=true
  
  5) If you use the upstream PPA, the nestopia_libretro.so file is
  installed to /usr/lib/libretro instead of /usr/lib/x86_64-linux-
  gnu/libretro. You would have to add the descriptor file in this
  directory instead.

** Summary changed:

- gnome-games-app and retro-gtk do  not pick up pcsx-reloaded and the libretro 
cores due to missing descriptor files
+ gnome-games-app doesn't pick up libretro cores due to missing descriptor files

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682863

Title:
  gnome-games-app doesn't pick up libretro cores due to missing
  descriptor files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-games-app/+bug/1682863/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to