eBookReaderSwitch/README.md

69 lines
1.8 KiB
Markdown
Raw Normal View History

2019-08-29 02:36:31 +00:00
# eBookReaderSwitch
2019-09-03 22:23:08 +00:00
This is a project I've recently just started working on again. Currently its using MuPDF as its backend. Currently only most pdf files work.
2019-08-29 02:36:31 +00:00
2019-09-22 18:48:05 +00:00
### Features:
* Saves last page number
* Reads PDF files
* Dark and light mode
* Landscape reading view
* Portrait reading view
2019-08-29 02:43:12 +00:00
### Current State:
* Most PDF files work, and all epub, cbz and xps files I've tested work.
2019-08-29 02:43:12 +00:00
2019-08-29 02:36:31 +00:00
### TODO:
* Do some extra testing on file compatibility.
2019-09-23 14:56:37 +00:00
* 2 pages side by side in landscape.
* Touch screen for going to next page.
* Hardware lock to prevent accidental touches (maybe Vol- ?) (?).
* Save orientation, and dark mode settings.
2019-09-20 01:29:07 +00:00
### Screen Shots:
Dark Mode Help Menu:
2019-09-20 01:31:03 +00:00
<br></br>
2019-09-20 01:30:08 +00:00
<img src="screenshots/darkModeHelp.jpg" width="322" height="178.4">
2019-09-20 01:31:03 +00:00
<br></br>
2019-09-20 01:29:07 +00:00
2019-09-23 14:56:37 +00:00
Dark Mode Landscape Reading (With the Switch horizonal):
2019-09-20 01:31:03 +00:00
<br></br>
2019-09-20 01:30:08 +00:00
<img src="screenshots/darkModeLandscape.jpg" width="512" height="288">
2019-09-20 01:31:03 +00:00
<br></br>
2019-09-20 01:29:07 +00:00
2019-09-23 14:56:37 +00:00
Dark Mode Portrait Reading (With the Switch vertical):
2019-09-20 01:31:03 +00:00
<br></br>
2019-09-20 01:30:08 +00:00
<img src="screenshots/darkModePortrait.jpg" width="285.6" height="408.8">
2019-09-20 01:31:03 +00:00
<br></br>
2019-09-20 01:29:07 +00:00
Dark Mode Book Selection:
2019-09-20 01:31:03 +00:00
<br></br>
2019-09-20 01:30:08 +00:00
<img src="screenshots/darkModeSelection.jpg" width="512" height="288">
2019-09-20 01:31:03 +00:00
<br></br>
2019-09-20 01:29:07 +00:00
Light Mode Landscape Reading:
2019-09-20 01:31:03 +00:00
<br></br>
2019-09-20 01:32:17 +00:00
<img src="screenshots/lightModeLandscape.jpg" width="512" height="288">
2019-10-31 22:43:41 +00:00
### 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
2021-07-13 06:27:42 +00:00
* Release built with [libnx release v.4.1.3](https://github.com/switchbrew/libnx).
* 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.
2021-07-13 07:11:31 +00:00
2021-07-13 07:14:45 +00:00
If you don't have twili debugger installed then delete the -ltwili flag on the Makefile to compile:
2021-07-13 07:11:31 +00:00
```
LIBS: -ltwili
```