libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.1k stars 1.81k forks source link

(tvOS) tvOS 13 - not loading Cores #9397

Open URBANsUNITED opened 5 years ago

URBANsUNITED commented 5 years ago

Description

Retroarch on tvOS 13 is not able to load any roms/core. The rest of the menus are proper working incl. game pads for navigation.

Actual behavior

Try to load content by choosing rom, but an error pop up "failed to load core"

Steps to reproduce the bug

  1. Choose load core

  2. select one available core and press ok

  3. nothing happs

  4. Choose load content

  5. choose any rom - ex. SNES rom and press ok

  6. error pop up " failed to load core..."

Version/Commit

Environment information

Apple TV 4k tvOS 13 beta 8 - next month is official release! Signed with ios App signer - Dantheman - full DEV account

RobLoach commented 5 years ago
yoshisuga commented 5 years ago

I'm going to be looking at tvOS 13 support pretty soon - please be patient. The only way you can provide more information would be running via Xcode and indicating what the console output is. I suspect nothing is in the console because the dylib is not loading, and you'd need to attach a debugger to see what the issue is.

I have a guess as to what the problem is - is that the cores probably need to be compiled using the tvOS SDK. The cores compiled with the iOS SDK seem to work on tvOS 12, but perhaps not with tvOS 13.

Again, I need to actually run this on an AppleTV to see and I just haven't had the chance to. It might take additional time to get the cores compiled with the tvOS SDK and more time to create pull requests for each core - something i'm not really looking forward to do.

URBANsUNITED commented 5 years ago

Hi!

Sorry, in my log files using Xcode is nothing I can find related to Retroarch. And this problem belongs to all cores as it seams and yoshisuga already stated. None is working.

I want to help. As I am no developer, but I have the device and other hardware and willing to test. We can do one test with one core build with tvOS sdk only. So we know we are on the right way. Or you can show me how to do this by myself?!?

Cheers

URBANsUNITED

yoshisuga commented 5 years ago

Yep thats the right idea. I did compile some cores using tvOS SDK before, and it worked - but it turned out that the iOS SDK cores did work at the time so I abandoned the idea of creating a separate path for compiling for tvOS.

You need to replace the SDK root to be the tvOS one and edit the build scripts to do this. It's too much to explain so it's best I just do it :)

Thanks for offering to help - i can give you a link to an ipa once i have it.

On Fri, Aug 30, 2019 at 10:25 AM URBANsUNITED notifications@github.com wrote:

Hi!

Sorry, in my log files using Xcode is nothing I can find related to Retroarch. And this problem belongs to all cores as it seams and yoshisuga already stated. None is working.

I want to help. As I am no developer, but I have the device and other hardware and willing to test. We can do one test with one core build with tvOS sdk only. So we know we are on the right way. Or you can show me how to do this by myself?!?

Cheers

URBANsUNITED

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/9397?email_source=notifications&email_token=AAEJ4JUUPDFW6EWLOPBN4CDQHF625A5CNFSM4ISM5CRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5SWCXY#issuecomment-526737759, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEJ4JWKZXXYT6N57M4ZURTQHF625ANCNFSM4ISM5CRA .

yoshisuga commented 5 years ago

I updated my AppleTV 4k to tvOS 13 beta 8, and I did confirm that cores did not start using the existing build.

I tweaked the build scripts and recompiled a couple cores (FCEUMM and bsnes) using the tvOS SDK and was able to get NES/Famicom and SNES/Super Famicom content to load.

I'll need to recompile all the cores for tvOS and create a new tvOS RetroArch ipa with the cores installed. It will take me a little time to get through all of them but at least something is going to work on tvOS 13.

URBANsUNITED commented 5 years ago

Great News! Thanks for taking care and bringing light into this! Now with this new conroller support we‘ll a fab plattform for retro gaming 😍

Cant wait for the first release🙊🙈 Thanks

MDOBreno commented 4 years ago

I updated my AppleTV 4k to tvOS 13 beta 8, and I did confirm that cores did not start using the existing build.

I tweaked the build scripts and recompiled a couple cores (FCEUMM and bsnes) using the tvOS SDK and was able to get NES/Famicom and SNES/Super Famicom content to load.

I'll need to recompile all the cores for tvOS and create a new tvOS RetroArch ipa with the cores installed. It will take me a little time to get through all of them but at least something is going to work on tvOS 13.

Hello yoshisuga!

Where/How do we know about the download of your amazing cores recompiled for tvOS 13?

Thanks!

MDOBreno commented 4 years ago

SOLVED!

I've read about compiling for tvOS, and successfully recompiled the most part of the cores for the tvOS 13 RetroArch, and here it is:

https://mega.nz/#!QlQB0ayb!3IETCIWtCunCz39sGapiPToFprLEtvSruXZZLkCKfjs