2017-09-14, 23:58
Hi,
I'm trying to get this to work on android... (MM)
I use Kodi as replacement launcher, and although I have ArcBrowser working,
I would prefer to run something that is fully intergrated with kodi...
Im testing this with about an Atari Lynx romset (which work with the Handy core in retroarch)
I've installed the Hyperlauncher plugin.
I installed retroarch (and running with various cores).
I placed the lynx hyperlist xml in systems.
I created a system config file in systems_config which matched the earlier hyperlist
and finally I created a matching launcher script in the launcher_scripts folder
(although I had to put this folder in root, so as to be able to change the permissions to allow execution - a quirk of Android I guess)
For good measure I also added the roms and media.
Hyperlauncher runs correctly including videos,etc... I can navigate the systems and the roms/games with the correct metadata.
However when I try to launch Games... It simply gives an error
I realise that launcher script is incorrect....
Can someone please help getting this to work on Android (has anyone got it running on Android?)
Thanks
I'm trying to get this to work on android... (MM)
I use Kodi as replacement launcher, and although I have ArcBrowser working,
I would prefer to run something that is fully intergrated with kodi...
Im testing this with about an Atari Lynx romset (which work with the Handy core in retroarch)
I've installed the Hyperlauncher plugin.
I installed retroarch (and running with various cores).
I placed the lynx hyperlist xml in systems.
I created a system config file in systems_config which matched the earlier hyperlist
and finally I created a matching launcher script in the launcher_scripts folder
(although I had to put this folder in root, so as to be able to change the permissions to allow execution - a quirk of Android I guess)
Code:
#!/bin/bash
#$1 = system name , $2 = game name , $3 = full rom path (folder + file name + extension) , $4 = file name only , $5 = file extension
if [[ "$1" = "AtariLynx" ]] ; then
RETROARCH_CORE="/data/user/0/com.retroarch/cores/handy_libretro_android.so"
elif [[ "$1" = "Atari Lynx" ]] ; then
RETROARCH_CORE="/data/user/0/com.retroarch/cores/handy_libretro_android.so"
fi
retroarch -L "$RETROARCH_CORE" "$3"
[code]
For good measure I also added the roms and media.
Hyperlauncher runs correctly including videos,etc... I can navigate the systems and the roms/games with the correct metadata.
However when I try to launch Games... It simply gives an error
Code:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: encode() argument 1 must be string, not None
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.hyper.launcher/default.py", line 465, in <module>
emulator_launcher()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.hyper.launcher/default.py", line 252, in emulator_launcher
subprocess.Popen(cmd.encode(txt_encode), shell=True, close_fds=True)
TypeError: encode() argument 1 must be string, not None
-->End of Python script error report<--
ERROR: GetDirectory - Error getting plugin://plugin.hyper.launcher/?filename=A.P.B.%20-%20All%20Points%20Bulletin%20(USA%2c%20Europe)&foldername=AtariLynx&game_name=A.P.B.%20-%20All%20Points%20Bulletin%20(USA%2c%20Europe)&launcher_script=%2fmnt%2fHlSCRIPTS%2fLynx.HL&mode=file&rom_extensions=lnx%20bin%20zip%207z&rom_path=%2fsdcard%2fRoms%2fLynx%2f
ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.hyper.launcher/?filename=A.P.B.%20-%20All%20Points%20Bulletin%20(USA%2c%20Europe)&foldername=AtariLynx&game_name=A.P.B.%20-%20All%20Points%20Bulletin%20(USA%2c%20Europe)&launcher_script=%2fmnt%2fHlSCRIPTS%2fLynx.HL&mode=file&rom_extensions=lnx%20bin%20zip%207z&rom_path=%2fsdcard%2fRoms%2fLynx%2f) failed
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: encode() argument 1 must be string, not None
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.hyper.launcher/default.py", line 465, in <module>
emulator_launcher()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.hyper.launcher/default.py", line 252, in emulator_launcher
subprocess.Popen(cmd.encode(txt_encode), shell=True, close_fds=True)
TypeError: encode() argument 1 must be string, not None
-->End of Python script error report<--
I realise that launcher script is incorrect....
Can someone please help getting this to work on Android (has anyone got it running on Android?)
Thanks