-
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
Permissions error(game_file.elf must be executable) #2
Comments
Hi Robert, sorry it doesn’t work for you and thanks for your feedback. Could you please tell me which OS image and version, and hardware you are running on, so maybe I could try and reproduce it? A copy of your game file uploaded here, could also help. It’s also important that your user(normally pi), has write permissions to the /sd folder, the /tmp folder and the the folder where the game files are stored(normally ~/RetroPie/roms/makecode), as both the McAirpos launcher and the game writes to /sd, and the game writes a data folder inside the same folder and with same name as the game file and some files to /tmp. From what I can gather from the error log without further investigation: The main problems seems to be different permission issues and the game file not launching at all, and launCharc not finding any game process to work with/keep alive. But hard to be sure when I cannot reproduce on similar system as you and with the same game file. Br, |
Very helpful, thanks! OS version is Some of the errors could have been unique to the terminal session I was running; it was an SSH from a windows box. The errors went past too quickly when launching from emulation station and I didn't see any options for logging to later parse through. I've tried several of the games on here (our school's site) via your Definitely clear permissions are the issue...just not sure where I've made the mistake. |
Just tested Ballard's Birds and Wizard vs. Witches on my system, and they both work fine from RetroPie, with controller support. So I guess the errors you are seeing are either a bug in my code that somehow is not handling different system environments from my own, installation error(either in the instructions themselves or the following of) or some differences between your system and the ones I have tested on, which need to be identified and described as prerequisites, dependencies, conflicts etc. I hope you manage to solve this by checking permissions, and that I hear back from you and we manage to get it to work for you together. It's very educative, but a new and strange experience for me, that this just works for me, but seemingly not so much outside my own house, haha... ;-) |
I tried to run again via SSH and via a terminal emulator inside a running X windows session, and with the game file directly in my ~/Downloads folder(where it is not automatically given execution permissions, like when copied to my ~RetroPie/roms/makecode folder). I basically also got ALL the error messages you described above, even though it works from both my Linux Console/CLI and RetroPie(started from the Linux Console, not when started from within the desktup/gui/X environment). MakeCode Arcade ELF game files only works from the Linux Console, not from gui/desktop/X. Could you please:
If it still doesn't work after this, you could try to debug further by running launCharc with the game file as argument from within SSH(like you did earlier) or a terminal emulator(XTerm etc.) from within the gui/desktop/X environment. You will here get no graphic, but all output from launCharc and the game_file.elf are output as text. In the meantime, I'll update my installation instructions to emphasize executable permissions for the game files and game folder. |
Definitely! I should be in my office this afternoon (UTC -6 over here) and will give it a shot. |
🥳 Success! All that needed to be done was changing the executable permissions on the file. Thanks! I'm unable to to utilize my arcade joystick and buttons - which function in emulationstation - and am wondering what advice you have to remap the keys in your config files? Here's the inputs mapped from emulationstation during the initial set up via <inputList>
<inputAction type="onfinish">
<command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
</inputAction>
<inputConfig type="joystick" deviceName="DragonRise Inc. Generic USB Joystick " deviceGUID="03000000790000000600000010010000">
<input name="up" type="axis" id="0" value="1"/>
<input name="left" type="axis" id="1" value="-1"/>
<input name="right" type="axis" id="1" value="1"/>
<input name="leftanalogleft" type="axis" id="2" value="1"/>
<input name="down" type="axis" id="0" value="-1"/>
<input name="start" type="button" id="2" value="1"/>
<input name="b" type="button" id="1" value="1"/>
<input name="a" type="button" id="0" value="1"/>
</inputConfig>
</inputList> Could you provide any insight into how to remap in |
Glad to hear! I’ll close this issue here regarding permissions now, and open a new issue regarding joystick mapping to try to answer/help with your last question about this. |
🕹️ Great addition to RetroPie!
I encounter an error when trying to launch a game from either the terminal or emulation station. The output below was logged when trying to run it from the terminal and I believe matches the errors thrown when launching from emulation station. Any thoughts? Possibly related to your previously closed issue?
The text was updated successfully, but these errors were encountered: