Retrogame will not install

Having trouble with your GBZ build? Ask your questions here!
Post Reply
Golddeenoh
Posts: 27
Joined: Tue Dec 05, 2017 12:29 pm
Has thanked: 9 times
Been thanked: 1 time

Retrogame will not install

Post by Golddeenoh » Fri Dec 22, 2017 1:15 pm

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.
Attachments
20171222_150136.jpg
20171222_150136.jpg (4.59 MiB) Viewed 2105 times
20171222_150053.jpg
20171222_150053.jpg (5.11 MiB) Viewed 2105 times
20171222_150036.jpg
20171222_150036.jpg (4.95 MiB) Viewed 2105 times
20171222_150023.jpg
20171222_150023.jpg (4.91 MiB) Viewed 2105 times

User avatar
YaYa
Posts: 1719
Joined: Mon Jun 26, 2017 12:42 pm
Location: brittany - France
Has thanked: 871 times
Been thanked: 688 times
Contact:

Re: Retrogame will not install

Post by YaYa » Fri Dec 22, 2017 1:44 pm

Did you make it executable ?

Sudo +X your_file

And then launch it via sudo ./your_file
Follow me on instagram Image

User avatar
moosepr
Posts: 523
Joined: Wed Jan 25, 2017 6:18 am
Has thanked: 69 times
Been thanked: 241 times
Contact:

Re: Retrogame will not install

Post by moosepr » Fri Dec 22, 2017 4:23 pm

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
Get a small cheep LCD in your project https://www.sudomod.com/forum/viewtopic.php?f=22&t=2312
Wrap it all round a battery https://www.sudomod.com/forum/viewtopic.php?f=13&t=2292
Or use a custom PCB to make it really small https://www.sudomod.com/forum/viewtopic.php?f=13&t=2512
or make it really really really really tiny!! https://www.sudomod.com/forum/viewtopic.php?f=13&t=2919

Golddeenoh
Posts: 27
Joined: Tue Dec 05, 2017 12:29 pm
Has thanked: 9 times
Been thanked: 1 time

Re: Retrogame will not install

Post by Golddeenoh » Fri Dec 22, 2017 5:29 pm

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?

User avatar
moosepr
Posts: 523
Joined: Wed Jan 25, 2017 6:18 am
Has thanked: 69 times
Been thanked: 241 times
Contact:

Re: Retrogame will not install

Post by moosepr » Sat Dec 23, 2017 12:58 pm

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
Get a small cheep LCD in your project https://www.sudomod.com/forum/viewtopic.php?f=22&t=2312
Wrap it all round a battery https://www.sudomod.com/forum/viewtopic.php?f=13&t=2292
Or use a custom PCB to make it really small https://www.sudomod.com/forum/viewtopic.php?f=13&t=2512
or make it really really really really tiny!! https://www.sudomod.com/forum/viewtopic.php?f=13&t=2919

User avatar
tinkerBOY
Posts: 708
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 205 times

Re: Retrogame will not install

Post by tinkerBOY » Wed Dec 27, 2017 2:19 am

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.
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter

Golddeenoh
Posts: 27
Joined: Tue Dec 05, 2017 12:29 pm
Has thanked: 9 times
Been thanked: 1 time

Re: Retrogame will not install

Post by Golddeenoh » 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?

User avatar
tinkerBOY
Posts: 708
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 205 times

Re: Retrogame will not install

Post by tinkerBOY » Fri Dec 29, 2017 9:29 am

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.
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter

Golddeenoh
Posts: 27
Joined: Tue Dec 05, 2017 12:29 pm
Has thanked: 9 times
Been thanked: 1 time

Re: Retrogame will not install

Post by Golddeenoh » Thu Jan 04, 2018 7:13 pm

TINKERBOY OS For The Win.

User avatar
tinkerBOY
Posts: 708
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 205 times

Re: Retrogame will not install

Post by tinkerBOY » Thu Jan 04, 2018 7:19 pm

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. :)
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest