View Single Post
Old 10-22-2016, 07:34 PM   #254
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>

Hi tshering,

Can you update the patch for version 4.1.7729?
-patch nickel: the autodetection patch gives me an error

Spoiler:
Code:
//                    Patching start: "nickel"
//////////////////////////////////////////////
patchit 0.15
loading D:\TEMP\KBPatcher15_4.1.7729_02\4_plus_source\nickel.txt
loading source file: D:\TEMP\KBPatcher15_4.1.7729_02\4_plus_source\nickel
3: (regular patch) 4A1388
  processing ...
ERROR:autodetect did not find position of the patch 4A1388
ERROR processing D:\TEMP\KBPatcher15_4.1.7729_02\4_plus_source\nickel.txt


-patch libnickel: I do not located the position of memory.

Thanks
surquizu is offline   Reply With Quote