Forum Replies Created
-
AuthorPosts
-
petrockblogKeymaster
I just had a look on one of my boards with only the tri-state buffer and resistor assembled. I could not measure any resistance between VCC and GND.
If you tell me which test points you are using I could provide the measured resistances of another working and fully assembled GPIO adapter.
petrockblogKeymasterYou could compare the pin out of the adapter schematics at http://petrockblog.files.wordpress.com/2012/10/wpid-photo-19-10-2012-2001.jpg with the RPi pin out at http://elinux.org/File:GPIOs.png. The pin numbers given in the RetroPie Adapter schematics might be misleading here.
petrockblogKeymasterPPSSPP makes problems in these days. If someone finds a solution for how to compile it, feel free to post it here o at Github!
petrockblogKeymasterYou need to expand the file system with
sudo raspi-config
at first. 8 GB are more than enough!petrockblogKeymasterDid you disable “safe mode”? It is needed so that the RPi boots up: Excerpt from the RetroPie GPIO article:
Adding a jumper between pins 5 and 6 of P1 results in /boot/config.txt being ignored (except for avoid_safe_mode) and a default cmdline.txt is applied, followed by loading kernel_emergency.img. As stated in the official forumif you connect external hardware to that pin, the worst that will happen is it falsely triggers safe mode.
To avoid this safe mode when the adapter is attached a setting has to be made in /boot/config.txt. This could be done, for example, by opening the config.txt withsudo nano /boot/config.txt
adding
avoid_safe_mode=1
and saving the changes with “Ctrl-X”, which has to be confirmed with “Y”.
Also, the 2×5 pin header needs to point inwards, i.e, the center of the RPi PCB.
Could you post one or two pictures of your assembled adapter here?
petrockblogKeymasterYou can exit Emulation Station by pressing F4 or by using the menu of Emulation Station (F1 or whatever key you configured for that) and choosing “Exit”.
In the FAQ in the wiki (https://github.com/retropie/RetroPie-Setup/wiki#faq) you can find an example for starting a SNES ROM from command line.
petrockblogKeymasterEmulation Station only shows the systems for which ROMs can be found. YOu might want to have a look at https://github.com/retropie/RetroPie-Setup/wiki/How-to-get-ROMs-on-the-SD-card for a tutorial about getting ROMs on the RPi.
petrockblogKeymasterIt might be that you need to unzip the ROMs. Make sure that the ROMs have the same extensions as Emulation Station expects them. See, e.g. for Genesis/Megadrive, https://github.com/retropie/RetroPie-Setup/blob/master/scriptmodules/supplementary.shinc#L568.
petrockblogKeymasterOne way could be to change the audio settings in /home/pi/RetroPie/configs/all/retroarch.cfg such that the sound of the Retroarch emulator is not working anymore.
petrockblogKeymasterDid make any progress with your issues mentioned above? If so, it would be great if you would add these information to the wiki at https://github.com/retropie/RetroPie-Setup/wiki/GnGeo-Pi.
09/16/2013 at 07:08 in reply to: Wireless Xbox360 controller not detected / xboxdrv fails to run from rc.local #2777petrockblogKeymasterMaybe the posts about this at https://github.com/retropie/RetroPie-Setup/issues/204 can help you!?
petrockblogKeymasterHi!
Yes, Emlation Station is intended for directly startings ROMs for the individual systems. You might be interested in this wiki post: https://github.com/retropie/RetroPie-Setup/wiki/How-to-get-ROMs-on-the-SD-card
petrockblogKeymasterThanks for posting this fix here!
The SD-card image will be updated within the next hours and will include this fix.
petrockblogKeymasterYou would need to configure RetroArch accordingly in /home/pi/RetroPie/configs/all/retroarch.cfg to enable the autosave function.
petrockblogKeymaster[quote=2694]also ive just seen this:
press and release three times: send “ESC”
press and release five times: shutdown
is this to do with the button? is it possible to have so the button will just escape after 1 press
[/quote]
Currently, there is not a config file for SNESDev, but you have to change the source and re-compile SNESDev: You would have to change the line at https://github.com/petrockblog/SNESDev-RPi/blob/master/src/SNESDev.c#L250 touinput_kbd_write(&uinp_kbd, KEY_ESC, 1, EV_KEY); usleep(50000); uinput_kbd_write(&uinp_kbd, KEY_ESC, 0, EV_KEY);
Then you would call
make clean
followed bymake
. You would then have to copy the binary into the according directory:sudo cp SNESDev /usr/local/bin/
After a restart of the RPi (or just the SNESDev service viasudo service SNESDev restart
) the changes should be effective.petrockblogKeymaster[quote=2693]Yeh I will have to have a proper look on the weekend…its the last thing i need to do
what setting should I select
SNESDev 1 poll controllers only
SNESDev 2 poll button only
SNESDev 3 poll controllers and button
[/quote]
If you want SNESDev to poll your controllers (if you use the same pins as the RetroPie GPIO Adapter) and the button, then use the option “poll controllers and button”.petrockblogKeymasterpetrockblogKeymasterThanks for this guide!
The next update of the SD-card image will use Picodrive as default core for Genesis/Megadrive.
petrockblogKeymasterHmm, this should work. Pressing the button pulls the button pin high.
petrockblogKeymasterThe button on the adapter goes to the 3.3V pin. You can also see this in the middle of the schematics at https://www.petrockblock.com/download/retropie-gpio-adapter-schematics/.
petrockblogKeymasterEmulation Station offers an option for shutdown in the menu. That option runs the shutdown command.
I think that the approach of the power switch offered by http://mausberrycircuits.com/ is what you would like to have. There are also other sources to get the same functionality, e.g., http://www.pi-supply.com/product/pi-supply-raspberry-pi-power-switch/, http://lowpowerlab.com/atxraspi/.
I hope that helps!?
petrockblogKeymasterYou might want to try the RetroArch Core Picodrive as Megadrive emulator, see also https://www.petrockblock.com/forums/topic/no-picture-in-dgen/#post-2564.
petrockblogKeymasterTo use the RetroPi GPIO Adapter you just need to enable SNESDev via the RetroPie Setup Script that also comes with the SD-card image.
With respect to updating an existing installation have a look at https://github.com/retropie/RetroPie-Setup/wiki/How-to-Update-an-Existing-RetroPie-Installation.
petrockblogKeymasterIn my experience, DGEN can work fine for one or two ROMs and, when starting a third ROM, the screen may stay black – even when using HDMI video! For me, the only way to solve this temporarily is to restart the RPi.
I added the Genesis libretro core “Picodrive” to the RetroPie Setup Script. I would suggest to try this. It does not come with the SD-card image, but using the binaries-based installation will install and configure it on your RPi.
petrockblogKeymasterFor running the RetroPie Setup Script you can follow the guide at https://github.com/retropie/RetroPie-Setup or the description at https://www.petrockblock.com/2012/07/22/retropie-setup-an-initialization-script-for-retroarch-on-the-raspberry-pi/ (which is not 100% up-to-date wrt. the described menu).
The command for getting the recent version of the RetroPie Script is
git clone git://github.com/petrockblog/RetroPie-Setup.git
Hope that helps!?
petrockblogKeymasterYes – that is the only place!
petrockblogKeymaster[quote=2538] @petrockblog, is it possible to assign different GPIO pins to be the clock and latch for P2 under SNESdev? It seems like it would be easier to jumper to separate pins, rather than share a pin with the P1 controller.
Thanks!
[/quote]
Currently, there is no configuration file to assign the pins to be used (still on the to-do list). However, you could change the according lines in the sources of SNESDev in the lines at https://github.com/petrockblog/SNESDev-RPi/blob/master/src/SNESDev.c#L140. You would just have to re-compile SNESDev afterwards.Hope that helps!?
petrockblogKeymasterThe recently updated binaries for the binaries-based installation include the new Stella-Libretro core.
petrockblogKeymasterThe libretro-stella core was fixed two days ago (see https://github.com/libretro/stella-libretro/commits/master). The new version will be updated in the RetroPie Binaries within the next days.
petrockblogKeymasterYes, I need to enable SNESDev manually (e.g., with the RetroPie Setup Script).
I would be glad to get feedback about ES-Config to further enhance it.
Good luck with your project!
petrockblogKeymasterI modified the pins for the RetroPie GPIO Adapter to match them with the gamecon driver (https://www.petrockblock.com/2012/08/26/gamecon-driver-module-for-nes-snes-and-n64-controllers-added-to-retropie-setup-script/). After that I also adapted SNESDev (https://github.com/petrockblog/SNESDev-RPi), which is a user-space driver for the RetroPie GPIO Adapter. So, if you want to be on the safe side, I would recommend to use the pin out of the RetroPie GPIO Adapter, which is described at https://www.petrockblock.com/2012/10/21/the-retropie-gpio-adapter/ and https://www.petrockblock.com/2013/07/09/getting-started-with-the-retropie-gpio-adapter/.
petrockblogKeymasterPlease have a look at the wiki page at https://github.com/retropie/RetroPie-Setup/wiki/PRBoom—Doom-Emulator.
petrockblogKeymasterIt is described at https://github.com/Aloshi/EmulationStation?source=cc#configuring.
petrockblogKeymasterI just added an option to the RetroPie Script for updating the binaries of an existing installation, see https://github.com/retropie/RetroPie-Setup/wiki/How-to-Update-an-Existing-RetroPie-Installation.
petrockblogKeymasterAlternatively to what resentedpoet said, you could run the Setup Script and use the “source-based installation” to update individual components. Depending on the selected components this could take some time, though.
-
AuthorPosts