Hi all ,
when following the example on wiki , as soon as i put first_script.sh in the /userdata/system/scripts folder i am unable to launch any game on any platform it just returns back to the menu.
I dont think the problem is with the first_script.sh as i am able to run it manually using the terminal and dont recieve any errors and has had the permisions set to executable.
Even just putting an empty .sh file in /userdata/system/scripts will cause the same effect.
i have noticed an error in “es_launch_stderr” log file
2020-06-15 19:11:17 ERROR (emulatorlauncher.py:221):<module>: configgen exception:
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/configgen/emulatorlauncher.py”, line 219, in <module>
exitcode = main(args, maxnbplayers)
File "", line 134, in main
callExternalScripts(“/userdata/system/scripts”, “gameStart”, [systemName, system.config[‘emulator’], effectiveCore, effectiveRom])
File “/usr/lib/python2.7/site-packages/configgen/emulatorlauncher.py”, line 163, in callExternalScripts
subprocess.call([os.path.join(folder, file), event] + args)
File “/usr/lib/python2.7/subprocess.py”, line 172, in call
return Popen(*popenargs, **kwargs).wait()
File “/usr/lib/python2.7/subprocess.py”, line 394, in init
File “/usr/lib/python2.7/subprocess.py”, line 1047, in _execute_child
OSError: [Errno 8] Exec format error
2020-06-15 19:11:18 INFO (emulatorlauncher.py:223):<module>: Exiting configgen with status -1
Am i doing something wrong or is there a bug ?
Any help would be great