I made some universal edits for those wanting to utilize NWPlayer's script, since everyone's path to CDecrypt.exe, ckey.bin, and NUS Downloader are different.
All you have to do is download
this CDecrypt.py script and then open it and hardcode your paths in ONCE.
After that, just copy/paste the CDecrypt.py script into the version folder that NUS Downloader created and run it from the command prompt. Like NWP's, it
downloads the correct tmd and auto-extracts all of the files. Credits go to him for original code.
EDIT: I made this thinking that it would be easier to only have to copy/paste CDecrypt.py into each version folder that you use, instead of having to move the tmd, cetk, and rest of the files to where cdecrypt.exe is, which could get messy quick if you're wanting to decrypt a bunch of files.