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
Regular
Posts: 40
Joined: Wed Aug 09, 2017 7:10 pm
Projects: DownRight Fierce, Life is Strange: All Wounds
Tumblr: destiny-smasher.tumblr.com
itch: destiny-smasher
Contact:

Converting prose to VN?

#1 Post by Destiny-Smasher »

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
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: Converting prose to VN?

#2 Post by Remix »

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
Frameworks & Scriptlets:

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

Re: Converting prose to VN?

#3 Post by philat »

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: Bing [Bot], Google [Bot], Ocelot