Skip to content

Instantly share code, notes, and snippets.

@erfg12
Last active June 10, 2020 14:56
Show Gist options
  • Save erfg12/a230eeb647c58ef0e5c8afb11c8842a5 to your computer and use it in GitHub Desktop.
Save erfg12/a230eeb647c58ef0e5c8afb11c8842a5 to your computer and use it in GitHub Desktop.
3DS Homebrew Development With Unity

Troubleshooting

  • Pink Images: Size restriction issue. 1024 w/h max.
  • White/Corrupted Images: Out of vram. Compress PNG images, resize smaller than 400x240 and use 8-bit coloring.
  • White 3D Texturing: Shaders are incompatible. Do not use Default shaders. Use Sprites/Default shaders.
  • Citra Memory errors (game crashing): Model Light & Reflection Probes, and Cast Shadows should be disabled.
  • FBI Install, no game appears: Check to ensure your application ID is unique. (Ex: 0x48300 would be unique)
  • Citra Memory Errors Immediately upon scene startup: You may have a sprite renderer using too large PNG image.
  • Only Display1-10 instead of Lower LCD, Upper LCD: Go to Build Settings > N3DS > press the Switch Platform button.
  • Camera set to Lower LCD, but canvas doesn't show: Change Target Display on the canvas to Lower LCD.

Easiest Way To Create HomeMenu Banner: https://github.com/Steveice10/bannertool

  • Run: bannertool makebanner -i (png image) -a (wav file) -o banner.bnr
  • Place in Assets/3dsBanner folder (create it if it doesn't exist) and compile game. OR
  • Use Banner Demo files provided, edit the PNG texture to fit.

Touch Screen Bottom LCD

  1. Add Box Collider 2D to object.
  2. Add a script with void OnMouseDown(). This will trigger on touch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment