Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord
    1. Home
    2. Vegz78
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 8
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by Vegz78

    • Bus error/Aligment trap for .elf on Recalbox 9.1 Pulstar

      Hi,

      Trying to run a precompiled MakeCode Arcade Linux arm .elf executable on Recalbox 9.1 Pulstar for RPi Zero 2W in a GPi 1 Case, but get the following error from the executable itself before it crashes:
      Bus error

      Then, from dmesg i get:

      [   59.510961] Alignment trap: not handling instruction f4420a1f at [<76cd0284>]
      [   59.510985] 8<--- cut here ---
      [   59.511000] Unhandled fault: alignment exception (0x801) at 0x7ed9793c
      [   59.511014] pgd = fdb2be65
      [   59.511029] [7ed9793c] *pgd=04b61835, *pte=0427e75f, *ppte=0427ec7f
      

      This .elf file runs without problems on most other RPi hardware and most other Linux distributions including many earlier Recalbox versions(i.e. 7 and 8).

      Sadly, the game files are compiled "as is" with no options to change the .elf files themselves.

      File information and download link:
      arcade-jumpy-platformer.elf: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.26, BuildID[sha1]=1345002c7e1eb0f7585105314513524afbaf24dd, stripped
      https://drive.google.com/file/d/1xl-M6DyHflIE1A9BNS8yNUPrOyNzCGPr/view?usp=sharing

      Does this error or the described circumstances ring a bell for anyone here on the forum?

      Are there any known binary incompatibles from earlier Recalbox versions other Linux systems? Are any libraries which where included earlier not included anymore. Is the Alsa default sound device still found on position 0:0.
      (I am totally in the wild here...)

      I would really appreciate a hint or two on how to proceed!

      posted in Emulator Arcade/PC/Console
      Vegz78
      Vegz78
    • RE: [SOFT] MakeCode Arcade games in Recalbox

      Happy to announce Recalbox 8-Electron support for MakeCode Arcade games, with McAirpos!:
      https://github.com/Vegz78/McAirpos#development-news

      Here are the first installation scripts:
      https://github.com/Vegz78/McAirpos#quick-automatic-installation-for-recalbox

      😉

      posted in Community projects
      Vegz78
      Vegz78
    • RE: [SOFT] MakeCode Arcade games in Recalbox

      Theme for working McAirpos solution:

      alt text

      posted in Community projects
      Vegz78
      Vegz78
    • RE: [SOFT] MakeCode Arcade games in Recalbox

      Happy to announce a working solution now!:
      https://github.com/Vegz78/McAirpos#quick-automatic-installation-for-recalbox

      Only for Recalbox 7.1.1-Reloaded! on Raspberry Pi and maybe still experimental, but working on my RPi4 4GB.

      Feedbacks on GitHub are very welcome!

      posted in Community projects
      Vegz78
      Vegz78
    • RE: [SOFT] MakeCode Arcade games in Recalbox

      Thanks for the tip, @acris!

      But since the MakeCode Arcade games use raw GPIO inputs or EV_KEY scan codes for controls, the game launcher handles gamepad detection and setup itself, via uinput-mapper and independently of Recalbox/EmulationStation.

      I was positively surprised that almost everything, even the Python parts, worked out of the box on the buildroot system underlying Recalbox. Only had to remove 4 sudo commands from the source code.

      However, there are, as mentioned, still some small details remaining before I can announce a viable solution for MakeCode Arcade on Recalbox, like automated installation and some work-arounds for the overlay mounted file system.

      posted in Community projects
      Vegz78
      Vegz78
    • RE: [SOFT] MakeCode Arcade games in Recalbox

      Managed today to run MakeCode Arcade games on Recalbox with McAirpos, with menus in EmulationStation and everything.

      Still working on the the last few details:
      -How to keep the game .elf files executable inside the default /recalbox/share/roms/makecode folder
      -Automated installation script for McAirpos on Recalbox
      -Implement and compile a few small changes required for launCharc to detect and work on Recalbox in addition to RetroPie.

      Hopefully back again with good news here soon!

      posted in Community projects
      Vegz78
      Vegz78
    • [SOFT] MakeCode Arcade games in Recalbox

      Hi,

      Just finished a work-around for running MakeCode Arcade games natively in RetroPie and from the Raspberry Pi OS text console, with keyboard and controller support for up to 2 players:
      https://github.com/Vegz78/McAirpos

      Not sure if this could be of interest here, meaning if it could work with/be integrated in a similar way into Recalbox?

      Br,
      Vegard

      posted in Community projects
      Vegz78
      Vegz78
    • [SOFT] retro2png screenshot utility

      Hi,

      I've just released retro2png; a utility to take snapshots of the Raspberry Pi screen using gamepad, mouse and/or keyboard hotkeys in RetroPie, Sneses/Blast16, X11, ssh, the command line, in most running games and apps etc.:
      https://github.com/Vegz78/retro2png

      retro2png is a fork of the pioneering and much better known raspi2png from @AndrewFromMelbourne, with the following new modifications/features that I found useful on my RetroPie setup:
      -Automated install scripts for Raspbian/RetroPie and Blast16/Sneses etc. which includes and sets up Triggerhappy hotkeys
      -Saves default to the "~/Pictures" folder when run with just retro2png without any command line parameters
      -Triggered by keyboard, mouse and/or game controller hotkey combinations, as well as from the command line/ssh
      -Up to 99 auto-incremented standard "retro2png_X.png" file names in all specified save folders
      -Save folder easily specified anywhere behind the retro2png command without need of flags, or together with other flags
      -Keyboard, mouse and/or game controller hotkeys are fully and easily configurable, works from most applications and user interfaces and can be used inside Recalbox/games for other functionality/apps than just retro2png screenshots

      I know that Recalbox already has at least 2 convenient screenshot alternatives built-in, but retro2png might add extra screenshot and hotkey functionality desired by some users of Recalbox.

      retro2png should also work in Recalbox and I hope this utility can be useful for some of you as well! Tests and feedbacks on how it works(or not) are most welcome. 😉

      Br,
      Vegard

      posted in Community projects
      Vegz78
      Vegz78