Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Other formats

Notices

Reply
 
Thread Tools Search this Thread
Old 12-12-2010, 05:03 PM   #1
maddz
Wizard
maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.
 
Posts: 1,271
Karma: 28630044
Join Date: Mar 2010
Location: UK
Device: Kobo Forma, Icarus, iPad Mini 2, Kobo Touch, Google Nexus 7
Splitting .prc (and .mobi files)

Not sure if this is possible or not, but I have some collected works which I want to split back out into the individual books (the collections aren't following the internal chronology of the series very well which is annoying). The earlier collections are .prc format, the later are .mobi, both fortunately don't have DRM applied.

What I want to do is to open the file, save it as the individual book, and delete the content that is not that book, then repeat the process for each of the books and novellas in that collected file. I looked using TextEdit, but the .prc format doesn't lend itself to that. I could download text versions and modify those, but I want the compression of the .prc files.

Any suggestions? I use a Mac, OX 10.5, reading on an Aluratek Libre.
maddz is offline   Reply With Quote
Old 12-12-2010, 05:48 PM   #2
ATDrake
Wizzard
ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.
 
Posts: 11,517
Karma: 33048258
Join Date: Mar 2010
Location: Roundworld
Device: Kindle 2 International, Sony PRS-T1, BlackBerry PlayBook, Acer Iconia
Basically you'd have to export out to HTML (Mobipocket is really just a modified HTML 3.2 that's compressed) edit out the bits you don't want, and convert it back to Mobi again.

I actually recommend making a proper ePub file from your extracted text and converting that to Mobi. Easier to edit again later without having to go through the entire process all over again.

You can use any number of tools for this: Calibre, MobiPerl, or Mobiunpack (all created by MR forum members, with support threads) to extract, your favourite text editor or a specialized tool like Sigil to re-create the book you want.

And then use Calibre, MobiPerl, or Amazon's KindleGen or Kindle Previewer app (these last require an Intel Mac w/10.5 or better) to create your new Mobi file (under KindleGen, use the -c2 setting for tightest compression, and the KindleStrip python script to get of excess bloat).

Incidentally, if you have access to an ePub or even HTML source for your books, it'd be best to start from that. Tidier and simpler and that's how I've been modifying my Baen and Fictionwise MultiFormat stuff so that it displays the way I want it to on my Kindle.

Hope this helps.
ATDrake is offline   Reply With Quote
Advert
Old 12-12-2010, 06:02 PM   #3
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Note that an ePub is a zip file, so if you convert from MOBI to ePub you can unzip the result and edit it as needed. Also, it sounds like all you will need to do is edit the .opf and .ncx files. If you are using Calibre to go back to MOBI, you may even be able to leave the skipped HTML files in place because Calibre will likely prune them.
wallcraft is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Will non-drm prc (mobi) files work with the Kindle app? tmgplc Amazon Kindle 8 01-05-2011 10:17 PM
K3 splitting words in Mobi RockSlice Calibre 11 12-31-2010 01:38 AM
Serious slowdown opening Mobi/PRC files Coleccionista Calibre 1 09-16-2010 10:49 AM
Best method to edit body of .prc/.mobi files? Skydog Kindle Formats 0 12-25-2009 04:29 PM
Splitting files... or something? *Angie* Calibre 4 09-14-2009 07:42 PM


All times are GMT -4. The time now is 10:47 PM.


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