Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkyTD committed Dec 25, 2021
2 parents 009a9b2 + 377262e commit d20b223
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unlimited Freddy Battery

A small python script that gives you unlimited battery time in [Five Night at Freddy's: Security Breach](https://store.steampowered.com/app/747660/Five_Nights_at_Freddys_Security_Breach/). It works by writing directly into the game's memory, and resetting the battery countdown timer every five seconds. **This is a cheat software, so please only use it after you've already finished the game's main storyline!**
A small python script that gives you unlimited battery time in [Five Night at Freddy's: Security Breach](https://store.steampowered.com/app/747660/Five_Nights_at_Freddys_Security_Breach/). It works by writing directly into the game's memory, and resetting the battery countdown timer every five seconds. **This is a cheat software, so please only use it after you've already finished the game's main storyline, and fully upgraded your Freddy!**

## Download (no installation)
The latest release can be downloaded [HERE](https://github.com/SparkyTD/unlimited-freddy-battery/releases/download/v1.1/UnlimitedFreddyBattery.v1.1.exe). There's no need to install anything, just run the executable file.
Expand All @@ -23,15 +23,15 @@ The executable file provided in the Releases section **works out of the box**. H
Using the script is very easy. Just launch the game and run the script. You can also launch the script first, and then the game, the order doesn't matter. As long as the script is running in the background, Freddy's battery will never deplete. When you're done playing, hit `Ctrl+C` in the script's command window to close it.

## I have a problem with the script
Please don't hesitate to open a new Issue in the [Issues](https://github.com/SparkyTD/infinite-freddy-time/issues) tab. Make sure to include as much information as you can about the problem, so it can be fixed faster (Screenshot, Windows version, Game version, etc...).
Please don't hesitate to open a new Issue in the [Issues](https://github.com/SparkyTD/infinite-freddy-time/issues) tab. Make sure to include as much information as you can about the problem, so it can be fixed faster (Screenshot, Windows version, 64bit or 32bit, Game version, etc...).

## Why did my antivirus flag the exe file?
The released executable file is a bundled python script that was made with [pyinstaller](https://www.pyinstaller.org/). Unfortunately there are lots of malwares that use a similar type of packaging, which may cause [some antivirus programs](https://www.virustotal.com/gui/file/47667893eee4c4f5d0b8ad34569eaa8a37c765ec38a3c86482d1eca23ab68e83?nocache=1) to think that this is a virus. To make it even worse, this script works by directly modifying the game's memory, which can also raise some red flags in antivirus softwares.
The released executable file is a bundled python script that was made with [pyinstaller](https://www.pyinstaller.org/). Unfortunately there are lots of malwares that use a similar type of packaging, which may cause [some antivirus programs](https://www.virustotal.com/gui/file/a2a26fef6e25e84aba8522caa7162b31c1c5388f017eaf1743dbc3cb18ea7621?nocache=1) to think that this is a virus. To make it even worse, this script works by directly modifying the game's memory, which can also raise some red flags in antivirus softwares.

This script is completely harmless, it only does what's described on this page, and nothing else. Feel free to inspect the source code, and use the manual installation method if you don't want to run the released executable.

## How exactly does this script work?
The script works by accessing the game's main memory region at offset `"fnaf9-Win64-Shipping.exe"+0x0403AB30`, and following a set of pointers (`0x60 -> 0x9A8 -> 0x240 -> 0x50 -> 0xB8`) to find the uint32 variable that stores Freddy's battery duration in seconds. This number starts from 100 when Freddy gets out of a charging station, and slowly counts down to 0. This script resets this counter to 100
The script works by accessing the game's main memory region at offset `"fnaf9-Win64-Shipping.exe"+0x0441B738`, and following a set of pointers (`0x8 -> 0x10 -> 0x38 -> 0xB8`) to find the uint32 variable that stores Freddy's battery duration in seconds. This number starts from 100 when Freddy gets out of a charging station, and slowly counts down to 0. This script resets this counter to 100 every five seconds.

## License
Do whatever you want with this script, but if you want to modify and/or redistribute it, **please include a link to this github page**!

0 comments on commit d20b223

Please sign in to comment.