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

Btw. I could solve my compiling problems by updating Catalina 10.15 to the first update.

Now all is fine! Except I don’t know how to build the fixed cores like frodo or similar… How to get the fixes into the script? Or do I need to compile separately? How?

Thanks!!!

Apparently commented strings need to be replaced with functions supported by arm64. Try compile the same core for OS X: only MK will be working too, I think.

That was not the problem. The bigger problem was that the interpreter core had not really received any care for awhile, so it was not building properly. A lot of code to support older versions of windows broke it.

Flycast is now working. Please test it, however.

To compile fixes that have not been merged in, you should ideally delete the relevant directory in libretro-super, then put a copy of my fork where it used to be.

So for flycast, for example, delete libretro-flycast, then check out my fork and rename it libretro-flycast. Then run your build script as normal.

Super! Really working. But how to combine with the previous version? For the video to work in MK and RE, textures and backgrounds are back in place?

I come bearing gifts.

I have managed to get mupen64plus_next to compile - and I got it to work as well. So now retroarch has N64 support.

Now, I will not be making a PR for this branch. It is built on an older version of mupen64plus_next that does not use threaded gfx plugins. Currently, the threaded version compiles, but fails to work. I will have to figure out something.

However, in the meantime, this plays N64 games just fine!

(As for flycast textures - to be brutally honest, I’m not sure what’s going on there. I may have to take a closer look later)

2 Likes

Here it is, complete with leaderboard support.

If all the textures don’t show up for you, check your settings.

1 Like

Very strange. Don’t working no-one n64 rom. Even no loading.

Make sure you are checking out the right branch. The branch is working2. Merely running git clone will not pull in the correct version.

Sorry, N64 working! Really: need load zip, instead git pull.

Wow! Hires_textures working too!

Well, you can also do

git clone https://github.com/jet082/mupen64plus-libretro-nx.git

then cd into the directory and run

git checkout working2

But just downloading the zip also works.

But my flycast settings no matter, try yourself:

Could you compile this version for me and tell me if you are able to see the textures again? It should crash, mind you. You will need to download the zip version. You cannot check this version out using git.

Yes, I see textures and video again in MK Gold.image0 image3 image1

What do you think about using ppsspp jit-trick (https://github.com/hrydgard/ppsspp/issues/11905) for compiling flycast for iOS-arm64? Is it possible?

Can you give me your settings for getting that far into MK Gold? It crashes for me, making this all very difficult to test. Some setting of mine must be off.

Flycast settings for MK Gold USA gdi rom: system type - auto hle bios - on internal resolution - 640x480; screen orient - horizontal; alpha sorting - per-triangle; gdrom fast loading - off; mipmapping - on; volume modifier - on; widescreen hack - on; widescreen cheats - on; cable type - tv (rgb); broadcast - ntsc; region - usa; language - default; div matching - auto; force windows ce - off; analog stick deadzone - 15%; trigger deadzone - 0%; digital triggers - off; enable dsp - on; texture upscaling - off; texture upscaling max felt size - 256; enable rtt - on; enable rtt buffer - off; render to texture upscaling - 1x; threaded rendering - on; synchronous rendering - on; delay frame swapping - off; frame skipping - off; purupuru pack - of; load custom textures - off; dump textures - off; per-game vmus - off; show emu diss settings - off; show light gun settings - off.

dc_boot.bin, dc_flash.bin and vmu in retroarch/system/dc. iOS 13.2 beta, Mac OS 10.15.1 beta, Xcode 13.1-13.2 beta.

Final question - do you have a jailbroken device?

I have jailbroken device, but it very old - iPad mini with iOS 9 on board. Working device iPhone XS iOS 13.2 without jail.

I will upgrade to the 13.2 beta then. Hopefully then I can get past the crash.