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

5.00 star(s) 44 Votes

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,724
6,800
Game =college kings-
I read about it in FAQs it being not fully compatible for a reason or another,
Still URM is mostly working fine for me, baring the odd result that shows 14 items in this store or class but when we enter it , its empty.
My main question is about unknown variable,
A simple example would be choosing one out of two scents or no scent for waiter suits,
I accidentally chose the wrong option and now the LIs say I stink,
I simply wanted to edit the variable to unscented but whenever i try to find it, i cant
then if i use "remember variable" function and try to edit it that way it still shows unkown but it is clearly known since the game is picking up that variable but somehow its disconnected,
Is there an easy fix for this?
When URM says the value is "unknown" the variable does not exist.
If it did exist before, this means the variable got deleted.

A future version of URM will get the option to create variables, instead of only modifying existing variables
 

Duke☆Pluto

New Member
Oct 18, 2017
11
2
You mean you have multiple variables that all are of the object "Girl", so you want to be able to search for this object's name?
(instead of for the variable's name or it's properties)
Sorry for the late reply but yes, essentially.
 

Silvesterhearth

New Member
Nov 7, 2021
6
0
I tried using this mod on hornycraft 0.24 on Android, sadly this doesn't work nor i get a pop up even after trying everything.
The directory was Android>data>hornycraft>file
After that I made a new folder and named it "game" and pasted the zipped mod and after restarting didn't work. I also tried making folder inside file>game didn't work either.
I'm now disappointed at how difficult it is to cheat in this game for resources, I gave up :(
 

Silvesterhearth

New Member
Nov 7, 2021
6
0
Before any renpy save was easily modifiable by simplify using "online save editor" but now any renpy game i try to cheat always shows a pop up "file size is too large (25mb)" even thou save is like 400kps.
Tried using notepad++ but when I do open the save everything is shown in some weird symbol I cannot understand, this method doesn't work either.
Other than using a urm is there any other way? Please share ur knowledge and if anyone knows pls tell me why renpy made this drastic changes, ty.
 

Nironan

Member
Dec 27, 2017
176
154
you do seem to mix up lot of things, lets try to clear it up a bit
The directory was Android>data>hornycraft>file
that cant work. you need to paste it in the renpys game folder, not the one where saves might go to. You can either edit apks though that might be too much for you, or use joiplay. https://f95zone.to/threads/play-rpg...wine-vn-maker-on-android-using-joiplay.44792/ download from patreon incl. renpy plugins, download the win version of the game you want to edit, extract the files (fe mixplorer can do that), extract urm to the game folder, open the .exe or .py file with joiplay and you are done.
Before any renpy save was easily modifiable by simplify using "online save editor" but now any renpy game i try to cheat always shows a pop up "file size is too large (25mb)" even thou save is like 400kps.
Tried using notepad++ but when I do open the save everything is shown in some weird symbol I cannot understand, this method doesn't work either.
Other than using a urm is there any other way? Please share ur knowledge and if anyone knows pls tell me why renpy made this drastic changes, ty.
I dont use saveeditonline anymore, but remember it not working sometimes. May this does ? idk
dunno whats kps, you mean KB (ps is for kbps which is down-/upload speed - kbps= kilo bits per second). Note that files are compressed, 400KB can easilly take up few MB uncompressed tough >25 is not that easy (typical is a ratio of ~ 1:10). But if you truly meant 400kbps and the file was actually larger .... (note that B = Byte = 8 bits)
Notepad sure cant work with normal saves. You could write a python script (may even using a chatbot of your liking - tell it to be able to convert renpy saves using pickle an zlib).
Other tools than named till now idk. It's also not clear android or pc? the first limits you bit and urm with joiplay is likely the easiest approach imo nearly always working. For the latter state what you trly want. Well ok you could also work with https://f95zone.to/threads/unren-ba...compiler-console-developer-menu-enabler.3083/ f.e.
 
Last edited:

Silvesterhearth

New Member
Nov 7, 2021
6
0
you do seem to mix up lot of things, lets try to clear it up a bit
that cant work. you need to paste it in the renpys game folder, not the one where saves might go to. You can either edit apks though that might be too much for you, or use joiplay. https://f95zone.to/threads/play-rpg...wine-vn-maker-on-android-using-joiplay.44792/ download from patreon incl. renpy plugins, download the win version of the game you want to edit, extract the files (fe mixplorer can do that), extract urm to the game folder, open the .exe or .py file with joiplay and you are done.
I dont use saveeditonline anymore, but remember it not working sometimes. May this does ? idk
dunno whats kps, you mean KB (ps is for kbps which is down-/upload speed - kbps= kilo bits per second). Note that files are compressed, 400KB can easilly take up few MB uncompressed tough >25 is not that easy (typical is a ratio of ~ 1:10). But if you truly meant 400kbps and the file was actually larger .... (note that B = Byte = 8 bits)
Notepad sure cant work with normal saves. You could write a python script (may even using a chatbot of your liking - tell it to be able to convert renpy saves using pickle an zlib).
Other tools than named till now idk. It's also not clear android or pc? the first limits you bit and urm with joiplay is likely the easiest approach imo nearly always working. For the latter state what you trly want. Well ok you could also work with https://f95zone.to/threads/unren-ba...compiler-console-developer-menu-enabler.3083/ f.e.
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!!!
3) u also talked about editing the apk which I had tried but failed miserably, again any help regarding this would be appreciated.
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
 

Gattsu#Struggler

Active Member
May 8, 2017
606
1,166
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
176
154
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

New Member
Apr 16, 2024
14
33
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
 

The_Thinker_

Newbie
Feb 13, 2018
36
36
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
Unfortunately this dev caused an issue within Ren'Py itself. I could only fix this by overruling Ren'Py's build-in function SetLocalVariable(), which I don't want to do.

I have a work-around for you:
  1. Open the file renpy/common/00action_data.rpy
  2. Find the line def SetLocalVariable(name, value): (line 161)
  3. Add a line bellow that one containing: import sys
You don't have permission to view the spoiler content. Log in or register now.

Details:
They assigned a character to the variable sys, which is a because it's use by Ren'Py internally.
Be doing this they broke a function inside Ren'Py that URM needs.
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 :)
 

Sether0

New Member
Apr 16, 2024
14
33
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: The_Thinker_

Naps-On-Dirt

Member
Dec 7, 2023
458
505
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:

The_Thinker_

Newbie
Feb 13, 2018
36
36
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
This worked Thank you very much
 

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,275
6,952
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: Xsara

Naps-On-Dirt

Member
Dec 7, 2023
458
505
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::)
 
5.00 star(s) 44 Votes