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

5.00 star(s) 6 Votes

Downbadguy95

Newbie
May 28, 2022
74
187
Not every hero wears a cape and you my friend, you're a goddamn Goat. This shit works like a charm on every game I tried so far. Man it's annoying af when some games don't give us any option to remove those pesky black boxes that take away from the experience. Amazing work by Penfold Mole
 
Last edited:

Daastaan007

Well-Known Member
Jan 10, 2019
1,185
476
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
4
3
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

Active Member
Jul 6, 2021
932
928
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,460
21,824
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
181
236
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,208
2,059
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
262
332
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:
5.00 star(s) 6 Votes