DISCLAIMER:
For this guide, you are going to need a legitimate copy of NSMBW on your PC, an SD card, and Dolphin Emulator.
Download a Development or Beta version of Dolphin Emulator that is at least version 5.0-15520.
STEP 1: Download CSMBW and locate "Chilly" and "riivolution" folders, then put them into the default Riivolution Dolphin mod folder.
- On Windows, press Ctrl + R and type this directory without the quotation marks "%HOMEPATH%\Documents\Dolphin Emulator\Load\Riivolution"
- On macOS, press ⌘ + Shift + G and type this directory without the quotation marks "~/Library/Application Support/Dolphin/Load/Riivolution"
- On Linux, it may be either "~/.dolphin-emu/Load/Riivolution" or "~/.local/share/dolphin-emu/Load/Riivolution"
STEP 2: On Dolphin, set the path to your NSMBW ROM.
STEP 3: Right click NSMBW from your games list and select "Start with Riivolution Patches" and enable CSMBW and disable other mods that may be on that list. Now click "Start"
This guide was copied from the Newer Team website and modified for CSMBW's situation.
Here is Newer's guide.