Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 10-01-2016, 01:37 PM   #1
astromark
Member
astromark began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
Aura One beta features: sudoku, sketch pad, solitaire etc...

Using the same trick of editing KoboReader.sqlite as worked on the Glo HD, it's possible to reveal the "missing" beta features on the Aura One.

Solitaire (all variants) seems to work fine.

Unfortunately Sudoku and Sketch Pad don't. Sketch Pad doesn't clear the screen and Sudoku - the one I really want - just doesn't display properly.

Clearly it's got scaling issues (and I wasn't surprised to see that) but does someone more able than me think there might be a mod to the firmware that makes sudoku work with the higher resolution screen of the A1? It's interesting how Solitaire is fine - it must have been coded more flexibly.

I do like the odd game of sudoku on the Glo and it'd be wonderful to get it working on the One.

Thanks
astromark is offline   Reply With Quote
Old 10-02-2016, 07:51 AM   #2
MrDrWatson
Member
MrDrWatson began at the beginning.
 
Posts: 24
Karma: 10
Join Date: May 2009
Device: Sony prs-505, Kobo Aura HD, Kobo Aura One
Sudoku is what I miss from my Kobo, this summer on the beach it was great to switch from reading a book to play a quick game of sudoku on my Aura HD.
Lets hope next summer the A1 will have that option as I gave my Aura HD to my sister.
MrDrWatson is offline   Reply With Quote
Advert
Old 10-02-2016, 09:52 AM   #3
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Quote:
just doesn't display properly
Can you show what it looks like on the KA1?

There is some CSS in libsudoku.so:

Code:
#SudokuGame[qApp_deviceIsDragon="true"]{
      background: url(:/images/extras_sudoku_board_bg_dragon.png);
      min-width:1080;
      max-width:1080;
Maybe editing such would do something. I can not try myself.
frostschutz is offline   Reply With Quote
Old 10-02-2016, 03:58 PM   #4
astromark
Member
astromark began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
Red face

Quote:
Originally Posted by frostschutz View Post
Can you show what it looks like on the KA1?

There is some CSS in libsudoku.so:

Code:
#SudokuGame[qApp_deviceIsDragon="true"]{
      background: url(:/images/extras_sudoku_board_bg_dragon.png);
      min-width:1080;
      max-width:1080;
Maybe editing such would do something. I can not try myself.
Good idea! I've taken a look at the firmware and have found the libsudoku.so file, but sadly I run out of talent at that point and (as it stands) don't know what to do with it (or even read it properly within Windows).

Screenshots attached anyway.
Attached Thumbnails
Click image for larger version

Name:	sudoku_intro.jpg
Views:	365
Size:	317.9 KB
ID:	152103   Click image for larger version

Name:	sudoku_game.jpg
Views:	418
Size:	461.5 KB
ID:	152104  
astromark is offline   Reply With Quote
Old 10-02-2016, 04:53 PM   #5
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Flying blind... does it look any different with this file?

This isn't supposed to fix it in any way, I can not begin to guess the correct values for the Kobo Aura One. This is just to see if it changes the visuals in any way at all, then there might be a chance it could be fixed by just changing CSS.

This is assuming it just looks bad but you can still input numbers and even save/quit/newgame once you find the invisible button for that (lower right corner for me)

There is this nickel css patch thing by user @pipcat, maybe it would also be able to patch css for libsudoku.so so you could experiment.
Attached Files
File Type: zip KoboRoot.zip (49.2 KB, 220 views)

Last edited by frostschutz; 10-02-2016 at 04:58 PM.
frostschutz is offline   Reply With Quote
Advert
Old 10-03-2016, 05:01 PM   #6
astromark
Member
astromark began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
Quote:
Originally Posted by frostschutz View Post
Flying blind... does it look any different with this file?
Thanks! I'll give it a play a little later. I'll report back.
astromark is offline   Reply With Quote
Old 10-04-2016, 05:29 PM   #7
astromark
Member
astromark began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
Hi frostschutz, here's what happens!

Ok, the patch made a difference as the attached photos show. Quite a big difference in fact, but it does leave me to wonder if it will be possible to actually get Sudoku to work.

The frame it draws for the number boxes (where you select a box) is too big for the grid and it scales wrongly. It's possible to see the frames it will draw and across the top it does (from top-left, picture 1) - box, gap, box box, gap, box box. It should presumably draw box, box box, gap, box box box, gap, box box.

Picture 3 shows the most top-right frame it will draw and picture 4 shows the most bottom-right one.

5 shows that the New Game and Save and Quit text buttons work properly. The numbers also work properly, in the sense that it recognises them.

Good work on the patch so far, though!
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	296
Size:	682.3 KB
ID:	152150   Click image for larger version

Name:	2.jpg
Views:	263
Size:	1.29 MB
ID:	152151   Click image for larger version

Name:	3.jpg
Views:	227
Size:	1.34 MB
ID:	152152   Click image for larger version

Name:	4.jpg
Views:	232
Size:	1.12 MB
ID:	152153   Click image for larger version

Name:	5.jpg
Views:	261
Size:	1.17 MB
ID:	152154  
astromark is offline   Reply With Quote
Old 10-04-2016, 05:47 PM   #8
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
So here's another. I guess my first patch would have caused H2O or GloHD settings to take over. There is a width 1080 specified in the CSS which is display width of the H2O. I change 1080 to 1404 this time, which is the width of KA1. Not sure if that's all... probably not.

You have to do this yourself. See over here: https://www.mobileread.com/forums/sho....php?p=3328482

This program can help you edit the CSS. By default it seems to be doing so for nickel but it might work for libsudoku.so too. Either change nickel to libsudoku.so in his code or rename the libsudoku.so file to nickel while using this. If you have questions you should ask the creator, never used it myself.

Proper fix will probably involve a lot of trial and error, no way to do it without owning the device you know ...
Attached Files
File Type: zip KoboRoot.zip (49.2 KB, 213 views)
frostschutz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions about Sketch Pad on Kobo Aura HD CharredScribe Kobo Reader 2 01-09-2015 04:42 AM
Kobo Sketch Pad Doodles! Kasper Hviid Kobo Reader 8 08-30-2014 12:02 PM


All times are GMT -4. The time now is 03:07 PM.


MobileRead.com is a privately owned, operated and funded community.