You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-Upgraded uinput-mapper to Python 3.x support in addition to old Python 2.7 support
-Saved game data/states from settings and DB extensions should work with new launch instead of /tmp on Recalbox 8
-Small fixes/improvements to launCharc
-Automatic installation script, systemlist.xml and alsa hack for Recalbox 8 coming soon
-Porting to comined support for Python 2.7 and 3.x in uinput-mapper is not tested exetensively and might have
introduced instability/regressions. Please report in a new issue here if you experience problems!
-When running McAirpos with uinput-mapper for the first time on Recalbox 8, remember
to set / writable(mount -o remount,rw /), so *.pyc files can be written for faster Python execution.
@@ -294,9 +310,12 @@ int main(int argc, char** argv) {
294
310
}
295
311
if (strcmp("", getSystemOutput("ps -A | grep pulse"))) {
296
312
if (isRecalbox==1) {
297
-
system("killall pulseaudio >>/dev/null 2>&1"); //Kill PulseAudio if running, can sometimes halt game looking for ALSA
313
+
if (strcmp("RECALBOX 5", getSystemOutput("uname -a | tr ' ' '\\n' | grep RECALBOX | tr -d [:cntrl:]"))) {
314
+
system("killall pulseaudio >>/dev/null 2>&1"); //Kill PulseAudio if running below kernel 5, can sometimes halt game looking for ALSA
315
+
}
298
316
} else {
299
-
system("sudo killall pulseaudio >>/dev/null 2>&1"); //Kill PulseAudio if running, can sometimes halt game looking for ALSA
317
+
system("sudo killall pulseaudio >>/dev/null 2>&1"); //Kill PulseAudio if running on RPi OS/RetroPie, can sometimes halt game looking for ALSA
318
+
// Note: Pulseaudio used to restart automatically on kernels below 5, keep an eye on how this is handled > 5 on RPi OS/RetroPie
300
319
}
301
320
}
302
321
fflush(stdout);
@@ -319,13 +338,13 @@ int main(int argc, char** argv) {
319
338
close(fd);
320
339
}
321
340
322
-
// Run copy of game to circumvent Recalbox' read-onlyfile system
341
+
// Run copy of game to circumvent Recalbox' read-only(/) and/or non-executablel(.../share/roms exFAT) file systems
323
342
if (isRecalbox==1) {
324
343
memset (game, 0, sizeof(game));
325
-
strcat(game, "/tmp/arcade.elf");
344
+
snprintf(game, 200, "/recalbox/share/bootvideos/makecode/%s", basename); //New location instead of /tmp allows for saving game states in settings and DB extensions etc.
326
345
}
327
346
328
-
// Silence the game launch
347
+
// Silence the game launch information to Linux console if verbose option is not given
0 commit comments