How to modify a Renpy Game ?

Cryptor

Member
Jul 16, 2017
409
559
Hi Folks,

im very interesting in all this Renpy Games and want to learn more about. i got DAZ Studio and wanna learn, but i need a begin.
is it possible to edit a game? (models) only for learning . how can i extract the files and open in DAZ Studio ?
 

Porcus Dev

Engaged Member
Game Developer
Oct 12, 2017
2,582
4,681
With daz you create the scene (with characters and 3D scenarios, lights, etc...) and render images... those images are the ones that are then used in renpy... but you can't get the 3d models from renpy since they're not there, they're just images.
 
  • Like
Reactions: Cryptor

79flavors

Well-Known Member
Respected User
Jun 14, 2018
1,546
2,160
RenPy games are made up from a number of elements.

The Story:
There is a script that RenPy uses to tell the story, decide when to show a picture or play a sound or give the player choices or anything else that the game does.
These are stored in .rpy files and are just simple text files that RenPy uses as commands.
Some games will already let you access them directly (look in the game's /game/ folder.)
Some games compress everything down into the RenPy version of a ZIP file it calls an .rpa archive. These can be uncompressed using a tool like .
This is the sort of stuff you'd use if you say... wanted add extra story or correct someone else's spelling.

If you're interested in writing your own RenPy game... then reading other people's code can help. Or watch some of the introductory videos a few people have put on YouTube on how to write RenPy code. Or just work your way through RenPy's own documentation. Fair warning though... if you look at someone else's code... keep in mind... just because it works, doesn't automatically mean it's the right way to write it. Lots of people have been copy-pasting someone else's badly written code, year after year.

Images:
This seems to be what you are really asking about. And as mgomez has already said... these are just normal static images.
Someone spent literal hours and days using a tool like Daz3D to convert (render) those 3D models and scenes into the images you see in game.
They used Daz3D (or something else) to place 3D objects into the world, set up the lighting, move the arms, legs, eyebrows, pot plants, furniture and everything else you can see where it should be, then rendered that scene from a particular point of view (virtual camera).
The scene itself is stored within Daz3D's own internal files. But can only be seen by rendering it to create a picture, which is then saved separately.
It's those saved images that RenPy show to you.

But in the same way you can't recreate the original picture once someone has applied a camera filter to it... you can't work backwards from an image back to the 3D model that created it.

The best you could do, is get a copy of the Daz3D scene files and all the 3D models that were used to create it and then use Daz3D to recreate it (or move things around and re-render your new version). But most authors won't want to share their 3D models and won't want to give away their scenes.

The closest you're likely to get is to try to recreate the scene yourself using your best guess as to which models and textures were used. But I'm guessing if you already knew how to do that, you wouldn't be asking on these forums how to recreate the images you're seeing in game.

If you're interested in your own game... it really is just going to be the case that you'll need to learn how to use something like Daz3d yourself. Again, there are excellent tutorial video on YouTube. There's here on the site already for a very specific picture.
There are simpler solutions like 2D art (if you're so inclined). Or 3D modelling software like , which will create less ultra realistic images for your game. But Daz3D is free and lots of the 3D asset files are on pirate sites.

Everything else:
There loads more. Screens, music, sounds, fonts, custom defined objects, prewritten routines, all sorts of stuff.
But it doesn't sound like that's what you meant.