Converting prose to VN?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Destiny-Smasher
Newbie
Posts: 13
Joined: Wed Aug 09, 2017 7:10 pm
Projects: Life is Strange: All Wounds
Tumblr: destiny-smasher.tumblr.com
Contact:

Converting prose to VN?

#1 Post by Destiny-Smasher » Thu Jan 11, 2018 11:44 pm

So I've been working on the story for my visual novel for two years now. It's finally finished, in prose form (I was posting each chapter of it online as I went so I could get feedback and share the story with those who just want to read).

Now that the story -- or should I say, the draft script -- is finished, I'm wanting to adapt it to visual novel format.

Since it's written in prose form currently, I'm wondering if there are any efficient ways to go about this to help save time. So far, I've just been individually formatting every single line of prose and coding it to fit the format of Renpy, but I figure there must be some shortcuts I've just not thought about. I tried to run a search on the forums here but I can't seem to find anything (then again, the website seems to break when I try to run a search, so).

Even just being able to add a " at the start and end of every line that doesn't already have them could be very useful.

Any guidance is greatly appreciated!

User avatar
Remix
Miko-Class Veteran
Posts: 893
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I cannot draw very well)
Projects: An un-named 3d anime based trainer game
Contact:

Re: Converting prose to VN?

#2 Post by Remix » Sat Jan 13, 2018 10:41 am

Without seeing the actual form of the prose it is difficult to actually forward many ideas...

You could actually set the standard lexer to ignore quotations by the way, which would allow:
char_name this is a sentence spoken by Alice's friend "Eileen" which would display fine
interpreted the same as the normal:
char_name "this is a sentence spoken by Alice's friend \"Eileen\" which would display fine"

No idea if that helps though

philat
Eileen-Class Veteran
Posts: 1354
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

Re: Converting prose to VN?

#3 Post by philat » Sun Jan 14, 2018 9:49 pm

Yeah, hard to say for certain without knowing what you need specifically. That said, adding quotes to each line should be just a matter of find/replace using line breaks. In MS Word by default, for instance, you'd search for ^p or ^l to find linebreaks and add quotes before/after. You can adjust for doubled quotes by finding "" and replacing with ", and fix other errors. Maybe not 100%, but faster than doing it by hand still. Sublime uses /n for line breaks in regex mode. I don't use other software, but there should be similar tricks for most feature-robust ones.

Post Reply

Who is online

Users browsing this forum: No registered users