Tool Ren'Py Ren'Py Transparent Text Box Mod v2.6.4

5.00 star(s) 6 Votes

Daastaan007

Well-Known Member
Jan 10, 2019
1,330
567
Can anyone help me with how to increase the "quick menu" text size.
It’s hard to play on Android with this.
 
  • Like
Reactions: doujin1

Kieotl

New Member
Nov 22, 2021
6
5
Thank you very much for providing this tool. It's added to the enjoyment of running renpy games. Hitting the 'h' key all the time is a big pita. Problem now solved.

Your readme and update text files are worth reading through too. I can tell you put a lot of work into your project, and you've done a great job.

You've also earned #1 on Bing when searching for renpy transparency. Can't get more accolades than that.
 
Last edited:
  • Like
Reactions: SamHaim

Neko-Chan Pacifica

Well-Known Member
Jul 6, 2021
1,024
1,070
There seems to be a compatibility problem of my patch with older versions of Ren'Py.
If the Ren'Py SDK that the game was made with is older than v6.99.14, the game will crash with the transparency patch v2.4.7 and newer.

Currently there is one game that I'm aware of, that is being actively developed, but apparently is made using an old and incompatible Ren'Py SDK:

Ren'Py games that have already been completed or abandoned before January 2018 are more likely incompatible, too.

What is the solution to the problem?
In case after adding my patch to the game the game will crash with an error message:
File "game/y_outline.rpy", line 157: u'pagekeys' is not a keyword argument or valid child for the viewport statement.
Then you can use the old transparency patch v2.4.6 attached below.

File hash:
MD5: 36300E8655115A5B94D8A0CA6AD4E01F
SHA-1: D8CB9C85F6C6CDBD30D183AF58E1F1BD75E0B13F
SHA-256: 6D2C7EB800C9E31D75D09B022EAF9AB8DC1E264487B942B8C1144A1523899D35
SHA-384: 747FC710BFCAE8CEA8F70AFE4CB9A3CFCDB093E2B9F52FDEA6383CB5C62BE135ADF719E0F4F09CE6FF8EFB493EDB99EC
I love this little mod, it allows me to focus on the story, not the ridiculous text box, or the menu under the text box, every is very discrete and not in your face. I recommend this to everyone who hates the text box, but be aware it only works in renpy and not all games are compatible that make changes to the text box or menu, it will cause this mod not to work.
 

DavidCF

Member
Aug 10, 2020
361
130
Hi there,
Love the mod.
Do have some comments about 2.6.3.

I thought the maximum number of letters used to define color was 6.
In the Pandora's Box section you are now using 8 F's changed from 6 in v2.6.1.
Every other color definition you have only has 6 characters.
Lines 625 to 627.

Line 830 now has "Uknown" was "Unkown" before.
 

Night Hacker

Forum Fanatic
Jul 3, 2021
4,864
23,587
Apparently it is impossible to define constants on condition in Ren'Py. This kind of construction doesn't work:
Code:
if condition:
    define c = Character ("bla", color="#FF0000")
RenPy will just define constant "c" no matter if condition is true or false.

It means that I have to roll back versions to v2.3, that is - remove all overrides for specific games until I can figure out (or not) how to accomplish what I tried earlier.

Sorry!

Until then here are separate patch files for View of Family and Dual Family:
Ummm... it's either a constant, or it is not. You can't have a conditional constant in any programming language that I know of. That's why they are called constants, because they are always the same, never changing.

What you want to use in this case is the following;
Python:
if condition:
    default c = Character ("bla", color="#FF0000")
"default" sets a variable up (as opposed to a constant) which can be changed on the fly and so can be used in a conditional expression like that.
 

Vaftrudner

Member
May 19, 2022
206
255
Might be a weird quiestion, but is there a mod that does the opposite of this one?
Sometimes i play games where the text is hard to read due to white textwith alot of white backgrounds.
 

DavidCF

Member
Aug 10, 2020
361
130
Hi,
I am trying the following to change the font size in the game " The Way Love Goes " but it does not seem to work, the same code works in
"My New Memories".
Any suggestions?
Please.
Thank you.

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

zerodead

Engaged Member
Jan 18, 2018
2,227
2,098
I have this code that I modified, in the games that I tested, I managed to change the opacity and the font size, the only problem is that this code replaces the entire game option, if the original game has more options, the mod will replace everything, I wanted know if there's a way to improve it

before
1664156709037.png

later

1664156779478.png


1664156835865.png
1664156873500.png
 

SamHaim

Member
Aug 23, 2019
264
349
I have this code that I modified, in the games that I tested, I managed to change the opacity and the font size, the only problem is that this code replaces the entire game option, if the original game has more options, the mod will replace everything, I wanted know if there's a way to improve it

before
View attachment 2064976

later

View attachment 2064977


View attachment 2064979
View attachment 2064980
Not a programmer but looking at Penfold Mole 's mod it does a general overwrite then has specific exceptions and special code for certain games that have more advanced gui features.
 

DavidCF

Member
Aug 10, 2020
361
130
Hi there,
Love the mod.
Am trying to increase the font size for the game V.I.R.T.U.E.S. but nothing happens.
I must be missing something but a do not know what.

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

Help Please.
Thanks.
 
Last edited:

T. Jin

Member
Apr 3, 2022
184
188
Hey guy's I'm pretty new on this. I mean a total noob.
I just want to remove this text background from the game as it's really uncomfortable to play. It should be a a transparent box so that I could focus on the picture more instead of this black box.
And I btw I want to change it on android. I liked playing on android cuz it's comfortable.

Game name.. I'm in heaven. Ep. 1

So helper's pls kindly guide me ...
Explaining it on step by step could be really helpfull. Thanks.

I already downloaded the game. And did convert it into zip. The problem is... After that I have no idea on how to progress.
Text box is not cooded. It's on image.
Ex like.. x-textbox.png.
 

thetaprime

Newbie
Jun 26, 2022
16
4
There are instructions with Penfold Mole's text box modifier that I followed for making the text border a little wider or thinner by changing a parameter in y_outline.rpy. However, there is also text in a game I am playing that has no game character assigned to it. In the games dialogue code for example it could be just "Hi there" when an unknown person walks up off screen. In the game there will be no character name next to this text. The border setting I tweaked in this mod does not affect this text, so it could end up as white text on a white background.

Anyone following this: Is there another line in y_outline.rpy that can be tweaked for this, or a line that I could add myself to also give this text a border? If Penfold Mole is out there especially
any help is appreciated.
 
5.00 star(s) 6 Votes