CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Mod Ren'Py Universal Gallery Unlocker [2024-01-24] [ZLZK]

5.00 star(s) 2 Votes

GoldenQuazar

New Member
Feb 2, 2018
8
11
My new version doesn't temper with persistent anymore.

Here's old version converted for that game only:
Python:
init 1 python hide:


    class FakeDict(dict):
        def __contains__(self, item):
            return True


    getattribute = renpy.game.Persistent.__getattribute__
  
    def __getattribute__(self, name):
        if name != 'replay_gallery_unlocks':
            return getattribute(self, name)
        else:
            return FakeDict()

    renpy.game.Persistent.__getattribute__ = __getattribute__
how do I use this?
 

ZLZK

Member
Modder
Jul 2, 2017
295
801
is there a public blacklist to see what game it doesn't work?
It's not that kind of mod anymore, it doesn't brake games for it to have a blacklist.

There isn't a list, and there is no need for it.

It's about what mod does, and what it does not.

It works for games that use:
- renpy.seen_label/image/audio
- persistent inside if nodes of screens (not guaranteed)

It doesn't work for games that use:
- persistent outside if nodes of screens
- anything else
 
  • Like
Reactions: ct4me and batanegra

BRaider2020

Member
Apr 25, 2020
455
293
yeah, like ZLZK said, I noticed this mod doesn't need to change any game codes to work with. At most, all it does is adding a new functionality (unlocks gallery) to the game itself (if that doesn't happen, then game is not affected by it being there, do to his mod limitations)

other then that it works perfectly in games that don't have a gallery unlocker mod already, not all of course, but its kinda works like an universal mod for several games at once, way easier to use then the other URM.
 
  • Like
Reactions: batanegra

ZLZK

Member
Modder
Jul 2, 2017
295
801
Thank you for the mod, but it doesn't work with Greener Pastures (0.13.6 Win)
https://f95zone.to/threads/greener-pastures-v0-13-6-arcaos.80656/
Maybe something in code needs to change?
Changes = Custom gallery unlocker = Different mod
Since, my mod doesn't work for you,
you can request someone else to make one for that game.

Let me clarify, my mod is a tool to be used when there is no other such a mod for a game,
and it's not guaranteed to work.
It's not a request thread to make mods.
Any custom gallery requires custom mod.
Some things might be done universal, but most not.

I might look into that game later.
 

Puggy Aiden

Newbie
Apr 25, 2023
21
25
You probably get this a lot but this and you choice descriptor mod are the greatest mods ever. So thank you.
 

LordFrz

Engaged Member
Oct 21, 2022
2,168
3,146
getting this error with the game HottestSummer. I also have the multimod installed so that could also be a contributor, as in it worked with the multimod, but the unlocker after that is giving errors when I watch replays. Ity did unlock everything, I just get that error constantly popping up as the scene plays. I can ignore it and continue the scene but it keeps throwing that error non stop.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/ep4.rpy", line 3497, in script
    mc "What?"
KeyError: 'fname'

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

Full traceback:
  File "game/ep4.rpy", line 3497, in script
    mc "What?"
  File "F:\Downloads\VN\HottestSummer0.4(public)-win\renpy\ast.py", line 921, in execute
    renpy.exports.say(who, what, *args, **kwargs)
  File "F:\Downloads\VN\HottestSummer0.4(public)-win\renpy\exports.py", line 1373, in say
    who(what, *args, **kwargs)
  File "F:\Downloads\VN\HottestSummer0.4(public)-win\renpy\character.py", line 1251, in __call__
    who = self.prefix_suffix("who", self.who_prefix, who, self.who_suffix)
  File "F:\Downloads\VN\HottestSummer0.4(public)-win\renpy\character.py", line 1172, in prefix_suffix
    return (sub(prefix) + sub(body) + sub(suffix))
  File "F:\Downloads\VN\HottestSummer0.4(public)-win\renpy\character.py", line 1152, in sub
    return renpy.substitutions.substitute(s, scope=scope, force=force, translate=translate)[0]
  File "F:\Downloads\VN\HottestSummer0.4(public)-win\renpy\substitutions.py", line 278, in substitute
    s = formatter.vformat(s, (), kwargs) # type: ignore
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 165, in vformat
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 205, in _vformat
  File "F:\Downloads\VN\HottestSummer0.4(public)-win\renpy\substitutions.py", line 168, in get_field
    obj, arg_used = super(Formatter, self).get_field(field_name, args, kwargs)
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 270, in get_field
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 227, in get_value
KeyError: 'fname'

Windows-10-10.0.19045 AMD64
Ren'Py 8.0.3.22090809
 VERSION 0.4
Thu Jan 11 20:01:33 2024
 

ZLZK

Member
Modder
Jul 2, 2017
295
801
getting this error with the game HottestSummer. I also have the multimod installed so that could also be a contributor, as in it worked with the multimod, but the unlocker after that is giving errors when I watch replays. Ity did unlock everything, I just get that error constantly popping up as the scene plays. I can ignore it and continue the scene but it keeps throwing that error non stop.
I won't be looking into it.

It seems like variable 'fname' is not defined yet.

My mod only simulates unlocked state,
it doesn't take care of variables or persistent,
which may be needed in scenes.
 
  • Like
Reactions: LordFrz
Oct 28, 2018
70
51
Thanks for your update on this unlock mod every time.
Unfortunately, however, it doesn't seem to work with the latest version of Warlord [v1.0.1 Free] [deepglugs].
 

ZLZK

Member
Modder
Jul 2, 2017
295
801
Thanks for your update on this unlock mod every time. [...]
It wasn't UGU update, it was mod base update.

[...] Unfortunately, however, it doesn't seem to work with the latest version of Warlord [v1.0.1 Free] [deepglugs].
Now I have done actual update, and above game is unlocked now.
Somehow I didn't know about renpy Image Gallery before. :LUL:

Unfortunately, it doesn't seem to work with the most recent version of My Pleasure.
I have seen in other gallery mod that this game also uses Image Gallery, then it should work for it too.
 
5.00 star(s) 2 Votes