Script to Compile the latest github for retroarch+cores for iOS

My retroarch is not even in Application Support ?? My terminal says no such file directory located

There is another RetroArch config folder in ~/Documents, but I’m talking about the one in ~/Library/Application Support/RetroArch/config, and the command is just the “Go to folder” in the Finder, in the terminal the space in Application Support would not be recognised, in the terminal the correct path should be ~/Library/Application\ Support/RetroArch/config/retroarch-core-options.cfg

(~ means your Home user folder, i.e. Macintosh HD -> Users -> yourname)

There is no RetroArch folder in my Application Support folder

I will be on later thanks for helping WWS!

On a Mac, there are actually 2 different Library folders… One in /Library, one in ~/Library i.e. -> /Users/(yourname)/Library, which is invisible by default, but you can choose to show it just in the /Users/(yourname) folder presentation options…


To access the file directly, press shift-cmd-g in the Finder, or open the “Go” menu, and select “Go to folder...

Paste this :

~/Library/Application Support/RetroArch/config


If there is nothing, search for retroarch-core-options.cfg in the search field of a new window in the Finder, click the +, in the new search options row that just appeared, select “Other...”, search for “system file”, check it and click OK, then select “System files” -> “are included” in the search options…


It will work unless your settings are to split core options into different files…

1 Like

“~/Library/Application Support/RetroArch/config”

Thank you this worked

1 Like

@Nuxx Hi Ran! I just made a tvOS release available both on my website in the form of an IPA, and in jailbroken form on my repo…

I did NOT compile every core yet, and I did NOT try anything as I don’t actually own an AppleTV, I did NOT put the tvOS buildbot together just yet as I need you to test the app first, then I could include the tvOS buildbot in the RetroArch code and streamline the process, but consider this a beta version until you can confirm that :

  1. The IPA and cores I compiled indeed work
  2. The repo version installs and launches fine on the available tvOS jailbreak(s) (i.e.: nitoTV, checkra1n (https://assets.checkra.in/tv/) may show only a black screen like the iOS version as I mentionned here, so I may have to make a separate version for that… Please test it on checkra1n too if you can!)

Thanks!


EDIT: If anyone is wondering, Ran can’t post here anymore, but we’re in the process of including an AppleTV version on my website/repo! :wink:

@jet082 Ok, back to the subject at hand, I will try to understand how to get debugging informations from Xcode tethered to my phone, and get back to you…

BTW, do you want any help for creating a macOS boot drive for your laptop ? My main computer is actually a Hackintosh, and it might be a better option to have direct access to everything, as opposed to running everything in a virtual machine…

You could have a look at tonymacx86 website for a simple setup, if you want to experiment… But I can indeed give you a hand as I got really deep into configuring PCs for running macOS as a primary OS!


BTW, did you get Dolphin to cooperate a little more now?

I see you tried to give Redream some love, but it’s creator actually left the open source scene to sell the emu, and the public code available is in a very early state… Not really worth it, if you ask me, but the paid version is now very good, sadly! (In contrast to what we have to work with…)


Anyway, I hope you’re all right, and the state of things not too overwhelming for you! :wink: (Please take your time…)

And… Thanks! (We still love you anyway, and we still think you should get rewarded for all the hard work you’ve already done!)

@jet082, do you try to compile the last flycast Vulkan modification for iOS-arm64?

In case people are wondering where I am or what’s happening:

My laptop died and I’m far too poor to afford a replacement, so I’ve been using my iPad as my main (and only) device. Obviously, I can’t compile anything on that.

I have been trying to RMA my laptop for this time period, but the company (Razer) has been sitting on its hands (it’s been two weeks since I received any word) - I haven’t even gotten to ship my laptop to them yet. It’s just been total radio silence.

That’s bad news indeed… My Apple laptop on the latest macOS don’t turn on anymore, too!

I still have my home Hackintosh on 10.13 (with an older Xcode, that doesn’t support PS4/Xbox One sticks) but I already compiled everything on the laptop, so I couldn’t upload IPAs of 1.8.2…

Hope you find a solution, and if you manage to get an anonymous way for us to send you money (you could even set up a Patreon or something at your coding level, actually) I would gladly support you!

If you need some help - say me how.

There are many interesting tasks now: oatmealdome was build dolphinios with jit based on PPSSPP W^X approach as I suggesting a few months earlier for flycast. Unfortunately only for checkrained devices, but I think ppsspp experience may be used for non-jailbroken devices. Checkrain for apple tvOS open up the prospects of porting applications and cores with dynarec for tvOS. And you could try to use your talents in this field. I think you would be financially supported not only by me and Weedy_Weed_Smoker)

Do I understand correctly that oatmealdome and Simon are good friends of Yours? Can’t find out why they don’t want to add support for non-jailbroken devices for dolphinios?

They plan to add support for non-jailbroken devices, only if they (or someone) get to map all the required memory in usable space when not jailbroken…

It’s not a high priority thing though, as I understand they want to at least get a fully usable preferences system and proper reassignable controller support first…

Thanks for the buildbot http://johan.margueritte.free.fr/buildbot/ios-arm64/ link.

I jailbroke for the 1st time today and managed to add the mame 0.217 core to my replace the old 0.209 one from the official RetroArch 1.8.4 build (which up to now was installed using the patched AltServer).

Moved the .dylib from your buildbot to the modules directory (/var/containers/Bundle/Application/C2C63145-0188-4BA9-AC4E-D7D1746EA7B5/RetroArch.app/modules) using Filza.

@Weedy_Weed_Smoker Tell me, please, how do you compile and sign retroarch and cores for jailbroken devices? I have fully working app only for non-jail. On jailbroken device core loading only from Xcode debug session, like summer story with tvos cores for ios 13. Version installed from your repo is working good, but i need new mupen64plus-nx, flycast and so on. And have you experience of compiling new jit for mupen64plus-nx and flycast for ios-arm64? This is where the talents of our dear jet082 would come in handy! And little more info: core cant load only on new unc0ver 4.0.0-4.2.1, but on checkrain loading and working without issues.

@xdccrlz Yeah, I miss @jet082 too! I think he would have figured out how to solve the JIT situation on iOS 64 bit by now if his laptop didn’t die last December…


To sign cores, I just create a RetroArch IPA with the cores I want to sign included (they can be in random folders inside the app, I create many folders like iOS9, iOS10 and so on and they get signed just fine…), and then use iOS App Signer

Then for the binary, I add entitlements by using ldid -S/path/to/the/entitlements.xml /path/to/RetroArch.app/RetroArch

Here are the entitlements file contents

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>platform-application</key>
	<true/>
	<key>com.apple.private.security.container-required</key>
	<false/>
	<key>com.apple.private.security.no-container</key>
	<true/>
	<key>com.apple.private.skip-library-validation</key>
	<true/>
</dict>
</plist>

Then I chown -R root:wheel the whole app, and chmod +s the binary to complete the sandbox escape!

Grand merci, monsieur! I’ll do it now!

1 Like

I mean I’m still here and still around… My laptop is still in the RMA process, as it has been since December. Razer is… A bit slow.

For what it is worth, I finally got through their red tape and actually sent my laptop in for repairs a week ago.

Yes, I had been trying to get them to honor my RMA request for the two+ months previous to that.

1 Like

@jet082 Glad to see you! @Weedy_Weed_Smoker No working( Are you build ipa from Xcode or command line? If I change only one file RetroArch in my app for the same from your app - all working. If I insert my dylib into your app/modules - it”s working. But my build working only in Xcode debug session(