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,

vree

Well-Known Member
Member
Joined
Sep 12, 2005
Messages
702
Trophies
1
XP
1,410
Country
United Kingdom
Is it normal this makes my switch crash if going back to home menu? Even if I use it or not.
So for example boot up tinfoil or goldleaf while fluffy is open. But did not select anything in fluffy. Press home button on swith to get out of tinfoil or goldleaf. Bam crash of switch. This does not happen if not conected.
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,867
Trophies
2
XP
29,017
Country
United Kingdom
Is it normal this makes my switch crash if going back to home menu? Even if I use it or not.
So for example boot up tinfoil or goldleaf while fluffy is open. But did not select anything in fluffy. Press home button on swith to get out of tinfoil or goldleaf. Bam crash of switch. This does not happen if not conected.
Are you on firmware 7.x? There's a known bug with usb homebrew on that firmware, doesn't happen on lower or higher firmware.
 

MrWhosHacking

Well-Known Member
Member
Joined
May 3, 2018
Messages
293
Trophies
0
Age
34
XP
505
Country
United States
Is it normal this makes my switch crash if going back to home menu? Even if I use it or not.
So for example boot up tinfoil or goldleaf while fluffy is open. But did not select anything in fluffy. Press home button on swith to get out of tinfoil or goldleaf. Bam crash of switch. This does not happen if not conected.
You can try nut Clint from here: https://gbatemp.net/threads/nut-gui-usb-and-network-installer-for-tinfoil-and-sx-installer.531327/ or direct https://github.com/blawar/nut/releases that if works on your firmware if not upgraded cfw to 8.0.1 or lower then yours
 
Last edited by MrWhosHacking,

fourminute

Well-Known Member
OP
Member
Joined
Jan 15, 2019
Messages
170
Trophies
0
Age
34
XP
424
Country
United States
Hey guys, v2.9.0 is out! And for me personally, this release is very special to me. I spent a long time making the code better, more object oriented, and squashing some annoying bugs.


version29cc.png


What's New in 2.9.0:
  • Added: Goldleaf v0.6 Compatibility
    • Including all file-handling features.
  • Added: Goldleaf: File access security.
    • Default protections are place to safe-guard users from a potentially compromised Goldleaf file.
    • Default: File operations such as file creation, deletion, renaming will result in a user-prompt(yes or no).
    • Default: Read-only access for all files.
    • Default: Read/write to non-NSP files are restricted.
    • All of these security restrictions are changeable in fluffy.conf.
  • Added: Windows Executable(.exe), should help many users that struggle to run Fluffy.
  • Added: About dialog with credit list, find your name there!
  • Fixed: Scaling issues with Fluffy logo on certain resolutions.
  • Fixed: Improved install aborting. Proper thread elimination.
  • Fixed: Improved multi-threading. All threads are now daemons.
  • Fixed: No more false error messages when canceling a task.
  • Fixed: usb.core.NoBackendError: Revert to Network Mode, stops crash.
  • Fixed: Dark Mode checkbox will remain checked despite being off in some scenarios.
  • Changed: Config and log files for linux users now stored in $HOME.fluffy folder.
  • Misc: Code overhaul. Significantly more object oriented. Improved logging and exception handling. So many changes. Such wow.

Also, this is the first release to include a Windows Executable(.exe)!
If you previously had issues with USB.Core No Backend or PyQT5 Not Found, etc. Try out the Fluffy.exe. It may solve your issue.


https://github.com/fourminute/Fluffy
 
Last edited by fourminute,

Osga21

Full Time Idiot
Member
Joined
Jun 9, 2013
Messages
297
Trophies
1
Age
26
Location
Margem Sul
XP
678
Country
Portugal
Love seeing such a big release of this program. An .exe is a great idea for noobs, but if you had the python version working you may as well keep using it since it loads faster.
Anyway, @fourminute you mentioned compatibility with Goldleaf 0.6 and I was unable to find it until I saw you mentioned at the very bottom of the release post that you meant the nightlies. Could you please put a link to the recommended Goldleaf version on your README.MD? I actually submitted a pull request
 
  • Like
Reactions: fourminute

fourminute

Well-Known Member
OP
Member
Joined
Jan 15, 2019
Messages
170
Trophies
0
Age
34
XP
424
Country
United States
Love seeing such a big release of this program. An .exe is a great idea for noobs, but if you had the python version working you may as well keep using it since it loads faster.
Anyway, @fourminute you mentioned compatibility with Goldleaf 0.6 and I was unable to find it until I saw you mentioned at the very bottom of the release post that you meant the nightlies. Could you please put a link to the recommended Goldleaf version on your README.MD? I actually submitted a pull request

Done! Good suggestion.
 

fourminute

Well-Known Member
OP
Member
Joined
Jan 15, 2019
Messages
170
Trophies
0
Age
34
XP
424
Country
United States
Whenever I start it, my cpu usage goes crazy. (on macos with latest python from brew) Is it mining bitcoins in background? :D

Never(and feel free to look at the source code). And yeah the CPU usage isn't something I've had time to tinker with. Maybe in the future I'll reduce it by a great margin, though.


when i selected multiple nsp and begin transfer, only 1 file showed up in tinfoil. Is this bug?
I've never had that happen neither has any of my testers. Could possibly be a bug though. If so submit a github issue and I'll take a look at it.
 
Last edited by fourminute,

mdmachine

Well-Known Member
Member
Joined
Jun 15, 2009
Messages
189
Trophies
0
XP
882
Country
United States
Never(and feel free to look at the source code). And yeah the CPU usage isn't something I've had time to tinker with. Maybe in the future I'll reduce it by a great margin, though.



I've never had that happen neither has any of my testers. Could possibly be a bug though. If so submit a github issue and I'll take a look at it.

I get high CPU usage as well. OSX 10.14.4. I figured it wasn't optimized.
And I get only 1 option for files in tinfoil if doing the network install, USB is fine.
 

chr0m

Well-Known Member
Member
Joined
Oct 9, 2007
Messages
340
Trophies
1
XP
948
Country
Australia
I've been using Fluffy without issue for the last few months and now suddenly started getting usb.core.NoBackendError: No backend available error.

Tried downloaded the latest version, still get the same error, but it just boots in Network mode. Tried reinstalling pyusb and libusb1, but no luck. Not sure what's happened. The only thing I can think of is the latest Windows 10 May 2019 update has broken it.

The Windows .exe is working ok, but would rather get the Python version working.
 
Last edited by chr0m,
D

Deleted-380242

Guest
Howdy,

I'm a bit confused now, because with older versions of Goldleaf I could select "USB Install" from the menu, then in Fluffy go to the Goldleaf tab and select NSP.

Now, that has never actually worked to install anything for me so I've stuck with OG Tinfoil and multiple NSP installs, works great.

But with the new 2.9.1 Fluffy and the nightly Goldleaf I figured I'd try it again, see if there was any speed difference. Except now Goldleaf doesn't have a USB Install option in the menu any more, and Fluffy doesn't have a way to select NSPs on the Goldleaf tab, just a picture of logo.

What am I missing here?

EDIT: Unrelated, I just noticed the application says 2.9.0 in corner still, where I definitely downloaded the 2.9.1 release from Github. Cheers!
 
Last edited by ,

Big_Ddog

Member
Newcomer
Joined
Aug 13, 2013
Messages
8
Trophies
1
Age
35
XP
221
Country
Canada
I'm having a problem.

I have installed everything on the first page, downloaded the release and goldleaf/tinfoil.nro's from the page suggested.


When I use fluffly and tinfoil on USB, My begin transfer button flashes between switch detected and not detected extremely fast. Is that something on my end? I have tried different cables and they do the same thing.


And if I use fluffy to install over network, It reads the files, starts to download one installs it then tells me all 150 files are installed and closes?

Reinstalling drivers fixed that issue. I still can't seem to install more then 1 file at a time without an error in tinfoil
 
Last edited by Big_Ddog,

LyfeOnEdge

Well-Known Member
Newcomer
Joined
Feb 24, 2019
Messages
72
Trophies
0
Age
27
XP
482
Country
United States
@fourminute with fluffy when you try to launch it from another script it causes the conf and log files to appear in the working directory of the script that launched it, could you add a launch option so if it's called with a given argument it initializes its conf and log files in its own directory instead? Something like this:
Code:
Original:
try:
    if "win" in sys.platform[:3].lower():
        initial_dir = os.getcwd() + "/"
    elif "linux" in sys.platform.lower():
        if not os.path.exists(os.path.expanduser('~') + "/.fluffy"):
            os.makedirs(os.path.expanduser('~') + "/.fluffy")
        initial_dir = os.path.expanduser('~') + "/.fluffy/"
    else: # MacOS. A little help here would be great.
        initial_dir = os.getcwd() + "/"
except:
    initial_dir = os.getcwd() + "/"
    pass

Example:
useBaseDir = passedArg
try:
    if "win" in sys.platform[:3].lower():
        if not useBaseDir:
            initial_dir = os.getcwd() + "/"
        else:
            initial_dir = sys.path[0]
etc...
 

yikkyon

Well-Known Member
Member
Joined
Sep 20, 2008
Messages
249
Trophies
0
XP
810
Country
United States
Howdy,

I'm a bit confused now, because with older versions of Goldleaf I could select "USB Install" from the menu, then in Fluffy go to the Goldleaf tab and select NSP.

Now, that has never actually worked to install anything for me so I've stuck with OG Tinfoil and multiple NSP installs, works great.

But with the new 2.9.1 Fluffy and the nightly Goldleaf I figured I'd try it again, see if there was any speed difference. Except now Goldleaf doesn't have a USB Install option in the menu any more, and Fluffy doesn't have a way to select NSPs on the Goldleaf tab, just a picture of logo.

What am I missing here?

EDIT: Unrelated, I just noticed the application says 2.9.0 in corner still, where I definitely downloaded the 2.9.1 release from Github. Cheers!
I scoured the entire internet for this and it just comes down to the fact that the Goldleaf nro is actually outdated. Use the one provided by the Fluffy download page. Yes, I know both of them say 0.5 but they are entirely different. One is presumably the old but stable one and the provided one is most likely the nightly build that works.
 

DarkerGBA

Active Member
Newcomer
Joined
Nov 25, 2018
Messages
26
Trophies
0
Age
45
XP
210
Country
United Kingdom
Fluffy doesn't seem to work anymore after the windows update of May. The old version just crashes at the startup, while the latest just doesn't show the USB tick anymore. I had a look at the log, and the connect_usb throws an exception.

The new exe, however, works just fine.

Anybody else is having the same issue with the Python version? (Py 3.7.3 and libusbK from zadig)
 
Last edited by DarkerGBA,

lettuce

Well-Known Member
Member
Joined
Jul 27, 2006
Messages
811
Trophies
0
XP
491
Country
On the Windows release when using Tinfoil and USB mode after i select the nsp file and slict transfer it tells me that 1 Nsp is in the queue but then says 'Error: Tinfoil threw an expection' . anu ideas?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
  • K3Nv2 @ K3Nv2:
    I'll see the 19.0 update that blocks use ability to it
    +1
  • K3Nv2 @ K3Nv2:
    Lol newegg+
    Screenshot-20240423-053504-Gmail.jpg
  • S @ salazarcosplay:
    does update 19 really block it
  • SylverReZ @ SylverReZ:
    Update 19 never came out yet. Just the 18.1.
    SylverReZ @ SylverReZ: Update 19 never came out yet. Just the 18.1.