Hacking E-book Reader [PCSC80012] English translation + How to add custom books

MatNyaga

Member
Newcomer
Joined
Nov 25, 2019
Messages
17
Trophies
0
Age
34
Location
Nairobi, Kenya
Website
Terrasoftworks.co.ke
XP
60
Country
Kenya
@GrapheneCt So I got Reader on ver 1.62 running on 3.60 using this new tool by SKleba:
"0syscall6" - It works by patching calls in the secure_kernel.
However, the English translation patch does not work. What could the issue be? Is it set to work specifically on 3.65?

--------------------- MERGED ---------------------------

Update: I've tried the app with ver 2.71 of repatch and now the translation-patch works. I'll try to add a couple of books and update if I encounter any issue.
EDIT: Adding books works. Comic books work well by default. You'll need a text to image converter for regular books (I haven't found one yet).
 
Last edited by MatNyaga,

MatNyaga

Member
Newcomer
Joined
Nov 25, 2019
Messages
17
Trophies
0
Age
34
Location
Nairobi, Kenya
Website
Terrasoftworks.co.ke
XP
60
Country
Kenya
Update: After some research and testing it turns out you can convert Text PDFs as well. Use the following tool:
-CbxConverter and install GhostScript as well.
-Resize your images to ~720p Max.
-Use the Kindle Comic Converter tool to convert to EPUB (Make su7re stretch/Upscale is unchecked)
-Follow the tutorial pinned in the first post and you'll be fine.

As always major thanks to GrapheneCt for the translation effort, SKGleba for the hack and Team Molecule for Henkaku/Enso. I plan to make use of this app a lot more.
 

GrapheneCt

Well-Known Member
OP
Newcomer
Joined
Jun 20, 2019
Messages
45
Trophies
0
Location
Kaliningrad
XP
257
Country
Russia
MatNyaga Thank you, I'll add your instructions to the first post. Just a small correction: you don't have to limit images to 720p, Reader can load even 4K images without problems. Main limitation is file size, each image should be under 1.20MB, if the size exceeds this value Reader will have problems rendering it fast enough. It is possible to meet this criteria by adjusting JPEG compression ratio.

RY0M43CH1Z3N It's not as easy as just using notepad. In fact, using notepad on .dat files will break them. Both text and images .dat are archives, so you will have to edit them in HEX editor, without changing any offsets (or adjusting file table offsets after you change all the data). If you will edit them with HEX editor, you can replace any blank leftover space with 00 padding. PM me if you'll need more help.
 
  • Like
Reactions: RY0M43CH1Z3N

IsaacDias

New Member
Newbie
Joined
Nov 28, 2019
Messages
4
Trophies
0
Age
57
XP
47
Country
Brazil
Translation working ok here, but even adding an epub in ux0:reAddcont/pcsc80012/00000000blkstok1/bookXX, didn't shows up.
Any sugestions?
 

Attachments

  • IMG_4030.jpeg
    IMG_4030.jpeg
    1.3 MB · Views: 158

MatNyaga

Member
Newcomer
Joined
Nov 25, 2019
Messages
17
Trophies
0
Age
34
Location
Nairobi, Kenya
Website
Terrasoftworks.co.ke
XP
60
Country
Kenya
Thanks, @GrapheneCt I'll do some experimentation with the application to find out what can and cannot be done. Also maybe we can have a small tool to edit the metadata file and put in the corresponding images i.e front cover, back, and spine (perhaps even with a library). I can use C# .NET. Then we can open the floor for some community contributions. Also, you can add the instructions for people on 3.60 as well.
 
Last edited by MatNyaga,

MatNyaga

Member
Newcomer
Joined
Nov 25, 2019
Messages
17
Trophies
0
Age
34
Location
Nairobi, Kenya
Website
Terrasoftworks.co.ke
XP
60
Country
Kenya
I've hastily put together an application that helps users add books into the reader format. It's probably buggy, in case you encounter any bugs please let me know:

Source:
https://github.com/MatNyaga/Vita-Book-Edit/tree/master

- Deleting books not implemented yet
-Select a folder to use as a Book library before adding books.
 

Attachments

  • Vita-Book-Editor.zip
    209.5 KB · Views: 150
  • Like
Reactions: RY0M43CH1Z3N

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,044
Trophies
1
Location
California
XP
6,052
Country
United States
How would you create Multiple Books? After creating 1, move it to another Location and rename it to book##? Otherwise, it does not add different Books unless you fully close it out, and make the same Path again, where it starts a new Book Number.
Also, the Images will show, you just have to type it in, in the box, since the Previews where you select the Image you want does not show.
 

GrapheneCt

Well-Known Member
OP
Newcomer
Joined
Jun 20, 2019
Messages
45
Trophies
0
Location
Kaliningrad
XP
257
Country
Russia
Some of the stuff I found after a quick test:
-Saves spine image at incorrect resolution of 177x250
-Doesn't actually put book title in metadata, stays as <title>CUSTOM BOOK TITLE</title>
-You missed <seriesOrdinal> in metadata, indicates book number in series (usually used for manga/comic volume numbers)

EDIT: Also, more than one link can be added to the metadata by simply repeating the same <link> <note> structure multiple times.
 
Last edited by GrapheneCt,
  • Like
Reactions: setsunafseiei885

setsunafseiei885

Active Member
Newcomer
Joined
Dec 8, 2016
Messages
37
Trophies
0
XP
263
Country
Indonesia
I've hastily put together an application that helps users add books into the reader format. It's probably buggy, in case you encounter any bugs please let me know:

Source:
https://github.com/MatNyaga/Vita-Book-Edit/tree/master

- Deleting books not implemented yet
-Select a folder to use as a Book library before adding books.

Hello, what the tool actually do? add books to reader? you mean this tool can convert any images to epub files for vita reader?

at now I use kcc to convert my manga to epub, but the problem is kcc automaticly crop white background which it can messing up some page, any suggestion for fix that?
 

MatNyaga

Member
Newcomer
Joined
Nov 25, 2019
Messages
17
Trophies
0
Age
34
Location
Nairobi, Kenya
Website
Terrasoftworks.co.ke
XP
60
Country
Kenya
Does this work on 3.65 and above or just 3.65?
3.60 (with 0syscall6 plugin) and 3.65. It also only uses repatch 2.71

--------------------- MERGED ---------------------------

Hello, what the tool actually do? add books to reader? you mean this tool can convert any images to epub files for vita reader?

at now I use kcc to convert my manga to epub, but the problem is kcc automaticly crop white background which it can messing up some page, any suggestion for fix that?
The tool doesn't do conversions, it just adds them to the "Reader" application in the correct format. Use this other application if KCC doesn't work: https://github.com/dragouf/CbrPdfConverter
I haven't tested it myself but tell us if it works for you.

--------------------- MERGED ---------------------------

Fixed some bugs, check pull requests.
Thanks, I'll take a look and hopefully work in a few more features.
 

MatNyaga

Member
Newcomer
Joined
Nov 25, 2019
Messages
17
Trophies
0
Age
34
Location
Nairobi, Kenya
Website
Terrasoftworks.co.ke
XP
60
Country
Kenya
Changelog (ver 0.1)
- Added a book index to ensure Book 01 is always skipped
- Fixed a bug where the number of Books was incorrectly displayed (The application now looks for "metadata.xml" before adding a book to the library counter)
- Loops through all the Book Numbers before adding a new book folder
- Added a DLC Index to support > 99 books (Only supports 9 DLC indexes for Now = 891 Maximum Books)
- Added an Option to Clean all the empty folders generated
- Buttons are disabled until the Library path is selected to avoid crashing.

--------------------- MERGED ---------------------------

@GrapheneCt Would you mind if your tutorial was posted at the r/Vitahacks subreddit? It may reach some in the scene who don't visit this site.
 

Attachments

  • Vita-Book-Editor.zip
    210.2 KB · Views: 99
  • Like
Reactions: GrapheneCt

MatNyaga

Member
Newcomer
Joined
Nov 25, 2019
Messages
17
Trophies
0
Age
34
Location
Nairobi, Kenya
Website
Terrasoftworks.co.ke
XP
60
Country
Kenya
  • Like
Reactions: setsunafseiei885

GrapheneCt

Well-Known Member
OP
Newcomer
Joined
Jun 20, 2019
Messages
45
Trophies
0
Location
Kaliningrad
XP
257
Country
Russia
Small correction, there is no need to have more than 7 DLC folders because the app itself only support up to 600 books at once. I am currently reversing app, wanna write a plugin to remove that annoying "Sync with Reader Store" at startup and translate some text embedded in eboot.bin, I'll check if this limit can be increased, but doubt it would be easy.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Bunjolio @ Bunjolio: c