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 03-07-2016, 09:16 AM   #211
nicholi
Junior Member
nicholi began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2016
Device: kobo glo hd
Hi guy, can you help me how to edit the patch to show vietnamese book's name. and even i can add vietnamese dictionary. it can not show the word correctly. My firmware is 3.19.5761. Thank you. sorry for my bad English.
nicholi is offline   Reply With Quote
Old 03-07-2016, 09:54 AM   #212
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 nicholi View Post
Hi guy, can you help me how to edit the patch to show vietnamese book's name. and even i can add vietnamese dictionary. it can not show the word correctly. My firmware is 3.19.5761. Thank you. sorry for my bad English.
Showing Vietnamese book names should not require any patching. You need:
  • have a font that is capable to show Vietnamese characters in the directory "fonts"
  • open any book, and select your Vietnamese font
  • close the book and navigate to the library

Now you should see the Vietnamese titles displayed correctly.

If this does not work, try to rename the file name of your Vietnamese font so that it is ranged alphabetically prior to the other fonts on the system. Try, for instance to rename "myTaiwaneseFont.ttf" to "AAmyTaiwaneseFont.ttf".

Once the book titles are displayed correctly, the dictionary might also start working. If the dictionary does than still not work, we can try something later.

Last edited by tshering; 03-07-2016 at 09:56 AM.
tshering is offline   Reply With Quote
Old 03-08-2016, 08:56 AM   #213
nicholi
Junior Member
nicholi began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2016
Device: kobo glo hd
thank you a lot, tshering.
nicholi is offline   Reply With Quote
Old 03-08-2016, 09:23 AM   #214
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 nicholi View Post
thank you a lot, tshering.
From the other thread I get that it did not work however. You might consider uploading a copyright free Vietnamese epub and the dictionary so that other people can do some tests if they like.
tshering is offline   Reply With Quote
Old 03-11-2016, 11:32 PM   #215
nicholi
Junior Member
nicholi began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2016
Device: kobo glo hd
Quote:
Originally Posted by tshering View Post
From the other thread I get that it did not work however. You might consider uploading a copyright free Vietnamese epub and the dictionary so that other people can do some tests if they like.
Thanks for your advice.

I just find out that have 2 way to use a vietnamese dictionary ( or any language that cannot be able to display in your kobo dictionary) in my kobo glo hd.
I installed the Kobo Start Menu 08 and after that i install Koreader and Coolreader. 2 of them are support for dictionary ( StarDict) and both can use vietnamese dictionary perfectly.
nicholi is offline   Reply With Quote
Old 04-08-2016, 06:18 PM   #216
MrCent
Junior Member
MrCent began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2014
Device: Kindle Touch 2012, Kobo Glo
Please update code of Library in FW 3.19.5761
MrCent is offline   Reply With Quote
Old 04-08-2016, 10:58 PM   #217
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
Quote:
Originally Posted by MrCent View Post
Please update code of Library in FW 3.19.5761
It has been posted. Just go back through the thread a little bit.
davidfor is offline   Reply With Quote
Old 04-09-2016, 09:04 AM   #218
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 MrCent View Post
Please update code of Library in FW 3.19.5761
Thank you for reminding me. I added the link to the first post.
tshering is offline   Reply With Quote
Old 05-11-2016, 11:34 AM   #219
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
This is the Modification for bad eyes' version of pipcat's "show games on Beta Features for Kobo Glo Hd" hack. Having no Glo HD, I did not test it myself.
Only for FW 3.19.5761!

Spoiler:
Add to nickel.txt
Code:
// -------------------------------------------------- enable games on Glo HD

<patch>
name=4A1388
note=idea by pipcat
note=cf. https://www.mobileread.com/forums/showthread.php?t=274027
if $glohd
  enabled=true
else
  enabled=false
end
action=replace_zlib
position=autodetect
oldpart=#spacerWidget[qApp_deviceIsTrilogy="true"],\n#description[qApp_deviceIsTrilogy="true"] {\n  padding-right: 12px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsPhoenix="true"],\n#description[qApp_deviceIsPhoenix="true"] {\n  padding-right: 15px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsDragon="true"],\n#description[qApp_deviceIsDragon="true"] {\n  padding-right: 20px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsPika="true"],\n#description[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#spacerWidget[qApp_deviceIsAlyssum="true"],\n#description[qApp_deviceIsAlyssum="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleContainer,\n#solitaireContainer,\n#rushHourContainer,\n#sudokuContainer,\n#sketchPadContainer {\n  qproperty-bottomMargin: 10;\n}\n
oldpart=#boggleContainer[qApp_deviceIsPika="true"],\n#solitaireContainer[qApp_deviceIsPika="true"],\n#rushHourContainer[qApp_deviceIsPika="true"],\n#sudokuContainer[qApp_deviceIsPika="true"],\n#sketchPadContainer[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleContainer[qApp_deviceIsAlyssum="true"],\n#solitaireContainer[qApp_deviceIsAlyssum="true"],\n#rushHourContainer[qApp_deviceIsAlyssum="true"],\n#sudokuContainer[qApp_deviceIsAlyssum="true"],\n#sketchPadContainer[qApp_deviceIsAlyssum="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleDescription[qApp_deviceIsTrilogy="true"],\n#solitaireDescription[qApp_deviceIsTrilogy="true"],\n#rushHourDescription[qApp_deviceIsTrilogy="true"],\n#browserDescription[qApp_deviceIsTrilogy="true"],\n#sudokuDescription[qApp_deviceIsTrilogy="true"],\n#scribbleDescription[qApp_deviceIsTrilogy="true"] {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n
oldpart=#boggleDescription[qApp_deviceIsPhoenix="true"],\n#solitaireDescription[qApp_deviceIsPhoenix="true"],\n#rushHourDescription[qApp_deviceIsPhoenix="true"],\n#browserDescription[qApp_deviceIsPhoenix="true"],\n#sudokuDescription[qApp_deviceIsPhoenix="true"],\n#scribbleDescription[qApp_deviceIsPhoenix="true"] {\n  padding-top: 15px;\n  padding-bottom: 15px;\n}\n
oldpart=#boggleDescription[qApp_deviceIsDragon="true"],\n#solitaireDescription[qApp_deviceIsDragon="true"],\n#rushHourDescription[qApp_deviceIsDragon="true"],\n#browserDescription[qApp_deviceIsDragon="true"],\n#sudokuDescription[qApp_deviceIsDragon="true"],\n#scribbleDescription[qApp_deviceIsDragon="true"] {\n  padding-top: 20px;\n  padding-bottom: 20px;\n}\n
newpart=#spacerWidget[qApp_deviceIsAlyssum="true"],\n#description[qApp_deviceIsAlyssum="true"] {\n  padding-right: 12px;\n}\n
newpart=#spacerWidget[qApp_deviceIsPhoenix="true"],\n#description[qApp_deviceIsPhoenix="true"] {\n  padding-right: 15px;\n}\n
newpart=#spacerWidget[qApp_deviceIsDragon="true"],\n#description[qApp_deviceIsDragon="true"] {\n  padding-right: 20px;\n}\n
newpart=#spacerWidget[qApp_deviceIsPika="true"],\n#description[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
newpart=#spacerWidget[qApp_deviceIsTrilogy="true"],\n#description[qApp_deviceIsTrilogy="true"] {\n  qproperty-visible: false;\n}\n
newpart=#boggleContainer,\n#solitaireContainer,\n#rushHourContainer,\n#sudokuContainer,\n#sketchPadContainer {\n  qproperty-bottomMargin: 10;\n}\n
newpart=#boggleContainer[qApp_deviceIsPika="true"],\n#solitaireContainer[qApp_deviceIsPika="true"],\n#rushHourContainer[qApp_deviceIsPika="true"],\n#sudokuContainer[qApp_deviceIsPika="true"],\n#sketchPadContainer[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
newpart=#boggleContainer[qApp_deviceIsTrilogy="true"],\n#solitaireContainer[qApp_deviceIsTrilogy="true"],\n#rushHourContainer[qApp_deviceIsTrilogy="true"],\n#sudokuContainer[qApp_deviceIsTrilogy="true"],\n#sketchPadContainer[qApp_deviceIsTrilogy="true"] {\n  qproperty-visible: false;\n}\n
newpart=#boggleDescription[qApp_deviceIsAlyssum="true"],\n#solitaireDescription[qApp_deviceIsAlyssum="true"],\n#rushHourDescription[qApp_deviceIsAlyssum="true"],\n#browserDescription[qApp_deviceIsAlyssum="true"],\n#sudokuDescription[qApp_deviceIsAlyssum="true"],\n#scribbleDescription[qApp_deviceIsAlyssum="true"] {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n
newpart=#boggleDescription[qApp_deviceIsPhoenix="true"],\n#solitaireDescription[qApp_deviceIsPhoenix="true"],\n#rushHourDescription[qApp_deviceIsPhoenix="true"],\n#browserDescription[qApp_deviceIsPhoenix="true"],\n#sudokuDescription[qApp_deviceIsPhoenix="true"],\n#scribbleDescription[qApp_deviceIsPhoenix="true"] {\n  padding-top: 15px;\n  padding-bottom: 15px;\n}\n
newpart=#boggleDescription[qApp_deviceIsDragon="true"],\n#solitaireDescription[qApp_deviceIsDragon="true"],\n#rushHourDescription[qApp_deviceIsDragon="true"],\n#browserDescription[qApp_deviceIsDragon="true"],\n#sudokuDescription[qApp_deviceIsDragon="true"],\n#scribbleDescription[qApp_deviceIsDragon="true"] {\n  padding-top: 20px;\n  padding-bottom: 20px;\n}\n
combineparts
</patch>

Add to libnickel.so.1.0.0.txt
Code:
<patch>
name=Beta features, show second page
note=idea by pipcat
note=cf. https://www.mobileread.com/forums/showthread.php?t=274027
if $glohd
  enabled=true
else
  enabled=false
end
action=replace_string
position=986010
olddata=\x00
newdata=\x01
</patch>

Last edited by tshering; 05-11-2016 at 11:36 AM.
tshering is offline   Reply With Quote
Old 05-11-2016, 12:53 PM   #220
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
Quote:
Originally Posted by tshering View Post
This is the Modification for bad eyes' version of pipcat's "show games on Beta Features for Kobo Glo Hd" hack. Having no Glo HD, I did not test it myself.
Only for FW 3.19.5761!

Spoiler:
Add to nickel.txt
Code:
// -------------------------------------------------- enable games on Glo HD

<patch>
name=4A1388
note=idea by pipcat
note=cf. https://www.mobileread.com/forums/showthread.php?t=274027
if $glohd
  enabled=true
else
  enabled=false
end
action=replace_zlib
position=autodetect
oldpart=#spacerWidget[qApp_deviceIsTrilogy="true"],\n#description[qApp_deviceIsTrilogy="true"] {\n  padding-right: 12px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsPhoenix="true"],\n#description[qApp_deviceIsPhoenix="true"] {\n  padding-right: 15px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsDragon="true"],\n#description[qApp_deviceIsDragon="true"] {\n  padding-right: 20px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsPika="true"],\n#description[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#spacerWidget[qApp_deviceIsAlyssum="true"],\n#description[qApp_deviceIsAlyssum="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleContainer,\n#solitaireContainer,\n#rushHourContainer,\n#sudokuContainer,\n#sketchPadContainer {\n  qproperty-bottomMargin: 10;\n}\n
oldpart=#boggleContainer[qApp_deviceIsPika="true"],\n#solitaireContainer[qApp_deviceIsPika="true"],\n#rushHourContainer[qApp_deviceIsPika="true"],\n#sudokuContainer[qApp_deviceIsPika="true"],\n#sketchPadContainer[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleContainer[qApp_deviceIsAlyssum="true"],\n#solitaireContainer[qApp_deviceIsAlyssum="true"],\n#rushHourContainer[qApp_deviceIsAlyssum="true"],\n#sudokuContainer[qApp_deviceIsAlyssum="true"],\n#sketchPadContainer[qApp_deviceIsAlyssum="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleDescription[qApp_deviceIsTrilogy="true"],\n#solitaireDescription[qApp_deviceIsTrilogy="true"],\n#rushHourDescription[qApp_deviceIsTrilogy="true"],\n#browserDescription[qApp_deviceIsTrilogy="true"],\n#sudokuDescription[qApp_deviceIsTrilogy="true"],\n#scribbleDescription[qApp_deviceIsTrilogy="true"] {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n
oldpart=#boggleDescription[qApp_deviceIsPhoenix="true"],\n#solitaireDescription[qApp_deviceIsPhoenix="true"],\n#rushHourDescription[qApp_deviceIsPhoenix="true"],\n#browserDescription[qApp_deviceIsPhoenix="true"],\n#sudokuDescription[qApp_deviceIsPhoenix="true"],\n#scribbleDescription[qApp_deviceIsPhoenix="true"] {\n  padding-top: 15px;\n  padding-bottom: 15px;\n}\n
oldpart=#boggleDescription[qApp_deviceIsDragon="true"],\n#solitaireDescription[qApp_deviceIsDragon="true"],\n#rushHourDescription[qApp_deviceIsDragon="true"],\n#browserDescription[qApp_deviceIsDragon="true"],\n#sudokuDescription[qApp_deviceIsDragon="true"],\n#scribbleDescription[qApp_deviceIsDragon="true"] {\n  padding-top: 20px;\n  padding-bottom: 20px;\n}\n
newpart=#spacerWidget[qApp_deviceIsAlyssum="true"],\n#description[qApp_deviceIsAlyssum="true"] {\n  padding-right: 12px;\n}\n
newpart=#spacerWidget[qApp_deviceIsPhoenix="true"],\n#description[qApp_deviceIsPhoenix="true"] {\n  padding-right: 15px;\n}\n
newpart=#spacerWidget[qApp_deviceIsDragon="true"],\n#description[qApp_deviceIsDragon="true"] {\n  padding-right: 20px;\n}\n
newpart=#spacerWidget[qApp_deviceIsPika="true"],\n#description[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
newpart=#spacerWidget[qApp_deviceIsTrilogy="true"],\n#description[qApp_deviceIsTrilogy="true"] {\n  qproperty-visible: false;\n}\n
newpart=#boggleContainer,\n#solitaireContainer,\n#rushHourContainer,\n#sudokuContainer,\n#sketchPadContainer {\n  qproperty-bottomMargin: 10;\n}\n
newpart=#boggleContainer[qApp_deviceIsPika="true"],\n#solitaireContainer[qApp_deviceIsPika="true"],\n#rushHourContainer[qApp_deviceIsPika="true"],\n#sudokuContainer[qApp_deviceIsPika="true"],\n#sketchPadContainer[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
newpart=#boggleContainer[qApp_deviceIsTrilogy="true"],\n#solitaireContainer[qApp_deviceIsTrilogy="true"],\n#rushHourContainer[qApp_deviceIsTrilogy="true"],\n#sudokuContainer[qApp_deviceIsTrilogy="true"],\n#sketchPadContainer[qApp_deviceIsTrilogy="true"] {\n  qproperty-visible: false;\n}\n
newpart=#boggleDescription[qApp_deviceIsAlyssum="true"],\n#solitaireDescription[qApp_deviceIsAlyssum="true"],\n#rushHourDescription[qApp_deviceIsAlyssum="true"],\n#browserDescription[qApp_deviceIsAlyssum="true"],\n#sudokuDescription[qApp_deviceIsAlyssum="true"],\n#scribbleDescription[qApp_deviceIsAlyssum="true"] {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n
newpart=#boggleDescription[qApp_deviceIsPhoenix="true"],\n#solitaireDescription[qApp_deviceIsPhoenix="true"],\n#rushHourDescription[qApp_deviceIsPhoenix="true"],\n#browserDescription[qApp_deviceIsPhoenix="true"],\n#sudokuDescription[qApp_deviceIsPhoenix="true"],\n#scribbleDescription[qApp_deviceIsPhoenix="true"] {\n  padding-top: 15px;\n  padding-bottom: 15px;\n}\n
newpart=#boggleDescription[qApp_deviceIsDragon="true"],\n#solitaireDescription[qApp_deviceIsDragon="true"],\n#rushHourDescription[qApp_deviceIsDragon="true"],\n#browserDescription[qApp_deviceIsDragon="true"],\n#sudokuDescription[qApp_deviceIsDragon="true"],\n#scribbleDescription[qApp_deviceIsDragon="true"] {\n  padding-top: 20px;\n  padding-bottom: 20px;\n}\n
combineparts
</patch>

Add to libnickel.so.1.0.0.txt
Code:
<patch>
name=Beta features, show second page
note=idea by pipcat
note=cf. https://www.mobileread.com/forums/showthread.php?t=274027
if $glohd
  enabled=true
else
  enabled=false
end
action=replace_string
position=986010
olddata=\x00
newdata=\x01
</patch>
Added in Nickel.txt and added in libnickel.so.1.0.0.txt. The patch works perfectly.
surquizu is offline   Reply With Quote
Old 05-11-2016, 01:49 PM   #221
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 surquizu View Post
Added in Nickel.txt and added in libnickel.so.1.0.0.txt. The patch works perfectly.
Thank you for testing and reporting! Posting something without having tested it makes me always feel uneasy.
tshering is offline   Reply With Quote
Old 05-12-2016, 06:07 PM   #222
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
A further adaption of pipcat's ideas.
The only meaningful test I did on the Touch was to disable all games.

Spoiler:
for libnickel.so.1.0.0.txt:
Code:
<patch>
name=Show second page of Beta Features for Glo HD
note=Idea by pipcat
note=cf. https://www.mobileread.com/forums/showthread.php?t=274027
if $glohd
  enabled=true
else
  enabled=false
end
action=replace_string
position=986010
olddata=\x00
newdata=\x01
</patch>

<patch>
name=Show scramble game for all locales
note=Idea by pipcat
note=cf. https://www.mobileread.com/forums/showpost.php?p=3316269&postcount=6
enabled=true
action=replace_string
position=985FC6
olddata=\x3E\xD0
newdata=\x00\x90
</patch>
for nickle.txt
Code:
<patch>
name=enable games 4A1388(3.19.5761)
note=you must not use this patch together with "disable games"
note=idea by pipcat
note=cf. https://www.mobileread.com/forums/showthread.php?t=274027
enabled=true
action=replace_zlib
position=autodetect
oldpart=#spacerWidget[qApp_deviceIsTrilogy="true"],\n#description[qApp_deviceIsTrilogy="true"] {\n  padding-right: 12px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsPhoenix="true"],\n#description[qApp_deviceIsPhoenix="true"] {\n  padding-right: 15px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsDragon="true"],\n#description[qApp_deviceIsDragon="true"] {\n  padding-right: 20px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsPika="true"],\n#description[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#spacerWidget[qApp_deviceIsAlyssum="true"],\n#description[qApp_deviceIsAlyssum="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleContainer,\n#solitaireContainer,\n#rushHourContainer,\n#sudokuContainer,\n#sketchPadContainer {\n  qproperty-bottomMargin: 10;\n}\n
oldpart=#boggleContainer[qApp_deviceIsPika="true"],\n#solitaireContainer[qApp_deviceIsPika="true"],\n#rushHourContainer[qApp_deviceIsPika="true"],\n#sudokuContainer[qApp_deviceIsPika="true"],\n#sketchPadContainer[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleContainer[qApp_deviceIsAlyssum="true"],\n#solitaireContainer[qApp_deviceIsAlyssum="true"],\n#rushHourContainer[qApp_deviceIsAlyssum="true"],\n#sudokuContainer[qApp_deviceIsAlyssum="true"],\n#sketchPadContainer[qApp_deviceIsAlyssum="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleDescription[qApp_deviceIsTrilogy="true"],\n#solitaireDescription[qApp_deviceIsTrilogy="true"],\n#rushHourDescription[qApp_deviceIsTrilogy="true"],\n#browserDescription[qApp_deviceIsTrilogy="true"],\n#sudokuDescription[qApp_deviceIsTrilogy="true"],\n#scribbleDescription[qApp_deviceIsTrilogy="true"] {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n
oldpart=#boggleDescription[qApp_deviceIsPhoenix="true"],\n#solitaireDescription[qApp_deviceIsPhoenix="true"],\n#rushHourDescription[qApp_deviceIsPhoenix="true"],\n#browserDescription[qApp_deviceIsPhoenix="true"],\n#sudokuDescription[qApp_deviceIsPhoenix="true"],\n#scribbleDescription[qApp_deviceIsPhoenix="true"] {\n  padding-top: 15px;\n  padding-bottom: 15px;\n}\n
oldpart=#boggleDescription[qApp_deviceIsDragon="true"],\n#solitaireDescription[qApp_deviceIsDragon="true"],\n#rushHourDescription[qApp_deviceIsDragon="true"],\n#browserDescription[qApp_deviceIsDragon="true"],\n#sudokuDescription[qApp_deviceIsDragon="true"],\n#scribbleDescription[qApp_deviceIsDragon="true"] {\n  padding-top: 20px;\n  padding-bottom: 20px;\n}\n

if $aurahd or $h2o or $glo or $aura or $glohd
    newpart=#spacerWidget[qApp_deviceIsDragon="true"],\n#description[qApp_deviceIsDragon="true"] {\n  padding-right: 20px;\n}\n
    newpart=#spacerWidget[qApp_deviceIsPhoenix="true"],\n#description[qApp_deviceIsPhoenix="true"] {\n  padding-right: 15px;\n}\n
    newpart=#spacerWidget[qApp_deviceIsAlyssum="true"],\n#description[qApp_deviceIsAlyssum="true"]  {\n  padding-right: 25px;\n}\n
else
    newpart=#spacerWidget[qApp_deviceIsTrilogy="true"],\n#description[qApp_deviceIsTrilogy="true"] {\n  padding-right: 12px;\n}\n
    newpart=#spacerWidget[qApp_deviceIsPika="true"],\n#description[qApp_deviceIsPika="true"] {\n  padding-right: 12px;\n}\n
end
newpart=#boggleContainer,\n#solitaireContainer,\n#rushHourContainer,\n#sudokuContainer,\n#sketchPadContainer {\n  qproperty-bottomMargin: 10;\n}\n
newpart=#boggleDescription[qApp_deviceIsDragon="true"],\n#solitaireDescription[qApp_deviceIsDragon="true"],\n#rushHourDescription[qApp_deviceIsDragon="true"],\n#browserDescription[qApp_deviceIsDragon="true"],\n#sudokuDescription[qApp_deviceIsDragon="true"],\n#scribbleDescription[qApp_deviceIsDragon="true"] {\n  padding-top: 20px;\n  padding-bottom: 20px;\n}\n
newpart=#boggleDescription[qApp_deviceIsPhoenix="true"],\n#solitaireDescription[qApp_deviceIsPhoenix="true"],\n#rushHourDescription[qApp_deviceIsPhoenix="true"],\n#browserDescription[qApp_deviceIsPhoenix="true"],\n#sudokuDescription[qApp_deviceIsPhoenix="true"],\n#scribbleDescription[qApp_deviceIsPhoenix="true"] {\n  padding-top: 15px;\n  padding-bottom: 15px;\n}\n
if $glohd
    newpart=#boggleDescription[qApp_deviceIsAlyssum="true"],\n#solitaireDescription[qApp_deviceIsAlyssum="true"],\n#rushHourDescription[qApp_deviceIsAlyssum="true"],\n#browserDescription[qApp_deviceIsAlyssum="true"],\n#sudokuDescription[qApp_deviceIsAlyssum="true"],\n#scribbleDescription[qApp_deviceIsAlyssum="true"] {\n  padding-top: 25px;\n  padding-bottom: 25px;\n}\n
else
    newpart=#boggleContainer[qApp_deviceIsPika="true"],\n#solitaireContainer[qApp_deviceIsPika="true"],\n#rushHourContainer[qApp_deviceIsPika="true"],\n#sudokuContainer[qApp_deviceIsPika="true"],\n#sketchPadContainer[qApp_deviceIsPika="true"] {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n
    newpart=#boggleDescription[qApp_deviceIsTrilogy="true"],\n#solitaireDescription[qApp_deviceIsTrilogy="true"],\n#rushHourDescription[qApp_deviceIsTrilogy="true"],\n#browserDescription[qApp_deviceIsTrilogy="true"],\n#sudokuDescription[qApp_deviceIsTrilogy="true"],\n#scribbleDescription[qApp_deviceIsTrilogy="true"] {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n
end
combineparts
</patch>



// -------------------------------------------------- disable games
<patch>
name=disable games on all devices 4A1388(3.19.5761)
note=you must not use this patch together with "enable games"
enabled=false
action=replace_zlib
position=autodetect
oldpart=#spacerWidget[qApp_deviceIsTrilogy="true"],\n#description[qApp_deviceIsTrilogy="true"] {\n  padding-right: 12px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsPhoenix="true"],\n#description[qApp_deviceIsPhoenix="true"] {\n  padding-right: 15px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsDragon="true"],\n#description[qApp_deviceIsDragon="true"] {\n  padding-right: 20px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsPika="true"],\n#description[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#spacerWidget[qApp_deviceIsAlyssum="true"],\n#description[qApp_deviceIsAlyssum="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleContainer,\n#solitaireContainer,\n#rushHourContainer,\n#sudokuContainer,\n#sketchPadContainer {\n  qproperty-bottomMargin: 10;\n}\n
oldpart=#boggleContainer[qApp_deviceIsPika="true"],\n#solitaireContainer[qApp_deviceIsPika="true"],\n#rushHourContainer[qApp_deviceIsPika="true"],\n#sudokuContainer[qApp_deviceIsPika="true"],\n#sketchPadContainer[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleContainer[qApp_deviceIsAlyssum="true"],\n#solitaireContainer[qApp_deviceIsAlyssum="true"],\n#rushHourContainer[qApp_deviceIsAlyssum="true"],\n#sudokuContainer[qApp_deviceIsAlyssum="true"],\n#sketchPadContainer[qApp_deviceIsAlyssum="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleDescription[qApp_deviceIsTrilogy="true"],\n#solitaireDescription[qApp_deviceIsTrilogy="true"],\n#rushHourDescription[qApp_deviceIsTrilogy="true"],\n#browserDescription[qApp_deviceIsTrilogy="true"],\n#sudokuDescription[qApp_deviceIsTrilogy="true"],\n#scribbleDescription[qApp_deviceIsTrilogy="true"] {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n
oldpart=#boggleDescription[qApp_deviceIsPhoenix="true"],\n#solitaireDescription[qApp_deviceIsPhoenix="true"],\n#rushHourDescription[qApp_deviceIsPhoenix="true"],\n#browserDescription[qApp_deviceIsPhoenix="true"],\n#sudokuDescription[qApp_deviceIsPhoenix="true"],\n#scribbleDescription[qApp_deviceIsPhoenix="true"] {\n  padding-top: 15px;\n  padding-bottom: 15px;\n}\n
oldpart=#boggleDescription[qApp_deviceIsDragon="true"],\n#solitaireDescription[qApp_deviceIsDragon="true"],\n#rushHourDescription[qApp_deviceIsDragon="true"],\n#browserDescription[qApp_deviceIsDragon="true"],\n#sudokuDescription[qApp_deviceIsDragon="true"],\n#scribbleDescription[qApp_deviceIsDragon="true"] {\n  padding-top: 20px;\n  padding-bottom: 20px;\n}\n

newpart=#spacerWidget,\n#description {\n  qproperty-visible: false;\n}\n
newpart=#boggleContainer,\n#solitaireContainer,\n#rushHourContainer,\n#sudokuContainer {\n  qproperty-visible: false;\n}\n
newpart=#sketchPadContainer {\n  qproperty-bottomMargin: 10;\n}\n
newpart=#browserDescription[qApp_deviceIsTrilogy="true"] {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n
newpart=#browserDescription[qApp_deviceIsPhoenix="true"] {\n  padding-top: 15px;\n  padding-bottom: 15px;\n}\n
newpart=#browserDescription[qApp_deviceIsDragon="true"] {\n  padding-top: 20px;\n  padding-bottom: 20px;\n}\n

combineparts
</patch>
Attached Files
File Type: zip KBPatcher14_3.19.5761_games.zip (477.0 KB, 161 views)

Last edited by tshering; 05-13-2016 at 03:35 AM.
tshering is offline   Reply With Quote
Old 05-31-2016, 08:04 PM   #223
bigbless
Junior Member
bigbless began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2016
Device: Kobo Aura HD
Hello I would like to know if it is possible to decrease the header size so that I'm able to see what is happenning on my kobo aura hd, the problem is that I can't see 2 lines of text on those gray areas.


If you can check the picutres on my thread.

https://www.mobileread.com/forums/sho....php?p=3327166

Thanks
bigbless is offline   Reply With Quote
Old 06-01-2016, 04:42 AM   #224
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
I do not have a solution for your problem. I guess the proper way to handle this would be to change the screen area used by nickel. But this would need some investigations. At least, I do not yet know how to do it.
Apart from that I can think of
1) putting a large top margin to the epubs (I believe Geoffry has a patch to overwrite the epub css settings by fixed margin values.) and
2) changing the configuration settings with the help of the configuration file, instead of using nickel's menu. By the way, one can change configuration values directly on the device with the help of KSM; and one can configure KSM to use a certain screen area. I know this is not very convenient, but ...
tshering is offline   Reply With Quote
Old 06-01-2016, 05:16 AM   #225
pipcat
Connoisseur
pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.
 
Posts: 65
Karma: 200153
Join Date: Apr 2016
Device: Kobo Glo Hd
I didn't tried it and I don't know if it could solve, but in compressed css from nickel there is a body { text-align:center; }. Maybe adding a margin-top: 50px; could do something !?

This must be done with Tshering tools and replace_zlib, but probably we need to remove some other strings to allow add margin because we can't have a bigger compressed stream.

Tshering, did you write patchit.exe ? When replacing a compressed stream inside nickel, if length is longer it is not allowed. But if length is shorter, is it ok to fill with \x00 until same length ? It would be nice to implement replace_zlib in patch32lsb, for linux users, or in a python script ;-)
pipcat is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which Ebook reader is easiest on the eyes? i.e doesn't strain your eyes when reading Berabouman Which one should I buy? 2 02-08-2013 09:07 AM
Glo Is the screen of my Glo bad or is it my eyes? Polly7 Kobo Reader 5 01-29-2013 03:56 AM
help with some modifications moller Kindle Developer's Corner 3 10-12-2012 02:31 PM
Eyes of Silver, Eyes of Gold, historical romance ellenoc Self-Promotions by Authors and Publishers 18 08-22-2011 02:34 PM
iLiad Registry modifications Martijn iRex Developer's Corner 7 03-27-2008 05:37 PM


All times are GMT -4. The time now is 08:43 AM.


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