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 05-31-2016, 04:00 PM   #151
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
Quote:
Originally Posted by Josieb1 View Post
then copied and pasted the new 15 lines patch from oren_64s spolier, and now the bat file won't run.
You need to disable the old patch or delete it after you copy the new patch.

Last edited by oren64; 05-31-2016 at 04:02 PM.
oren64 is offline   Reply With Quote
Old 05-31-2016, 04:04 PM   #152
Josieb1
Grand Sorcerer
Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.
 
Posts: 5,086
Karma: 18051062
Join Date: Nov 2009
Location: UK
Device: Kindle Scribe, Coloursoft, PW SE, Kindle 6, Kobo Libra 2
Unhappy

I officially give up. I deleted the new folder and re copied the origional folder containing the source and target files and renamed it. The original folder can happily run the bat prompt but the copied folder won't. My two folders are identical except for the main folder name, the contents are the same.

I guess I dare not try and do any amendments to the original patch file as I have no idea whats going on.
Josieb1 is offline   Reply With Quote
Old 05-31-2016, 04:05 PM   #153
Josieb1
Grand Sorcerer
Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.
 
Posts: 5,086
Karma: 18051062
Join Date: Nov 2009
Location: UK
Device: Kindle Scribe, Coloursoft, PW SE, Kindle 6, Kobo Libra 2
Quote:
Originally Posted by oren64 View Post
You need to disable the old patch or delete it after you copy the new patch.
They are not in the same location. The old patch is in a totally seperate folder.

I have two folders.

Kobo Patches Glo HD 3.19.5761
and
Kobo Patches Glo HD 3.19.5761 (15 lines version)

both folders have their own Kobo Glo HD Patches folder that contains the source and the target plus the original zip files. They are on the same laptop (i.er in dropbox) but not in the same folder. And nothing has gone to my kobo yet as the Kobo Patches Glo HD 3.19.5761 (15 lines version) folder can't generate a tgz file.

or are you saying I must delete one folder and only have one copy of each file/folder on my laptop? if so how does the bat file know another version exists on the drive?

Edited to say the non 15 lines folder (the original) runs a bat command with the other folder on the drive, but the source bat in the 15 lines version folder won't even with nothing changed.

Last edited by Josieb1; 05-31-2016 at 04:11 PM.
Josieb1 is offline   Reply With Quote
Old 05-31-2016, 04:05 PM   #154
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Josieb1 View Post
I have the original patch files (source and target) and the new files in seperate folders (I took a copy before I started).
Just a thought. You didn't create these separate folders inside any of the 3 main folders 3.19.5761_source, 3.19.5761_target, tools, did you? The Patcher may not like that.
jackie_w is offline   Reply With Quote
Old 05-31-2016, 04:15 PM   #155
Josieb1
Grand Sorcerer
Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.
 
Posts: 5,086
Karma: 18051062
Join Date: Nov 2009
Location: UK
Device: Kindle Scribe, Coloursoft, PW SE, Kindle 6, Kobo Libra 2
Quote:
Originally Posted by jackie_w View Post
Just a thought. You didn't create these separate folders inside any of the 3 main folders 3.19.5761_source, 3.19.5761_target, tools, did you? The Patcher may not like that.
no i didn't, each folder contains the original zip files for both patch and firmware plus the extracted files
Josieb1 is offline   Reply With Quote
Old 05-31-2016, 04:18 PM   #156
Josieb1
Grand Sorcerer
Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.
 
Posts: 5,086
Karma: 18051062
Join Date: Nov 2009
Location: UK
Device: Kindle Scribe, Coloursoft, PW SE, Kindle 6, Kobo Libra 2
I have deleted the folder ending in the words 15 lines version and am coping the original folder to a usb key. see if taking if off the c drive makes any difference. I'll try and re run the existing bat file before making any changes.
Josieb1 is offline   Reply With Quote
Old 05-31-2016, 04:19 PM   #157
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
I missed a few of your posts. I think the Patcher will only work with the folder names provided (3.19.5761_source, 3.19.5761_target, tools). So don't do any folder renaming.

Backup your old versions by all means but store them somewhere else. Your updated libnickel.so.1.0.0.patch must be placed in folder 3.19.5761_source.

The easiest way is to edit your old working 3.19.5761_source\libnickel.so.1.0.0.patch file in-situ.
jackie_w is offline   Reply With Quote
Old 05-31-2016, 04:23 PM   #158
Josieb1
Grand Sorcerer
Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.
 
Posts: 5,086
Karma: 18051062
Join Date: Nov 2009
Location: UK
Device: Kindle Scribe, Coloursoft, PW SE, Kindle 6, Kobo Libra 2
Quote:
Originally Posted by jackie_w View Post
I missed a few of your posts. I think the Patcher will only work with the folder names provided (3.19.5761_source, 3.19.5761_target, tools). So don't do any folder renaming.

Backup your old versions by all means but store them somewhere else. Your updated libnickel.so.1.0.0.patch must be placed in folder 3.19.5761_source.

The easiest way is to edit your old working 3.19.5761_source\libnickel.so.1.0.0.patch file in-situ.
The bat file for the new patch (just changing the original section you gave me) ran when on the F drive (my usb key). The original folder is on the C drive.

I never changed any folder names in source or target only the overall name of the folder they were all stored in. The only thing different now is the overall folder name and the fact it was on a different drive letter.
Josieb1 is offline   Reply With Quote
Old 05-31-2016, 04:28 PM   #159
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Josieb1 View Post
The bat file for the new patch (just changing the original section you gave me) ran when on the F drive (my usb key). The original folder is on the C drive.

I never changed any folder names in source or target only the overall name of the folder they were all stored in. The only thing different now is the overall folder name and the fact it was on a different drive letter.
Ah-ha! I think the brackets in your folder name - Kobo Patches Glo HD 3.19.5761 (15 lines version) - are the culprits.
jackie_w is offline   Reply With Quote
Old 05-31-2016, 04:29 PM   #160
Josieb1
Grand Sorcerer
Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.
 
Posts: 5,086
Karma: 18051062
Join Date: Nov 2009
Location: UK
Device: Kindle Scribe, Coloursoft, PW SE, Kindle 6, Kobo Libra 2
I've just transfered the new tgz file to my kobo and its made a big difference, thank you to both Oren64 for sticking with me and Jackie_w for the changes to the patch. I'll keep the old folder on a usb key and only the new one on my c drive.

Thank you both again

Last edited by Josieb1; 05-31-2016 at 04:31 PM.
Josieb1 is offline   Reply With Quote
Old 05-31-2016, 04:30 PM   #161
Josieb1
Grand Sorcerer
Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.
 
Posts: 5,086
Karma: 18051062
Join Date: Nov 2009
Location: UK
Device: Kindle Scribe, Coloursoft, PW SE, Kindle 6, Kobo Libra 2
Quote:
Originally Posted by jackie_w View Post
Ah-ha! I think the brackets in your folder name - Kobo Patches Glo HD 3.19.5761 (15 lines version) - are the culprits.
Thank you ,

Such a little thing to cause such issues. I am death to code I really am
Josieb1 is offline   Reply With Quote
Old 05-31-2016, 06:25 PM   #162
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,518
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
One thing I tend to do is never launch a batch file by clicking on it. Rather I open a CMD shell and run the batch file from the command prompt. This way I can more easily see any error messages.
PeterT is offline   Reply With Quote
Old 06-01-2016, 12:09 AM   #163
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by jackie_w View Post
Ah-ha! I think the brackets in your folder name - Kobo Patches Glo HD 3.19.5761 (15 lines version) - are the culprits.
I don't know how to fix that in the batch file, so I've just added to the warning in the patching instructions about characters to avoid using in the pathname on windows.

The Linux/Mac script sidesteps this problem by using pathnames relative to the current working directory, but that means it is up to the user to switch to that directory first.
GeoffR is offline   Reply With Quote
Old 06-01-2016, 03:56 AM   #164
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
If we want to see how other people has customized some hacks, for example for "My 15 lines" patch, I added this option in web site KHD. With that, we can see examples of diferent values that users prefers, and also how many profiles enabled or not the patch. For instance it doesn't have so much value because there are very few user profiles, but maybe after some time we get more info ;-)
Example with My 15 lines for firmware 3.19.5761: http://pip.cat/khd/details.php?id=518
Other hacks, through http://pip.cat/khd
pipcat is offline   Reply With Quote
Old 06-01-2016, 04:24 AM   #165
Josieb1
Grand Sorcerer
Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.Josieb1 ought to be getting tired of karma fortunes by now.
 
Posts: 5,086
Karma: 18051062
Join Date: Nov 2009
Location: UK
Device: Kindle Scribe, Coloursoft, PW SE, Kindle 6, Kobo Libra 2
Quote:
Originally Posted by GeoffR View Post
I don't know how to fix that in the batch file, so I've just added to the warning in the patching instructions about characters to avoid using in the pathname on windows.

The Linux/Mac script sidesteps this problem by using pathnames relative to the current working directory, but that means it is up to the user to switch to that directory first.
Sorry about causing the hassle Geoff I've added that into my own notes so it's not a mistake I'll make again.
Josieb1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unofficial Sigil patches varlog Sigil 8 11-12-2014 06:14 PM
Index: Making a linked index in epub virtual_ink ePub 21 10-19-2011 11:23 PM
DR800 Long time to index files after upgrading firmware? Albyr iRex 29 06-18-2011 05:23 PM
How to apply the enhancements/patches ? nubbol Calibre 2 09-04-2010 11:42 PM
iLiad Applying DR GTK+ patches to iLiad ericshliao iRex Developer's Corner 16 03-14-2010 05:39 AM


All times are GMT -4. The time now is 09:49 AM.


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