Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

TUG Switch: Difference between revisions

From GameBrew
(Created page with "{{Infobox Switch Homebrews |title=TUG |image=tugswitch.png |description=A Tinfoil USB GUI. |author=nxmango |lastupdated=2019/01/14 |type=PC Utilities |version=1.1 |license=MIT |download=https://dlhb.gamebrew.org/switchhomebrews/tugswitch.7z |website=https://github.com/nxmango/tug |source=https://github.com/nxmango/tug |donation= }} {{#seo: |title=Switch Homebrew PC Tools (PC Utilities) - GameBrew |title_mode=append |image=tugswitch.png |image_alt=TUG }} {{cleanup|article...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=TUG
|title=TUG
|image=tugswitch.png
|image=tugnx.png
|description=A Tinfoil USB GUI.
|description=A Tinfoil USB GUI.
|author=nxmango
|author=nxmango
|lastupdated=2019/01/14
|lastupdated=2019/01/14
|type=PC Utilities
|type=Game Installer Companion
|version=1.1
|version=1.1
|license=MIT
|license=MIT
|download=https://dlhb.gamebrew.org/switchhomebrews/tugswitch.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/tugnx.7z
|website=https://github.com/nxmango/tug
|website=https://github.com/nxmango/tug
|source=https://github.com/nxmango/tug
|source=https://github.com/nxmango/tug
|donation=
|donation=
}}
}}
{{#seo:
{{obsolete}}
|title=Switch Homebrew PC Tools (PC Utilities) - GameBrew
TUG is a simple GUI made with PyQt5 which allows you to choose a folder, view the .nsp files it contains and send the header to the Nintendo Switch making it simpler for users to use USB Install (usb_install_pc.py) on Adubbz's Tinfoil.
|title_mode=append
|image=tugswitch.png
|image_alt=TUG
}}
{{cleanup|article|Needs cleanup}}
A Tinfoil USB GUI.


==Media==
==User guide==
<youtube></youtube>
===Windows Instructions===
*Download & Install Python 3 from https://www.python.org/downloads/
*Install PyQt5.
**<code>pip install pyqt5</code>
*Download Zadig from https://zadig.akeo.ie/.
*With your Switch plugged in and on the Tinfoil USB install menu, choose "List All Devices" under the options menu in Zadig, and select libnx USB comms.
*Choose libusbK from the driver list and click the "Replace Driver" button.
*Go to Tinfoil > Title Management > USB Install NSP.
*Double-click on tug.pyw.


===macOS Instructions===
*Install Homebrew from https://brew.sh
*Install Python 3 from https://www.python.org/downloads/
**<code>sudo mkdir /usr/local/Frameworks</code>
**<code>sudo chown $(whoami) /usr/local/Frameworks</code>
**<code>brew install python</code>
*Install PyQt5:
**<code>pip3 install pyqt5</code>
*Install PyUSB:
**<code>pip3 install pyusb</code>
*Install libusb:
**<code>brew install libusb</code>
*Plug in your Switch and go to Tinfoil > Title Management > USB Install NSP.
*Double-click on tug.pyw.


==Screenshots==
==Known issues==
https://dlhb.gamebrew.org/switchhomebrews/tugswitch-01.png
Disconnecting Nintendo Switch while TUG is running, might results in a crash with error code: 2345-0028 (0x3959).
https://dlhb.gamebrew.org/switchhomebrews/tugswitch-02.png
https://dlhb.gamebrew.org/switchhomebrews/tugswitch-03.png
https://dlhb.gamebrew.org/switchhomebrews/tugswitch-04.png
https://dlhb.gamebrew.org/switchhomebrews/tugswitch-05.png
https://dlhb.gamebrew.org/switchhomebrews/tugswitch-06.png
https://dlhb.gamebrew.org/switchhomebrews/tugswitch-07.png
https://dlhb.gamebrew.org/switchhomebrews/tugswitch-08.png


==Changelog==
==Changelog==
'''v.1.0'''
'''v1.1 2019/01/14'''
* First Release.
*Ability to send multiple times the same header without closing TUG.
**Initial release hanged & crashed Nintendo Switch; this is now fixed!
**Connection is made on startup; TUG won't start if Nintendo Switch is not found.
*More precise error messages.
*Exceptions for imports (PyUSB & PyQt5).
*More stable & cleaner code.
 
'''v1.0 2019/01/13'''
*Initial release.
*Select a folder.
**All .nsp files will show below the "Select folder" button.
*Send header (Tinfoil > Title Management > USB Install NSP).
**Give an error if can't connect to Nintendo Switch.
 
==Credits==
Thanks to https://github.com/Adubbz for his work on Tinfoil.


== External links ==
== External links ==
* Gbatemp - https://github.com/nxmango/tug
* GitHub - https://github.com/nxmango/tug
* Github - https://github.com/nxmango/tug
* Reddit - https://www.reddit.com/r/SwitchHaxing/comments/afgdgq/tug_a_tinfoil_usb_gui/
* Reddit -

Latest revision as of 11:34, 20 Haziran 2023

TUG
Tugnx.png
General
Authornxmango
TypeGame Installer Companion
Version1.1
LicenseMIT License
Last Updated2019/01/14
Links
Download
Website
Source

TUG is a simple GUI made with PyQt5 which allows you to choose a folder, view the .nsp files it contains and send the header to the Nintendo Switch making it simpler for users to use USB Install (usb_install_pc.py) on Adubbz's Tinfoil.

User guide

Windows Instructions

  • Download & Install Python 3 from https://www.python.org/downloads/
  • Install PyQt5.
    • pip install pyqt5
  • Download Zadig from https://zadig.akeo.ie/.
  • With your Switch plugged in and on the Tinfoil USB install menu, choose "List All Devices" under the options menu in Zadig, and select libnx USB comms.
  • Choose libusbK from the driver list and click the "Replace Driver" button.
  • Go to Tinfoil > Title Management > USB Install NSP.
  • Double-click on tug.pyw.

macOS Instructions

  • Install Homebrew from https://brew.sh
  • Install Python 3 from https://www.python.org/downloads/
    • sudo mkdir /usr/local/Frameworks
    • sudo chown $(whoami) /usr/local/Frameworks
    • brew install python
  • Install PyQt5:
    • pip3 install pyqt5
  • Install PyUSB:
    • pip3 install pyusb
  • Install libusb:
    • brew install libusb
  • Plug in your Switch and go to Tinfoil > Title Management > USB Install NSP.
  • Double-click on tug.pyw.

Known issues

Disconnecting Nintendo Switch while TUG is running, might results in a crash with error code: 2345-0028 (0x3959).

Changelog

v1.1 2019/01/14

  • Ability to send multiple times the same header without closing TUG.
    • Initial release hanged & crashed Nintendo Switch; this is now fixed!
    • Connection is made on startup; TUG won't start if Nintendo Switch is not found.
  • More precise error messages.
  • Exceptions for imports (PyUSB & PyQt5).
  • More stable & cleaner code.

v1.0 2019/01/13

  • Initial release.
  • Select a folder.
    • All .nsp files will show below the "Select folder" button.
  • Send header (Tinfoil > Title Management > USB Install NSP).
    • Give an error if can't connect to Nintendo Switch.

Credits

Thanks to https://github.com/Adubbz for his work on Tinfoil.

External links

Advertising: