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

5.00 star(s) 37 Votes
Aug 5, 2021
48
9
How can we rename all same word in all the conversation at once if it also has ",", ".", "!".... etc. Like I want to rename word "John" to "David", even it is small letters, all caps, before or after has punctuations like , . !... etc. all at once.

John > David
John. > David.
John, > David,
John! > David
john > David .... etc.

Thanks for your reply.
 

pds72

Active Member
Sep 25, 2019
963
846
How can we rename all same word in all the conversation at once if it also has ",", ".", "!".... etc. Like I want to rename word "John" to "David", even it is small letters, all caps, before or after has punctuations like , . !... etc. all at once.

John > David
John. > David.
John, > David,
John! > David
john > David .... etc.

Thanks for your reply.
As long as there are no letters, it should be fine. EXAMPLE: Johnny wouldn't be replaced.


As for all caps or lower case, that's more difficult

If there was a line like, "JOHN! WATCH OUT!"
You would have to edit it manually.
If it doesn't replace the name, it may be that John is a variable.
Search for "last" while that dialog is on screen. This will show last line as it is written in code.
So it may look something like [man1]! WATCH OUT!
Here you can either replace the [man1] with DAVID or with [man1!u]
For lower case, use !l instead of the !u. I think !c will capitalize the first letter but not 100%
This only works for when it is a variable.
 

harem.king

Engaged Member
Aug 16, 2023
3,525
6,017
0x52

In the rename page, there are two methods:
1. pick a name from a list.
2. type a word to replace.

when you use 2nd method, it won't change the MC's name above the dialog box, it will only change the text inside the dialog box.

when you use the 1st option, it will insist on matching capitalization. So every time dev writes the name uncapitalized it would show the original name.

It won't let you use both methods, and it won't allow you to ignore capitalization for the 1st method.

Can you please allow the option to ignore capitalization when using the 1st method?
 
Aug 5, 2021
48
9
As long as there are no letters, it should be fine. EXAMPLE: Johnny wouldn't be replaced.


As for all caps or lower case, that's more difficult

If there was a line like, "JOHN! WATCH OUT!"
You would have to edit it manually.
If it doesn't replace the name, it may be that John is a variable.
Search for "last" while that dialog is on screen. This will show last line as it is written in code.
So it may look something like [man1]! WATCH OUT!
Here you can either replace the [man1] with DAVID or with [man1!u]
For lower case, use !l instead of the !u. I think !c will capitalize the first letter but not 100%
This only works for when it is a variable.
Thanks for your reply. Let me try.
 

Fish_lip

Member
Mar 21, 2022
136
116
Android user here (although I use the mod on PC as well). I've managed to get access to android/data/<game name>, and all I'm seeing is a folder of save files.
First question- is that where I drop the .rpa file?
Second question- how can I actually open the mod once the game is running, given the lack of keyboard in a fullscreen game?
 

DarkDaemonX

Engaged Member
Mar 31, 2020
2,423
2,664
Alright, it happened multiple times now, all in different games, so I can report that the progress tracker will always have 1 unread line of dialogue left no matter what.
 
Last edited:

Amird850

New Member
Apr 26, 2023
2
0
while trying it in town of magic it gives this eror
coud not find font '0x52-URM/framework/materialconsoutlined-regular.otf'
 

performant

Newbie
Aug 21, 2022
21
23
Here's another request for a feature I think will be a great improvement in usability.
Can you add an option for "Paths notification" to exclude the "_in_replay" condition?
Turning this on would stop paths notifications for this condition, which is not the sort of branch detection I suspect the users would like to look into 99.9% of the time.

_in_replay.png

Or better yet, this exclusion could be the default behavior and including it could be made an extra option.
 

performant

Newbie
Aug 21, 2022
21
23
Adding a paste button to the text replacement window. Then you could input characters not on your keyboard.
In the meantime, you could use for such simple tasks as this like I do.
Code:
SetTitleMatchMode % "RegEx"
#If WinActive("^ahk_exe i)\\(PaleCarnations|Eternum|BeingADIK|FileNameOfExecutableOfAnyOtherRenpyGame)\.exe$")
^v::SendInput % Clipboard
#If
Delete the percent signs in Lines 1 and 3 if you use AHK v2.
 

ArunPrime

Member
Nov 5, 2022
287
420
Hey guys, i can't adjust name height in textbox option.
Textsize height working but Name height not working, of course both of them adjusting in textsize height but i can't adjust name height seperately.

Any idea why i can't adjust name ypos in URM?
 
Jan 8, 2022
126
36
Tried downloading the stuff for apocalypse lovers but doing what the instructions tell me (what I believe theyre telling me anyway) just breaks the whole thing so I cant even start up the game. Tried putting just the 0x52_URM.rpa into the Apocalypes Lovers game folder, and when that didn't work I tried putting all the cheat files in. Neither worked.
 

theMickey_

Engaged Member
Mar 19, 2020
2,193
2,828
...I cant even start up the game...
I've just done a quick test, and the game + URM works like a charm (you'll have to put the 0x52_URM.rpa file into the "game" subfolder of the game!).

1731307327026.png 1731307383816.png 1731307766341.png

If it doesn't work for you, please fill out a proper report:

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)?
Thanks.
 
  • Like
Reactions: 0x52

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,502
Adding a paste button to the text replacement window. Then you could input characters not on your keyboard.
It's something I want to add, but newer Ren'Py versions support pasting and I want to keep supporting older versions while URM does not conflict with the newer versions.

In the rename page, there are two methods:
1. pick a name from a list.
2. type a word to replace.

...

Can you please allow the option to ignore capitalization when using the 1st method?
Sure. I want to go even further and make it understand capitalization (I mean if it starts with uppercase it would replicate that, if it's all uppercase it should replicate this too)

while trying it in town of magic it gives this eror
coud not find font '0x52-URM/framework/materialconsoutlined-regular.otf'
I have seen this before, but haven't been able to figure out why this is happening

Here's another request for a feature I think will be a great improvement in usability.
Can you add an option for "Paths notification" to exclude the "_in_replay" condition?
Turning this on would stop paths notifications for this condition, which is not the sort of branch detection I suspect the users would like to look into 99.9% of the time.

View attachment 4214260

Or better yet, this exclusion could be the default behavior and including it could be made an extra option.
There's something on the roadmap for that:
1731517525970.png

Any idea why i can't adjust name ypos in URM?
Do you have an example when this would be useful?
 

ArunPrime

Member
Nov 5, 2022
287
420
Do you have an example when this would be useful?
I'm playing on JoiPlay & android ports, the texbox customisation is really useful.
I can adjust all texts the way I want.

For your question It's not really important, we have dialogue adjustment so it's not really necessary.
I asked here because there is a option to adjust but it's not working. I thought let you know about this.
Sometimes the name height(ypos) more heigher then the dialogues, so i need to adjust sometimes especially if I'm increasing the text_size. That's why I asked.

And thanks for the new update(y)
 
5.00 star(s) 37 Votes