Cheat Mod Ren'Py The Null Hypothesis Cheat Injector [v2.1] [Sleepingkirby]

Hueman11

New Member
Mar 15, 2022
4
1
No i just bury my games deep, just happens i don't use vim a lot lol. I have played before and have saves on only 7b if that is of any use. Here is my game folder if useful:
Screenshot 2025-02-03 201912.png
 

sleepingkirby

Well-Known Member
Aug 8, 2017
1,057
1,645
No i just bury my games deep, just happens i don't use vim a lot lol. I have played before and have saves on only 7b if that is of any use. Here is my game folder if useful:
View attachment 4513712
No, that helps me very little. In fact, all your screen caps managed to cut off just enough to give me the full picture.

But what's clear is that something is preventing the .bat script from creating new files within the game folder. Whether that be folder permissions or antivirus/windows defender or powershell no doing what it needs to/suppose to. But the unique thing about your case is, there's no error message when it's unable to. If powershell isn't installed or not available, it should have said that. If powershell doesn't have permission to write the file, it should have said that. If the .bat can't echo out to the directory, it should have said that. It's like your system (or that folder) is explicitly configured to both prevent you from writing things to that directory AND suppose any useful warning/error messages.

This is one of those cases where it's hard to diagnose without being there because, as I've said, nothing about you or your system is giving me the full message. It's almost like you or your system is intentionally doing something that it's hiding from both you and/or me. And that sets my security senses on high alert.

But for now, check the usual suspects.
  • Make sure the folder is writable by other processes. (Permissions are correct. Read only flag is not set, etc.)
  • Make sure no antivirus and/or windows defender is stopping certain actions from happening
  • Make sure powershell exists, is executable and runs without error.
 

Hueman11

New Member
Mar 15, 2022
4
1
Had a check and look like my read only mode on files is stuck on. I'm guessing this is an Norton antivirus biproduct or something (although no popups or alerts have stated so by the software). I Also tested powershell and doesn't seem to work either.

This looks way out of my scope haha, but thank you for taking the time to look into this for me.
 
  • Like
Reactions: sleepingkirby

sleepingkirby

Well-Known Member
Aug 8, 2017
1,057
1,645

ChaozEnigma

Member
Jun 18, 2019
117
121
Anything else after that? That's a flaw with rpatool and I don't have any control over. It's also a benign error message. If there are no more error messages after that, you should be good.
I got this
################################################################################








The Null Hypothesis Cheat Injector





Vesrion: 2.1


by Sleepingkirby


Inspired/based on RL Cheat Injector by SLDR @ F95zone.com


################################################################################








Checking if modification has already been done...


No backup's found. Safe to progress.





Checking to make sure requirements are met.














Files to be editted not found. Is it still in the archive.rpa?








Rpatool missing. Downloading



--2025-04-21 12:03:34--


Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.111.133, 185.199.110.133, ...


Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.


HTTP request sent, awaiting response... 200 OK


Length: 18594 (18K) [text/plain]


Saving to: ‘rpatool’





rpatool 100%[===================>] 18.16K --.-KB/s in 0.02s





2025-04-21 12:03:35 (760 KB/s) - ‘rpatool’ saved [18594/18594]





Extracting archive.rpa...


Could not extract file from archive: [Errno 2] the requested file . does not exist in the given Ren'Py archive


./scripts/base/config.rpy patched


./scripts/mechanics/utilities.rpy patched


./scripts/base/player.rpy patched


./scripts/interfaces/Player_menu.rpy patched


./scripts/interfaces/sex.rpy patched


./scripts/mechanics/approval.rpy patched


./scripts/sex/request.rpy patched


./scripts/interfaces/interactions.rpy patched


./scripts/mechanics/movement.rpy patched


./scripts/interfaces/base.rpy patched


./scripts/interfaces/main_menu.rpy patched


DONE!
Hopefully its done? Im on MAC. thanks thanks
 

immortaltess

New Member
Jul 2, 2017
2
0
Just wanted to submit a possible incompatibility report. I think the newest version (0.8) broke it. Tried a few different methods to get the cheats to activate--- nothing.

I did get this error: Could not extract file from archive: [Errno 2] the requested file . does not exist in the given Ren'Py archive
With the rest of the lines spitting out as normal after.
 

sunsflower69

Formerly 'spaxe'
Jan 27, 2019
1
0
when i increase the girls love/trust, it will go past the 1000 limit. but then after an action or activity, it resets back to 1000. Is this normal with the cheat?
 

sleepingkirby

Well-Known Member
Aug 8, 2017
1,057
1,645
Just wanted to submit a possible incompatibility report. I think the newest version (0.8) broke it. Tried a few different methods to get the cheats to activate--- nothing.

I did get this error: Could not extract file from archive: [Errno 2] the requested file . does not exist in the given Ren'Py archive
With the rest of the lines spitting out as normal after.
What do you mean "get it to activate"? I've tested it against 0.8a and, short of the relationship fixer (I'll release a fix for that soon. Ororo being added to the companion list broke it. Just realized this is a beta. Will release fix when stable version is out.), it should all be fine. If you're wondering *how* to use to the cheat, please refer to the screenshots in the first post of this thread.
 
Last edited:

sleepingkirby

Well-Known Member
Aug 8, 2017
1,057
1,645
when i increase the girls love/trust, it will go past the 1000 limit. but then after an action or activity, it resets back to 1000. Is this normal with the cheat?
No. I'll go fix that. This cheat breaks the 1000 limit for each season but RonChon changed the syntax of how the limits are defined.
Just realized 0.8a is a beta version. I'll implement this fix (and maybe the Ororo/relationship fixer fix if that's still needed) when the stable version is released. If you want to fix this for the time being, with the cheat applied:
  • go into the game's folder
  • find game/scripts/mechanics/approval.rpy
  • open that up in a text editor
  • look for this line:
    • define max_stats = (99999, 99999, 99999, 1000)
  • change that last 1000 to 99999
  • save and restart the game if it's running.
 
Last edited:
  • Heart
Reactions: sunsflower69

immortaltess

New Member
Jul 2, 2017
2
0
What do you mean "get it to activate"? I've tested it against 0.8a and, short of the relationship fixer (I'll release a fix for that soon. Ororo being added to the companion list broke it. Just realized this is a beta. Will release fix when stable version is out.), it should all be fine. If you're wondering *how* to use to the cheat, please refer to the screenshots in the first post of this thread.
Oh for some reason, no matter what I do, the cheats aren't enabled. I've used admin mode. I've made sure it's in the right folder. IDK what's going on lol. When I boot up, the cheats aren't enabled/nor is there even evidence of the mod/script.
 

sadnoodleboy

New Member
Dec 8, 2017
12
5
No. I'll go fix that. This cheat breaks the 1000 limit for each season but RonChon changed the syntax of how the limits are defined.
Just realized 0.8a is a beta version. I'll implement this fix (and maybe the Ororo/relationship fixer fix if that's still needed) when the stable version is released. If you want to fix this for the time being, with the cheat applied:
  • go into the game's folder
  • find game/scripts/mechanics/approval.rpy
  • open that up in a text editor
  • look for this line:
    • define max_stats = (99999, 99999, 99999, 1000)
  • change that last 1000 to 99999
  • save and restart the game if it's running.
Code must reference that limit elsewhere, still reverts to 1000 (checked multiple times, even deleted the rpyc).
*edit* Looks like the line:
-else:
update = 1000 - stat if stat + update >= 1000 else update
could be the issue, but my Python knowledge doesn't go much further than "make number bigger"
Also of note: sex anywhere no longer works, mood flags no longer change, and relationship changes throw an error.
 
  • Like
Reactions: Bobtmonkey

Bobtmonkey

New Member
Feb 24, 2019
8
19
Code must reference that limit elsewhere, still reverts to 1000 (checked multiple times, even deleted the rpyc).
*edit* Looks like the line:
-else:
update = 1000 - stat if stat + update >= 1000 else update
could be the issue, but my Python knowledge doesn't go much further than "make number bigger"
Also of note: sex anywhere no longer works, mood flags no longer change, and relationship changes throw an error.
I deleted the entire else statement on my end, which probably isn't good practice, and things seem to be working. Feels like doing surgery with a sharp rock, but it should tide most people over until a proper fix can be made.
 

sleepingkirby

Well-Known Member
Aug 8, 2017
1,057
1,645
Code must reference that limit elsewhere, still reverts to 1000 (checked multiple times, even deleted the rpyc).
*edit* Looks like the line:
-else:
update = 1000 - stat if stat + update >= 1000 else update
could be the issue, but my Python knowledge doesn't go much further than "make number bigger"
Also of note: sex anywhere no longer works, mood flags no longer change, and relationship changes throw an error.
Huh... that's new.
Quickly skimming through it, I see:

Code:
        if Character in getattr(store, f"ch{chapter}_Companions"):
            update = max_stats[season - 1] - stat if stat + update >= max_stats[season - 1] else update
        else:
            update = 1000 - stat if stat + update >= 1000 else update
Which, if I'm readling that right, says, if the character is a companion in x chapter, updated. If not, max out at 1000. Who are you bumping up the stats for?

Either way, I'll look at it after work.
 

sleepingkirby

Well-Known Member
Aug 8, 2017
1,057
1,645
Code must reference that limit elsewhere, still reverts to 1000 (checked multiple times, even deleted the rpyc).
*edit* Looks like the line:
-else:
update = 1000 - stat if stat + update >= 1000 else update
could be the issue, but my Python knowledge doesn't go much further than "make number bigger"
Also of note: sex anywhere no longer works, mood flags no longer change, and relationship changes throw an error.
I've looked into it. This is a bug in the game. So check this out:
Code:
        if Character in getattr(store, f"ch{chapter}_Companions"):
            update = max_stats[season - 1] - stat if stat + update >= max_stats[season - 1] else update
        else:
            update = 1000 - stat if stat + update >= 1000 else update
So, this says, if the current the "Character" is in "getattr(store, f"ch{chapter}_Companions")", then update stats to the season limit. If not, then assume the limit is 1000.

Here's the problem.
getattr(store, f"ch{chapter}_Companions")
returns this
{'Jean': True, 'Laura': True, 'Rogue': True}
So if you're matching/running:
'Jean' in getattr(store, f"ch{chapter}_Companions")
You'd get true. But "Character" is not a string, it's a character class object. So this code ends up trying to match a character object to a string, which will never happen.

I can fix this, but this is something RonChon needs to fix because it WILL cause problems.

If you want to fix this, I'll bet RonChon meant to do:

Code:
        if Character.tag in getattr(store, f"ch{chapter}_Companions"):
I'll go report it.
 
  • Like
Reactions: sadnoodleboy