Skip to content

pathway27/bookr-mod-vita

Repository files navigation

bookr-mod-vita

A document reader for the PSVita ported from the PSP application bookr-mod, canonically based on the HBS version.
You can find some notes here.

Installation and Usage

Use the .vpk to install.

Default Controls:

Menu
X - Choose Item
O - Cancel
Triangle - Parent Folder in FileManger
Directional Arrows - Select File
Start - Show/Hide Menu

In-Book Default Controls
Triangle - Next Page
Square - Previous Page
O - Previous 10 Pages
X - Next 10 Pages
Up/Down D-Pad - Pan Up and Down
Left Analog Stick - Free Pan with Bounds
Start - Show/Hide Menu

Building

For VITA (on *nix)

MuPDF is built using cmake automatically.

# Setup VITA development evironment: https://henkaku.xyz/developer/
git clone --recursive https://github.com/pathway27/bookr-mod-vita
# run pngquant on all your png images if not done already
mkdir -p vita/Release && cd $_
cmake ..
make -j8
# Install .vpk

# For devs - replace with your VITA ftp ip (assumes vpk was installed once)
export PSVITAIP=IP-HERE
make send
socat udp-recv:18194 stdout

For Switch

NOTE: You may need to build MuPDF manually.

Install Devkitpro: https://devkitpro.org/wiki/Getting_Started#macOS

Add it to PATH or your rc file and don't forget to source it.

# Setup devkitpro development evironment: 
dkp-pacman -S switch-dev
dkp-pacman -S switch-freetype switch-mesa switch-glad switch-glm

mkdir -p switch/Release && cd $_
cmake ..
make
export SWITCHIP=IP-HERE
make send

See BUILDING.md for OpenGL version.

Thanks

License

Licensed under GNU GPLv3+, see LICENSE.md.
Third party libraries have their own licenses can be found in their own directories under ext.