Mod Ren'Py Universal Ren'Py Mod / URM [2.6.2] (mod any Ren'Py game yourself)

5.00 star(s) 48 Votes

Gattsu#Struggler

Active Member
May 8, 2017
800
1,500
356
2)u talked about "renpeny game folder" which I'm not aware on Android where I can locate it, if it's not too much to ask can u pls guide me!!!
The location of the game folder for any ren'py game on android is:
  • "(root)/data/user/0/(com.)GameTitle/files/game/"
You can always find the game folder or save location for a ren'py game on android if you take a look on the log.txt file located at
  • "internal storage/Android/data/(com.)GameTitle/files/log.txt"
 
  • Like
Reactions: Boehser Onkel

Nironan

Member
Dec 27, 2017
208
193
176
Firstly ty for such a detailed response :D
1) I'm aware of joiplay and have used it n number of times,I downloaded the window version, download renpy plugin and all but the moment I click the app it crashes, no idea why but hornycraft does not open on joiplay version 1.20.023. I will try again with updated version and let you know in few days.
2)u talked about "renpeny game folder" which I'm not aware on Android where I can locate it, if it's not too much to ask can u pls guide me!!!
Yeah that version is quite actually. And you likely aint got the different renpy plugins?
You don't have permission to view the spoiler content. Log in or register now.
3) u also talked about editing the apk which I had tried but failed miserably, again any help regarding this would be appreciated.
I will simply quote something I did post elsewhere. This was for modding a unity game but the experience is similar, just extract urm to assets\bin\game
You don't have permission to view the spoiler content. Log in or register now.
4) I will try grviewer and let u know if works or not.
Again ty for the response,I try out this method and be back. Have a good day!!! :D
You're welcome.
 
Last edited:
  • Like
Reactions: Gattsu#Struggler

Sether0

Newbie
Apr 16, 2024
98
305
105
Can you fix the crash in the old version of Renpy?(I think thats the problem - Ren'Py 7.3.5.606) It does crash when i use these buttons View attachment 4563419

Latest version URM
https://f95zone.to/threads/the-watch-v0-4-whisper-gaming.36365/
Windows 11
Only rollback mods.
I had a similar problem with another game so I made this mod_save_directory_options.rpy file to configure the path of the game save files.
Edit it using a text editor:
Code:
define config.save_directory = "Your_Game_Name"
replace
Code:
Your_Game_Name
with the name of the desired game, in this case
Code:
The_Watch
it should be like this:
Code:
define config.save_directory = "The_Watch"
Place the edited file mod_save_directory_options.rpy in the "game" folder.
Now the URM will be able to save the settings, and the game will additionally save the game save files in the folder:
Code:
%APPDATA%/RenPy/The_Watch
 

Sether0

Newbie
Apr 16, 2024
98
305
105
Hi
I'm getting this error
You don't have permission to view the spoiler content. Log in or register now.
And I know I got to add this

But there's not SetLocalVariable in the 00action_data.rpy I even add the code after class LocalVariable(Dict) but didn't fix the issue
I might've missed something I don't know.
The game is DEEP VAULT 69
I would appreciate if you checked the file or the game.
Thank you :)
Maybe this will work:
find
Code:
super(LocalVariable, self).__init__(sys._getframe(1).f_locals,
add a line above it
Code:
import sys
should look like this
Code:
    class LocalVariable(Dict):
        """
        An Accessor mixin class for Actions setting a local variable.
        """

        kind = "local variable"

        def __init__(self, name, *args, **kwargs):
            import sys
            super(LocalVariable, self).__init__(sys._getframe(1).f_locals,
                                                name,
                                                *args, **kwargs)

    # Manager mixins : manage what value gets written
 
  • Like
Reactions: G1nt0k1

Naps-On-Dirt

Active Member
Dec 7, 2023
513
575
199
This use may not even be supported but, I'm getting an exception 2 renders into the Ch 4 release of Leaving DNA on Steam.

You don't have permission to view the spoiler content. Log in or register now.

I have the latest URM version installed in the game's game\ directory in the Steam folders. I had loaded a save at the end of Ch 3 and got the exception, so loaded something earlier and skipped to the end, same problem.

Thought maybe I tweaked something in that run and it broke something so I skipped through a new playthrough, making no changes with URM, and still got the error.

So I changed the name of the game's whole folder and told Steam to re-install it and skipped through again, did not get the error.

So it looks like URM's mere presence is causing it, but who knows. Still have both installs of the game so I can test anything if you need. I've used URM on other Steam versions of AVNs without a problem so I was really puzzled by this.

Edit: Later on at the first decision of the new release I made a save of the 'clean' version and switched folder names then continued playing from that point with URM installed. Again, made no changes (though did add a couple variables to the watch panel) and played on fine until a scene in the gym with Malena after forgetting about meeting her in the park. Another exception:
You don't have permission to view the spoiler content. Log in or register now.
I tried folder juggling again and had to go back to the clean install and the clean save at the first question and skip forward to get by the error. Nearly identical to the first one but it is JG instead of LD as the undefined Sayer this time.
 
Last edited:

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,878
8,725
592
0x52 URM has a problem on the game : https://f95zone.to/threads/lust-town-amandas-road-to-porn-v0-7-nosy-gull.179241/

The error is :

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 381, in script
    "And obviously, running is not one of your virtues."
Exception: Could not find font '0x52-URM/framework/Roboto-Regular.ttf'.
0x52_URM.rpa works fine on other games.
works after extracting the 0x52_URM.rpa using this Link into the xxx/game folder
(delete the .rpa after extracting)
 
  • Like
Reactions: Remarius and Xsara

Naps-On-Dirt

Active Member
Dec 7, 2023
513
575
199
not an URM issue

check the characters.rpy for

define ld = Character("Larry", color = "ffffff")

and

define jg = Character("Joe", color = "#738291")
In the install with URM, those lines are not in that file. In the install straight from Steam that I just ran a whole playthrough on, that file doesn't exist. There's only a character.py.

Not trying to contradict what you said and am thankful that that probably is gonna partially* fix the problem, but I don't see how its not an URM issue if it only occurs on the URM install. :confused:

* It kept happening with different "Sayer"s but I didn't make note each time and eventually just stopped using the URM version so I could finish the new content.

So there are other missing lines, but who is responsible for that file? It doesn't exist when URM isn't installed but installing URM is a single file so what generates characters.rpy? If URM is causing that to be generated from data from within the game but that data is incomplete and the resulting file is causing a Ren'Py error, who gets to fix it? :unsure:o_O:LOL: Too far above my pay grade. I'll just leave this bug report here and show myself out now. :whistle::)
 

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,878
8,725
592
In the install with URM, those lines are not in that file. In the install straight from Steam that I just ran a whole playthrough on, that file doesn't exist. There's only a character.py.

Not trying to contradict what you said and am thankful that that probably is gonna partially* fix the problem, but I don't see how its not an URM issue if it only occurs on the URM install. :confused:

* It kept happening with different "Sayer"s but I didn't make note each time and eventually just stopped using the URM version so I could finish the new content.

So there are other missing lines, but who is responsible for that file? It doesn't exist when URM isn't installed but installing URM is a single file so what generates characters.rpy? If URM is causing that to be generated from data from within the game but that data is incomplete and the resulting file is causing a Ren'Py error, who gets to fix it? :unsure:o_O:LOL: Too far above my pay grade. I'll just leave this bug report here and show myself out now. :whistle::)
URM does not create new or interfere with any gamefiles

you see the character.rpy only ( at the xx/game/setup folder) if you extract the .rpa files
(here ,fe , the archive.rpa)

Screenshot_15.png

the character.py is at the xx/renpy folder - dont mess with those files !!


maybe try and test with this ↓↓ extract into the mainfolder (where the .exe is) my game version is 0.4 like to download here at F95
 
Last edited:
  • Like
Reactions: 0x52

Maxwell D

Newbie
Dec 5, 2024
96
124
101
I hope that the option to remap the "M" key is implemented soon.

I like the toggle watch panel feature and use it, but...
When typing a character's name or editing a variable in the console (and need the letter "m"), it pops up unwanted.

That being said, great mod and super grateful for it.
 
  • Like
Reactions: 0x52

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,774
7,266
712
URM 2.6: Creating variables (and changing variable types)
Version 2.6 of URM is here. This contains the following changes:
  • Added option to create variables (and change variable types)
  • Made searching internal variables optional
  • Disable risk warning (at first start) for every game, instead of only the current
  • Fix: Crash when gamesave doesn't contain a screenshot
1740417683079.png
 

Enlight432

Active Member
Jan 4, 2024
582
1,520
249
Version 2.6 :
Added option to create variables (and change variable types)
...

That's awesome, it literally means giving the player complete power. Imagine you don't like a scene or a dialogue; by creating a variable, you can fade it out just by putting it behind that variable (I hope that's possible!)
 

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,878
8,725
592
URM 2.6: Creating variables (and changing variable types)
Version 2.6 of URM is here. This contains the following changes:
  • Added option to create variables (and change variable types)
  • Made searching internal variables optional
  • Disable risk warning (at first start) for every game, instead of only the current
  • Fix: Crash when gamesave doesn't contain a screenshot
View attachment 4583837
awesome :love:

thanks :cool:
 

Enlight432

Active Member
Jan 4, 2024
582
1,520
249
1740435879171.png

I have a question
It says here that changing values can break the game. What exactly does "break" mean? Because according to the official website, URM doesn't change the game's files, it just creates a mod, and when playing that mod/file, it has a higher priority than the game's original file/variable/value/etc
If the game files are not being manipulated/changed, why would the game break? Does dev mean that the save file might get corrupted?
Thanks
 

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,878
8,725
592
View attachment 4584702

I have a question
It says here that changing values can break the game. What exactly does "break" mean? Because according to the official website, URM doesn't change the game's files, it just creates a mod, and when playing that mod/file, it has a higher priority than the game's original file/variable/value/etc
If the game files are not being manipulated/changed, why would the game break? Does dev mean that the save file might get corrupted?
Thanks
variables / values

most stored in the saves and persistent files
that what it means
fe : one path exclude an other - but you set both paths active / true
breaking the "game" on further play because only one can be active
 

MiltonPowers

Twins Basil! Twins!
Donor
Jr. Uploader
Jul 26, 2023
17,863
44,927
922
View attachment 4584702

I have a question
It says here that changing values can break the game. What exactly does "break" mean? Because according to the official website, URM doesn't change the game's files, it just creates a mod, and when playing that mod/file, it has a higher priority than the game's original file/variable/value/etc
If the game files are not being manipulated/changed, why would the game break? Does dev mean that the save file might get corrupted?
Thanks
URM won't break the game. But how you use URM can break the game if you change variables to ones that will clash or remove or add critical ones.
 
5.00 star(s) 48 Votes