Quantcast
Channel: MobileRead Forums - Kobo Reader
Viewing all articles
Browse latest Browse all 11143

Play chess on firmware 3.15

$
0
0
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)

Viewing all articles
Browse latest Browse all 11143

Trending Articles