VNDS -> Ren'Py Converter

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
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

VNDS -> Ren'Py Converter

#1 Post by PyTom »

Here's a quick hack that converts VNDS games into Ren'Py games. To use it:

0) Get Ren'Py 6.10 or later.
1) Create a new Ren'Py project.
2) Delete the contents of the game directory.
3) Download a .novel file from http://digital-haze.net/vnds.php , rename it to .zip, and extract it into the game directory.
4) Place the two attached files (convert.py and _common.rpy) into the game directory.
5) Using Python, run convert.py.
6) Use Ren'Py to lint and run the game.

I've gotten this to work with:

- plain song

You need to change the

Code: Select all

jump story.scr Menu
at the end of script/main.scr to

Code: Select all

jump story.scr
, since the main label doesn't exist.

- saya no uta

Requires no changes.

- tsukihime

In s185.scr, change

Code: Select all

jump 186.scr
to

Code: Select all

jump s186.scr
In s297.scr, change

Code: Select all

jump 298.scr
to

Code: Select all

jump s298.scr

This is a total hack, and may or may not work with other games. Even if it does work, it will create a game with DS-quality graphics, just scaled up three times. And using ADV mode rather than NVL-mode. Don't redistribute games without the authors' permission. By "work", I mean the game runs without obvious errors. I haven't bothered testing for non obvious ones. And sound/voice doesn't work at all.
Attachments
convert.py
(6.44 KiB) Downloaded 183 times
_common.rpy
(353 Bytes) Downloaded 149 times
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

delta
Epitome of Generic
Posts: 525
Joined: Sat Dec 22, 2007 12:59 pm
Projects: yes
Contact:

Re: VNDS -> Ren'Py Converter

#2 Post by delta »

...is there an actual reason for this? Because I can't think of one apart from "because it's possible".
The rest is left as an exercise for the reader.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: VNDS -> Ren'Py Converter

#3 Post by PyTom »

Nope!
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

JinzouTamashii
Eileen-Class Veteran
Posts: 1686
Joined: Mon Sep 21, 2009 8:03 pm
Projects: E-mail me if you wanna rock the planet
Location: USA
Contact:

Re: VNDS -> Ren'Py Converter

#4 Post by JinzouTamashii »

Holy shit! I've got a DS, I just don't how the homebrew flash thing whatever it's called. Oh... Damn... I thought this was the reverse.

Ren'py to VNDS? Will it be so?
delta wrote:...is there an actual reason for this?
荒らし。
Don't worry, we can get through it together. I didn't forget about you! I just got overwhelmed.
https://cherylitou.wordpress.com

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: VNDS -> Ren'Py Converter

#5 Post by PyTom »

Ren'py to VNDS? Will it be so?
Probably not anytime soon. Ren'Py is a superset of VNDS, and so the problem was much easier.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

delta
Epitome of Generic
Posts: 525
Joined: Sat Dec 22, 2007 12:59 pm
Projects: yes
Contact:

Re: VNDS -> Ren'Py Converter

#6 Post by delta »

JinzouTamashii wrote: 荒らし。
Yeah, fuck you too.
The rest is left as an exercise for the reader.

JinzouTamashii
Eileen-Class Veteran
Posts: 1686
Joined: Mon Sep 21, 2009 8:03 pm
Projects: E-mail me if you wanna rock the planet
Location: USA
Contact:

Re: VNDS -> Ren'Py Converter

#7 Post by JinzouTamashii »

Not even if you paid me.
Don't worry, we can get through it together. I didn't forget about you! I just got overwhelmed.
https://cherylitou.wordpress.com

delta
Epitome of Generic
Posts: 525
Joined: Sat Dec 22, 2007 12:59 pm
Projects: yes
Contact:

Re: VNDS -> Ren'Py Converter

#8 Post by delta »

I don't think anyone cares about how you make a living and it's not the topic of this thread.
The rest is left as an exercise for the reader.

lunasspecto
Regular
Posts: 160
Joined: Wed Aug 22, 2007 7:59 pm
Location: USA: New York City (school) and Massachusetts (home)
Contact:

Re: VNDS -> Ren'Py Converter

#9 Post by lunasspecto »

Now I don't need Wine to play True Remembrance on Ubuntu, assuming this works for True Remembrance. But I should probably just use Wine anyway.
from the virtual desk of Kazuki Mishima

delta
Epitome of Generic
Posts: 525
Joined: Sat Dec 22, 2007 12:59 pm
Projects: yes
Contact:

Re: VNDS -> Ren'Py Converter

#10 Post by delta »

It "works" for True Rememberance, but I would really really not recommend doing so. vnds is a very rudimentary standalone engine which does not run stock games at all - the games listed on the vnds site is all it runs. All games available were specifically ported to it (without permission as well), and the porting losses are tremendous. vnds has exactly one function - letting you read some castrated VNs on the DS. Until there are games specifically developed for vnds, going into the other direction makes no sense.

Not to mention that most of the vnds games are ports from NScripter games, for which several full-featured engine replacements are available anyway, on more platforms than Ren'Py itself supports. That leaves TR, F/sn (which are KiriKiri games) and Saya no Uta (which uses an old version of NSS), and those should run under Wine, and incidentally suffer the most from having compromised audio and no visual effects.
The rest is left as an exercise for the reader.

Post Reply

Who is online

Users browsing this forum: Google [Bot], Nozori_Games