![]() |
#31 |
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
kobopatch v0.5.0 beta:
It's not working for me, it's not generating librmsdk.so.1.0.0 and libadobe.so files, the output files are not patched correctly, the files size it smaller. I used kobopatch-windows-32bit.exe kobopatch-windows-64bit.exe Last edited by oren64; 04-28-2018 at 05:34 AM. |
![]() |
![]() |
![]() |
#32 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Hmm. I'll have to test this on windows. I think it's having path issues like I did with kepubify a while ago. It worked perfectly with matching checksums on Linux and macOS. Can someone test this with Linux or macOS too?
Thanks for testing it! EDIT: It seems like the issue oren64 had was due to the tgz file not completely flushing to the disk. I'll try changing a few things and see if it works. Last edited by geek1011; 04-28-2018 at 10:40 AM. |
![]() |
![]() |
![]() |
#33 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
@geek1011,
Here are my results using kobopatch v5: Test details: I used the Win64 version of kobopatch. Good News:I used my own values in the various .yaml files. This includes:
Comparing the GeoffR version of KoboRoot.tgz with the kobopatch version of KoboRoot.tgz ... Checksums (both md5 and sha256) for each of the 4 files included in KoboRoot.tgz compared exactly. Bad News: nickel.yaml only ... When I tried to uncomment the last line of patch "Custom reading footer style", kobopatch fell in a heap with this error message
Code:
Fatal: Could not read and parse patch file nickel.yaml: error parsing patch file: yaml: line 73: did not find expected ',' or '}' Clutching at straws ... is it something to do with the fact that this option is one of the few which doesn't have same string lengths for Find and Replace? The Replace option is terminated early with a trailing /0, which works OK in the current patching system. |
![]() |
![]() |
![]() |
#34 |
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
@jackie_w I wonder why it works for you on Windows and not for me, I tried to disable all the patches and it's still didn't work, I'm using Win10.
|
![]() |
![]() |
![]() |
#35 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Last edited by jackie_w; 04-28-2018 at 03:03 PM. Reason: demo.yaml |
|
![]() |
![]() |
![]() |
#36 |
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
This is what I did, but it didn't work, it writes in the end "successfully save..." but it didn't generate librmsdk.so.1.0.0 and libadobe.so files or patch correctly, I'll wait for geek1011.
Last edited by oren64; 04-28-2018 at 03:48 PM. |
![]() |
![]() |
![]() |
#37 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#38 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Thanks for testing! ![]() |
|
![]() |
![]() |
![]() |
#39 |
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
Yes, the file size is different by 2-3 byte every run.
|
![]() |
![]() |
![]() |
#40 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
If I physically unpack the kobopatch KoboRoot.tgz with 7-Zip I find 4 files. If I just view in WinRar and drill down I only see 2 listed (nickel, librmsdk.so.1.0.0) If I try to physically unpack the kobopatch KoboRoot.tgz with WinRar it tells me the file is corrupt and only unpacks the 2 files. If I use 7-Zip rather than WinRar to view I see all 4 files if I drill down. Also, there appears to be an extra directory level in the kobopatch KoboRoot.tgz file. I've attached an image of old (top) vs. new (bottom) when both .tgz files are viewed in 7-Zip: Code:
old patcher: \KoboRoot.tgz\KoboRoot.tar\usr\local\Kobo\ kobopatch: \KoboRoot.tgz\KoboRoot.tar\.\usr\local\Kobo\ |
|
![]() |
![]() |
![]() |
#41 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
The non-matching directory structure I mentioned in my previous post still exists though. |
|
![]() |
![]() |
![]() |
#42 | |
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
Quote:
I used WinRar, there 2 files with WinRar, I tried now with 7zip and there is 4 files. The files with 7zip seem to be okay, I'm a little confused with that. See if the file KoboRoot.tgz size is different every run. |
|
![]() |
![]() |
![]() |
#43 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
As for the extra dot, that does not make a difference in the extraction, as it means the current directory. If it bothers you, I can remove it though. Thanks for looking into this! It probably saved me a few hours of time. ![]() |
|
![]() |
![]() |
![]() |
#44 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Can you and jackie_w post the patched KoboRoot.tgz itself so I can try a few things with it (just add .txt to the file extension so you can upload it)? Last edited by geek1011; 04-28-2018 at 05:18 PM. |
|
![]() |
![]() |
![]() |
#45 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Here's my patched KoboRoot.tgz The file was too big to be renamed as a .txt for MR so I've renamed it as a .zip
Last edited by jackie_w; 05-10-2018 at 06:06 AM. Reason: removed attachment - no longer required |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo [WIP] Port of Kindle Paperwhite OS | giorgio130 | Kobo Developer's Corner | 59 | 04-26-2016 08:25 AM |
Android [WIP] Overclocking the PE | plasticarmyman | enTourage eDGe | 16 | 06-11-2012 07:08 PM |
Seriously thoughtful I always knew Windows was a WIP | GeoffC | Lounge | 4 | 02-06-2010 02:20 AM |
Thirty - WIP - comments wanted | ravenlife | Writers' Corner | 20 | 08-16-2009 12:10 PM |
Opinions needed on a WIP ebook | Nate the great | Workshop | 5 | 07-15-2009 11:38 AM |