Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-02-2015, 09:49 AM   #1
traycold
Connoisseur
traycold doesn't littertraycold doesn't litter
 
Posts: 63
Karma: 196
Join Date: Oct 2010
Device: Kobo Glo Hd, Kobo H2O2
Play chess on firmware 3.15

hi all,
in this version chess is no more available on "extras" menu. Anyway, as pointed out by some users, Kobo only removed the way to launch the game, and not the game itself: infact, if the tile "Chess" was present on the homepage at the moment of the firmware upgrade, it was not removed and they can still launch the game.
Unfortunately, it's not possible to launch chess for the other users not having chess tile on homepage.

So my idea was to manually change the content of the tile to re-enable the chess game.

Warning: applying this modification ther is the risk of corrupting the Kobo database that stores data about: book progress, statistics, and so on. Please do not proceed until you are confident on what you are doing and in any case make a backup of the database file (KoboReader.sqlite).
I take no responsibility on any damage this procedure may cause to your ebook-reader.


It's a very simple procedure, applicable to any kobo on firmware 3.15 (even though I just tried it on my kobo glo), but requires some knowledge with command line tools.
  • First of all, create a tile on the homepage launching any of the extra present in the settings / beta features. For instance sudoku.
    Be sure that you have now a tile called "sudoku" on the homepage.
  • Connect the kobo to the PC
  • For safety reason, make a backup of the file <koboDrive>/.kobo/KoboReader.sqlite (so that you can recover it in case something goes wrong during this procedure)
  • Open the file <koboDrive>/.kobo/KoboReader.sqlite with the Sqlite3 editor software you prefer (for instance SQLiteSpy for Win, but there are many free editors for any platform)
  • In the table "Activity", find the row with Id=sudoku, and change the value of Id=chess; save the modified DB
  • Disconnect the Kobo, now you should have a tile with the chess

Simplified procedure, using Sqlite3 command line tool:
  1. Be sure that you have the sudoku tile on the homepage (if you don't have it, just play a sudoku game and it should appear)
  2. make a backup of the file <koboDrive>/.kobo/KoboReader.sqlite (so that you can recover it in case something goes wrong during this procedure)
  3. Download Sqlite3 command line for win, linux or mac
  4. Create a folded on your PC and put into it:
    • The executable Sqlite3 files you downloaded
    • The sql file attached to this message (chess.txt)
    • The kobo DB file (<koboDrive>/.kobo/KoboReader.sqlite) copied from Kobo
  5. Open a shell, go the folder you created and launch this command:
    Code:
    sqlite3 KoboReader.sqlite < chess.sql
  6. Copy the patched KoboReader.sqlite file back to kobo (overwriting existing file)
  7. Disconnect kobo and you should have the chess tile on homepage

Hope this may be useful.

In principle the procedure could be further simplified creating an update file (KoboRoot.tgz) that completely automates the DB update; but honestly I don't have time to do it by myself (and make the tests to be sure it works without messing the reader).
Attached Files
File Type: txt chess.txt (80 Bytes, 1350 views)
traycold is offline   Reply With Quote
Old 06-04-2015, 04:30 AM   #2
Bobbe
Enthusiast
Bobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blue
 
Posts: 31
Karma: 13124
Join Date: Aug 2013
Device: sony prs 300
Yes! It worked!
With your method I put all the extra's on my new Glo HD, one by one!

I'm very happy to be able to play chess and solitaire again!
Bobbe is offline   Reply With Quote
Advert
Old 06-04-2015, 06:46 AM   #3
cly
Junior Member
cly began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2013
Location: Turkey
Device: kindle paper white,Kobo Aura
It's work first way,this is very simple way,Thank you I am Very happy.I can Play Chess
cly is offline   Reply With Quote
Old 06-04-2015, 12:40 PM   #4
cxu123
Junior Member
cxu123 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2015
Device: none
I can not find the row with Id=sudoku in Activity table. Do you have an example for this row in Activity table? I can try to add one.
cxu123 is offline   Reply With Quote
Old 06-04-2015, 01:12 PM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,167
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Remember this assumes you have launched Sudoku first (and that is one of the installation steps).

Remember that this won't work on a Glo HD.
PeterT is offline   Reply With Quote
Advert
Old 06-04-2015, 01:57 PM   #6
Bobbe
Enthusiast
Bobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blueBobbe can differentiate black from dark navy blue
 
Posts: 31
Karma: 13124
Join Date: Aug 2013
Device: sony prs 300
Quote:
Originally Posted by PeterT View Post
Remember this assumes you have launched Sudoku first (and that is one of the installation steps).

Remember that this won't work on a Glo HD.
O, yes! It does work on Glo HD!
Just Launch the internet browser first, and later, when editing the database, instead of changing 'sudoku' into 'chess', you change 'internet' (or was it browser, I can't remember) into 'chess'.

After that I saved the file, disconnected Glo HD, and there was the Chess tile on the Home screen. I followed the same procedure to get the starting tiles back, one by one, for Rushhour, Solitaire, Sketch, and Sudoku. I have them all working on my brandnew Glo HD! Fantastic!

Last edited by Bobbe; 06-04-2015 at 02:00 PM.
Bobbe is offline   Reply With Quote
Old 06-04-2015, 03:54 PM   #7
cxu123
Junior Member
cxu123 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2015
Device: none
Quote:
Originally Posted by PeterT View Post
Remember this assumes you have launched Sudoku first (and that is one of the installation steps).

Remember that this won't work on a Glo HD.
I am using Glo HD. I finally made it work by creating a new row with Id=chess, Type=Extras, Action=2. It is a bit risky to create a new row in Activity table.

Run brower first and then change the Id to chess would be better than what I did. I didn't realize this method until I see Bobbe's reply.
cxu123 is offline   Reply With Quote
Old 06-30-2015, 08:04 PM   #8
Ksquared
Groupie
Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.Ksquared ought to be getting tired of karma fortunes by now.
 
Ksquared's Avatar
 
Posts: 181
Karma: 2635236
Join Date: Jun 2015
Location: Cleveland, Ohio USA
Device: Original Kobo Aura 6", Libra H2O
Thanks! I just got an Aura and wanted to see Chess. Your procedure worked well.
Ksquared is offline   Reply With Quote
Old 08-23-2015, 06:35 AM   #9
nicopilami
Enthusiast
nicopilami began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Aug 2015
Device: Kobo Glo HD
For people who are not very technical, I tried to put you ideas into easy steps here

Thanks a lot once more

Nico
nicopilami is offline   Reply With Quote
Old 08-23-2015, 06:54 AM   #10
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Let me add that KSM 07 users have a further (easy) possibility; see this post.
tshering is offline   Reply With Quote
Old 10-25-2015, 12:21 PM   #11
Atilla
Addict
Atilla ought to be getting tired of karma fortunes by now.Atilla ought to be getting tired of karma fortunes by now.Atilla ought to be getting tired of karma fortunes by now.Atilla ought to be getting tired of karma fortunes by now.Atilla ought to be getting tired of karma fortunes by now.Atilla ought to be getting tired of karma fortunes by now.Atilla ought to be getting tired of karma fortunes by now.Atilla ought to be getting tired of karma fortunes by now.Atilla ought to be getting tired of karma fortunes by now.Atilla ought to be getting tired of karma fortunes by now.Atilla ought to be getting tired of karma fortunes by now.
 
Posts: 224
Karma: 619496
Join Date: Jul 2010
Location: Canada
Device: Kindle 3, Kindle 3 3G, Kobo Touch, Playbook, Kobo Clara HD
Thank you traycold it worked great on Kobo Touch with 3.18.0
Atilla is offline   Reply With Quote
Old 12-12-2015, 10:52 AM   #12
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
In fw 3.19.5613 it is not working now. The tile off chess appear on the home screen , but it isn't opens the game.
surquizu is offline   Reply With Quote
Old 12-12-2015, 06:04 PM   #13
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
I noticed that when I was adding this function to the Kobo Utilities. I meant to ask if other saw it, but forgot about it. Something must have changed that the chess depended on. I doubt it was something deliberate to stop chess. More likely something changed elsewhee and the chess library hasn't been updated to work.
davidfor is offline   Reply With Quote
Old 12-12-2015, 06:09 PM   #14
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by davidfor View Post
I doubt it was something deliberate to stop chess. More likely something changed elsewhee and the chess library hasn't been updated to work.
Almost all references to chess have disappeared from libnickel.

Last edited by tshering; 12-12-2015 at 06:14 PM.
tshering is offline   Reply With Quote
Old 01-02-2017, 03:27 PM   #15
markyisri
Connoisseur
markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.
 
Posts: 59
Karma: 2072648
Join Date: Sep 2016
Device: Kobo Aura Edition 2
Still doesn't work on FW 4.2.

I think it is gone for good.
markyisri is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FW 2.6.1 Chess Urdu Kobo Reader 23 06-25-2013 01:23 AM
Chess it´s here. I see this now... KRorschachZ Amazon Kindle 21 02-12-2011 06:12 PM
For Chess fans everywhere - Capablanca's Chess Fundamentals Greg Anos Reading Recommendations 21 10-31-2010 01:46 PM


All times are GMT -4. The time now is 09:22 PM.


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