Logo
Explore Help
Sign In
cottongin/crosspoint-reader
1
0
Fork 0
You've already forked crosspoint-reader
Code Issues Pull Requests Actions 1 Packages Projects Releases 4 Wiki Activity
crosspoint-reader/docs/file-formats.md

10 lines
133 B
Markdown
Raw Normal View History

Consolidate chapter page data into single file (#144) ## Summary * Consolidate chapter page data into single file * Header structure of the file stays the same, following the page count, we now put a LUT offset * The page data is all then appended to this file * Finally the LUT is appended to the end of the file, and the page count is updated * This will also significantly improve the duration of cache cleanup which takes a while to scan the directory and cleanup content * Remove page file version as it's all tied up into the section file now * Bumped section file version to 7 * Moved section content into sub directory * Updated docs ## Additional Context * Benchmarks: * Generating 74 pages of content from a chapter in Jade Legacy took: * master: 6,229ms * this PR: 1,305ms * Speedup of 79% * Generating 207 pages of content from Livesuit book: * With progress bar UI updates: * master: 24,250ms * this PR: 8,063ms * Speedup of 67% * Without progress bar UI updates: * master: 13,055ms * this PR: 3,600ms * Speedup of 72%
2025-12-29 12:19:54 +10:00
# File Formats
## `book.bin`
![](./images/file-formats/book-bin.png)
## `section.bin`
![](./images/file-formats/section-bin.png)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.4 Page: 53ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API