Skip to content

Latest commit

 

History

History
executable file
·
41 lines (33 loc) · 1.84 KB

README.md

File metadata and controls

executable file
·
41 lines (33 loc) · 1.84 KB

Description

This collection of scripts attempts to automate the conversion of Higurashi PC version (sold on steam) script files into a passable epub ebook file.

The final goal is to support added richness from modified scripts which can be found at https://github.com/07th-mod

Epub template based on the files provided in "電書協 EPUB 3 制作ガイド ver.1.1.3 2015年1月1日版" at http://ebpaj.jp/counsel/guide Guidance from http://k-airyuu.hatenablog.com/entry/2014/02/27/211823 was employed to understand how to adapt the template for my usage.

Requirements

cygwin (or general linux shell environment? untested)
zip
awk
sed

Instructions

  • Ensure that all files from this prettify distribution are in the same directory as the game script files for the game you are converting.
  • Update the information in metadata.txt
  • run prettify_init.sh from the shell, i.e. ./prettify_init.sh
  • Optionally convert the epub to kindle format (mobi) using kindlegen.exe (drag-drop works)

Files

book-template/ files that constitute the template used to create an epub
'KindleGen Legal Notices 2013-02-19 Windows.txt'
kindlegen.exe for generating a mobi file from the epub file
metadata.txt important information about book (title, filename, etc)
prettify.awk does the actual processing of the game scripts
prettify_commandgen.awk prepares a script which runs everything else
prettify_init.sh starts the process of conversion, this is the only script you have to run manually
README_prettify.txt this file

Status

Fully working with unmodded scripts. No signifiers for which character is speaking (as this is not indicated in the unmodified PC game)

Mostly working for modded scripts. Pleasing display of character name before spoken lines. No special handling of multiple choice selection yet.