RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Toggling WiFi and Bluetooth on and off inside Retropie menus?

    Scheduled Pinned Locked Moved Help and Support
    themetheme help
    3 Posts 2 Posters 3.2k 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.
    • M
      mudgrunt
      last edited by

      This may be something that better fits inside the 'Suggestions' part of the forum, but for right now I think it's fine here. I'm in the process of building a RPi3 handheld and came upon an overlay github repository which I plan on using in my project. When I was scrolling through the repository I noticed this screenshot that showed the user was able to easily enable and disable WiFi and Bluetooth inside of the Retropie menus. I've worked on themes before, but I have no idea how to implement this into my own theme, is anybody able to steer me in the right direction? Thank you so much!

      1 Reply Last reply Reply Quote 0
      • thexT
        thex
        last edited by thex

        I cannot take credit for this as Adrian86 from the 8Bcraft created the script.
        I added it to both my Raspiboy, Freeplay 0, and my RPi3 arcade cabinet.

        I can't post files here, so here is the url to the post in the 8bCraft forum.
        http://forum.8bcraft.com/viewtopic.php?f=2&t=1432
        Read thru the entire thread as you should not REPLACE the gamelist.xml from the opt folder but add the following lines to opt/retropie/configs/all/emulationstation/gamelists/retropie/gamelist.xml before the </gameList> tag

        <game>
        	<path>./Bluetooth-Toggle/disable-bluetooth.sh</path>
        	<name>disable-bluetooth</name>
        	<desc>Disable bluetooth when not needed</desc>
        	<image>/home/pi/RetroPie/retropiemenu/icons/disable-bluetooth.png</image>
        </game>
        <game>
        	<path>./Bluetooth-Toggle/enable-bluetooth.sh</path>
        	<name>enable-bluetooth</name>
        	<desc>Enable bluetooth when needed</desc>
        	<image>/home/pi/RetroPie/retropiemenu/icons/enable-bluetooth.png</image>
        </game>
        <game>
        	<path>./Bluetooth-Toggle</path>
        	<name>Bluetooth-Toggle</name>
        	<desc>Toggle bluetooth on or off</desc>
        	<image>/home/pi/RetroPie/retropiemenu/icons/Bluetooth-Toggle.png</image>
        </game>
        <game>
        	<path>./WiFi-Toggle/disable-WIFI.sh</path>
        	<name>disable-WIFI</name>
        	<desc>Disable WiFi when not needed</desc>
        	<image>/home/pi/RetroPie/retropiemenu/icons/disable-WIFI.png</image>
        </game>
        <game>
        	<path>./WiFi-Toggle/enable-WIFI.sh</path>
        	<name>enable-WIFI</name>
        	<desc>Enable WiFi when needed</desc>
        	<image>/home/pi/RetroPie/retropiemenu/icons/enable-WIFI.png</image>
        </game>
        <game>
        	<path>./WiFi-Toggle</path>
        	<name>WiFi-Toggle</name>
        	<desc>Toggle WIFI on or off</desc>
        	<image>/home/pi/RetroPie/retropiemenu/icons/WiFi-Toggle.png</image>
        </game>
        <game>
        	<path>./Shutdown.sh</path>
        	<name>Shutdown</name>
        	<desc>Shutdown the system</desc>
        	<image>/home/pi/RetroPie/retropiemenu/icons/Shutdown.png</image>
        </game>
        
        1 Reply Last reply Reply Quote 3
        • M
          mudgrunt
          last edited by

          Dude! You're the best! Thank you so much!

          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.