2016-04-30, 18:54
(2016-04-26, 23:26)Pintglass Wrote: Hello
Is it possible to manually add an emulator to the emu_autoconfig file on android?
I would like to use a zx spectrum emulator but there isn't an entry for it.
Regards Pintglass
Yes I had to do this for Atari 7800 using retroarch.
Just copy the code for another retroarch core and changed it to match the retroach core fuse.
For example
Code:
<platform name="Atari 7800">
<emulator name="Prosystem (RetroArch)">
<detectionMethod name="packagename">
<packagename>package:com.retroarch</packagename>
</detectionMethod>
<configuration>
<emulatorCommand>/system/bin/am</emulatorCommand>
<emulatorParams>start --user 0 -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -e ROM "%rom%" -e LIBRETRO /data/data/com.retroarch/cores/prosystem_libretro_android.so -e CONFIGFILE /data/data/com.retroarch/retroarch.cfg -e IME com.android.inputmethod.latin/.LatinIME -n com.retroarch/.browser.retroactivity.RetroActivityFuture</emulatorParams>
</configuration>
</emulator> </platform>
becomes this,
Code:
<platform name="ZX Spectrum">
<emulator name="Fuse (RetroArch)">
<detectionMethod name="packagename">
<packagename>package:com.retroarch</packagename>
</detectionMethod>
<configuration>
<emulatorCommand>/system/bin/am</emulatorCommand>
<emulatorParams>start --user 0 -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -e ROM "%rom%" -e LIBRETRO /data/data/com.retroarch/cores/fuse_libretro_android.so -e CONFIGFILE /data/data/com.retroarch/retroarch.cfg -e IME com.android.inputmethod.latin/.LatinIME -n com.retroarch/.browser.retroactivity.RetroActivityFuture</emulatorParams>
</configuration>
</emulator> </platform>