iOS XCode Project for n64

I’m trying to install RetroArch on iPhone 5s (or iPad mini). But I can’t compile Muper64Plus core. Could someone please send me XCode project ready to compile with this core? I’m trying for a long time, but with no luck. Please post it here on send me to [email protected]

The individual cores don’t have xcodeproj solutions. You have to compile them normally, via CLI (with xcode’s CLI tools installed). However, they’re just dylibs, so you should be able to grab them from the official cydia packages and just drop them into your own compiled RetroArch app bundle.

I tried dlibs from cydia app too. But after I select game, the controls are being displayed, and app crashes. XCode log looks like this:

Sinc resampler [C] SINC params (8 phase bits, 16 taps). ReadSpecialSettings: DEFAULT ReadSpecialSettings: DEFAULT ReadSpecialSettings: THE LEGEND OF ZELDA Congratulations, you have 4 auxilliary buffers, we’ll use them wisely !

And there is Bad Access error. I know I need to compile cores outside xcode, but compilation fails on Mupen64 :/. Could someone send me if not all working project, at least dlibs for Mupen, so i can try them?

While trying to compile it myself I get:

… clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/ -miphoneos-version-min=5.0 -DIOS -marm -mllvm -arm-reserve-r9 -DNO_ASM -DIOS -DNOSSE -DHAVE_POSIX_MEMALIGN -DARM -miphoneos-version-min=5.0 -DDYNAREC -DNEW_DYNAREC=3 -DSDL_VIDEO_OPENGL_ES2=1 -Iglide2gl/src/Glitch64/inc -D__LIBRETRO__ -DINLINE=“inline” -DM64P_PLUGIN_API -Imupen64plus-core/src -Imupen64plus-core/src/api -Ilibretro/libco -Ilibretro -DM64P_CORE_PROTOTYPES -D_ENDUSER_RELEASE -fPIC -DGLES -DDISABLE_3POINT -O3 -DNDEBUG -c -o glide2gl/src/Glitch64/textures.o glide2gl/src/Glitch64/textures.c 16 warnings generated. 3 warnings generated. 0 clang 0x00000001017b9c3f main + 24869327 1 clang 0x00000001017b9f64 main + 24870132 2 libsystem_platform.dylib 0x00007fff94c7b5aa _sigtramp + 26 3 libsystem_platform.dylib 0x00007fff5fbfb2f8 _sigtramp + 3405249896 4 clang 0x00000001016e1c4d main + 23984605 5 clang 0x00000001016e1268 main + 23982072 6 clang 0x00000001008d62ef main + 9257087 7 clang 0x000000010046246b main + 4588027 8 clang 0x0000000100461a64 main + 4585460 9 clang 0x0000000100460f3f main + 4582607 10 clang 0x000000010046012f main + 4579007 11 clang 0x00000001002a0929 main + 2746041 12 clang 0x00000001002a0ec6 main + 2747478 13 clang 0x0000000100272584 main + 2556692 14 clang 0x00000001002534be main + 2429518 15 clang 0x000000010005ea5b main + 378859 16 clang 0x000000010005b814 main + 365988 17 clang 0x000000010005a6c5 main + 361557 18 clang 0x0000000100026f9d main + 150829 19 clang 0x0000000100007ec0 main + 23632 20 libdyld.dylib 0x00007fff92c2f5fd start + 1 Stack dump: 0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -triple armv7-apple-ios5.0.0 -emit-obj -disable-free -disable-llvm-verifier -main-file-name new_dynarec.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -target-abi apcs-gnu -target-cpu cortex-a8 -mfloat-abi soft -target-feature +soft-float-abi -target-linker-version 224.1 -coverage-file /Users/damiandudycz/Desktop/RetroArch/libretro-super-master/libretro-mupen64plus/mupen64plus-core/src/r4300/new_dynarec/new_dynarec.o -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/lib/clang/5.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/ -D IOS -D NO_ASM -D IOS -D NOSSE -D HAVE_POSIX_MEMALIGN -D ARM -D DYNAREC -D NEW_DYNAREC=3 -D SDL_VIDEO_OPENGL_ES2=1 -D LIBRETRO -D INLINE=inline -D M64P_PLUGIN_API -D M64P_CORE_PROTOTYPES -D _ENDUSER_RELEASE -D GLES -D DISABLE_3POINT -D NDEBUG -I glide2gl/src/Glitch64/inc -I mupen64plus-core/src -I mupen64plus-core/src/api -I libretro/libco -I libretro -O3 -fdebug-compilation-dir /Users/damiandudycz/Desktop/RetroArch/libretro-super-master/libretro-mupen64plus -ferror-limit 19 -fmessage-length 80 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=ios-5.0.0 -fobjc-default-synthesize-properties -fencode-extended-block-signature -fsjlj-exceptions -fdiagnostics-show-option -fcolor-diagnostics -mllvm -arm-reserve-r9 -o mupen64plus-core/src/r4300/new_dynarec/new_dynarec.o -x c mupen64plus-core/src/r4300/new_dynarec/new_dynarec.c

  1. <eof> parser at end of file
  2. Code generation clang: error: unable to execute command: Segmentation fault: 11 clang: error: clang frontend command failed due to signal (use -v to see invocation) Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: arm-apple-darwin13.0.0 Thread model: posix clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script. clang: note: diagnostic msg:

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /var/folders/82/tx43vb1s1s1dzxbtxc2bkzgr0000gn/T/new_dynarec-ZQ1UGB.c clang: note: diagnostic msg: /var/folders/82/tx43vb1s1s1dzxbtxc2bkzgr0000gn/T/new_dynarec-ZQ1UGB.sh clang: note: diagnostic msg:


make: *** [mupen64plus-core/src/r4300/new_dynarec/new_dynarec.o] Error 254 Failed to build Mupen 64 (ARM dynarec) cp: mupen64plus_libretro_ios.dylib: No such file or directory

I managed to get GameBoy Advance working, but Nintendo 64 still crashes :/. Can someone confirm that he have managed to run N64 games on non jailbroken device?

oh, you’re non-jailbroken? In that case, you can’t use anything with a dynarec, such as pcsx-rearmed or mupen. If you can get far enough into mupen to set the core option to full interpreter, you might be able to get in-game, but it’s going to be too slow to be playable, AFAIK.

Ohh. That sucks :/. Any information if it would be possible in the future?

No, it’s not going to happen. It’s one of the walls in Apple’s “walled garden” system: no dynamic recompilation of code.