So there is a "libretro-super"-repo for compiling retroarch for different platforms.Īfter downloading and installing the android SDK and NDK needed for compiling c++ code and downloading the (around 3gb large)'libretro-super'-repo for android (a horribly slow process) I used grep to find the files using srand() which are 'OpenGL.cpp' and 'crypt.h' and changed it to std::srand()
Ok here's a little update on how far I got. Still opening an issue thread might be useful if a version using std::srand works on both pre- and UPDATE: looks like the libretro guys are aware that some symbols arent exporting on something older than 5.0 I might try both if I find the time to do so. So either mupen64plus needs the new srand (I doubt that as AE and FZ edition work on 4.4.4) or the guy that compiled the core did mess up and should have used "std::srand()" instead of "srand()" and compile against API version 19 or lower.Īs the core is opensource you could compile your own version or open up an issue thread on libretro's github page.
In android API 20 (android 5.X) srand is defined as "void srand(unsigned int)" In android API 19 (android 4.4.X) the function "srand()" is a static inline function invoking the function "srand48()". Or has a better work around to solve my issue.Ĭode: E/RetroArch( 7191): Failed to open core: "/data/data/com.retroarch/cores/mupen64plus_libretro_android.so"Į/RetroArch( 7191): dlopen failed: cannot locate symbol "srand" referenced by "mupen64plus_libretro_android.so". I've read some stuff to convert the save games so I can get them to work with the standalone app but maybe somebody else here knows why the Mupen64 core doesn't work. Sharing the saved state doesn't seem to work either but sharing normal save games do work.įor me it looks like Android 4.4 isn't supported because my S8 on Android 7 runs the core just fine. Now I've loaded the other N64 core in Retroarch, ParaLLei, but that core doesn't support texture packs. I've found the directories on the GPD for the standalone mupen64 app but the extension of the save and state files are different from the Retroarch ones on my desktop. Now the real issue is that I can't share my save game with my computer. However on my Galaxy S8+ everything just works fine with and so does the standalone mupen64 app from the play store on both device's. I get the message failed to load libretro core. Overall I'm happy with the device and I got about everything up and running however the mupen64 core isn't working on my GPD XD. Thanks for the development and great tutorials and support here! I've been reading here a lot but thought it was time to register now to share my issue. Hello, today I got my GPD XD and directly installed the Legacy ROM without any issues and CWM working and all.