Cheat Mod Ren'Py The Null Hypothesis Cheat Injector [v1.5] [Sleepingkirby]

xx992

New Member
Jul 13, 2024
6
0
What directory are you in when you run that? Because the script is set to run pwd to check the current location. If you're not *IN* the game directory, pwd will return your current directory. i.e. If you're in /Users/a/Downloads when you run that command, your current directory is /Users/a/Downloads, which means the script will run on the wrong directory.
You'll need to call it from within /Users/a/Downloads/TheNullHypothesis.app/Contents/Resources/autorun/game/.
Basically:
Code:
cd /Users/a/Downloads/TheNullHypothesis.app/Contents/Resources/autorun/game/
chmod a+x ./TNH\ Inject.sh
./TNH\ Inject.sh
Last I checked, mac's still have bash in /bin/bash so you don't need to put "sh" in front of the script name to run it.
so that worked and i got the installed message but i can't trigger anything in game
 

sleepingkirby

Active Member
Aug 8, 2017
534
762
so that worked and i got the installed message but i can't trigger anything in game
There is no "installed message" it just says it's done. This is an important distinction because I didn't write any code to confirm injection so that script cannot know that it's done. Such a code would take a long time for little payoff so I didn't include it.

I point this out because, when you start the game, does it say that cheats have been enabled? (refer to the first screenshot in the OP of this thread)

If not, when you ran the script, did it report any errors?
 

xx992

New Member
Jul 13, 2024
6
0
-e ################################################################################








-e The Null Hypothesis Cheat Injector





-e Vesrion: 1.5


-e by Sleepingkirby


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


-e ################################################################################









-e Checking if modification has already been done...


-e No backup's found. Safe to progress.





-e Checking to make sure requirements are met.








-e





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








-e Rpatool missing. Downloading


/Users/a/Downloads/TheNullHypothesis.app/Contents/Resources/autorun/game/TNH Inject.sh: line 71: wget: command not found


chmod: ./rpatool: No such file or directory


-e Extracting archive.rpa...


/Users/a/Downloads/TheNullHypothesis.app/Contents/Resources/autorun/game/TNH Inject.sh: line 75: ./rpatool: No such file or directory


cp: ./scripts/base/config.rpy: No such file or directory


Can't open ./scripts/base/config.rpy: No such file or directory.


-e ./scripts/base/config.rpy patched


cp: ./scripts/interface/Player_menu.rpy: No such file or directory


Can't open ./scripts/interface/Player_menu.rpy: No such file or directory.


Can't open ./scripts/interface/Player_menu.rpy: No such file or directory.


Can't open ./scripts/interface/Player_menu.rpy: No such file or directory.


Can't open ./scripts/interface/Player_menu.rpy: No such file or directory.


Can't open ./scripts/interface/Player_menu.rpy: No such file or directory.


Can't open ./scripts/interface/Player_menu.rpy: No such file or directory.


-e ./scripts/interface/Player_menu.rpy patched


cp: ./scripts/interface/actions.rpy: No such file or directory


Can't open ./scripts/interface/actions.rpy: No such file or directory.


Can't open ./scripts/interface/actions.rpy: No such file or directory.


Can't open ./scripts/interface/actions.rpy: No such file or directory.


-e ./scripts/interface/actions.rpy patched


cp: ./scripts/mechanics/approval.rpy: No such file or directory


Can't open ./scripts/mechanics/approval.rpy: No such file or directory.


Can't open ./scripts/mechanics/approval.rpy: No such file or directory.


-e ./scripts/mechanics/approval.rpy patched


cp: ./scripts/interface/quick_menu.rpy: No such file or directory


Can't open ./scripts/interface/quick_menu.rpy: No such file or directory.


-e ./scripts/interface/quick_menu.rpy patched


cp: ./scripts/interface/main_menu.rpy: No such file or directory


Can't open ./scripts/interface/main_menu.rpy: No such file or directory.


-e ./scripts/interface/main_menu.rpy patched


-e DONE!
 

sleepingkirby

Active Member
Aug 8, 2017
534
762
-e ################################################################################








-e The Null Hypothesis Cheat Injector





-e Vesrion: 1.5


-e by Sleepingkirby


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


-e ################################################################################









-e Checking if modification has already been done...


-e No backup's found. Safe to progress.





-e Checking to make sure requirements are met.








-e





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








-e Rpatool missing. Downloading


/Users/a/Downloads/TheNullHypothesis.app/Contents/Resources/autorun/game/TNH Inject.sh: line 71: wget: command not found


chmod: ./rpatool: No such file or directory


-e Extracting archive.rpa...


/Users/a/Downloads/TheNullHypothesis.app/Contents/Resources/autorun/game/TNH Inject.sh: line 75: ./rpatool: No such file or directory


cp: ./scripts/base/config.rpy: No such file or directory


Can't open ./scripts/base/config.rpy: No such file or directory.


-e ./scripts/base/config.rpy patched


cp: ./scripts/interface/Player_menu.rpy: No such file or directory


Can't open ./scripts/interface/Player_menu.rpy: No such file or directory.


Can't open ./scripts/interface/Player_menu.rpy: No such file or directory.


Can't open ./scripts/interface/Player_menu.rpy: No such file or directory.


Can't open ./scripts/interface/Player_menu.rpy: No such file or directory.


Can't open ./scripts/interface/Player_menu.rpy: No such file or directory.


Can't open ./scripts/interface/Player_menu.rpy: No such file or directory.


-e ./scripts/interface/Player_menu.rpy patched


cp: ./scripts/interface/actions.rpy: No such file or directory


Can't open ./scripts/interface/actions.rpy: No such file or directory.


Can't open ./scripts/interface/actions.rpy: No such file or directory.


Can't open ./scripts/interface/actions.rpy: No such file or directory.


-e ./scripts/interface/actions.rpy patched


cp: ./scripts/mechanics/approval.rpy: No such file or directory


Can't open ./scripts/mechanics/approval.rpy: No such file or directory.


Can't open ./scripts/mechanics/approval.rpy: No such file or directory.


-e ./scripts/mechanics/approval.rpy patched


cp: ./scripts/interface/quick_menu.rpy: No such file or directory


Can't open ./scripts/interface/quick_menu.rpy: No such file or directory.


-e ./scripts/interface/quick_menu.rpy patched


cp: ./scripts/interface/main_menu.rpy: No such file or directory


Can't open ./scripts/interface/main_menu.rpy: No such file or directory.


-e ./scripts/interface/main_menu.rpy patched


-e DONE!
Yeah. There's tons of errors. The problem is here:
/Users/a/Downloads/TheNullHypothesis.app/Contents/Resources/autorun/game/TNH Inject.sh: line 71: wget: command not found

Macs apparently don't come with wget preinstalled. Install it and rerun the script.
 

xx992

New Member
Jul 13, 2024
6
0
Yeah. There's tons of errors. The problem is here:
/Users/a/Downloads/TheNullHypothesis.app/Contents/Resources/autorun/game/TNH Inject.sh: line 71: wget: command not found

Macs apparently don't come with wget preinstalled. Install it and rerun the script.
-e Rpatool missing. Downloading


--2024-07-20 15:16:39--


Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.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.001s





2024-07-20 15:16:39 (28.6 MB/s) - ‘rpatool’ saved [18594/18594]





-e Extracting archive.rpa...


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

sleepingkirby

Active Member
Aug 8, 2017
534
762
-e Rpatool missing. Downloading


--2024-07-20 15:16:39--


Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.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.001s





2024-07-20 15:16:39 (28.6 MB/s) - ‘rpatool’ saved [18594/18594]





-e Extracting archive.rpa...


Could not extract file from archive: [Errno 2] the requested file . does not exist in the given Ren'Py archive
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.
 

sleepingkirby

Active Member
Aug 8, 2017
534
762
The Pixel Drain link won't download as it detects a virus
Pixeldrain doesn't have embedded virus detection. That's your browser, OS or antivirus erroneously marking any scripting files as a virus. Feel free to use the github link if the pixeldrain one doesn't work for you. I've released the cheat injector under the GPL v3 open source license so you can read through that it does to verify for yourself that it's not malicious if you need to.
 
Last edited: