RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Pi in a Super Famicom Build

    Scheduled Pinned Locked Moved Projects and Themes
    super famicomsuper nintendobuildconsoleproject
    187 Posts 23 Posters 147.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • edmaul69E
      edmaul69 @obsidianspider
      last edited by

      @obsidianspider congrats on finally finishing this system. Its got to feel great to finally see this done.

      1 Reply Last reply Reply Quote 1
      • mooseprM
        moosepr @obsidianspider
        last edited by

        @obsidianspider I never tire of seeing this!!! :D

        want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

        obsidianspiderO 1 Reply Last reply Reply Quote 1
        • obsidianspiderO
          obsidianspider @moosepr
          last edited by obsidianspider

          @moosepr Now that it's "done" and hooked up to my 65" TV I kind of really love it. I want to adjust some more things with the scripts and artwork for the little screen, and I just ordered controller rebuild pads, but after playing it a few hours last night, I'm really happy with how things turned out.

          📷 @obsidianspider

          1 Reply Last reply Reply Quote 1
          • Danorak1981D
            Danorak1981
            last edited by

            I love this project. I'm always impressed by the consoles that people pop a 'Pi in, but one thing that always puts me off doing my own is the functionality of the cartridge, but what you have done is brilliant. I had my SNES on display and in service up to the purchase of my Pi, then it sat there collecting dust so I boxed it all up again. If I was ever able to recreate something to this standard then I'd happily bust it back out and let it take pride of place under my TV.

            But until that happens, I shall just return to this thread and gaze in awe at your work!

            Restored SNES UK Boxart
            RPi Modified Case to fit PowerBlock

            obsidianspiderO 1 Reply Last reply Reply Quote 1
            • obsidianspiderO
              obsidianspider @Danorak1981
              last edited by obsidianspider

              @Danorak1981 I still have my discolored, but working US Super Nintendo and a few dozen games from when I was 10 and I don't plan to mod that, even if it's not compatible with modern televisions.

              A nice thing about the game with the screen in it is that it doesn't have to be inserted for the Pi to work properly. If you take the cartridge out you just don't have a little screen showing you the game you're playing. I've not tried removing it or inserting it while the Pi is on, but then again, you can't swap out a game with a real Super Nintendo turned on either. ;)

              I usually leave the screen turned on, but hitting Reset turns it off and on quite reliably.

              📷 @obsidianspider

              1 Reply Last reply Reply Quote 0
              • Danorak1981D
                Danorak1981
                last edited by

                And that's what I think is great-the cart slot/cart has a purpose, albeit non-essential. What better way to make use of something that is often over looked: using it to display the box art makes your conversion as close to original as I see possible.

                I was going to attempt the 50/60hz switch mod and region lockout Mod on my original SNES, but bought a Famicom like yours to try it on. As the SNES was on display, I used the Famicom to make a mould of the case so I could make a clear but fitted plastic dust cover. The dust cover was a success, however, the process disfigured the unit without me realising, so the project went on the backburner, and then I discovered the RPi. I'd like to attempt something like this, but like you, I'm not using my original console so it'll have to wait until I have some spare money for a second unit! (I've also been inspired by your GBA project too-could you lay off the projects for a bit please?!).

                In relation to the screen, is it likely to cause any burn with it being switched on during gameplay as it is a static image?

                Restored SNES UK Boxart
                RPi Modified Case to fit PowerBlock

                obsidianspiderO 1 Reply Last reply Reply Quote 0
                • obsidianspiderO
                  obsidianspider @Danorak1981
                  last edited by

                  @Danorak1981 I really don't know. It was $9 from eBay, so I'm sure it's not designed to be as resilient as a screen from an iPhone. I guess I'll find out over time. Stuff like that is part of why I made it removable. If it dies I can just unscrew it from inside the case and put in a new one with all of 9 soldered connections. Of course, that assumes they would still make a board of the same size if and when it dies.

                  📷 @obsidianspider

                  1 Reply Last reply Reply Quote 0
                  • Morph-XM
                    Morph-X
                    last edited by

                    Massive props to this build. The idea of popping in a display in the cartridge is only rivaled by your execution of it. Absolutely brilliant. It kind of transcends the "homebrew" category, it could well enough be a fully marketed product.

                    I hope it brings you just as much joy in using it as it did while building it.

                    Congratulations on a superb build!

                    1 Reply Last reply Reply Quote 1
                    • obsidianspiderO
                      obsidianspider
                      last edited by obsidianspider

                      In a case of "while I'm at it", when I got my TFT working again after the new 20170303 kernel update was released I decided to do something about the images being displayed on the TFT.

                      When I was first getting things going I just resized the image to 320x240 and displayed it. It worked, but if the image wasn't the correct aspect ratio, the script didn't care and it resulted in a distorted image. Today I managed to correct that. My new (still admittedly hacky) script will now resize images proportionally so they fit inside the window without stretching.

                      0_1488836141773_resize-proportional.jpg

                      I think it's a "more right" way to address the issue, and is a whole lot more convenient than making custom images for every single game so it doesn't look stretched.

                      📷 @obsidianspider

                      1 Reply Last reply Reply Quote 4
                      • obsidianspiderO
                        obsidianspider
                        last edited by

                        Today I added a 256GB USB drive to the Super Famicom Pi and it was pretty easy. The drive was a bit too long, but I learned from putting one in my Genesis hub Pi that by taking the case off it should fit with no problems. The blue LED is really bright, so I covered it with a piece of tape, because without it there was blue light bleeding out of all of the vent holes like a spaceship read to take off.

                        0_1489374053936_sfc-pi-with-256gb-usb.jpg

                        📷 @obsidianspider

                        B 1 Reply Last reply Reply Quote 2
                        • B
                          backstander @obsidianspider
                          last edited by

                          @obsidianspider
                          Monoprice is the place to get cables lol
                          I'm sure some people would like the blue-light-bleeding-out-of-all-of-the-vent-holes-like-a-spaceship-ready-to-take-off disease!

                          obsidianspiderO 1 Reply Last reply Reply Quote 0
                          • obsidianspiderO
                            obsidianspider @backstander
                            last edited by

                            @backstander Monoprice was the only vendor I could find with a short HDMI cable that also had small connectors. Everyone else had really thick rubber on the plug and the cable insulation was huge.

                            📷 @obsidianspider

                            1 Reply Last reply Reply Quote 1
                            • obsidianspiderO
                              obsidianspider
                              last edited by obsidianspider

                              Today I decided to work on moving my scripts to my USB drive for stability, and to clean things up since I was initially just cobbling things together to get them to work. One challenge I faced was that the USB drive isn't immediately mounted when the system boots. It takes a few seconds. To get around that I put the tftstart.sh script in the /home/pi/ folder and added a bit to tell it to wait until the USB folder is available before trying to execute the scripts that are located on it.

                              #!/bin/bash
                              # Wait for USB disk detection
                              # Disk drive mount we're waiting on
                              usbdrive="/media/usb0/retropie-mount"
                              # Max time to wait (in seconds)
                              maxwait=60
                              for (( i = 0; i <= $maxwait; i++ ))
                              do
                                [ -d $usbdrive ] && break
                                sleep 1
                              done
                              
                              #load image
                              sudo python /home/pi/RetroPie/tft/imageparam.py "/home/pi/RetroPie/tft/images/RetroPie Splashscreen Blue.jpg"
                              
                              #turn on backlight and enable Reset button toggle
                              sudo python /home/pi/RetroPie/tft/switch.py
                              

                              I also updated my runcommand-onstart.sh script to reference images located in the ROMs folder (I'm moving images to the ROMs folder) and to also handle file names with square braces[ ], which were breaking the script.

                              # /opt/retropie/configs/all/runcommand-onstart.sh
                              
                              # get the full path filename of the ROM
                              rom=$3
                              
                              # get the system name
                              system=$1
                              
                              # get rom filename without folder
                              rom_bn=$(basename "$rom")
                              
                              #get rom filename without extension
                              rom_bn="${rom_bn%.*}"
                              
                              # escape square brackets in rom filename
                              rom_bn="${rom_bn//\[/\\[}"
                              rom_bn="${rom_bn//\]/\\]}"
                              
                              # Set a TFT-specific image if there is one
                              img="$(find "/home/pi/RetroPie/tft/images/roms/${system}" -type f -name "${rom_bn}-image.*" -print -quit)"
                              
                              # If a TFT-specific image was not found, look in the images folder in the ROMs directory for that system
                              if [[ -z "${img}" ]];
                              then
                                 img="$(find "/home/pi/RetroPie/roms/${system}/images" -type f -name "${rom_bn}-image.*" -print -quit)"
                              fi
                              
                              # If an image was not found in the ROMs directory for that system, check to see if there are any in the default emulationstation location
                              if [[ -z "${img}" ]];
                              then
                                 img="$(find "/opt/retropie/configs/all/emulationstation/downloaded_images/${system}" -type f -name "${rom_bn}-image.*" -print -quit)"
                              fi	
                              
                              # If no game images are found, display one for the system being emulated
                              if [[ -z "${img}" ]];
                              then
                                 img="$(find "/home/pi/RetroPie/tft/images/systems" -type f -name "${system}.*" -print -quit)"
                              fi
                              
                              # If no system image is found, default back to the Raspberry Pi logo
                              if [[ -z "${img}" ]];
                              then
                                 img="/home/pi/RetroPie/tft/images/Raspberry_Pi_Logo.svg.png"
                              fi
                              
                              # run the python script to display the image
                              sudo python /home/pi/RetroPie/tft/imageparam2.py "$img"
                              

                              I'm sure there is a lot that could still be improved or optimized, but things are working well.

                              📷 @obsidianspider

                              1 Reply Last reply Reply Quote 3
                              • CybermenC
                                Cybermen
                                last edited by

                                @obsidianspider Very good work. I am also rebuilding and have a question. How did you connect the original reset button? On the bottom are 4 connection possibilities?

                                obsidianspiderO 1 Reply Last reply Reply Quote 0
                                • obsidianspiderO
                                  obsidianspider @Cybermen
                                  last edited by

                                  @cybermen the reset button is discussed in this post earlier in this same thread. That said, there are multiple motherboard variants, so use your meter to test.

                                  📷 @obsidianspider

                                  1 Reply Last reply Reply Quote 0
                                  • CybermenC
                                    Cybermen
                                    last edited by

                                    Super, Thank You.

                                    1 Reply Last reply Reply Quote 0
                                    • obsidianspiderO
                                      obsidianspider
                                      last edited by

                                      Update

                                      I learned the hard way not to use rpi-update

                                      It apparently updated you to the bleeding edge firmware, and not only did the update fail halfway through, but once it completed successfully, Linux kept crashing. Now to see if I can fix this mess. Fun?

                                      📷 @obsidianspider

                                      1 Reply Last reply Reply Quote 0
                                      • obsidianspiderO
                                        obsidianspider
                                        last edited by

                                        Well that was less than fun. Lesson learned, kids. If you have a heavily customized install, make sure you create an image of your SD card in case you blow it up like I did.

                                        Also, take better notes. ;)

                                        Things are working now, but it was a lot of head scratching to get all of my scripts in the right places.

                                        📷 @obsidianspider

                                        DarksaviorD 1 Reply Last reply Reply Quote 0
                                        • DarksaviorD
                                          Darksavior @obsidianspider
                                          last edited by

                                          @obsidianspider I updated to the latest stretch build and that didn't go well. The gamecon driver wouldn't build. I reverted to stable stretch and fixed some dependencies to get ES to compile. I made a backup just in case, but it looks like I won't need to use it.

                                          obsidianspiderO 1 Reply Last reply Reply Quote 0
                                          • obsidianspiderO
                                            obsidianspider @Darksavior
                                            last edited by

                                            @darksavior I haven't tried Stretch. I heard it wasn't supported yet.

                                            📷 @obsidianspider

                                            DarksaviorD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.