Can I replace the text in the any .rpy file with the contents of the dialogue.tab file?

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
wtfman
Regular
Posts: 37
Joined: Sat Mar 30, 2013 7:26 pm
Contact:

Can I replace the text in the any .rpy file with the contents of the dialogue.tab file?

#1 Post by wtfman »

Dialogue.tab file is made by renpy's extract dialogue command.

if this have extract command, I think there's also replace command. Like this-
for example

test.rpy

Code: Select all

$ myself = Character("Me")
$ someone = Character("Not me")

label start:
      myself "This is just the beginning..."
      someone "Eat a spider."
dialogue.tab contains:

Code: Select all

|  Identifier  |  Character   |      Dialogue       |
| start_114514 |  myself   | 이건 시작일 뿐이다... |
| start_810019 |  someone  |     거미나 먹어.     |
And result - replace dialogue.tab to test.rpy, a combination of the two files

Code: Select all

$ myself = Character("Me")

label start:
      myself "이건 시작일 뿐이다..."
      someone "거미나 먹어."
Hope there will be a command like this... or not?

User avatar
xavimat
Eileen-Class Veteran
Posts: 1461
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love
Organization: Pilgrim Creations
Github: xavi-mat
itch: pilgrimcreations
Location: Spain
Discord: xavimat
Contact:

Re: Can I replace the text in the any .rpy file with the contents of the dialogue.tab file?

#2 Post by xavimat »

There is not.

If this is about translations, renpy has its own translation system. Check it out here: https://renpy.org/doc/html/translation.html
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

Post Reply

Who is online

Users browsing this forum: Google [Bot]