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

5.00 star(s) 44 Votes

theMickey_

Engaged Member
Mar 19, 2020
2,250
2,947
1. I have tried many games,
2.game fully supports loading third-party *.rpa archives
3. I tried to load the original URM, and it worked
Then I don't know the answer to your question, sorry.

The reason I've been asking if the game you're testing it with supports loading third-party *.rpa archive is the recent discussions we had about games from Incenton: they don't allow loading third-party archives or scripts, and only after using a patch for the game they will load uncompiled Ren'Py scripts, but still no *.rpa archives. So I just wanted to make sure you're not testing your translated version with those games ;-)

And finally: how about you provide your translation to 0x52, and he then includes it into his version of URM if he wants to, so that there's only one URM out there and not multiple ones? Maybe we can start doing additional translations as a community as well...?!
 

elricsecret

Newbie
Feb 8, 2024
54
48
  • Added option to ignore variables in path detection and/or codeview (available after remembering a variable)
that was just what I wanted thx a lot for great work!
 

theMickey_

Engaged Member
Mar 19, 2020
2,250
2,947
idk what i am missing
Ah, sorry, you're talking about the *.urm files, my bad (I shouldn't respond to posts right after I woke up :ROFLMAO:). But looking at your screenshots, they're just compressed (files starting with "PK..." are usually ZIP archives). Just add ".zip" to the file and you can unpack it, or, if you're using the right tools, you can just change the content of the files within the ZIP archive.

So either rename "Aff Trust.urm" to "Aff Trust.urm.zip" and unpack it, or tell your archive tool to handle *.urm files as well ;-)
 
  • Yay, update!
Reactions: Boehser Onkel

Boehser Onkel

Forum Fanatic
Modder
Feb 20, 2021
4,111
6,405
Ah, sorry, you're talking about the *.urm files, my bad (I shouldn't respond to posts right after I woke up :ROFLMAO:). But looking at your screenshots, they're just compressed (files starting with "PK..." are usually ZIP archives). Just add ".zip" to the file and you can unpack it, or, if you're using the right tools, you can just change the content of the files within the ZIP archive.

So either rename "Aff Trust.urm" to "Aff Trust.urm.zip" and unpack it, or tell your archive tool to handle *.urm files as well ;-)
this did it - thanks mickey :cool: (y)
 
  • Like
Reactions: theMickey_

toobad0912

Newbie
May 1, 2021
92
33
Works fine on my side. Do you maybe have a save right before the issue occurs for you?
Sorry! I ended up just plowing through without URM. When the next update lands I'll get you a save file.

But unfortunately I've run into another issue.
You don't have permission to view the spoiler content. Log in or register now.

Any ideas? Thanks for all your great work!
 

theMickey_

Engaged Member
Mar 19, 2020
2,250
2,947
But unfortunately I've run into another issue.
Which game has the issue (preferable a link to the game's thread)- Shattered (I don't think it's on F95)
Are you talking about this game? I don't want to download 30+ GB to test it just to figure out you're talking about a different game :p

One question though: After you configured your custom textbox with URM, have you also enabled it?
1734771976376.png


EDIT: If we're indeed talking about the above mentioned game (I just downloaded 30 GB to just test this), custom textboxes are working perfectly fine -- if they're enabled ;-)

1734774789805.png
 
Last edited:
  • Like
Reactions: 0x52

toobad0912

Newbie
May 1, 2021
92
33
Are you talking about this game? I don't want to download 30+ GB to test it just to figure out you're talking about a different game :p

One question though: After you configured your custom textbox with URM, have you also enabled it?


EDIT: If we're indeed talking about the above mentioned game (I just downloaded 30 GB to just test this), custom textboxes are working perfectly fine -- if they're enabled ;-)

Thanks for testing this out! But, I am sorry to tell ya, that's not the game I'm talking about. The Shattered I'm talking about is about 200MB and is just getting started. (I think this is a game that F95 doesn't approve of... fwiw)

But thank you again for trying to help, I'm sorry that I caused you to go through all that hassle!
 

Tiur

Well-Known Member
Nov 13, 2021
1,257
3,442
Thanks for testing this out! But, I am sorry to tell ya, that's not the game I'm talking about. The Shattered I'm talking about is about 200MB and is just getting started. (I think this is a game that F95 doesn't approve of... fwiw)

But thank you again for trying to help, I'm sorry that I caused you to go through all that hassle!
I know the game you mean, and just took a look. It has completely and heavily customized dialogue delivery code (example below), so I am completely unsurprised that URM's textbox doesn't override it. That said, the game does have a built-in opacity slider, at least, and if you post about it at the place it is posted by the dev, you may be able to ask for other textbox features to be added (since they clearly enjoy tinkering with the code more than most RenPy devs).

Python:
    define dlg_dinner_burger = [
        (None, ""),                 
        
        (Rachel_mind, "I'm having a deja vu..."),
        (Rachel_mind, "...Don't know what to expect..."),
        (Rachel_mind, "..."),
        (Lily, "I'm so hungry dad!"),
        (Lily, "What's up for dinner?"),
        
        (Chris, "Something you'll like, hopefully..."),
        (Chris, "There you are, girls!"),
        (Lily, "Yay!! Burgers!"),
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,700
6,691
Use URM on games by Inceton Games
(Lust Theory, Thot on Trial, probably more)

For people here that are trying to use URM on games by Inceton Games, but get an error. Please follow these steps:
  1. Open the file renpy/script.py in a text editor
  2. Look for the line def build_archive_rpyc(self, data, key): (it's at line 629 for me)
  3. Add a new line below that line, starting with 8 spaces and then: if data[:5] == b'\x80\x02\x7d\x71\x01': return data
  4. The result should look like this: 1734865699931.png
  5. That's all. The mod should now load as expected
 

MiltonPowers

Twins Basil! Twins!
Donor
Jul 26, 2023
9,384
18,109
Use URM on games by Inceton Games
(Lust Theory, Thot on Trial, probably more)

For people here that are trying to use URM on games by Inceton Games, but get an error. Please follow these steps:
  1. Open the file renpy/script.py in a text editor
  2. Look for the line def build_archive_rpyc(self, data, key): (it's at line 629 for me)
  3. Add a new line below that line, starting with 8 spaces and then: if data[:5] == b'\x80\x02\x7d\x71\x01': return data
  4. The result should look like this: 1734865699931.png
  5. That's all. The mod should now load as expected
Thanks a whole bunch for this and all the work you put into URM. It is very much appreciated. :) :love:
 

STATE_

Member
Nov 14, 2021
227
175
am using the new version of the URM mod and playing Eternum i want to have the MCs textbox color different from all characters but its not letting me change it will only work on the name ANY for every character does anyone know the problem
 

FaceCrap

Ghost of torrents passed
Donor
Oct 1, 2020
1,327
900
First of all, a Merry Xmas.
XMasTrees.jpg

Second: It was always a bit slow, but it feels like it's gotten worse.
Editing a variable name is very laggy, it literally takes a few seconds for the cursor to move one character (typing or navigating left/right doesn't make a difference)
 
  • Heart
Reactions: Boehser Onkel

13325

Newbie
Jun 21, 2017
93
61
Not sure if it was requested before, might be handy to have a simple page on your website with requests that you're working on or rejected, as using Search option doesn't always yield results.

There are an increasing number of 'Mobile phone'-type games that use different resolutions such as Chat Noir:
https://f95zone.to/threads/chat-noir-0-0-6-joy-boy.226626/

View attachment 4344068


As you can immediately tell, the mod window goes off screen, and you can drag it but it gets stuck at some point not moving any direction.



Same goes for the ALT + M window


View attachment 4344079


Not sure what the best solution would be in this case, scrollbar? smaller text?(probably not great) or a more condensed view?
You can edit the code for the resolution of the game. Add a menu button that will swap between the resolutions and you can use it whenever you need URM. Its really janky, like extremely, but it works. The game I tried it on has the location of the objects on screen coded in a relative way which means it'll fuck up if you just increase the resolution and try to play that way. Have to go back to the original res for a playable experience. Ideally, somehow URM creates its own resolution context and somehow keeps everything else where it belongs on the screen. Some kind of detach from the Ren'py screen with its own window would be real nice too. Next best option would be shrinking everything so we just have to squint to read and click.
 

Darkrider1222

New Member
Dec 12, 2024
3
0
AGENT 17 free version: i tried to use URM but when i increase the money and try to make a purchase in game a window appears saying "you cannot cheat in this free version of the game" anyone has solution to this? even if i restart the game and try to make any purchase turning URM off, it still shows the same message ie, "you cannot cheat in this free version of the game"
 
5.00 star(s) 44 Votes