[WIP] EBook Reader! Read EBooks on your 3DS! (Alpha 1)

Discussion in '3DS - Homebrew Development and Emulators' started by __singularity, Jul 15, 2016.

  1. __singularity
    OP

    __singularity Member

    Newcomer
    19
    42
    Feb 16, 2016
    Ebook Reader is a homebrew application that well... allows you to read ebooks on your 3ds.


    Next update delayed. I will have it done when its ready. I will continue to support this. Thank you for your patience.


    Source is available on github, if you want to have a look or contribute. Feel free to suggest things to add. -> todo list

    Download here.

    What this can do as of the first alpha:

    • Read a book in a VALID AND COMPLIANT .EPUB format. Convert your ebooks to this format using calibre. Make sure its as strict as possible.
    • Saving bookmarks to an XML format.
    • Loading bookmarks from XML. Easy to add your own manually if you want.
    • Status bar to keep track of time / battery.
    • Read a book in a fixed-width way (will be improved eventually).
    • Place books in a folder named "books" on the root of your SD card. Some books can take a while to load! Be patient!
    Please note, large books can take time to load. Use the .cia build if you can.

    Controls:
    • (A) = Accept
    • (X) = Delete book/bookmark
    • (Start) = Exit
    • (Select) = Bookmark page
    • (Up) = Scroll up lists
    • (Down) = Scroll down lists
    • (Left) = Previous Page
    • (Right) = Next Page
    Screenshots:


    Known Issues:
    As this is the first alpha build that is usable, there are naturally a few issues.
    - Crashes if book is not formatted correctly.
    - Freezes the 3dsx, but crashes the cia, use cia so you know if its just loading not frozen.
    - Multiple apostrophes e.g. ''' instead of " for quotes. Sometimes you will see '' in spaces. Will be fixed eventually.
    - Some people may not like the font, but I chose what I thought was the most readable monospaced font. If you have a better font that is monospaced, please suggest it!

    Credits:
    - AlbertoSonic for initial code and graphics.
    - xerpi for SF2D, SFIL & SFTD
    - minizip for unzipping
    - tinyxml2 for xml parsing
    - BLUnzip for simplified C++ minizip
    - zlib for zip functions
    - freetype2 for font manipulation
    - The people at #cakey
    - Source Code Pro font: https://github.com/adobe-fonts/source-code-pro

    License:
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     
    Last edited by __singularity, Aug 4, 2016
  2. Tjessx

    Tjessx GBAtemp Maniac

    Member
    1,157
    508
    Dec 3, 2014
    Belgium
    Tomato Hentai likes this.
  3. pdapanda

    pdapanda GBAtemp Advanced Fan

    Member
    713
    253
    Nov 19, 2014
    Switzerland
    Here is QR code, does it support Chinese or Japanese? I will have a try
    prb1c26db0c932be8810f9ee932006cf49.png
     
  4. spinal_cord

    spinal_cord Knows his stuff

    Member
    3,022
    598
    Jul 21, 2007
    somewhere
    A really readable monospaces font is profont. I use it for all my monospaced needs.
    Make sure you use the correct size, depending on the renderer it might be anywhere between 6 and 12, it will look pixel-perfect with very little anti-aliasing.
     
    Tomato Hentai likes this.
  5. astrangeone

    astrangeone GBAtemp Addict

    Member
    2,073
    601
    Dec 1, 2009
    Canada
    Canada
    Very cool.
     
  6. __singularity
    OP

    __singularity Member

    Newcomer
    19
    42
    Feb 16, 2016
    No, sorry. You could try and see if it works but it would probably have issues.

    I will give it a go.
     
  7. pdapanda

    pdapanda GBAtemp Advanced Fan

    Member
    713
    253
    Nov 19, 2014
    Switzerland
    So this is what it shows with Chinese characters,it will be a pity if the reader doesn't support languages other than English.
    I think multi-language support is fundimental for such things.
    Anyway,great work!But I think I‘m not fortunate enough to use it
     

    Attached Files:

  8. richardparker

    richardparker GBAtemp Advanced Fan

    Member
    707
    113
    Oct 10, 2014
    India
    Swallowed up by the ocean!
    yasss thank you great work!
     
  9. SomeRandomGuy212

    SomeRandomGuy212 Newbie

    Newcomer
    7
    0
    Jan 24, 2016
    United States
    Texas
    Pretty interesting.
     
  10. Hector_of_Troy

    Hector_of_Troy GBAtemp Regular

    Member
    146
    32
    Feb 9, 2016
    Italy
    I've been waiting for an app like this for a long time, can't wait to test it :) It would be great in the future if you could hold the 3ds vertically and flip the pages on the dual screens
     
    Joel16 likes this.
  11. jimmyleen

    jimmyleen GBAtemp Maniac

    Member
    1,162
    198
    Feb 28, 2016
    If only coding didn't take so damn long to master than I would gladly help to create homebrew for the 3ds.

    :angry::sad:
     
  12. cots

    cots GBAtemp Fan

    Member
    493
    319
    Dec 29, 2014
    United States
    Looking good! I did find a couple of bugs; if you've got no books the program crashes if you touch the right arrow on the book list and also the first book in the directory displays last.
     
  13. cearp

    cearp the ticket master

    Member
    7,550
    4,813
    May 26, 2008
    Tuvalu
    epub2 or epub3? anyway, very cool :)
     
  14. GhostLatte

    GhostLatte Yet Another Shitposter

    Member
    2,793
    13,870
    Mar 26, 2015
    United States
    The University of Shitpostology
    Will PDF support be added?
     
  15. cots

    cots GBAtemp Fan

    Member
    493
    319
    Dec 29, 2014
    United States
    I surely hope so.
     
  16. BADDINOROX99

    BADDINOROX99 GBAtemp Advanced Fan

    Member
    650
    231
    Sep 9, 2015
    United States
    this is awesome
     
  17. dogmarch

    dogmarch Potato Warrior - Anti Zombie

    Newcomer
    75
    19
    Jun 9, 2010
    YES, I have been waiting for something like this, too! thank you very much. will test it.
     
  18. cots

    cots GBAtemp Fan

    Member
    493
    319
    Dec 29, 2014
    United States
    I made these for anyone who is interested in a more colorful banner/icon/title screen.

    [​IMG]
    [​IMG]

    [​IMG]
     
  19. __singularity
    OP

    __singularity Member

    Newcomer
    19
    42
    Feb 16, 2016
    In the future, maybe. For now, convert to epub using calibre.

    Epub3.

    Thanks. Do you mind if I use these for the app?
     
    cearp likes this.
  20. cots

    cots GBAtemp Fan

    Member
    493
    319
    Dec 29, 2014
    United States
    Sure, go ahead. I'm glad you like them.

    EDIT: I redid the 48x48 icon, I think this looks better.

    [​IMG]
     
    Last edited by cots, Jul 17, 2016