Denim Demon
Educated
CYOA Press is a tool for compiling Codex CYOA-style Let's Plays to a single page, with only the authors posts and a style that is optimized for reading.
List of compiled books:
The Codexian Saga
Epic - Book One
Epic - Book Two
LEGEND
Myth: A New Age
Overlord
Test-Run
Warhammer: 41K
How to compile a LP?
To-do:
OP:
List of compiled books:
The Codexian Saga
Epic - Book One
Epic - Book Two
LEGEND
Myth: A New Age
Overlord
Test-Run
Warhammer: 41K
How to compile a LP?
The easiest thing you can do is to provide me with an LP index that I can feed to the program. The index is a flat list of chapters where each entry is in the following format:
For example:
Note that the URL is optional, this is for including chapters that only organize the document structure but do not have any content. For example:
For a complete sample of an index you can check out this post by Nevill.
***
If you are comfortable with using NodeJS you can actually clone / download the repository and use the tool by yourself. The code is open source and hosted on Github.
Each book should have it's own folder that contains an index.txt - have a look the repository folder structure to get the idea. There you will also find samples on how you have to structure the index (Example: Legend) if you want to feed it to the program.
Note that the out/ folder will be cleared by the tool each time it is executed! Do not put any custom stuff in there!
To execute the tool you have to run the index.js and provide the path to the folder with the book that you want to compile. For example:
Note that the path is relative to the folder where node is executed. So in the example above you would have the following folder structure:
Where node is executed from within cyoa-press/src/.
<chapter-title> (| <post-url>)
For example:
一 · A Meeting with the Ashina | http://www.rpgcodex.net/forums/index.php?posts/2843437
Note that the URL is optional, this is for including chapters that only organize the document structure but do not have any content. For example:
Prologue
一 · A Meeting with the Ashina | http://www.rpgcodex.net/forums/index.php?posts/2843437
...
Chapter One: Wanderings of Adolescence
一 · Punishment and Exile | http://www.rpgcodex.net/forums/index.php?posts/2849976
一 · A Meeting with the Ashina | http://www.rpgcodex.net/forums/index.php?posts/2843437
...
Chapter One: Wanderings of Adolescence
一 · Punishment and Exile | http://www.rpgcodex.net/forums/index.php?posts/2849976
For a complete sample of an index you can check out this post by Nevill.
***
If you are comfortable with using NodeJS you can actually clone / download the repository and use the tool by yourself. The code is open source and hosted on Github.
Each book should have it's own folder that contains an index.txt - have a look the repository folder structure to get the idea. There you will also find samples on how you have to structure the index (Example: Legend) if you want to feed it to the program.
Note that the out/ folder will be cleared by the tool each time it is executed! Do not put any custom stuff in there!
To execute the tool you have to run the index.js and provide the path to the folder with the book that you want to compile. For example:
node index.js book=../books/legend
Note that the path is relative to the folder where node is executed. So in the example above you would have the following folder structure:
cyoa-press/
src/
index.js
...
books/...
legend/
index.txt
Where node is executed from within cyoa-press/src/.
To-do:
- Improve styles for spoilers - reduce text size for once
- Improve styles for quotes - could basically use the same style as spoilers?
- Improve index rendering - Use bulleted or numbered lists, use indentations for conveying chapter hierarchy
- Compile WH42K
- (Allow for switching backgrounds in settings menu)
OP:
Experiment: What if you could take a Codex CYOA LP and put it in a more readable form, with just the authors posts on a single page and a more readable text style?
So I wrote a little tool (Github) to do just that and applied it to treaves Legend LP. After reading the first chapters the result is (imo) pretty cool. I decided to post it here so I can get some feedback on what you guys think of the idea.
The tool can basically be applied to any other LP, so if there is interest I'll write up something on how to use it.
So I wrote a little tool (Github) to do just that and applied it to treaves Legend LP. After reading the first chapters the result is (imo) pretty cool. I decided to post it here so I can get some feedback on what you guys think of the idea.
The tool can basically be applied to any other LP, so if there is interest I'll write up something on how to use it.
Last edited: