Fluffy - A Tinfoil and Goldleaf GUI

Fluffy
fluffy-intro.png




So what's different about Fluffy?

Fluffy is the first to introduce:
  • Goldleaf and Tinfoil Support.
  • USB and Network install with transfer rate and progress bar.
  • Display current install rate in MB/ for both USB and Network mode(Goldleaf & Tinfoil too)
  • Display current NCA name and count.
  • Transfer mode option switchable between "Normal" and "Safe".
  • Individual NSP selection (suggested by: ShadowHand, thanks!)
  • Show current NSP being installed
  • Switch connected indicator
  • USB 5.x Fix (Compatible with Firmware versions 5.x and below)
screenshot-fluffy-v240c.png


GitHub:
https://github.com/fourminute/Fluffy

Latest Releases
https://github.com/fourminute/Fluffy/releases

Recommended TinFoil.nro
https://github.com/fourminute/Fluffy/blob/master/Tinfoil.nro




How-To-Use
  • Download and Install Python 3 from https://www.python.org/downloads/. Ensure no previous version of Python is installed. This may cause an error "PyUSB not found". Do not use the 64-bit version of Python 3 with Fluffy.
  • Open Terminal/CMD
  • Run "pip3 install pyusb" and "pip3 install pyqt5" and "pip3 install libusb" and "pip3 install libusb1"
  • MacOS users must also run "brew install libusb". For more info on brew, head to https://brew.sh/.

Going forward,
I plan to support Fluffy for the foreseeable future.

I hope this tool can help anyone and everyone that uses it,
fourminute
 
Last edited by fourminute,

fallingrat

Well-Known Member
Newcomer
Joined
Jun 24, 2018
Messages
94
Trophies
0
XP
629
Country
Spain
I followed the steps but can't get it to work on Mac OS. If I double click on the fluffy.pyw, it just shows the code of the program. I tried changing the extension to*.py and running it through terminal, but it still doesn't work.

I successfully installed all the required stuff.

Is there anything I'm doing wrong? Some help would be much appreciated.

Edit: some more information. I'm using Mac OS X 10.11.6. When I double click the +.pyw, IDLE opens and I see the code. There is a second window: Python shell. Nothing else.

I attempted to run it with terminal, and it instantly closes.
 
Last edited by fallingrat,
D

Deleted User

Guest
I followed the steps but can't get it to work on Mac OS. If I double click on the fluffy.pyw, it just shows the code of the program. I tried changing the extension to*.py and running it through terminal, but it still doesn't work.

I successfully installed all the required stuff.

Is there anything I'm doing wrong? Some help would be much appreciated.

Looks like the file association is associated to an editor rather than Python
 
  • Like
Reactions: fallingrat
D

Deleted User

Guest
Thanks for the answer. I just added some information to my previous post. I try to run the program pressing F5 on IDLE, with no luck.

Try in Terminal Pythonw fluffy.pyw

Or

To run your script from the Terminal window you must make sure that /usr/local/bin is in your shell search path.

To run your script from the Finder you have two options:

  • Drag it to PythonLauncher
  • Select PythonLauncher as the default application to open your script (or any .py script) through the finder Info window and double-click it. PythonLauncher has various preferences to control how your script is launched. Option-dragging allows you to change these for one invocation, or use its Preferences menu to change things globally.
 
  • Like
Reactions: fallingrat

fallingrat

Well-Known Member
Newcomer
Joined
Jun 24, 2018
Messages
94
Trophies
0
XP
629
Country
Spain
It looks like we made some progress: I definitely have to use python launcher, but the windows isn't opening yet.

I got the next lines on terminal:

Code:
Last login: Sat Feb 16 01:09:36 on ttys001
Angs-MacBook-Pro:~ ang$ cd '/Users/ang/Desktop/' && '/usr/bin/pythonw'  '/Users/ang/Desktop/fluffy.pyw'  && echo Exit status: $? && exit 1
  File "/Users/ang/Desktop/fluffy.pyw", line 211
SyntaxError: Non-ASCII character '\xe5' in file /Users/ang/Desktop/fluffy.pyw on line 211, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Angs-MacBook-Pro:Desktop ang$
 

CaptainCrunch

Member
Newcomer
Joined
Feb 16, 2019
Messages
12
Trophies
0
Age
41
XP
113
Country
United States
I followed the steps but can't get it to work on Mac OS. If I double click on the fluffy.pyw, it just shows the code of the program. I tried changing the extension to*.py and running it through terminal, but it still doesn't work.

I successfully installed all the required stuff.

Is there anything I'm doing wrong? Some help would be much appreciated.

Edit: some more information. I'm using Mac OS X 10.11.6. When I double click the +.pyw, IDLE opens and I see the code. There is a second window: Python shell. Nothing else.

I attempted to run it with terminal, and it instantly closes.

I had the same issue. Not sure what the problem was, but I found a workaround. Open fluffy.pyw using IDLE (you can set it to do this using the Get Info command when selecting the file). IDLE will open two windows. Click on the one with the colored text. Then click on "Run" in the menu bar and select "Run Module" from the drop-down window. This will open the fluffy graphic interface that allows you to select NSP files.

I think the issue is something to do with Python running the .pyw file in 64 bit, because this line from the Fluffy GitHub page is what led me to the workaround: "Python by default wants to run in 64-bit mode, however, when this happens Fluffy won't work. As you may already know, Fluffy does not, will not, and cannot run in 64-bit Python. To bypass this behavior you can alternative open Fluffy.pyw in IDLE(32-bit mode) and click Run > Run Module."

After finally getting the GUI open, however, I still haven't been able to successfully transfer an NSP file to my Switch. Fluffy detects the Switch, but when I try to start the transfer, Fluffy says Tinfoil threw an exception. Other users have posted having this same problem.

I'm going to try using the version of Tinfoil linked on the Fluffy GitHub page (I was using the most up to date version as far as I know) to see if that works. Will post again if I find the solution.
 
  • Like
Reactions: fallingrat

CaptainCrunch

Member
Newcomer
Joined
Feb 16, 2019
Messages
12
Trophies
0
Age
41
XP
113
Country
United States
someone can make a tutorial step by step for mac users please,no luck with the 1st page

Here is a step by step guide (using some of fourminute's original instructions) listing what I did to get Fluffy working on Mac OSX. It took me quite a while to figure it all out, so I hope this helps anyone else having trouble. Many thanks to fourminute for a really great utility. Definitely loving it!

1. Download Fluffy-master.zip from the GitHub page linked at the front page of this post (the forum won't let me post hyperlinks)

2. Expand Fluffy-master.zip to Fluffy-master folder

3. Copy Tinfoil.nro file from Fluffy-master folder to “switch” folder in root directory of the MicroSD Card being used in your Switch

4. Install Homebrew on your Mac by going to homebrew.sh and following the instructions on their front page. The Terminal app is located in the Utilities folder within the Applications folder on the Mac

5. When Homebrew installation is complete, install libusb by entering following into Terminal prompt:

brew install libusb

6. Download and Install Python 3 from their official website (Google "python official" and follow the "download python" link). I downloaded and installed Python 3.7.2.

Ensure no previous version of Python is installed. This may cause an error "PyUSB not found"

Also read the installer messages carefully and complete the final step of installing certificates (by double clicking the "Install Certificates.command" that is installed in the Python 3.7 app)

7. Return to Terminal and enter the following commands one at a time, waiting for each to complete before moving on to the next:

pip3 install pyusb
pip3 install pyqt5
pip3 install libusb
pip3 install libusb1

8. Restart your computer to complete installation.

9. Locate fluffy.pyw file in Fluffy-master folder. Click on the file and use Get Info command (located under "File" in the Finder menu bar, or with keyboard shortcut Command I). Towards the bottom of the information window that opens, make sure the “Open with” application selected is “IDLE.app”

10. On your Switch running Custom Firmware open TinFoil > Title Management > USB Install NSP.

11. On your Mac, double click fluffy.pyw to open. If an “unknown developer” warning prevents you from opening the file, hold the option key and click on the file to open a menu box. Select “Open” in the box. In the next dialogue box that appears, select “Open” again.

12. IDLE will open two windows showing text. Click on the one with colored text. Then go to the menu bar and click on “Run.” Select “Run Module” from the drop down menu. This should launch the Fluffy GUI that allows you to select NSP files and send them to the Switch.

13. Connect Switch to Mac with a USB-C cable

14. If "Switch Detected!" is visible, click "Select NSPs" and select as many NSPs as you want to install. Click "Begin Transfer".

15. On your Switch, select and install the NSPs.

Installing multiple NSPs at once doesn’t always seem to work. All the NSPs I queued in Fluffy do not always show up in Tinfoil on the Switch. The limit seems to be 8. Also, if you select files from different folders in Fluffy, only the files from the first folder seem to show up in Tinfoil.

Additionally, to avoid an exception error from Tinfoil, I have to exit Tinfoil and disconnect the Switch from the Mac after finishing each installation session before starting another one.

I also noticed that transfer speed is maximized if both the hard drive containing NSP files and the Switch are connected directly to the Mac rather than via a USB hub or hubs.

Hope that helps! Thanks again, fourminute!
 
Last edited by CaptainCrunch,

fallingrat

Well-Known Member
Newcomer
Joined
Jun 24, 2018
Messages
94
Trophies
0
XP
629
Country
Spain
I followed all the steps, but it still doesn't work.

This is the error log:

Code:
DEBUG:root:Fluffy Log: If you see nothing here. Good!
ERROR:root:dlopen(/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/QtWidgets.so, 2): Symbol not found: __os_activity_create
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
Traceback (most recent call last):
  File "/Users/ang/Desktop/Fluffy/fluffy.pyw", line 65, in <module>
    from PyQt5 import QtWidgets
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/QtWidgets.so, 2): Symbol not found: __os_activity_create
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
 

Arithmatics

I'll be holding on to you. ;}
Member
Joined
Jan 29, 2009
Messages
1,162
Trophies
1
Age
30
XP
1,052
Country
Malaysia
Here is a step by step guide (using some of fourminute's original instructions) listing what I did to get Fluffy working on Mac OSX. It took me quite a while to figure it all out, so I hope this helps anyone else having trouble. Many thanks to fourminute for a really great utility. Definitely loving it!

1. Download Fluffy-master.zip from the GitHub page linked at the front page of this post (the forum won't let me post hyperlinks)

2. Expand Fluffy-master.zip to Fluffy-master folder

3. Copy Tinfoil.nro file from Fluffy-master folder to “switch” folder in root directory of the MicroSD Card being used in your Switch

4. Install Homebrew on your Mac by going to homebrew.sh and following the instructions on their front page. The Terminal app is located in the Utilities folder within the Applications folder on the Mac

5. When Homebrew installation is complete, install libusb by entering following into Terminal prompt:

brew install libusb

6. Download and Install Python 3 their official website (Google "python official" and follow the "download python" link)

Ensure no previous version of Python is installed. This may cause an error "PyUSB not found"

7. Return to Terminal and enter the following commands one at a time, waiting for each to complete before moving on to the next:

pip3 install pyusb
pip3 install pyqt5
pip3 install libusb
pip3 install libusb1

8. Restart your computer to complete installation.

9. Locate fluffy.pyw file in Fluffy-master folder. Click on the file and use Get Info command (located under "File" in the Finder menu bar, or with keyboard shortcut Command I). Towards the bottom of the information window that opens, make sure the “Open with” application selected is “IDLE.app”

10. On your Switch running Custom Firmware open TinFoil > Title Management > USB Install NSP.

11. On your Mac, double click fluffy.pyw to open. If an “unknown developer” warning prevents you from opening the file, hold the option key and click on the file to open a menu box. Select “Open” in the box. In the next dialogue box that appears, select “Open” again.

12. IDLE will open two windows showing text. Click on the one with colored text. Then go to the menu bar and click on “Run.” Select “Run Module” from the drop down menu. This should launch the Fluffy GUI that allows you to select NSP files and send them to the Switch.

13. Click "Select NSPs" and select as many NSPs as you want to install.

14. If "Switch Detected!" is visible. Click "Begin Transfer".

15. On your Switch, select and install the NSPs.

Installing multiple NSPs at once doesn’t always seem to work. All the NSPs I queued in Fluffy do not always show up in Tinfoil on the Switch. With small files, the limit seems to be 8. With larger files, I've sometimes been limited to two.

Additionally, to avoid an exception error from Tinfoil, I have to exit Tinfoil and disconnect the Switch from the Mac after finishing each installation session before starting another one.

I also noticed that transfer speed is maximized if both the hard drive containing NSP files and the Switch are connected directly to the Mac rather than via a USB hub or hubs.

Hope that helps! Thanks again, fourminute!

tried this, but after step 12 it's giving me a RESTART - Your program is still running! do you want to kill it. No gui pops up.
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,362
Trophies
2
XP
18,255
Country
Sweden
I followed all the steps, but it still doesn't work.

This is the error log:

Code:
DEBUG:root:Fluffy Log: If you see nothing here. Good!
ERROR:root:dlopen(/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/QtWidgets.so, 2): Symbol not found: __os_activity_create
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
Traceback (most recent call last):
  File "/Users/ang/Desktop/Fluffy/fluffy.pyw", line 65, in <module>
    from PyQt5 import QtWidgets
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/QtWidgets.so, 2): Symbol not found: __os_activity_create
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
can you try to do pip3 install QtCore ?

It seems to be missing for some odd reason.
 
  • Like
Reactions: fallingrat

Memfis

Well-Known Member
Member
Joined
Jul 18, 2010
Messages
222
Trophies
1
XP
682
Country
Gambia, The
Could anyone explain me what I have to do by the following error:
DEBUG:root:Fluffy Log: If you see nothing here. Good!
ERROR:root:No backend available
Traceback (most recent call last):
File "C:\Users\<profile>\Downloads\fluffy.pyw", line 1602, in <module>
set_switch_text()
File "C:\Users\<profile>\Downloads\fluffy.pyw", line 1365, in set_switch_text
dev = usb.core.find(idVendor=0x057E, idProduct=0x3000)
File "C:\Users\<profile>\AppData\Local\Programs\Python\Python37-32\lib\site-packages\usb\core.py", line 1263, in find
raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,362
Trophies
2
XP
18,255
Country
Sweden
Could anyone explain me what I have to do by the following error:
Some users may receive the error "USB.Core No Backend Available". If you do, download this .DLL file libusb.dll and place it in the same directory as Fluffy.pyw.

If you still receive this error, you can try installing LibUSB: libusb installer.



From the Fluffy readme
 
  • Like
Reactions: Memfis

fallingrat

Well-Known Member
Newcomer
Joined
Jun 24, 2018
Messages
94
Trophies
0
XP
629
Country
Spain
can you try to do pip3 install QtCore ?

It seems to be missing for some odd reason.

"Thank you for the answer. I run the command, and I got the next message:

Could not find a version that satisfies the requirement Qtcore (from versions: )"

No matching distribution found for Qtcore

However, I found the QtCore file in the folder: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5

I don't know what the problem could be. Maybe I'm trying to open it with the 64bit IDLE? I have been trying to figure out if it is possible to open it with the 32 bit version, with no success.
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,362
Trophies
2
XP
18,255
Country
Sweden
"Thank you for the answer. I run the command, and I got the next message:

Could not find a version that satisfies the requirement Qtcore (from versions: )"

No matching distribution found for Qtcore

However, I found the QtCore file in the folder: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5

I don't know what the problem could be. Maybe I'm trying to open it with the 64bit IDLE? I have been trying to figure out if it is possible to open it with the 32 bit version, with no success.
Try to fully uninstall Python 3 64bit?
 

fallingrat

Well-Known Member
Newcomer
Joined
Jun 24, 2018
Messages
94
Trophies
0
XP
629
Country
Spain
@Arithmatics I got exactly the same problem.

@linuxares I already tried. The python3 version that is compatible with my computer is a 32/64 bit version. I will try again to fully uninstall it before reinstalling. Otherwise I might give up and borrow a windows computer lol.

Thank you for the help.
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,362
Trophies
2
XP
18,255
Country
Sweden
@Arithmatics I got exactly the same problem.

@linuxares I already tried. The python3 version that is compatible with my computer is a 32/64 bit version. I will try again to fully uninstall it before reinstalling. Otherwise I might give up and borrow a windows computer lol.

Thank you for the help.
Nah mate, lets try to figure it out incase someone else gets the error. Python is both good and bad at the same time when it comes to troubleshooting. I'm curious if Fluffy would work via Virtualbox on a WIndows VM.
 

fallingrat

Well-Known Member
Newcomer
Joined
Jun 24, 2018
Messages
94
Trophies
0
XP
629
Country
Spain
@linuxares I used the command arch -32 python3 to open it. Python3 run at 32 bits, but I got the same errors. I don't know where could be the problem.

I had a similar error with another GUI. It wasn't working until I found a modified version of the *.pyw file on the internet, modified by another user that had the same problem. I would like to know what he did to fix it.
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,362
Trophies
2
XP
18,255
Country
Sweden
@linuxares I used the command arch -32 python3 to open it. Python3 run at 32 bits, but I got the same errors. I don't know where could be the problem.

I had a similar error with another GUI. It wasn't working until I found a modified version of the *.pyw file on the internet, modified by another user that had the same problem. I would like to know what he did to fix it.
Do you still have the modified version?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://www.phonearena.com/phones/compare/Samsung-Galaxy-S22+,Google-Pixel-8a/phones/11762,12219...