Mod Ren'Py Being a DIK Gallery Unlocker [Season3 0.10.0] [OEJ]

Deleted member 4298851

Well-Known Member
Oct 27, 2021
1,761
2,360
btw, updated mod to v0.8.1 :)
Not to nitpick, but there's that one Sage scene that I can't click on, I mean, not that I care because I'm not a fan of hers anyway, but glad that the update's out, much appreciated.

Just for the record, here's the scene I mean

1638729863691.png
I have the original galley.rpyc that I backed up. I saw somewhere that maybe you have to delete that so it creates a new one. *shrug* going to try that
 
Last edited:

Deleted member 4298851

Well-Known Member
Oct 27, 2021
1,761
2,360
Went back to the previous version and had to redownload the game again because the new version kept giving me tracebacks and crashes. Don't care about one Sage scene missing
 

ZLZK

Member
Modder
Jul 2, 2017
276
613
By thy way, OEJ there are 2 ways to do this mod.

1: To use second block of the file gallery.rpy which is "screen scenes",
to cut out each if statement.
(That's what you did.)

2: To use first block of the file gallery.rpy which is "init",
to only cut some lines and replace some strings.
(That's what I would do.)

The first option can add custom scenes, the second one can only unlock every scene.
You don't have permission to view the spoiler content. Log in or register now.
The mod done this way would be valid only up to current self version, (Same as yours.)
but my mod should be on all versions. (I very hope so! XD)

You can also check attached below file to see example how it should look.
 
Last edited:
  • Like
Reactions: OEJ

OEJ

'Dirth ma, harellan. Ma banal enasalin. Mar solas'
Moderator
Donor
Dec 9, 2017
1,800
26,346
fucking commas :reee

By thy way, OEJ there are 2 ways to do this mod.

1: To use second block of the file gallery.rpy which is "screen scenes",
to cut out each if statement.
(That's what you did.)

2: To use first block of the file gallery.rpy which is "init",
to only cut some lines and replace some strings.
(That's what I would do.)

The first option can add custom scenes, the second one can only unlock every scene.
You don't have permission to view the spoiler content. Log in or register now.
The mod done this way would be valid only up to current self version, (Same as yours.)
but my mod should be on all versions. (I very hope so! XD)

You can also check attached below file to see example how it should look.
i generally dont mess with the commands that maybe use to call the gallery else where in the game.... i use this brute force method coz it is foolproof even if someone call the galllery or makes any changes to it. will check yours. (y)
 
  • Like
Reactions: rockie

Deleted member 4298851

Well-Known Member
Oct 27, 2021
1,761
2,360
fucking commas :reee


i generally dont mess with the commands that maybe use to call the gallery else where in the game.... i use this brute force method coz it is foolproof even if someone call the galllery or makes any changes to it. will check yours. (y)
Yeah I was jumping through hoops backing up, reinstalling, crashing, then thankfully, fucking THANKFULLY, after 3 hours of me doing that shit, someone pointed out a single goddamn comma, it was all I could do to keep from bursting out laughing.

But everything's cool beans now
 
  • Like
Reactions: OEJ

ZLZK

Member
Modder
Jul 2, 2017
276
613
i generally dont mess with the commands that maybe use to call the gallery else where in the game.... i use this brute force method coz it is foolproof even if someone call the galllery or makes any changes to it. will check yours. (y)
Only if your modified screen will be loaded last.
So if you want to keep using this method you should put "screen scenes" block in "init" block.
By doing so you tell the game when it should be loaded.
You don't have permission to view the spoiler content. Log in or register now.
This will only fail if someone else will use higher offset.
(Or if same offset and filename isn't last in alphabetical order.)

In this way you can rename mod file to different name.
Which will also resolve issue when ".rpy" file doesn't update existing ".rpyc" file.
(Because all scripts are loaded only from ".rpyc" files and ".rpy" files are used only to generate ".rpyc" files.)
Or you can post also ".rpyc" file too, but is that a real issue?
(Didn't happen to me, but someone did mention it in this thread.)
 

ZLZK

Member
Modder
Jul 2, 2017
276
613
By thy way, OEJ there are 2 ways to do this mod.

1: To use second block of the file gallery.rpy which is "screen scenes",
to cut out each if statement.
(That's what you did.)

2: To use first block of the file gallery.rpy which is "init",
to only cut some lines and replace some strings.
(That's what I would do.)

The first option can add custom scenes, the second one can only unlock every scene.
You don't have permission to view the spoiler content. Log in or register now.
I forgot about "seen_label" part. I added it already. Check out quoted post.
(Part "seen_label" makes gallery buttons clickable and callable.)

There are 3 walkarounds to this problem.

1: Add attribute "locked" with value "False" to each "Replay" function.
(That's what you did.)

2: Override "Replay" function to ignore "seen_label" and "locked" attribute.
(That's what I did in quoted post.)

3: Set labels to be seen.
(That's what I did in my mod.)

This is what was missing in second way of doing this mod.
In the first way of doing this mod, I mean your mod.
You missed on changing "persistent" variables to "True".
You don't have permission to view the spoiler content. Log in or register now.
So you see, the difference is only in used method:
  1. Replacing game file with your own mod file.
  2. Altering game file throughout mod file.
Then your preferred method is replacing and mine is altering.
Those two ways are all about this.

I just added method of altering to replacing method to make it more reliable.
I mean "init" block.
 
Last edited:

nkj1234

New Member
Dec 5, 2021
1
0
Hey for some reason it won't work on my game! I extracted the game folder of the mod into the regular game folder, it seems to have all the proper files, but then the mod doesn't work. Is there a way I'm supposed to enable it? It's also not asking to replace any files when I extract it into there.
 

OEJ

'Dirth ma, harellan. Ma banal enasalin. Mar solas'
Moderator
Donor
Dec 9, 2017
1,800
26,346
Hey for some reason it won't work on my game! I extracted the game folder of the mod into the regular game folder, it seems to have all the proper files, but then the mod doesn't work. Is there a way I'm supposed to enable it? It's also not asking to replace any files when I extract it into there.
put file in the .zip in your "game" sub forlder of the game
 

Nemo56

Forum Fanatic
Jan 7, 2018
4,912
4,004


Most Important: If you like the Game/Mod Please Support the Developer: DrPinkCake -
It's also DRM free on GOG now. Go get it
Season 1


Season 2 (DLC)


Bundle
 
  • Like
Reactions: OEJ

Deleted member 4298851

Well-Known Member
Oct 27, 2021
1,761
2,360
Only issue I'm having is the Jill/Bella yoga scene in E5, both 50% and 100% ends right after the "Try it with Jill/Bella" choice. I'm pretty sure the 100% goes on the continue the yoga with Jill or the sauna with Bella

I haven't checked other 50%/100% scenes though to see if the same problem arises
 
Last edited: