Cheat Mod Ren'Py Take Over Cheat Injector [V1.3] [Sleepingkirby]

sleepingkirby

Active Member
Aug 8, 2017
714
1,075
Overview:
A script to apply cheats into the game "Take Over"
*Note* Cheat elements injected are not easily noticeable.
Please refer to screenshots in this post for which elements have been modified.
There is also a quirk in the time of day cheat. Please refer to the feature list for more details.

Based off of SLDR's Rogue-like cheat injector.​

Updated: 2024-05-20
Game/Creator: Take Over/Leroy2012
Modder: Sleepingkirby
Mod Version: 1.3
Game Version: 0.71 and up
Language: English

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

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

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

Download:
Windows:

Linux:


Screenshot_2024-05-19_12-00-40.png Screenshot_2024-05-19_12-01-06.png Screenshot_2024-05-19_12-33-13.png Screenshot_2024-05-19_12-02-12.png Screenshot_2024-05-19_12-03-07.png Screenshot_2024-05-19_12-03-49.png Screenshot_2024-05-19_18-29-30.png
 
Last edited:

sleepingkirby

Active Member
Aug 8, 2017
714
1,075
Any chance you'll make an android version?
No. For several reasons and all of them technical.

The first is that, to my knowledge, there's no easy embedded scripting language on android. You can't just run scripting commands by double clicking on something. Everything needs to be installed via an app or something. So making something like this on android pretty much means I need to write this as compiled code, compile it, possibly get it signed by google and all that jazz. At that point, it's no longer a simple injection, which voids the point of this cheat format.

The second is that the filesystem on android doesn't apply for easy extraction, modification, etc. of files, let alone execution. Through direct editing is a monumental task, possibly impossible.

The third is that apps on android are all packaged. So even if you can easily manipulate the filesystem, you'd need to unpack, extract, manipulate the extracted file, rezip, repackage, then reinstall the app to cheat in it. Again, not an easy feat.

Lastly, I don't own android device nor do I want to learn how to program for one. Most mobile OS's are pretty, for the lack of a better word, shit and I have no inclination to learn to program for shit OS's.
 

SpankySid

New Member
Apr 21, 2018
14
14
sleepingkirby Thank you very much for this mod!
For the linux shell script, you'll want to encapsulate $curpath var with double quotes when it is used in case there are spaces within the path. Ref line 39 in your script.

1718235106004.png

I updated Line 39 in your script with the following and it was able to run without falsely reporting an invalid path error.
if [[ `basename "$curpath"` != "game" || `echo "$curpath" | grep -ic 'TakeOver'` -lt 1 ]]
 
  • Like
Reactions: Nabe yama shito

sleepingkirby

Active Member
Aug 8, 2017
714
1,075
sleepingkirby Thank you very much for this mod!
For the linux shell script, you'll want to encapsulate $curpath var with double quotes when it is used in case there are spaces within the path. Ref line 39 in your script.

View attachment 3731056

I updated Line 39 in your script with the following and it was able to run without falsely reporting an invalid path error.
if [[ `basename "$curpath"` != "game" || `echo "$curpath" | grep -ic 'TakeOver'` -lt 1 ]]
Yeah, that was something I threw in there quickly because paranoid brain thought someone might put the script in the wrong place. I usually remember quotes around paths as you can see later that "screen bios.rpy" is thrown into $fn, which is used by perl.

I'm just gonna avoid that all together and redefine IFS for the entirety of the script. Thanks for catching that.
 
Last edited:
  • Like
Reactions: SpankySid

tnbounds

Newbie
Jun 21, 2018
33
22
I can't get this to work. I installed Incest patch, photo enchancer and then this and then applied the .bat but to no avail
 

sleepingkirby

Active Member
Aug 8, 2017
714
1,075
I can't get this to work. I installed Incest patch, photo enchancer and then this and then applied the .bat but to no avail
This was meant to work on the original game. There's no guarantee that it'll work with mods and patches in place.
 

Cerverys

New Member
Jul 16, 2023
4
0
There's no guarantee that it'll work with mods and patches in place.
Can confirm 100% it won't work with just the incest mod, Haven't tried the others, or at least not that I can recall downloading them.
 

megalol

Engaged Member
Modder
Compressor
Apr 3, 2017
2,434
10,498
Current version of injector doesn't works for game v0.75, I've cheat to work with it (for Windows!), also removed powershell and unren code (coz 1st one triggers some AV like F-Secure and last one just not needed). Usage: unpack near "TakeOver.exe" and run "TakeOver Inject_v2.bat".
 

sleepingkirby

Active Member
Aug 8, 2017
714
1,075
Current version of injector doesn't works for game v0.75, I've cheat to work with it (for Windows!), also removed powershell and unren code (coz 1st one triggers some AV like F-Secure and last one just not needed). Usage: unpack near "TakeOver.exe" and run "TakeOver Inject_v2.bat".
I actually keep those in because I don't want people to have to unzip or, potentially, have the wrong _cheat.py. Not to mention, just because this game now doesn't require rpatool -x, doesn't mean it won't in the future. Just like how the python version and/or path apparently changed in this game.

But thank you for the notification. I just came out of the hospital so I haven't been able to keep up as much as I usually do. I'll go update my script.
 
  • Like
Reactions: megalol

sleepingkirby

Active Member
Aug 8, 2017
714
1,075
Current version of injector doesn't works for game v0.75, I've cheat to work with it (for Windows!), also removed powershell and unren code (coz 1st one triggers some AV like F-Secure and last one just not needed). Usage: unpack near "TakeOver.exe" and run "TakeOver Inject_v2.bat".
Script updated. I'm SOOOO glad the game moved to python3. This was only cheat injector I've made that's still on python2. I actually cussed up a storm when I first made this and realized that the reason why print was returning errors was because it was still using python2.
 

sleepingkirby

Active Member
Aug 8, 2017
714
1,075
Current version of injector doesn't works for game v0.75, I've cheat to work with it (for Windows!), also removed powershell and unren code (coz 1st one triggers some AV like F-Secure and last one just not needed). Usage: unpack near "TakeOver.exe" and run "TakeOver Inject_v2.bat".
I've created a github repository for this. In the future, if you can, do changes via a pull request. This way, we can keep 1 single version, have a history, and if I get hit by a bus, someone can just fork it and take it over.

Also, it includes the shell script I've created to auto split any files into the proper base64 string. That's a pain to do by hand and this is who I do it, which is why I can update these so quickly.
 
  • Like
Reactions: megalol