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

Mod Ren'Py Long Live the Princess - Universal Gallery Unlocker [v1.2.0] [SomeGuyWithNoImagination]

SomeGuyWithNoImagination

❤️ Keep comfy. ❤️
Donor
Game Developer
May 31, 2019
634
2,351
No NTR here...why not?
I believe there are some scenes with Thaddeus and Evelyn in the game, however they are actually missing from the gallery entirely. I do not make any changes to the gallery. I am just unlocking what is there.

There are 3 new scenes for callie that is locked. Looking forward to the updated Mod. :)
Thank you for letting me know, however I do not have any locked scenes. I have noticed that some options within the scenes were missing so I have enabled those.

I've attached an image of how the fully unlocked gallery is supposed to look. If scenes are missing, they are not in the gallery in the first place.
 

SomeGuyWithNoImagination

❤️ Keep comfy. ❤️
Donor
Game Developer
May 31, 2019
634
2,351
the mod should be updated again.
This mod does not have to be updated unless something is broken. It reads the gallery code and automatically unlocks all items.

If something is missing, there are two possibilities.
  1. The scene is not in the gallery in the first place. In this case, there is nothing I can do.
  2. The gallery has changed in an unexpected manner, breaking my mod. In this case, please let me know which scenes are missing and I will update the mod.
When I updated the persistent file for Android users, I did a quick glance through the gallery and everything seemed to be unlocked, though I did no testing other than looking through the pages.
 
  • Like
Reactions: stever and Balu83

BADHELLBOYS

Newbie
Jul 29, 2017
65
54


Overview:
A universal gallery unlocker that should work with all versions of LLTP - past, present, and future.​

Updated: 2021-06-29
Game/Creator: Long Live the Princess / Belle -
Modder: SomeGuyWithNoImagination
Mod Version: v1.1.1
Game Version: Any

Features:
- Unlocks gallery
- Should work with all versions of LLTP - past, present, and future.

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

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

As always, if there are any issues with this mod, please let me know and I will look into it.

Download:

You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
Cant find the file "extras.rpy" v0.37.0

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/lltp_universal_gallery_unlocker_v1-1-1.rpy", line 25, in <module>
IOError: Couldn't find file 'extras.rpy'.

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

Full traceback:
File "renpy/bootstrap.py", line 326, in bootstrap
File "renpy/main.py", line 515, in main
File "/storage/emulated/0/Android/data/com.belle.longlivetheprincess/files/game/lltp_universal_gallery_unlocker_v1-1-1.rpyc", line 13, in script
File "/storage/emulated/0/Android/data/com.belle.longlivetheprincess/files/game/lltp_universal_gallery_unlocker_v1-1-1.rpyc", line 13, in script
File "renpy/ast.py", line 922, in execute
File "renpy/python.py", line 2218, in py_exec_bytecode
File "game/lltp_universal_gallery_unlocker_v1-1-1.rpy", line 25, in <module>
File "renpy/exports.py", line 2316, in file
File "renpy/loader.py", line 798, in load
IOError: Couldn't find file 'extras.rpy'.
 

SomeGuyWithNoImagination

❤️ Keep comfy. ❤️
Donor
Game Developer
May 31, 2019
634
2,351
Cant find the file "extras.rpy" v0.37.0

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/lltp_universal_gallery_unlocker_v1-1-1.rpy", line 25, in <module>
IOError: Couldn't find file 'extras.rpy'.

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

Full traceback:
File "renpy/bootstrap.py", line 326, in bootstrap
File "renpy/main.py", line 515, in main
File "/storage/emulated/0/Android/data/com.belle.longlivetheprincess/files/game/lltp_universal_gallery_unlocker_v1-1-1.rpyc", line 13, in script
File "/storage/emulated/0/Android/data/com.belle.longlivetheprincess/files/game/lltp_universal_gallery_unlocker_v1-1-1.rpyc", line 13, in script
File "renpy/ast.py", line 922, in execute
File "renpy/python.py", line 2218, in py_exec_bytecode
File "game/lltp_universal_gallery_unlocker_v1-1-1.rpy", line 25, in <module>
File "renpy/exports.py", line 2316, in file
File "renpy/loader.py", line 798, in load
IOError: Couldn't find file 'extras.rpy'.
This mod was never tested or intended for use on Android. May you please tell me exactly which download you are using? It is possible there may be differences between the files of the compressed/original version.

The intended method for Android is to use the persistent file provided. It will reset the "unseen dialogue," however it appears to have been an acceptable method for others.
 

BADHELLBOYS

Newbie
Jul 29, 2017
65
54
This mod was never tested or intended for use on Android. May you please tell me exactly which download you are using? It is possible there may be differences between the files of the compressed/original version.

The intended method for Android is to use the persistent file provided. It will reset the "unseen dialogue," however it appears to have been an acceptable method for others.
I test twice with both mega file, the attached file. Original persistent and the v0.37.0 persistent. I cant even reach the mainmenu.
Loading then crashed.
I was used Samsung galaxy s7 android 8 cookie.
First i used the mega file with the 0.37 persistent.
Then the attachment file with the original persistent.
 
Last edited:

SomeGuyWithNoImagination

❤️ Keep comfy. ❤️
Donor
Game Developer
May 31, 2019
634
2,351
I test twice with both mega file, the attached file. Original persistent and the v0.37.0 persistent. I cant even reach the mainmenu.
Loading then crashed.
I was used Samsung galaxy s7 android 8 cookie.
First i used the mega file with the 0.37 persistent.
Then the attachment file with the original persistent.
By that question, I meant where you got the android version. The android version is 0.36 and the compressed android version is 0.38. There is no 0.37 version for Android that I have access to for testing.
 

SomeGuyWithNoImagination

❤️ Keep comfy. ❤️
Donor
Game Developer
May 31, 2019
634
2,351
The "fap-nation . com"
I have updated the persistent file in OP. Unfortunately, I do not have the time to debug the mod being used on a version of the game which it is not intended for and that I have no desire to play or test for.
 

ZLZK

Member
Modder
Jul 2, 2017
295
801
SomeGuyWithNoImagination
I was bored so I have done the part you didn't do.
You don't have permission to view the spoiler content. Log in or register now.

P.S. It's also possible to make your unlocker not depended on reading 'extras.rpy' file,
but it's a lot more complicated.

I mean I know 2 ways:
1. Buildin full decompiler.
2. Buildin partial decompiler.
 
Last edited:

SomeGuyWithNoImagination

❤️ Keep comfy. ❤️
Donor
Game Developer
May 31, 2019
634
2,351
SomeGuyWithNoImagination
I was bored so I have done the part you didn't do.
You don't have permission to view the spoiler content. Log in or register now.

P.S. It's also possible to make your unlocker not depended on reading 'extras.rpy' file,
but it's a lot more complicated.

I mean I know 2 ways:
1. Buildin full decompiler.
2. Buildin partial decompiler.
Some of the things you did are better than mine (smarter regex, setattr) but the main reason I've implemented things in the way I have is because it's drop-dead simple.

I doubt Belle will ever overhaul the gallery code, and even if so it's not too hard to update or write another mod.

Additionally, I have a private gallery unlock mod that is effectively this mod but with many more possible implementations accounted for. It can unlock about 50% of galleries in full and another 25% with a few caveats. Your idea is more likely to be useful in something like that.
 

ZLZK

Member
Modder
Jul 2, 2017
295
801
Some of the things you did are better than mine (smarter regex, setattr) but the main reason I've implemented things in the way I have is because it's drop-dead simple.

I doubt Belle will ever overhaul the gallery code, and even if so it's not too hard to update or write another mod.

Additionally, I have a private gallery unlock mod that is effectively this mod but with many more possible implementations accounted for. It can unlock about 50% of galleries in full and another 25% with a few caveats. Your idea is more likely to be useful in something like that.
I have done it hastily so my regex isn't smarter just yet.
I mean condition is a string of variables,
and your regex wasn't breaking it at space,
so I used prepared set of chars. (\w)

Also setattr is not done as well.
I mean you need to make it with loop to handle nested variables.
You can use Ren'Py one though: (Renpy/common/00action_data.rpy)
Python:
# Ren'Py Nested getattr
renpy.store._m1_00action_data__get_field(object, name, "field")
Python:
# Ren'Py Nested setattr
renpy.store._m1_00action_data__set_field(object, name, value, "field")
or make your own.

I dunno about my idea being used in anything else,
because it's constructed for LLtP only.
I mean there needs bo be labels that name ends with "_replay_menu".
In that labels there needs to be menu in first if block.
And in that menu choices there needs to be persistent variables.


The way your mod is done is fine.
Only 2 things missing to make it perfect.

1. Reading 'extras.rpy' file from 'extras.rpyc' or game itself.
To make it work without '.rpy' files.
I have done it in my DIK unlocker,
if you are interested you can check it out here.
In there I've used nodes directly instead of buildin unrpyc.
You could say that it's partial decompiler.

2. Self removal.
Useful if your unlocker is for single use only.
I have done it in my KoD unlocker,
if you are interested you can check it out here.
Although there is probably better way to do this, but I'm unaware of it
 

ZLZK

Member
Modder
Jul 2, 2017
295
801
After some considerations I came up with more universal Self Removal.
You don't have permission to view the spoiler content. Log in or register now.
It doesn't remove itself anymore, but it ensures to be of single use per game version.
 
Last edited: