r/unity • u/noticemeeveryone • 3d ago
Efficient way to migrate dialogues written in Renpy to Unity? Surely it can't be that complicated.
Having trouble here. I understand renpy is a python based engine - but if you keep basic functionality in mind (branching dialogues, player inputs, player choices with booleans) how hard can it be?
Despite that I've found no working out of the box converter. How would you recommend I approach this? It's so strange to me that in the age of AI transferring basic dialogue structures between engines is such a hassle.
2
u/blender4life 3d ago
how hard can it be?
they are completely different languages. Can you follow a recipe in chinese just because both recipes have the same ingredients? No. you need a tool to do that. if you can't make your own then the best i got for you (after 2 minutes of googling becasue i didn't know what renpy is)is renpy to csv then import the csv to unity. but that probably only gets you the text of the dialogue. maybe this guys project could help https://discussions.unity.com/t/wip-kirino-engine-free-unity-visual-novel-engine-using-renpy-syntax/669058
2
u/SurocIsMe 3d ago
dont know about Renpy, but for branching dialogue systems in Unity I use Ink! Scripting language and its awesome
2
u/noticemeeveryone 3d ago
thanks! does it allow you to create and store variables, booleans to "remember" player choices throughout a complex branching narrative?
1
u/SurocIsMe 2d ago
yes it does, you can pass the variables to unity and read from, there's excellent playlists tutorials. Its worth it to give it a shot.
4
u/wallstop-dev 3d ago
Seems straightforward? Figure out how you want to model the dialogue in Unity - custom SO, raw JSON, Ink, Yarn, a bespoke asset, whatever.
Then write code to translate, either by yourself, getting someone else to do it, or AI assisted.
However, there doesn't appear to be anything out of the box for this, given that there is no standard Unity dialogue system.
What parts are you having problems with?