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

5.00 star(s) 37 Votes

Belzeebub$

Cheat Or Not
Game Developer
May 18, 2020
653
963
developer of Being A Dik is known for placing codes to detect whether the game is running on Android
If I am not wrong (and since I am creating Novel myself now) this first part is done by all developers. It is a renpy default thingy. The ui is different if you are a 'pc' user or 'mobile' user. The latter part is tricky though. In many games urm shows a path about this variant or I think you can search it yourself in variables.
 
Sep 10, 2023
29
172
If I am not wrong (and since I am creating Novel myself now) this first part is done by all developers. It is a renpy default thingy. The ui is different if you are a 'pc' user or 'mobile' user. The latter part is tricky though. In many games urm shows a path about this variant or I think you can search it yourself in variables.
I've never had problems with other developers regarding lines of code to close the game, or closing paths because the game is running on Android. I just wanted to know if the mod itself has any way to prevent these lines of code, or if the mod user needs to remove these lines of code on their own so the game doesn't have these intentional errors placed by the developer.
 

hoobadoobamaster12

New Member
Jun 3, 2023
7
6
Fan signature
View attachment 3198400
You don't have permission to view the spoiler content. Log in or register now.

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

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

Reporting an issue
When reporting an issue with URM, please include the information below:
  • Are you using the latest version of URM?
  • Which game has the issue (preferable a link to the game's thread)
  • If it's a crash (grey screen) attach the "traceback.txt" file
  • What did you do that caused the issue?
  • Attach a screenshot of the issue (if possible)
  • When URM gave an error (not a grey crash screen), check the log.txt file for lines starting with "0x52:"
  • What OS are you on?
  • Do you have any other mods installed? Does the issue still exist without the other mod(s)?

URM files
You can put these files in you "game" directory and load them through the mod.
If you have an URM file, feel free to post is here, so I can add it to this list.
ok first time typing
but does anybody know how to get rid of the blackscreen when a animation plays
 

theMickey_

Engaged Member
Mar 19, 2020
2,195
2,829
...does anybody know how to get rid of the blackscreen when a animation plays
What game are you talking about? I've never seen any blackscreen for the games I've played, and I'm guessing it doesn't have anything to do with URM. But then again: if you want more help, you'll need to provide more details.

And btw: there's no need to reply to the OP just to ask a question ;)
 

N0lla

Newbie
Aug 25, 2023
61
53
Is it possible to add a note to a variable as I have noted that some AVN have some wierd labels for a certain character and I want to be able to add a note to them saying what they actually are.

TIA
 

theMickey_

Engaged Member
Mar 19, 2020
2,195
2,829
Is it possible to add a note to a variable...
If you search for a variable, and then click "Remember", you can pick any name you want, which will then be listed in the "Variables" overview.

1712849889237.png

And if you select to "Watch" it, you can pick an even different name, which will be used in the watch panel.

1712849931087.png

This does not change the name of the variable itself, it's just for your convenience to better know what they're for -- just like notes ;)
 
  • Like
Reactions: 0x52 and N0lla

tlovers

Newbie
Dec 26, 2018
23
149
Unfortunately URM cannot support such a narrow screen resolution. You could change the variable config.screen_width in the options.py file to 1920, but that will probably make the game a little messed up
You were right it did broke the game mechanincs itself and make it look crappy... So I want to ask you if its possible in RenPy Engine to make URM open like in new window when ALT + M is used or something similiar to new window or like label that for the time of using URM would make it 1920 width and height? I mean right now I've edit a lot of URM Vars and it is almost whatt I want it to be but there is still a lot of what could be improved.

1712863233445.png
 
  • Like
Reactions: awakashi

theMickey_

Engaged Member
Mar 19, 2020
2,195
2,829
only on versions from v2.1 to v2.1.3
...
AttributeError: 'ADVCharacter' object has no attribute '_getframe'
This happens if the developer of the game (somehow) "breaks" Ren'Py, see this:
1712908691303.png

But since version 2.1.3 URM should have a workaround for this exact error implemented, maybe it's not fully working yet for all games...?! You can still try to fix it yourself using the instructions mentioned in that post.
 
  • Like
Reactions: alex13_zen and 0x52

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,504
I've never had problems with other developers regarding lines of code to close the game, or closing paths because the game is running on Android. I just wanted to know if the mod itself has any way to prevent these lines of code, or if the mod user needs to remove these lines of code on their own so the game doesn't have these intentional errors placed by the developer.
I have seen devs trying to block using mods in different ways. So there's no universal way to prevent this.

Problem with https://f95zone.to/threads/the-fosters-back-2-school-v0-4-_13_.159831/

Doesn't matter if new game oder load an old Save
You say you get this error directly after loading a save or starting a new game?
This error should not be possible. There seems to be something wrong with your persistent file.

You could try deleting or renaming the persistent file in the saves folder and in %appdata%\RenPy\TheFostersSpecial1-1673995418 and then start the game again.
 

OeRBeL

New Member
Jun 22, 2020
5
1
I have seen devs trying to block using mods in different ways. So there's no universal way to prevent this.


You say you get this error directly after loading a save or starting a new game?
This error should not be possible. There seems to be something wrong with your persistent file.

You could try deleting or renaming the persistent file in the saves folder and in %appdata%\RenPy\TheFostersSpecial1-1673995418 and then start the game again.
That helped, thank you very much (y)
 

yamabear

Member
Dec 27, 2020
216
94
Hi!
The main characteristic of URM is that it does not interfere or change the structure or script of a game.Fact!
Just one question.
The URM tool can, among other features, also unlock galleries? Like UGU, for example.
If yes, how can I proceed?

I apologize in advance if this is already common knowledge and recurring here on the forum.
 

Zazzu

Newbie
Nov 13, 2020
17
5
There is a problem with URM and Pale Carnations
I am using version 2.1.3 of URM and PC Ch4 Update 4. When I try to search for a variable, it goes to the grey crash screen, and all I can do is "Rollback" which puts me back into the game. If I try to invoke URM with Alt-M, nothing happens. If I progress a bit in the game and URM notifications come up again, I can hit Alt-M, but it immediately goes to the crash screen. I am using EndeavourOS, an Arch based linux distro. The traceback.txt file is attached. No other mods are being used.
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,504
Hi!
The main characteristic of URM is that it does not interfere or change the structure or script of a game.Fact!
Just one question.
The URM tool can, among other features, also unlock galleries? Like UGU, for example.
If yes, how can I proceed?

I apologize in advance if this is already common knowledge and recurring here on the forum.
I might add something like this in a future version, but it's not guaranteed to work on every game.

There is a problem with URM and Pale Carnations
I am using version 2.1.3 of URM and PC Ch4 Update 4. When I try to search for a variable, it goes to the grey crash screen, and all I can do is "Rollback" which puts me back into the game. If I try to invoke URM with Alt-M, nothing happens. If I progress a bit in the game and URM notifications come up again, I can hit Alt-M, but it immediately goes to the crash screen. I am using EndeavourOS, an Arch based linux distro. The traceback.txt file is attached. No other mods are being used.
See this post by theMickey_ a couple of posts before yours.
 
  • Like
Reactions: Feyd

yamabear

Member
Dec 27, 2020
216
94
I might add something like this in a future version, but it's not guaranteed to work on every game.


See this post by theMickey_ a couple of posts before yours.
Really surprised!
But then here's a consideration...If not even the UGU itself is 100% guaranteed for all games in galleries/replay...then why not?

The current URM already covers the main custom settings such as font, text box, transparency and opacity, quick menu, different positioning (which I use on a wide scale).
Why not make it complete for that?
Just a personal observation. :cool:
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,504
URM 2.1.4 Bèta
I've got a bèta version of URM for you.
  • New/improved implementation for freezing/monitoring variables
    • Note: it still doesn't support all type of variables, but those might be added in the future
    • Note 2: There will be some edge cases that will bypass the freezing/monitoring, but those should be rare
  • Fix: Android: Save .urm files to saves dir when global settings are not supported

You can get the update through URM (when on the bèta channel), or the attachment bellow.
(the download will be added in the OP when it's found to be stable)
 

yamabear

Member
Dec 27, 2020
216
94
URM 2.1.4 Beta
Eu tenho uma versão beta do URM para você.
  • Implementação nova/melhorada para congelamento/monitoramento de variáveis
    • Nota: ainda não suporta todos os tipos de variáveis, mas elas poderão ser adicionadas no futuro
    • Nota 2: Haverá alguns casos extremos que ignorarão o congelamento/monitoramento, mas esses devem ser raros
  • Correção: Android: salve arquivos .urm no diretório de salvamento quando as configurações globais não forem suportadas

Você pode obter a atualização através do URM (quando estiver no canal beta), ou no anexo abaixo.
(o download será adicionado no OP quando for considerado estável)
[/CITAR]
(e)
 
5.00 star(s) 37 Votes