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

5.00 star(s) 51 Votes

luchettodj94

Well-Known Member
Modder
Dec 25, 2019
1,909
3,476
498
Hey mind checking the second chapter of IA? (I won't link it as it have created already chaos a while back xD), seem some variables are not discoverd correctly, for exemple "fitness" is called in the game "sportiness" however I'm not able to get it in the search with this last term, i guess the dev at some point wrote something like fitness = sportiness

Also, this specific game won't work really well with paths and choices, it will show the related code but not the details in game on what to do, this games have many variables and I guess it mess up a bit the logic as it costantly popup the notify (it can be turn off but that's not the point)
 
Last edited:

luchettodj94

Well-Known Member
Modder
Dec 25, 2019
1,909
3,476
498
why would i ?
and unaware of what ? that your link is not to the second part you asking help for?
just put the link here if you want help .....
Unaware of the release of the second game, as why I didn't linked is cause the game was already banned once due rule 7, and altough the first game got back again the second didn't (for whatever reason), anyway is quite easy to get to the download page, just go to his blog (from the main post I've linked) and the download is free (just a notice, the blog is not longer updated so the last build can be found on supporter pages, still free anyway).
Btw I'm not really asking for help as I figure out already myself the correct variable, just poiting out a problem that could arise with some games and probably should be fixed.
 

shmurfer

Engaged Member
Dec 29, 2019
3,321
5,340
688
Btw I'm not really asking for help as I figure out already myself the correct variable, just poiting out a problem that could arise with some games and probably should be fixed.
They can't fix a problem that isn't a bug. Variable names have no relation to the text that displays them ingame.
 
  • Like
Reactions: Boehser Onkel

shmurfer

Engaged Member
Dec 29, 2019
3,321
5,340
688
yet is no possible to catch correlated names?
You're the one correlating the names based on devs that try to make an affection system looks the same as one from (more popular game), but work completely differently under the hood. Nothing forces devs to use the same system, and some of the garbage posted in this thread shows they definitely don't. "The dev isn't supposed to be doing that, it breaks renpy" happens often in this thread.
 
  • Like
Reactions: Boehser Onkel

luchettodj94

Well-Known Member
Modder
Dec 25, 2019
1,909
3,476
498
You're the one correlating the names based on devs that try to make an affection system looks the same as one from (more popular game), but work completely differently under the hood. Nothing forces devs to use the same system, and some of the garbage posted in this thread shows they definitely don't. "The dev isn't supposed to be doing that, it breaks renpy" happens often in this thread.
What that even mean? I'm asking in a general way, cause this potentially could ruin at all this mod if ppl start simply obfuscating their stats: for exemple:

Code:
INTERNAL_TO_LABEL = {
    "fitness": "Sportiness",
    "power": "Strength"
}

class Attributes:
    def __init__(self, initial_values=None):
        self._values = {key: 0 for key in INTERNAL_TO_LABEL}
        if initial_values:
            for key, value in initial_values.items():
                if key in self._values:
                    self._values[key] = value

    def increase(self, key, amount=1):
        if key in self._values:
            self._values[key] += amount

    def decrease(self, key, amount=1):
        if key in self._values:
            self._values[key] -= amount

    def get_value(self, key):
        return self._values.get(key)

    def __str__(self):
        return "\n".join(
            f"{INTERNAL_TO_LABEL[key]}: {self._values[key]}"
            for key in self._values
        )
What I've described will show specific labels with alias in game but you are not able to get to the correct infomation by searching, by inspecting the code is easy enough to understand it but this could be also easily expanded by making it more obfuscated, I'm not sure what this dev used exactly but stil..
 
Last edited:
  • Thinking Face
Reactions: Boehser Onkel

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,878
8,775
618
Unaware of the release of the second game, as why I didn't linked is cause the game was already banned once due rule 7, and altough the first game got back again the second didn't (for whatever reason), anyway is quite easy to get to the download page, just go to his blog (from the main post I've linked) and the download is free (just a notice, the blog is not longer updated so the last build can be found on supporter pages, still free anyway).
Btw I'm not really asking for help as I figure out already myself the correct variable, just poiting out a problem that could arise with some games and probably should be fixed.
do you really think ppl going to external sites , donwloading there god knows what
cmon ...
i would have if you had it linked btw , but i am not searching external sites for it

and as far as i can see from you code snippet - the fitness and power still vars should be searchable
just displayed with a other name :unsure:

class Attributes:
def __init__(self, fitness=0, power=0):
self._fitness = fitness
self._power = power


send me the dl link as pm if you still want someone to have a look

have a nice one
 

luchettodj94

Well-Known Member
Modder
Dec 25, 2019
1,909
3,476
498
and as far as i can see from you code snippet - the fitness and power still vars should be searchable
just displayed with a other name :unsure:
The problem is exactly that urm is not able to assiciate directly the alias to the stored value, by searching "Sportiness" I will not get "Fitness", I have to search this last term that without inspecting the code I would have no clue about.
as for the link you can download from the last version (note, this particular game have nothing to do with the discussion if not the code structure)

(changed the test code to make it bit more complex)
 
Last edited:

N0lla

Member
Aug 25, 2023
105
77
212
In the latest release of University of Problems (1.7.0 Extended) - I keep getting this error after a number of saves

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

I'm not sure if its Universal Renpy Mod or the game code. I'm running the latest version of URM
 

sergerserj

Member
Jul 2, 2021
327
456
238
Hi there.
Can't find in search, but still - it is possible to remember added variables and remember settings for them, after restarting game itself?
Sorry, I'm too lazy to analyzing mod code...
 

Hello231

Member
Oct 6, 2024
144
18
98
i am new to this thing and have some questions...1)as i mainly want to use this for choice detection ,then do i need to use this ever for the game which already have an written wt/wt mod?(i like to play original games made by the dev or at least as original as possible) 2)if i put this file in my desired game's folder and then again delete it from the game folder then will the game be like before?(i mean by doing so can i make the game like how it was before using urm?so that if any problem happen during using urm /if my mood change i can switch back to my original game)
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,777
7,391
712
i am new to this thing and have some questions...1)as i mainly want to use this for choice detection ,then do i need to use this ever for the game which already have an written wt/wt mod?(i like to play original games made by the dev or at least as original as possible) 2)if i put this file in my desired game's folder and then again delete it from the game folder then will the game be like before?(i mean by doing so can i make the game like how it was before using urm?so that if any problem happen during using urm /if my mood change i can switch back to my original game)
When you only use URM for choice detection and you do not change anything, your game will not be affected and is "back to original" when you delete URM.
 

Bahamut Zero

Engaged Member
Apr 27, 2017
3,123
2,448
490
0x52 First of all, thanks for the mod, which I always find useful in many games. Even though I'm not a native English speaker, it sometimes takes me a while to understand all the functions :LOL:
Anyway, sorry for the question. But I was wondering if a similar mod could be created for Unity games.
Lately I've seen some developers starting to use Unity as an application. I was wondering if it would be possible to make a similar mod there too, so I could manage the various variables or replace various phrases. But since I'm not a programmer or someone who makes mods, I don't know if that's possible or not.
 

LinXuan67

Newbie
Dec 25, 2021
53
37
192
I am playing How to Fix the Future, but no matter how I change the value of the game will be restored to the original, this Mod does not seem to work, anyone know how to fix it?
 
Last edited:

Hello231

Member
Oct 6, 2024
144
18
98
When you only use URM for choice detection and you do not change anything, your game will not be affected and is "back to original" when you delete URM.
oh,thank you and what about the first question...should i use this (only for choice detection)for those games which already have written wt or wt mod?what will you suggest?stuck with the written or mod one or urm will be better even in this case?
 
5.00 star(s) 51 Votes