Mod Ren'Py Abandoned A House In The Rift - Gallery Unlocker Mod [v0.5.12r2] [OEJ]

BupoTiling03-Retired

Well-Known Member
Modder
Jul 21, 2018
1,341
1,892
I would recommend a far easier way of doing all of this. This will work across all future versions and is just one script...

game/unlock_all.rpy:
Python:
init +1 python:

    store.check_unlock = lambda x: True

    store.SceneGalleryEntry.unlocked = lambda x: True

    store.gallery_app.unlocked = lambda x: True
It simply overwrites the functions for judging whether something is unlocked rather than overwriting and maintaining files and versions. Future-compatible unless author changes stuff relating to the unlock algorithms (except digest keys which won't matter).

If it is desired, I can bother adding the line to reveal the spoilers in the Dreamer Pro Plus "app" but I think for those who play games for story that I shouldn't. They'll auto-unlock with the above when you reach certain points in the story without needing to be viewed.
 
Last edited:

chaughton22

Porn Pirate
Donor
Nov 27, 2018
478
521
Not really necessary to create it right after the post like that for cheap up-votes but whatever. Kinda lazy if people can't create a simple file. Not to mention no comment or credit.
Keep in mind technical knowledge varies significantly among F95ers. Many struggle with actions as simple as extracting to the correct directory. I personally have no idea how one would go about creating a .rpy file; I'm sure I could figure it out through google, but having a ready to go example is helpful to at least some of us.

Agreed about citing content creator, no question there. Thank you for providing this, will test shortly and report back.
 

BupoTiling03-Retired

Well-Known Member
Modder
Jul 21, 2018
1,341
1,892
Keep in mind technical knowledge varies significantly among F95ers. Many struggle with actions as simple as extracting to the correct directory. I personally have no idea how one would go about creating a .rpy file; I'm sure I could figure it out through google, but having a ready to go example is helpful to at least some of us.

Agreed about citing content creator, no question there. Thank you for providing this, will test shortly and report back.
I most definitely am one that deals with the lack of basic PC-literacy from others but I do things this way to force people to learn those basic operations. Still, most welcome.
 

chaughton22

Porn Pirate
Donor
Nov 27, 2018
478
521
I would recommend a far easier way of doing all of this. This will work across all future versions and is just one script...

game/unlock_all.rpy:
Python:
init +1 python:

    store.check_unlock = lambda x: True

    store.SceneGalleryEntry.unlocked = lambda x: True

    store.gallery_app.unlocked = lambda x: True
It simply overwrites the functions for judging whether something is unlocked rather than overwriting and maintaining files and versions. Future-compatible unless author changes stuff relating to the unlock algorithms (except digest keys which won't matter).

If it is desired, I can bother adding the line to reveal the spoilers in the Dreamer Pro Plus "app" but I think for those who play games for story that I shouldn't. They'll auto-unlock with the above when you reach certain points in the story without needing to be viewed.
So I dropped the unlock_all.rpy file into AHITR/game folder, but the same several scenes remain locked after adding that file. Any suggestions or advice? Tried going and clearing out my persistent appdata file, as well as deleting and freshly installing 0.4.16, but neither seemed to change the outcome....
 

BupoTiling03-Retired

Well-Known Member
Modder
Jul 21, 2018
1,341
1,892
So I dropped the unlock_all.rpy file into AHITR/game folder, but the same several scenes remain locked after adding that file. Any suggestions or advice? Tried going and clearing out my persistent appdata file, as well as deleting and freshly installing 0.4.16, but neither seemed to change the outcome....
Double-check your rpy. I have all four lines AND make sure the whitespace is correct or a line won't be executed. All of the Gallery is unlocked for those I wrote this for. In fact, the locked ones you have are 'Pre-reveal service', 'Helping hand in the attic', and 'Under her feet'. No need to clear persistent storage. You can try enabling console and running those commands (not the Init one) manually and if they unlock then your rpy is definitely foobar.
 

chaughton22

Porn Pirate
Donor
Nov 27, 2018
478
521
He just posted an update a short while ago, it's pasted below. I'm going to go through the list of OEJ mod threads and post this comment, so everyone know what's up. We appreciate the post OEJ , get your RL shit handled, that always comes first. We'll look forward to your return. Stay safe.


Hi Guys, I'm very busy with IRL stuff right now so i might not update my mods for a month ( i haven't been updating them recently). If someone else wanna continue them please feel free to do so. I will be back working on my leftover mods and new ones by February. Hopefully.
 
  • Like
Reactions: haooni

BupoTiling03-Retired

Well-Known Member
Modder
Jul 21, 2018
1,341
1,892
Just see the script I put above. Unlocks all future-proof (overwrites unlock functions only by simply returning true). Post #101.
 
  • Like
Reactions: haooni

danvo2004

Active Member
Apr 24, 2020
961
872
Hi OEJ Have anyone tested the new mod for v0.5.0r1, I copied all the files to Game folder, there are so many files than usual and it makes the game crashes when opening :(
 
Last edited:
  • Like
Reactions: plugjitma2540

plugjitma2540

New Member
Nov 27, 2019
1
1
I'm sorry, but an uncaught exception occurred.

While running game code:
ScriptError: Name (u'game/scripts/00_renpy_extensions/01_statement_block.rpy', 1575100374, 810) is defined twice, at game/00_renpy_extensions/01_statement_block.rpyc:1 and scripts/00_renpy_extensions/01_statement_block.rpyc:1.

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

Full traceback:
File "C:\Users\Plug\Downloads\AHouseInTheRift-v0.5.0r1-pc\AHouseInTheRift-0.5.0r1-pc\renpy\bootstrap.py", line 316, in bootstrap
renpy.main.main()
File "C:\Users\Plug\Downloads\AHouseInTheRift-v0.5.0r1-pc\AHouseInTheRift-0.5.0r1-pc\renpy\main.py", line 422, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "C:\Users\Plug\Downloads\AHouseInTheRift-v0.5.0r1-pc\AHouseInTheRift-0.5.0r1-pc\renpy\script.py", line 275, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "C:\Users\Plug\Downloads\AHouseInTheRift-v0.5.0r1-pc\AHouseInTheRift-0.5.0r1-pc\renpy\script.py", line 779, in load_appropriate_file
self.finish_load(stmts, initcode, filename=lastfn)
File "C:\Users\Plug\Downloads\AHouseInTheRift-v0.5.0r1-pc\AHouseInTheRift-0.5.0r1-pc\renpy\script.py", line 456, in finish_load
check_name(node)
File "C:\Users\Plug\Downloads\AHouseInTheRift-v0.5.0r1-pc\AHouseInTheRift-0.5.0r1-pc\renpy\script.py", line 439, in check_name
bad_node.filename, bad_node.linenumber))
ScriptError: Name (u'game/scripts/00_renpy_extensions/01_statement_block.rpy', 1575100374, 810) is defined twice, at game/00_renpy_extensions/01_statement_block.rpyc:1 and scripts/00_renpy_extensions/01_statement_block.rpyc:1.

Windows-8-6.2.9200
Ren'Py 7.3.5.606

Sat Jan 16 01:48:14 2021
----------------------------------------------------------------------------------------------------------------------------------------------
What should i do ????
 
  • Like
Reactions: Kaungkha418

BupoTiling03-Retired

Well-Known Member
Modder
Jul 21, 2018
1,341
1,892
Run stock and OP or stock and mine, not both. Mine is universal, works across all versions even immediately updated ones (overwrites the functions that determine if stuff is unlocked).
 

luwinkle

Member
Jan 14, 2019
366
370
Ran the mod in the OP, extracted to game folder, I get like plug's. Crash with a bunch of text in a notepad.