View Single Post
Old 04-27-2018, 06:33 PM   #28
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,808
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by oren64 View Post
It didn't work for me, the output file is wrong, I don't know what it did but it didn't replace the string in nickel, I used the 64bit Win file.

Also command prompt close after the process is done, can you keep it open.
I used bat file with /k.
Can you also upload nickel?

It seems like it should have worked (it worked for me):
Code:
  reading entry
    entry: ./usr/local/Kobo/nickel - size:4787988, mode:509
    checking if entry needs patching
    entry needs patching
    checking type before patching - typeflag: 48
    reading entry contents
    loading patch file: nickel.yaml
        loading patch file
        parsing patch file
        validating patch file
          ic:1
          ic:1
          ic:1
          ic:1
          ec:1, e:true, pgc:0, pg:, dc:1
          enabledPatchGroups:map[]
    applying patch file
        validating patch file
          ic:1
          ic:1
          ic:1
          ic:1
          ec:1, e:true, pgc:0, pg:, dc:1
          enabledPatchGroups:map[]
        looping over patches
          ResetBaseAddress()
          Enabled: true
        applying patch `Disable Reading Footer`
        looping over instructions
          skipping non-instruction Enabled(), PatchGroup() or Description()
          skipping non-instruction Enabled(), PatchGroup() or Description()
          FindReplaceString("ReadingFooter {\n  qproperty-footerMargin: 105;\n}\n", "ReadingFooter {min-height:15px;max-height:15px;}\n")
            FindBaseAddressString("ReadingFooter {\n  qproperty-footerMargin: 105;\n}\n")
            ReplaceString(0, "ReadingFooter {\n  qproperty-footerMargin: 105;\n}\n", "ReadingFooter {min-height:15px;max-height:15px;}\n")
          FindReplaceString("#caption[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n", "#caption {font-size:1px;color:transparent;}\n\x00")
            FindBaseAddressString("#caption[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n")
            ReplaceString(0, "#caption[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n", "#caption {font-size:1px;color:transparent;}\n\x00")
    copying new header to output tar - size:4787988, mode:509
    writing patched binary to output
geek1011 is offline   Reply With Quote