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

    SNES mini theme

    Scheduled Pinned Locked Moved Projects and Themes
    snessuper nintendosuper famicomthemesnes classic
    998 Posts 226 Posters 1.5m 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.
    • FlyingTomahawkF
      FlyingTomahawk @jdrassa
      last edited by FlyingTomahawk

      @jdrassa

      That works for the first time but somehow the settings file gets overwritten and that piece of code disappears again.
      That setting file is inside

      opt/retropie/configs/all/emulationstation/ 
      

      Is that path correct?

      @ruckage
      Here my autostart file

      #!/usr/bin/env bash
      
      # This file is part of The RetroPie Project
      #
      # The RetroPie Project is the legal property of its developers, whose names are
      # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
      #
      # See the LICENSE.md file at the top-level directory of this distribution and
      # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
      #
      
      rp_module_id="autostart"
      rp_module_desc="Auto-start Emulation Station / Kodi on boot"
      rp_module_section="config"
      
      function _update_hook_autostart() {
          if [[ -f /etc/profile.d/10-emulationstation.sh ]]; then
              enable_autostart
          fi
      }
      
      function _autostart_script_autostart() {
          local mode="$1"
          # delete old startup script
          rm -f /etc/profile.d/10-emulationstation.sh
      
          local script="$configdir/all/autostart.sh"
      
          cat >/etc/profile.d/10-retropie.sh <<_EOF_
      # launch our autostart apps (if we are on the correct tty)
      if [ "\`tty\`" = "/dev/tty1" ]; then
          bash "$script"
      fi
      _EOF_
      
          touch "$script"
          # delete any previous entries for emulationstation / kodi in autostart.sh
          sed -i '/#auto/d' "$script"
          # make sure there is a newline
          sed -i '$a\' "$script"
          case "$mode" in
              kodi)
                  echo -e "kodi #auto\nemulationstation #auto" >>"$script"
                  ;;
              es|*)
                  echo "emulationstation #auto" >>"$script"
                  ;;
          esac
          chown $user:$user "$script"
      }
      
      function enable_autostart() {
          local mode="$1"
      
          if isPlatform "x11"; then
              mkUserDir "$home/.config/autostart"
              ln -sf "/usr/local/share/applications/retropie.desktop" "$home/.config/autostart/"
          else
              if [[ "$__os_id" == "Raspbian" ]]; then
                  if [[ "$__chroot" -eq 1 ]]; then
                      mkdir -p /etc/systemd/system/getty@tty1.service.d
                      systemctl set-default multi-user.target
                      ln -fs /etc/systemd/system/autologin@.service /etc/systemd/system/getty.target.wants/getty@tty1.service
                  else
                      # remove any old autologin.conf - we use raspi-config now
                      rm -f /etc/systemd/system/getty@tty1.service.d/autologin.conf
                      raspi-config nonint do_boot_behaviour B2
                  fi
              elif [[ "$(cat /proc/1/comm)" == "systemd" ]]; then
                  mkdir -p /etc/systemd/system/getty@tty1.service.d/
                  cat >/etc/systemd/system/getty@tty1.service.d/autologin.conf <<_EOF_
      [Service]
      ExecStart=
      ExecStart=-/sbin/agetty --autologin $user --noclear %I \$TERM
      _EOF_
              fi
      
              _autostart_script_autostart "$mode"
          fi
      }
      
      function disable_autostart() {
          local login_type="$1"
          [[ -z "$login_type" ]] && login_type="B2"
          if isPlatform "x11"; then
              rm "$home/.config/autostart/retropie.desktop"
          else
              if [[ "$__os_id" == "Raspbian" ]]; then
                  if [[ "$__chroot" -eq 1 ]]; then
                      systemctl set-default graphical.target
                      ln -fs /lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@tty1.service
                  else
                      raspi-config nonint do_boot_behaviour "$login_type"
                  fi
              elif [[ "$(cat /proc/1/comm)" == "systemd" ]]; then
                  rm -f /etc/systemd/system/getty@tty1.service.d/autologin.conf
                  systemctl set-default graphical.target
                  systemctl enable lightdm.service
              fi
              rm -f /etc/profile.d/10-emulationstation.sh
              rm -f /etc/profile.d/10-retropie.sh
          fi
      }
      
      function remove_autostart() {
          disable_autostart
      }
      
      function gui_autostart() {
          cmd=(dialog --backtitle "$__backtitle" --menu "Choose the desired boot behaviour." 22 76 16)
          while true; do
              if isPlatform "x11"; then
                  local x11_autostart
                  if [[ -f "$home/.config/autostart/retropie.desktop" ]]; then
                      options=(1 "Autostart Emulation Station after login (Enabled)")
                      x11_autostart=1
                  else
                      options=(1 "Autostart Emulation Station after login (Disabled)")
                      x11_autostart=0
                  fi
              else
                  options=(
                      1 "Start Emulation Station at boot"
                      2 "Start Kodi at boot (exit for Emulation Station)"
                      E "Manually edit $configdir/autostart.sh"
                  )
                  if [[ "$__os_id" == "Raspbian" ]]; then
                      options+=(
                          CL "Boot to text console (require login)"
                          CA "Boot to text console (auto login as $user)"
                      )
                  fi
                  options+=(DL "Boot to desktop (require login)")
                  if [[ "$__os_id" == "Raspbian" ]]; then
                      options+=(DA "Boot to desktop (auto login as $user)")
                  fi
              fi
              choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
              if [[ -n "$choices" ]]; then
                  case $choices in
                      1)
                          if isPlatform "x11"; then
                              if [[ "$x11_autostart" -eq 0 ]]; then
                                  enable_autostart
                                  printMsgs "dialog" "Emulation Station is set to autostart after login."
                              else
                                  disable_autostart
                                  printMsgs "dialog" "Autostarting of Emulation Station is disabled."
                              fi
                              x11_autostart=$((x11_autostart ^ 1))
                          else
                              enable_autostart
                              printMsgs "dialog" "Emulation Station is set to launch at boot."
                          fi
                          ;;
                      2)
                          enable_autostart kodi
                          printMsgs "dialog" "Kodi is set to launch at boot."
                          ;;
                      E)
                          editFile "$configdir/all/autostart.sh"
                          ;;
                      CL)
                          disable_autostart B1
                          printMsgs "dialog" "Booting to text console (require login)."
                          ;;
                      CA)
                          disable_autostart B2
                          printMsgs "dialog" "Booting to text console (auto login as $user)."
                          ;;
                      DL)
                          disable_autostart B3
                          printMsgs "dialog" "Booting to desktop (require login)."
                          ;;
                      DA)
                          disable_autostart B4
                          printMsgs "dialog" "Booting to desktop (auto login as $user)."
                          ;;
                  esac
              else
                  break
              fi
          done
      }
      
      
      ruckageR 1 Reply Last reply Reply Quote 0
      • ruckageR
        ruckage @FlyingTomahawk
        last edited by ruckage

        @flyingtomahawk
        Hi,

        That's the wrong autostart.sh. The one you want is located at: /opt/retropie/configs/all/autostart.sh

        You can also access it from Windows through the samba share, just go to: /configs/all/autostart.sh

        It should literally be a single line as I posted above.

        SNES mini/Nes mini/Famicom mini theme developer.

        If you'd like to support my work you can donate here: Donate

        FlyingTomahawkF 1 Reply Last reply Reply Quote 1
        • ruckageR
          ruckage
          last edited by

          I've made some icons/logos for the classic collections. I'm working on the backgrounds now.

          0_1508074656109_classic collection preview.png

          SNES mini/Nes mini/Famicom mini theme developer.

          If you'd like to support my work you can donate here: Donate

          CybermenC dmc4708D A 3 Replies Last reply Reply Quote 6
          • ruckageR
            ruckage @RedBatman
            last edited by

            @redbatman said in SNES mini theme:

            This theme you made is one of my new favorite ones. Keep up the good work.

            Thanks :) , glad you like theme.

            SNES mini/Nes mini/Famicom mini theme developer.

            If you'd like to support my work you can donate here: Donate

            1 Reply Last reply Reply Quote 0
            • FlyingTomahawkF
              FlyingTomahawk @ruckage
              last edited by

              @ruckage

              Found it. Now it works. Thanks again.

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

                @ruckage said in SNES mini theme:

                I've made some icons/logos for the classic collections. I'm working on the backgrounds now.

                0_1508074656109_classic collection preview.png

                @ruckage So beautiful, perfect.

                1 Reply Last reply Reply Quote 0
                • A
                  adu
                  last edited by

                  @ruckage Do you have any ETA for the Amiga icon ? That's the only one I'm missing :(
                  It's just cosmetic on the carroussel, no big deal of course, but I hope it will come soon :)

                  ruckageR 1 Reply Last reply Reply Quote 0
                  • A
                    astuni @ruckage
                    last edited by

                    @ruckage can you please include also a supergrafx icon too? Thanks!

                    1 Reply Last reply Reply Quote 0
                    • ruckageR
                      ruckage @adu
                      last edited by

                      @adu @astuni
                      Patience, these take time. It's not just an Icon that needs to be made but logos and several backgounds as well so it takes time.
                      Both are on the to do list, I already posted that Amiga will be in the next update (along with a few others) and Supergrafx will probably in the update after that.

                      SNES mini/Nes mini/Famicom mini theme developer.

                      If you'd like to support my work you can donate here: Donate

                      A C 2 Replies Last reply Reply Quote 2
                      • pommeP
                        pomme
                        last edited by

                        Yes! Nice work on the new custom themes! Thank you!

                        1 Reply Last reply Reply Quote 0
                        • pommeP
                          pomme @vice86
                          last edited by

                          @vice86 said in SNES mini theme:

                          how did you recreate them? Is there a PSD file with layers to share?

                          Opened up the images in Photoshop then did some meticulous cutting/pasting/layering.

                          1 Reply Last reply Reply Quote 0
                          • A
                            astuni @ruckage
                            last edited by

                            @ruckage thank you so much for the update!

                            1 Reply Last reply Reply Quote 0
                            • dmc4708D
                              dmc4708 @ruckage
                              last edited by

                              @ruckage great to see that the nes/snes classic collections are being incorporated into this theme. I was hoping something like this would be available. Looking forward to the updates to the theme being released. Keep up the excellent work!

                              For the moment I just bodged them in (badly).

                              0_1508188762441_IMG_7498.JPG
                              0_1508188772820_IMG_7499.JPG

                              1 Reply Last reply Reply Quote 1
                              • N
                                nj180grados
                                last edited by

                                @ruckage

                                Hello I love this theme as much as the one of the mini nes. I see you're polishing it to the max .. I would like to know when you are going to add the capcom play system icons 1 2 and 3. Right now I have the complete romset of these systems that I use with your mini nes and mini snes themes .. are the only systems without icon .. are the three folders of capcom .. I think they are important systems to take into account especially in arcade .. I would love to see it sooner rather than later. I just wrote to encourage you!

                                Finally I would like to know if you are going to add the possibility to visualize the wheels next to boxart and videos. I have a very good collection of wheels and it is a shame not to be able to see them next to the video ..

                                Anyway thank you very much for your tireless work, I will follow your progress closely!
                                Anything you can write to me
                                a greeting!

                                FlyingTomahawkF 1 Reply Last reply Reply Quote 0
                                • FlyingTomahawkF
                                  FlyingTomahawk @nj180grados
                                  last edited by FlyingTomahawk

                                  @nj180grados

                                  Curious, why use CPS 1, 2 and 3 separated? Wouldn't a generic CPS theme be a better solution? I also have most of the CPS games but to separate them made no sense to me since there are too few per CPS system.

                                  @ruckage I know your plate is more then full at the moment so whenever time allows I'd love to see a generic CPS for nes-mini, famicom-mini and snes-mini

                                  HyruleslinkH N 2 Replies Last reply Reply Quote 0
                                  • HyruleslinkH
                                    Hyruleslink @FlyingTomahawk
                                    last edited by

                                    @flyingtomahawk Or why separate them at all? To me, it makes much more sense to just stash them all in Arcade.

                                    FlyingTomahawkF 1 Reply Last reply Reply Quote 1
                                    • FlyingTomahawkF
                                      FlyingTomahawk @Hyruleslink
                                      last edited by FlyingTomahawk

                                      @hyruleslink

                                      Nah, that would be too chaotic.
                                      I usually use NeoGeo, Capcom and FBA for others. Just my opinion though.

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        nj180grados @FlyingTomahawk
                                        last edited by nj180grados

                                        @flyingtomahawk @ruckage

                                        I do not see any disadvantage in separating each system by its icon as they are others like neo geo .. in addition each capcom plate has its year of creation and it adjusts more to the standards of the snes mini theme separating each plate by icon and by year .. otherwise the author tells us but I believe that in this last one will agree with me.

                                        is an option more like the icons of nes mini and snes mini .. you can choose to have them all in the folder arcade or to separate that system in its folders with icons .. in retropie already they have seen the two equally viable options!

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          CrocodileTom @ruckage
                                          last edited by

                                          @ruckage I just signed up to tell you how great this and the mini-nes themes are. I'm using them with the NESPI case and they look awesome. Any plans for creating a psp minis icon? Thanks so much for your hard work.

                                          S ? 2 Replies Last reply Reply Quote 0
                                          • K
                                            krispy
                                            last edited by krispy

                                            Ruckage - this mini snes theme is beyond great. Have a mini snes case I use in conjunction with your theme and I love it! Any chance you can add a ports page/icon to your to-do list? Along with snes games I would like to use kodi too -- it would make my mini snes complete!!

                                            Thanks for the awesome job!!

                                            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.