• Does the Tronkyfran theme still have the white screen of death?

    7
    0 Votes
    7 Posts
    1k Views
    edmaul69E

    @rumblinbuffalo if you set the transition style to instant the wheel wont scroll so you wont see any stutter.

  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Party Jerry Project

    8
    5 Votes
    8 Posts
    1k Views
    jebbettJ

    This is pretty epic IMHO!!

    But if you are going jerry can look then I think one of the switches with the red flip cover (like a fighter jet) would make it look even better! :)

  • New Arcade Cabinet Build

    5
    1 Votes
    5 Posts
    2k Views
    N

    To each there own. I like the colored buttons! Well done my friend!

  • Using 8 LiPo cells in parallel to charge LCD driver board

    2
    0 Votes
    2 Posts
    653 Views
    W

    I don't have a lot of time to write much, but, first of all, is that DC to DC converter the right link? I mean, 1200Ws is overkill, and the input range on that is -40 Vdc to -72 Vdc. The max that your 8 LiPo cells (18650) could produce if put in series, not parallel, is 29.6 V (just reverse polarity to get negative). -29.6 V is not within the range of -40 Vdc to -72 vdc. You'd want at least 11 of those batteries to work (in series). Though, over time, the voltage on the batteries would soon drop below that threshold.

  • New Overlay: Q*bert

    18
    5 Votes
    18 Posts
    4k Views
    A

    @UDb23, @meleu : ok - repo is now set up, and (I think) ready to be added to the installation script.
    I've submitted an issue with the details.

    Also, sorry for the threadjack, and thanks for your patience.

  • Raspiboy Salvageable?

    15
    0 Votes
    15 Posts
    4k Views
    G

    well at least you gave it a try!

  • Vertical Alignment?

    2
    2 Votes
    2 Posts
    942 Views
    chicueloC

    @keigan said in Vertical Alignment?:

    o I'm wondering if I can force it to valign at the bottom.
    I'm a very picky person when it comes to lay outs and spacing, so it would really put my OCD at ease if this is possible. And maybe I am completely overlooking something

    I am wondering the same, I think if there is not a center text function, you just can cheat using <br /> to create each line of text and then center manually the block.
    Another option is to create the text box with a size and let the text be justified. Not to clean but it could be easier.
    If you make a progress please share while I am looking forward to update the theme and make all texts generated by the xml and not from the BG. Im short of time right now but its great to have people interested on helping and making a better release of a theme

  • 5 Votes
    96 Posts
    53k Views
    chicueloC

    Favorites, last played and All games menu added

    alt text
    alt text
    alt text

  • My Remastered NES Covers

    146
    3 Votes
    146 Posts
    60k Views
    Used2BeRXU

    @darknior I don't think our script is what you need then. You might want to look into Skyscraper that muldjord is working on. I can't remember if he ever added the ability to use our synopsis or not, but he was willing to do it.

    The script that meleu's been tweaking does it all. There's no way to just convert the synopsis.txt files to xml files with it. Even if there were, I don't know how this would save you any time.

    I'm afraid that you're going to end up spending tons of time making xml files that you don't need to. It really doesn't take that long to follow the instructions and set up your media correctly. You can then run the script and let the pi make every gamelist.xml for every system that it currently handles. It would take about 16 hours on a Pi Zero and would probably be much quicker on a Pi 3.

    Not bad, considering if I were to do it all by hand it would probably take me 2 or 3 thousand hours to write them.

    It's up to you though. :)

  • My Portable Emulation Console

    10
    2 Votes
    10 Posts
    4k Views
    herb_fargusH

    @arturgomes I love how janky it is

  • Retropie Blinkt! LED Project

    4
    0 Votes
    4 Posts
    1k Views
    spruce_m00seS

    I have a question,
    could you manage to get a GPIO output to toggle from high to low or vice versa when something happens in the game? are there any methods to detect if gameover or highscore happens?
    I ask because I have RGB mood lighting on my cabinet, and would love to make it flash and strobe etc if you die or get a highscore etc.

    I understand that detecting an emulator starting and detecting what happens inside the emulator are two different things, but you dont get if you dont ask :)

  • Bartop - Donkey Kong themed

    20
    4 Votes
    20 Posts
    6k Views
    danielmewhouseD

    @herman27d said in Bartop - Donkey Kong themed:

    @edmaul69
    I bought a wood kit and it came with a 1 player panel and also a 2 player panel. ...didn’t think I would have 2 people playing it at one time very much so went with the single player option. ...it’s only a 19” monitor so not super huge

    I did the same thing, but for different reason: my button layout uses 12 buttons and 0 joystick. For second player, I put an USB controller.

  • PS1 Based RetroPie Splash Screen Video

    1
    2 Votes
    1 Posts
    2k Views
    No one has replied
  • Grid View Theme Ideas

    39
    2 Votes
    39 Posts
    14k Views
    T

    @herb_fargus Hi, I am new to the Retropie, and I like the gridview theme. I had compile jacobfk20's code, but I don't know how to get to the view like your post. Do I need to modify the xml file in /etc/emulationstation/theme/* ? How I need to modify to get the view like yours ? Hope for your reply.

  • Atari Flashback 2 Mod

    3
    2 Votes
    3 Posts
    2k Views
    T

    @capeman Looked at your pics...very nice. Hope I can get to that level of detail.

  • My second project--another Nespi case build

    12
    3 Votes
    12 Posts
    4k Views
    caver01C

    @cyperghost said in My second project--another Nespi case build:

    Can you post the script here please?
    Would like to use it as I up to now use the bash script....

    Here is the python script I am using to watch both buttons. This script is effectively my Mausberry script and my RESET script:

    #!/usr/bin/env python # Import the RPi.GPIO and OS import RPi.GPIO as GPIO import os import time # Define which GPIO pins u're using for the Mausberry IN, OUT # (which are reversed in the script because mbOut comes to pi as input), # and reset buttons (change this to whatever pin you use) mbIn = 24 mbOut = 23 resetBtn = 25 # GPIO port setup GPIO.setmode(GPIO.BCM) # Set pin numbering to BROADCOM GPIO numbering GPIO.setup(mbOut, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) # Set up pin as an input, pulled down GPIO.setup(mbIn, GPIO.OUT) GPIO.output(mbIn, 1) # Set pin value to 1. Mausberry watches for this to change to zero GPIO.setup(resetBtn, GPIO.IN, pull_up_down=GPIO.PUD_UP) # Set up pin as an input, pulled UP since shorting to GND # Define a function which will be called when Mausberry switch is triggered def interrupt_mbShutdown(channel): # Print indication to console print "You pressed the power button!" # Code for shutdown would go here os.system('sudo shutdown -h now') # Define a function which will be called when Mausberry switch is triggered def interrupt_resetBtn(channel): # Print indication to console print "You pressed the reset button!" # Code for reset would go here os.system('/home/pi/bin/exitemu.sh') # Enable shutdown switch interrupt to trigger on a raising edge (i.e. low-to-high transition) GPIO.add_event_detect(mbOut, GPIO.RISING, callback = interrupt_mbShutdown, bouncetime=1000) # Enable RESET button interrupt to trigger on a raising edge (i.e. low-to-high transition) GPIO.add_event_detect(resetBtn, GPIO.FALLING, callback = interrupt_resetBtn, bouncetime=1000) # -------------------------------------------------------------------- # Now just wait forever for the user to press a button # The sleep time doesn't really matter, make it long enough so it isn't wasting cpu cycles while 1: time.sleep(5)

    This gets called from my /etc/rc.local
    It also relies on the exitemu.sh which is a bash script that leverages insights from all of the previous work to kill the PID for whatever emulator might be running (returns you back to ES). I am just using the same script @lostless posted a while back. You could also just issue a sudo reboot. In any case, the second part I need to add is meleu's shutdown service to completely exit stuff when doing the full shutdown.

    So, I am not doing anything with soft shutdown requiring a diode/transistor. I have not gone that far yet because I am still using a sticky pushbutton instead of a momentary.

  • Ps3 case mod

    4
    0 Votes
    4 Posts
    1k Views
    space cadetS

    Yes

  • 0 Votes
    16 Posts
    6k Views
    darkniorD

    I forgot that updated GOONIES Logo

    0_1516115668660_Goonies, The (USA).png

  • 6 Votes
    57 Posts
    20k Views
    cyperghostC
    How to perform a software shutdown with the Mausberry and the diode/transistor hack?

    NOTE: This does only work on momentary switches!

    1. Prerequisites
    You need to solder a diode (1N400x type 1N4001 or 1N4002) or a transistor (NPN-Type, 2N3904, BC547 or BC337) to the Mausberry on/off switch.
    For the diode: Connect it between a GPIO and the mausberry button ground.
    The transistors needs to soldered between ground and positive to the switch and the base line is connected to the GPIO (maybe you need a resistor to control current flow)

    Therefore I strongly recommand the DIODE hack!

    Don't be afraid the Raspberry is in both ways protected against current backdraws! Use the diode or the right direction as shown in the box above....

    GPIO MAUSBERRY from Pie DIODE switch ground O---------------->|----------------O 1N4002

    More to read here

    2. Software part

    Create gpio-shutoff with sudo nano /lib/systemd/system-shutdown/gpio-shutoff Enter code from box below Make the script executable with sudo chmod +x /lib/systemd/system-shutdown/gpio-shutoff

    GPIO16 (or PIN 36 ) is just an example here and is my real setup

    #!/bin/sh # Perform Software Shutdown with Mausberry switch # cyperghost for retropie.org.uk # This is the GPIO pinconnected to the diode or transistor GPIOpinDIODE=16 if [ "$1" = "poweroff" ]; then echo $GPIOpinDIODE > /sys/class/gpio/export echo out > /sys/class/gpio/gpio$GPIOpinDIODE/direction echo 1 > /sys/class/gpio/gpio$GPIOpinDIODE/value sleep 0.5 echo 0 > /sys/class/gpio/gpio$GPIOpinDIODE/value sleep 0.5 fi

    3. Software script with proper Reset and Shutdown
    This is the full working bash script
    Installation:

    add it to /etc/rc.local/ add it to /opt/retropie/configs/all/autostart.sh` whatever case you select make the script executable with chmod +x scriptname.shand add sudo yourscript.sh & to choosen autostart

    This script adds:

    Working Reset button
    1.1 if an emulator is running it will end this
    1.2 if ES is running (without emulator) a restart of ES will be made Working shutdown button #!/bin/bash # Mausberry shutdown script v3 # # extended by cyperghost for # Yet annother NESPi case # Tested version 15/01/18 es_action() { case $1 in check) [[ -f "/dev/shm/runcommand.info" ]] && \ emu="$(sed '4!d; s/\([\\"]\|[[:alnum:]_]\+=[^ ]* \)//g; s/[][(){}^$*.|+? ]/\\&/g' /dev/shm/runcommand.info)" && \ [[ -n "$emu" ]] && emupid="$(pgrep -f "$emu")" && \ rcpid="$(pgrep -f -o runcommand.sh)" espid="$(pgrep -f "/opt/retropie/supplementary/.*/emulationstation([^.]|$)")" ;;#" restart_es) touch /tmp/es-restart && chown pi:pi /tmp/es-restart [[ -n $emupid ]] && kill $emupid && es_wait $emupid && es_wait $rcpid [[ -z $emupid ]] && kill $espid && sleep 5 ;; shutdown_es) touch /tmp/es-shutdown && chown pi:pi /tmp/es-shutdown ;; esac } es_wait() #Wait function for finishing running emulators { while [ -e /proc/$1 ] do sleep 0.15 done } #this is the GPIO pin connected to the duoLed RED GPIOpinLED=21 #this is the GPIO pin connected to NESPi RESET siwtch GPIOpinRESET=20 #this is the GPIO pin connected to the lead on switch labeled OUT GPIOpin1=19 #this is the GPIO pin connected to the lead on switch labeled IN GPIOpin2=26 #SWITCH LED ON echo "$GPIOpinLED" > /sys/class/gpio/export echo "out" > /sys/class/gpio/gpio$GPIOpinLED/direction echo "1" > /sys/class/gpio/gpio$GPIOpinLED/value #Initiate RESET echo "$GPIOpinRESET" > /sys/class/gpio/export echo "in" > /sys/class/gpio/gpio$GPIOpinRESET/direction #Initiate MAUSBERRY SWITCH echo "$GPIOpin1" > /sys/class/gpio/export echo "in" > /sys/class/gpio/gpio$GPIOpin1/direction echo "$GPIOpin2" > /sys/class/gpio/export echo "out" > /sys/class/gpio/gpio$GPIOpin2/direction echo "1" > /sys/class/gpio/gpio$GPIOpin2/value power=$(cat /sys/class/gpio/gpio$GPIOpin1/value) reset=$(cat /sys/class/gpio/gpio$GPIOpinRESET/value) until [ $power = 1 ]; do power=$(cat /sys/class/gpio/gpio$GPIOpin1/value) reset=$(cat /sys/class/gpio/gpio$GPIOpinRESET/value) [ $reset = 0 ] && es_action check && es_action restart_es sleep 1 done # Power button pressed? if [ $power = 1 ]; then es_action check [[ -n $emupid ]] && kill $emupid && es_wait $emupid && es_wait $rcpid es_action shutdown_es kill $espid && es_wait $espid exit #Give back maincontrol to emulationstation.sh fi poweroff

    4. Why are you doing this?
    The Mausberry gots a little design issue. If you performing a software shutdown (maybe via ES > Shutdown system or via SSH sudo poweroff) the PI will shut down but the Mausberry will stay active (LED is on). Furthermore it won't respond to a power button press anymore - it's stuck! So you have to switch it off completly by removing your wall plug or by resetting the Mausberry.

    The diode or transistor just simulates a button press and the Mausberry will properly shutdown ;)

    5. Closing words
    It would be better to use @meleu's nice shutdown service in addition with the gpio-shutdown in section 1 and 2. The great benefit of this is you don't need to modify any scripts that are part of ES or to edit any script in meleus package.

    The button-script is intended to give an example how to perform faster shutdowns (by bypassing sleep timers) and to show the difference between a while-loop with enclousured if-clause in it and a better choosen until-loop with external if-clause ;) - I recommand a script that is python powered ;)

    Link to meleus shutdown service is here

Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.