stefan-gr / abendbrot

Desktop oriented overlay for various ebuilds and the occasional gamer
19 stars 13 forks source link

Don't rename mednafen_psx_hw_libretro.so to mednafen_psx_libretro.so #105

Open crocket opened 6 years ago

crocket commented 6 years ago

games-emulation/libretro-info-1.0_pre20171127 contains mednafen_psx_hw_libretro.info.

I want to utilize core options available in mednafen_psx_hw_libretro.info

stefan-gr commented 6 years ago

Yes, that's what I was talking about in https://github.com/stefan-gr/abendbrot/issues/104#issuecomment-374192767 Do you miss core options? The info file has just a different display name and as far as I know, cores provide the options themselves.

crocket commented 6 years ago

make it so that hw and sw cores are install-able at the same time.

How?

stefan-gr commented 6 years ago

USE flags and a conditional src_compile phase. It requires a little tinkering similar to bsnes-libretro. Let me slap something up with bsnes as a base later and you can test this with beetle-psx-libretro-9999 in the evening or something around that time. If it works out I will apply the changes to the old versions and rename beetle ebuild to mednafen.

stefan-gr commented 6 years ago

It's untested, it should install two cores if software and at least opengl or vulkan are in USE. I also removed append-cppflags -DHAVE_HW in hopes that the Makefile takes care of it it properly.

crocket commented 6 years ago

I built mednafen_psx_libretro.so and mednafen_psx_hw_libretro.so with beetle-psx-libretro. Both cores run Mega Man X4, but the opengl core has some graphical glitches.

I don't know whether some core options can fix glitches, but they work.

Does mednafen_psx_hw_libretro.so handle both opengl and vulcan?

stefan-gr commented 6 years ago

Does mednafen_psx_hw_libretro.so handle both opengl and vulcan?

According to the Makefile both seem to be supported at the same time. See: https://github.com/libretro/beetle-psx-libretro/blob/master/Makefile#L56