Page 1 of 1

Retrogame will not install

Posted: Fri Dec 22, 2017 1:15 pm
by Golddeenoh
Working on another gameboy zero with the BW screen. trying to install the GPIO option. Followed the How to guide and since i am using retropie 4.3 it doesn't have Adafruit-Retrogame on it and when i try to use the curl command to get it, the file displays the code but doesn't actually download the program or make the directory. I have not been able to have it let me make the file itself with a make command. I do have Wifi and internet, the Adafruit test command resulted in a confirmation. It just doesn't seem to want to download but show what "https://raw.githubusercontent.com/adafr ... trogame.sh" display if you go to it in a browser.

Re: Retrogame will not install

Posted: Fri Dec 22, 2017 1:44 pm
by YaYa
Did you make it executable ?

Sudo +X your_file

And then launch it via sudo ./your_file

Re: Retrogame will not install

Posted: Fri Dec 22, 2017 4:23 pm
by moosepr
i normally install it manually.

Code: Select all

git clone https://github.com/adafruit/Adafruit-Retrogame

cd Adafruit-Retrogame

make

sudo make install
then you need to create a file to make retrogame in the actual games

Code: Select all

sudo nano /etc/udev/rules.d/10-retrogame.rules
then inside nano you need to paste

Code: Select all

SUBSYSTEM=="input", ATTRS{name}=="retrogame", ENV{ID_INPUT_KEYBOARD}="1"
press ctrl + o to save, then ctrl + x to close

you will then need to make it run at startup, so add it into /etc/rc.local

Re: Retrogame will not install

Posted: Fri Dec 22, 2017 5:29 pm
by Golddeenoh
Thank you Moosepr, i forgot all about the clone function, that got me going the correct route.

do i create the file under retrogame, /boot, or home/Pi?

Re: Retrogame will not install

Posted: Sat Dec 23, 2017 12:58 pm
by moosepr
I normally do it in the home directory. I can't remember if make install works.

I did miss the step about copying one of the config files into /boot as that's where it looks for the pin mapping

Re: Retrogame will not install

Posted: Wed Dec 27, 2017 2:19 am
by tinkerBOY
I made a RetroPie 4.3 image with the Adafruit Retrogame already pre-installed. You can download it from http://blog.tinkerboy.xyz/retropie-sdca ... r-support/. It's around 755mb zipped file. Clean and tested.

Re: Retrogame will not install

Posted: Fri Dec 29, 2017 8:23 am
by Golddeenoh
Thank you TinkerBoy, i will give it a try and see how it goes.

Does yours already have the PWM set up on the GPIO 18?

Re: Retrogame will not install

Posted: Fri Dec 29, 2017 9:29 am
by tinkerBOY
Golddeenoh wrote:
Fri Dec 29, 2017 8:23 am
Thank you TinkerBoy, i will give it a try and see how it goes.

Does yours already have the PWM set up on the GPIO 18?
Yes.

Re: Retrogame will not install

Posted: Thu Jan 04, 2018 7:13 pm
by Golddeenoh
TINKERBOY OS For The Win.

Re: Retrogame will not install

Posted: Thu Jan 04, 2018 7:19 pm
by tinkerBOY
Golddeenoh wrote:
Thu Jan 04, 2018 7:13 pm
TINKERBOY OS For The Win.
I updated the file to use the 7z zip format to shrink it to just 578mb. :)