-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Game exit on start(game_files.elf must be executable and game folder writable) #7
Comments
Hi @Tech-munk, Thanks for trying out McAirpos and for your feedback! Would it be possible for you(maybe with consent from your students) to upload here 3 game .elf files for me to test?: Also: Did they all work in the web simulator in the makecode arcade editor before you downloaded them as .elf? |
Hi Vegz78 and sorry for my late reply. -This game won't export as an ELF -This game won't start up Thanks for the all the help and hard work you're doing! And greetings from Norway! |
Ikke noe problem, og vær hilset!
This is a compilation problem inside Microsoft's domain. Please search or post a help request or issue at https://forum.makecode.com/c/share-your-arcade-projects-here/help/ or https://github.com/microsoft/pxt-arcade/issues.
I suspect it has something to do with one or more of the extensions your student has used in this project, which for some reason is not present/found on their online compilation servers or loaded locally. For some reason, it worked when compiling to other hardware, but not the RPi....
It compiled and started up fine here. Are you sure all your .elf game files are executable?(
Controller issues requires a little tinkering if they do not work out of the box. launCharc autodetects many gamepads and uses uinput-mapper with an auto-calibration function in the config files .../uinput-mapper/configs/arcadeX.py. I don't have much experience with DIY arcade controllers, because I don't have any myself. Are they connected via a USB interface OR GPIO? I would like broaden the support for these controllers, since many have arcade cabinet setups. You could maybe either attempt to:
For bullet points 2 and 3, we will need this information, and highlight in bold with comments each joystick input line with the desired/intended functions(button A, directions etc.). Good luck! |
Takk for hjelpen! I'll let you know ;) |
Got so curious about this one, so posted an issue at the pxt-arcade repo, that the great guys on the MakeCode team have already replied to with a solution and updated game code that compiles for the RPi!: |
Any success with this and your DIY controller? |
Hi! I have the same problem. I'm new also, in Retropie and in Makecode. I have installed Retropie in a PI Zero w, Mame games work and I want to use your software so my kids could play their own games. Installation was correct. I've moved your jumpy-platformer example and other game from Makecode web to the roms/makecode folder, both appears in menu and both returns to main screen without launch when I try. I've tested a xbox gamepad and a homemade gamepad that works with the other mame games. Do you have any idea? Could I send you any log or something? |
I have copied this log: Highest found input event number: 6 Found 2 gamepads to configure on: Starting UInput-Mapper with command: launCharc starting /home/pi/RetroPie/roms/makecode/arcade-Chicken-Run-v10.elf with automatic gamepad mappings... Highest found input event number: 6 Found 2 gamepads to configure on: Starting UInput-Mapper with command: Did not find the file /tmp/pxt-pid... Timed out trying to find game's process ID... |
Hi @claricerogue, It’s hard to remote diagnose, but the above error might indicate that the game did not execute(assuming it’s not a missing /tmp folder since you found the log file in a working /tmp folder with correct permissions). Have you checked that you have execute permissions on all your game_file.elf files?: The game files must also be allowed to write game_file.elf.data folders in the same directory, so if the above chmod doesn’t work, maybe you could try a Please write back if this works or not. Br, Vegard |
Did it work eventually, @claricerogue and @Tech-munk? |
Problem with execute games is solved with your indications thanks. Now I have a problem with the gamepads. I'll open new issue. |
👍 |
Hi!
I'm super new to raspberry pie and coding.
I gave my students an assignment to make games in make.code arcade and they did. I was able to convert the game files to ELF files. and transfer them into retropie. Using the McAirpos. But only three of the games started up. Any idea why this happened?
I also have some issues with my DIY-joystick. It does not work with all the three working games...
The text was updated successfully, but these errors were encountered: