View Single Post
Old 06-06-2016, 08:16 AM   #9
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,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
@pipcat,

Thanks for your continued investigations.

Although modifying nickel this way is probably not for the technically faint-hearted the biggest problem will be that most Windows users will not have Python installed on their PC and so will not be able to run extract.py or patch.py. What they may not know is that if they do have calibre installed on the PC, it's possible to use the Python bundled inside calibre to run .py files.

This is a simple Windows .bat file to run extract.py via calibre's Python. It should be placed in the same directory as extract.py:
Code:
echo off
set STARTDIR=%~dp0
calibre-debug "%STARTDIR%extract.py"
PAUSE
patch.py can be run via a similar .bat file replacing the red bit with patch.py
jackie_w is offline   Reply With Quote