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

5.00 star(s) 36 Votes

mm22005

New Member
Dec 6, 2023
3
0
im on PC every time i click alt m it minimizes the game cannot get the mod to open.... as well the game i am playing is home in the desert. THANKS
 

theMickey_

Engaged Member
Mar 19, 2020
2,171
2,756
im on PC every time i click alt m it minimizes the game cannot get the mod to open.... as well the game i am playing is home in the desert. THANKS
Are you sure you're pressing ALT + M? On Windows, the Windows key (next to the ALT key!) + M will minimize all your windows (including the game), so I'm assuming you're pressing WINDOWS + M instead ;)
 
  • Like
Reactions: 0x52

Dgunslinger

Active Member
Feb 4, 2021
547
891
You're talking about games that are in a portrait/vertical resolution instead of landscape/widescreen?
Can you give some examples of games doing this?
Yes, you got it right

Can you give some examples of games doing this?
There are a few, but A Wife's Phone is the game I really need it for. Its got a very slow grind, and a million steps in various paths.

Thank you so much for your time and consideration!
 

desmosome

Conversation Conqueror
Sep 5, 2018
6,286
14,420
0x52
So... I think I've made the suggestion before, but just checking up to see if you have any plans for it.

It would be great if you can rename characters or do text replacement only for the speech of a specific character. For example, let us replace [mom_name] with "mom", but only when the MC says it. That would give us the power to do a makeshift incest patch when it takes too long for the official/unofficial patch to drop. Is that something feasible?
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,662
6,414
0x52
So... I think I've made the suggestion before, but just checking up to see if you have any plans for it.

It would be great if you can rename characters or do text replacement only for the speech of a specific character. For example, let us replace [mom_name] with "mom", but only when the MC says it. That would give us the power to do a makeshift incest patch when it takes too long for the official/unofficial patch to drop. Is that something feasible?
You are looking for this?
0x52

Hey there, I got an idea for a feature. Do you think it would be possible to replace text only when it is spoken by certain characters?

For a makeshift incest patch, that would be quite helpful in cases where the dev didn't make different name variables to account for different characters referencing the mom.

Replacing the name with "mom" in all cases would lead to everyone calling her that. But if we can limit the replacement to when the line are spoken by her children, that would probably be good enough.
 
  • Like
Reactions: Feyd and desmosome

ouch2020

Well-Known Member
Aug 11, 2020
1,840
2,496
Hi 0x52 , sorry for coming back to an old idea, but do you still have in the list of possible things to add the function of having the variables being watched getting automatically ordered in alphabetical name order (ascending, descending, does not really matter) ?
I know not everybody has a long list of watched variables (longer than one screen) and adds them up over time, but my (maybe completely wrong) guess is that I will not be the only one...
 

MiltonPowers

Twins Basil! Twins!
Donor
Jul 26, 2023
6,853
13,296
Hi 0x52 , sorry for coming back to an old idea, but do you still have in the list of possible things to add the function of having the variables being watched getting automatically ordered in alphabetical name order (ascending, descending, does not really matter) ?
I know not everybody has a long list of watched variables (longer than one screen) and adds them up over time, but my (maybe completely wrong) guess is that I will not be the only one...
You can just click the arrow next to name to sort them alphabetically.

Screenshot 2024-07-25 115710.png
 

ouch2020

Well-Known Member
Aug 11, 2020
1,840
2,496
You can just click the arrow next to name to sort them alphabetically.

View attachment 3864344
Thanks, I suspected it was a problem of version, and indeed I was not using the latest. But what I meant (it was my original input) was to have the list ordered in the watchpanel.
Even with the latest version, I just tried replacing the older one, if I open URM and go in the "variables", I can indeed see them in order, but if look at the watchpanel, they are not ordered, they are still in the same "messy" (I guess by order or when I configured them to be "watched") order in which they were originally.
I even tried to disable the watchpanel and reactivate it, but it still the same.
 

Mtmtmt007

Newbie
Mar 2, 2021
20
27
Hi 0x52I have a question
Many android porter's use storage permissions to create game directory so that we can use your mod in their port
But what if there is port by developer which doesn't use storage permissions to create game directory. Do I make it myself?
Or there is no way to use your mod in this type of android ports?
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,662
6,414
Thanks, I suspected it was a problem of version, and indeed I was not using the latest. But what I meant (it was my original input) was to have the list ordered in the watchpanel.
Even with the latest version, I just tried replacing the older one, if I open URM and go in the "variables", I can indeed see them in order, but if look at the watchpanel, they are not ordered, they are still in the same "messy" (I guess by order or when I configured them to be "watched") order in which they were originally.
I even tried to disable the watchpanel and reactivate it, but it still the same.
Sorting in the watchpanel is on my todo list

Hi 0x52
I have a question
Many android porter's use storage permissions to create game directory so that we can use your mod in their port
But what if there is port by developer which doesn't use storage permissions to create game directory. Do I make it myself?
Or there is no way to use your mod in this type of android ports?
Did you see this:
The easiers way would be to use JoiPlay. But some Android versions of Ren'Py games support mods, in that case you could try:
  1. Use a filebrowser to go to /storage/emulated/android/data/<gamename>/files/game (create the directory "game" if it doesn't exist yet)
  2. Put the 0x52_URM.rpa in there
  3. Load the game
So yes, you would have to create the game directory yourself and it should work
 

Mtmtmt007

Newbie
Mar 2, 2021
20
27
Sorting in the watchpanel is on my todo list


Did you see this:

So yes, you would have to create the game directory yourself and it should work
Ok, but where do I create game directory, and how do I create it so that it can work?
Android/data folder is not accessible
Should I create it in documents folder?
 
Last edited:

Jhon3

New Member
Aug 24, 2018
14
2
Hi I got this error when I try to run COTE: Red Sonata [v0.13.4] and after the error ocurred the "0x52_URM.rpa" disapears from the "game" folder and the game keep crashing


I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00start.rpy", line 288, in script
python:
ScriptError: could not find label 'start'.

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "E:\Nueva carpeta\COTE Red Sonata\RedSonata-0.13.4-pc\renpy\bootstrap.py", line 359, in bootstrap
renpy.main.main()
File "E:\Nueva carpeta\COTE Red Sonata\RedSonata-0.13.4-pc\renpy\main.py", line 635, in main
run(restart)
File "E:\Nueva carpeta\COTE Red Sonata\RedSonata-0.13.4-pc\renpy\main.py", line 145, in run
renpy.execution.run_context(True)
File "E:\Nueva carpeta\COTE Red Sonata\RedSonata-0.13.4-pc\renpy\execution.py", line 955, in run_context
context.run()
File "renpy/common/00start.rpy", line 288, in script
python:
File "E:\Nueva carpeta\COTE Red Sonata\RedSonata-0.13.4-pc\renpy\script.py", line 1103, in lookup
raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'start'.

Windows-10-10.0.19041 AMD64
Ren'Py 8.2.1.24030407
 

HiP1

Active Member
Dec 3, 2023
940
852
hey! great mod!
the new codeview feature is a great idea.
have you thought about adding menus in the codeview? right now, menus are included in "some dialog"
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,662
6,414
Ok, but where do I create game directory, and how do I create it so that it can work?
Android/data folder is not accessible
Should I create it in documents folder?
You need a file explorer that can access android/data then.
Some ports support the documents folder.

Hi I got this error when I try to run COTE: Red Sonata [v0.13.4] and after the error ocurred the "0x52_URM.rpa" disapears from the "game" folder and the game keep crashing


I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00start.rpy", line 288, in script
python:
ScriptError: could not find label 'start'.

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "E:\Nueva carpeta\COTE Red Sonata\RedSonata-0.13.4-pc\renpy\bootstrap.py", line 359, in bootstrap
renpy.main.main()
File "E:\Nueva carpeta\COTE Red Sonata\RedSonata-0.13.4-pc\renpy\main.py", line 635, in main
run(restart)
File "E:\Nueva carpeta\COTE Red Sonata\RedSonata-0.13.4-pc\renpy\main.py", line 145, in run
renpy.execution.run_context(True)
File "E:\Nueva carpeta\COTE Red Sonata\RedSonata-0.13.4-pc\renpy\execution.py", line 955, in run_context
context.run()
File "renpy/common/00start.rpy", line 288, in script
python:
File "E:\Nueva carpeta\COTE Red Sonata\RedSonata-0.13.4-pc\renpy\script.py", line 1103, in lookup
raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'start'.

Windows-10-10.0.19041 AMD64
Ren'Py 8.2.1.24030407
Looks like the game deletes the mod. When you extract the "scripts.rpa" file and then delete it the mod will be preserved.

hey! great mod!
the new codeview feature is a great idea.
have you thought about adding menus in the codeview? right now, menus are included in "some dialog"
Added it to my todo list ;)
 

GamerDaddy

Well-Known Member
Feb 6, 2023
1,902
1,123
been watching this for awhile and just decided to give this a shot due to being stuck and couldnt get any help and with my "issues" this was surprisingly easy to use
 

Anno31415

New Member
Mar 23, 2019
3
3
Hey all, this may be a noob question sorry about that, but once I edit some values (money, relation) and make a save, it completely clears the gallery on game restart, every unlocked scene disappears. Same happens if I create a new save without modification, unlock some gallery images, then load a modified save, then restart the game. This issue also persists if I edit the save with an online editor. Is there any chance some of you may have a solution?
 

theMickey_

Engaged Member
Mar 19, 2020
2,171
2,756
Is there any chance some of you may have a solution?
If you don't provide any more details, unfortunately nobody will be able to help you with your issue.

Please see this:

Reporting an issue
When reporting an issue with URM, please include the information below:
  • What version of URM are you using (make sure it's the latest)?
  • 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)?
 
  • Like
Reactions: Anno31415

Anno31415

New Member
Mar 23, 2019
3
3
If you don't provide any more details, unfortunately nobody will be able to help you with your issue.

Please see this:
Ah I didn't see that, thank you. So as for details
  • What version of URM are you using (make sure it's the latest)? - v6.99.14 2.3.1
  • Which game has the issue (preferable a link to the game's thread) - Wet Sand, The Null Hypothesis, Camp Mourning Wood are which I tried with but since the issue is reproducible with 3 different games I think it's a general issue.
  • If it's a crash (grey screen) attach the "traceback.txt" file - No crash
  • What did you do that caused the issue? - Modify any game variables (gold, relation, item quantity ect).
  • Attach a screenshot of the issue (if possible) - Screenshots will not represent the issue
  • When URM gave an error (not a grey crash screen), check the log.txt file for lines starting with "0x52:" - No error
  • What OS are you on? - Windows 11 23H2
  • Do you have any other mods installed? Does the issue still exist without the other mod(s)? - No other mods used.

Repro steps

  1. Start a Renpy game with URM installed
  2. Start a new game
  3. Play around, unlock some gallery images
  4. Save then restart game - Result: All previously unlocked gallery images are available. You may be able to unlock further gallery images advancing the game.
  5. Play around and modify some values with URM. - Result: same as in step 4.
  6. Save then restart game - Result: All previously unlocked gallery images are cleared like they where never unlocked. If you advance the story and unlock further scenes, they will be available in the gallery until restarting the game, then they will also become unavailable.
I also created a backup from both the full game folder at the install location and full game folder backup at %appdata%/roaming/renpy/ . After the gallery unlock has been restored due to cheat, I tried to revert to the backups but they also have the same effect, every previously unlocked image has been locked again.

Figured it out, there was something thrashy under %appdata%/Renpy which had a conflict in general with the saves. I erased the whole folder, reinstalled the game and now it works - with URM too.
 
Last edited:
5.00 star(s) 36 Votes