Get LÖVE Potion
Downloading
In order to start working on your own games, download LÖVE Potion from its GitHub releases page. Make sure to save this to a memorable location, usually in the Downloads
folder. When the zip file finishes downloading, it can extracted by right clicking on it and selecting the appropriate option.
Running
Please check that your Custom Firmware is compatible with LÖVE Potion. You can find more details in Compatibility.
Game
Folder
Once the files are done extracting, transfer the executable (3dsx, nro, wuhb) binary to your microSD card:
- Nintendo 3DS
- Nintendo Switch
- Nintendo Wii U
sdmc:/3ds/lovepotion/lovepotion.3dsx
sdmc:/switch/lovepotion/lovepotion.nro
sdmc:/wiiu/apps/lovepotion/lovepotion.wuhb
It is likely that the parent directory does not exist yet, so the folder will need to be created.
Now create a folder called game
inside of the lovepotion
directory. Inside of this will be your source files for what LÖVE Potion will be running. Inside of game
should be a file named main.lua
. The content of this file is the main entry point, and for this tutorial will be a basic "Hello World".
After all files have been created, simply launch LÖVE Potion from the Homebrew Menu (3DS, Switch) or Home Menu (Wii U) and it will run your game.
Fused Binary
You can bundle your game into the LÖVE Potion executable for your console for ease of distribution. This is recommended for when you are done developing you game and want to show it off to your friends!
Manual Fusing
It is possible to append a zip file containing your game to the LÖVE Potion executable, thus creating a fused game. However, you will not be able to create custom metadata, such as title, icon, or author information.
- Windows (Command Prompt)
- Unix-like (macOS, Linux)
:: 3DS
copy /b lovepotion.3dsx+SuperGame.love SuperFused.3dsx
:: Switch
copy /b lovepotion.nro+SuperGame.love SuperFused.nro
:: Wii U
copy /b lovepotion.wuhb+SuperGame.love SuperFused.wuhb
# 3DS
cat lovepotion.3dsx SuperGame.love > SuperGame.3dsx
# Switch
cat lovepotion.nro SuperGame.love > SuperGame.nro
# Wii U
cat lovepotion.wuhb SuperGame.love > SuperGame.wuhb
Automatic Fusing
Your game can automatically be fused together with custom metadata using the bundler. This will handle converting any assets for you on Nintendo 3DS as well! You can find more details about this on its Wiki page