Skip to content

SeanOMik/eBookReaderSwitch

Repository files navigation

eBookReaderSwitch

Features:

  • Saves last page number
  • Reads PDF, EPUB, CBZ, and XPS files
  • Dark and light mode
  • Landscape reading view
  • Portrait reading view
  • Touch screen controls
    • Touch the botton/top of the screen to zoom in/out and left and right to change the page.
  • Books read from /switch/eBookReader/books

TODO:

  • Do some extra testing on file compatibility.
  • 2 pages side by side in landscape.
  • Hardware lock to prevent accidental touches (maybe Vol- ?) (?).
  • Save orientation, and dark mode settings.

Screen Shots:

Dark Mode Help Menu:



Dark Mode Landscape Reading (With the Switch horizonal):



Dark Mode Portrait Reading (With the Switch vertical):



Dark Mode Book Selection:



Light Mode Landscape Reading:

Credit:

  • moronigranja - For allowing more file support
  • NX-Shell Team - A good amount of the code is from an old version of their application.

Building

  • Release built with libnx release v4.1.3.
  • Uses freetype and other libs which comes with switch-portlibs via devkitPro pacman:
pacman -S libnx switch-portlibs

then run:

make mupdf
make

to build.

If you don't have twili debugger installed, delete the -ltwili flag on the Makefile to compile:

LIBS: -ltwili