Skip to content
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

Error Installing Retrogame and Installing Retrogame.cfg #48

Open
shanedertrain opened this issue Oct 1, 2017 · 13 comments
Open

Error Installing Retrogame and Installing Retrogame.cfg #48

shanedertrain opened this issue Oct 1, 2017 · 13 comments

Comments

@shanedertrain
Copy link

Hello,

I am having an issue with installing Retrogame.

The initial download from Github flows smoothly, but when I attempt to run the script I encounter the following issue:

image

What are the steps I should take in troubleshooting this?

@PaintYourDragon
Copy link
Contributor

Most likely Github was temporarily down or inaccessible. Try the script again. Or enter these commands (normally done in the script) and see what actual errors they're throwing:

curl -f -s -o /tmp/retrogame https://raw.githubusercontent.com/adafruit/Adafruit-Retrogame/master/retrogame

curl -f -s -o /boot/retrogame.cfg https://raw.githubusercontent.com/adafruit/Adafruit-Retrogame/master/configs/retrogame.cfg.2button

@shanedertrain
Copy link
Author

shanedertrain commented Oct 1, 2017

Attempt #2:

image

They do not seem to be returning anything.

@PaintYourDragon
Copy link
Contributor

I apologize. Leave the '-s' out of the curl commands (that makes it 'silent' and we can't see any error messages).

@PaintYourDragon
Copy link
Contributor

Try logging in as user 'pi' (not root) and use sudo when running the install script.

@shanedertrain
Copy link
Author

Looks like the script had to be run with the insecure, or -k command.

image

Thanks a ton!

I am curious, however, as to why this verification of the certificate fails.

@shanedertrain
Copy link
Author

I'm not sure if I should create another issue for this:

Now it seems that the controls aren't working, even when shorting the pins to ground.

I ran 'ps -ef | grep retrogame' and this is what returned:

image

I also ran 'ps -e' and did not see retrogame in the list of running processes, so I'm assuming that the process is not running.

@PaintYourDragon
Copy link
Contributor

What version of RetroPie is this? And which Pi board?

Try running retrogame from the command line (don't background the process) and see if it reports anything.
sudo /usr/local/bin/retrogame

(Assuming, of course, you've gotten it to download and have moved the executable there. Install script should do this.)

@shanedertrain
Copy link
Author

shanedertrain commented Oct 1, 2017

I am using what I am assuming is the latest version of Retropie, having downloaded the image from their website last week, and the Pi 3 model B.

sudo /usr/local/bin/retrogame returns "command not found". Did the downloads within the install script fail too?

@PaintYourDragon
Copy link
Contributor

The curl command puts it in /tmp. Move it to /usr/local/bin.
Though, for the sake of testing, you can try just running it from /tmp, no biggie.

@shanedertrain
Copy link
Author

shanedertrain commented Oct 1, 2017

Looks like there's nothing in /tmp nor /usr/local/bin.

I do have /etc/udev/rules.d/10-retrogame.rules, and retrogame.cfg though.

In addition my /etc/rc.local does have /usr/local/bin/retrogame &; exit 0.

Edit 2: I cheated and downloaded retrogame through the url. Then, I transferred it over SSH to /usr/local/bin/, but I'm still getting "command not found" when attempting to run it even after rebooting.

Edit 3: I attempted to run /usr/local/bin/retrogame as root and I got "Permission denied".

@PaintYourDragon
Copy link
Contributor

sudo chmod 777 /usr/local/bin/retrogame
sudo /usr/local/bin/retrogame

@shanedertrain
Copy link
Author

shanedertrain commented Oct 1, 2017

That did the trick. Thanks a ton!

One last thing issue is that I'm having difficulty setting the "ESC" button in EmulationStation.
I hold my designated A and B buttons, with the GPIO numbers assigned properly, and release them and it takes this as only either A or B being pressed.

This may have something to do with the fact that I'm using original Ms. Pacman arcade controls, and I can simply add more buttons if needed.

@PaintYourDragon
Copy link
Contributor

Try start+select rather than A+B.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants