Name: AutoUpdater
Purpose: Helps update your cheat offsets for Minecraft Bedrock Edition (MCBE).
AutoUpdater is a C# project designed to simplify the process of updating cheat offsets for Minecraft Bedrock Edition (MCBE). It automates the download of the latest server executable, analyzes it, and updates offsets using a configuration file.
- Automatic Updates: Automatically downloads the latest MCBE Windows server executable.
- Offset Analysis: Analyzes the downloaded server executable to identify and update offsets.
- Configuration File: Utilizes a configuration file to specify and update offsets according to the user's needs.
- Operating System: Windows
- LLVM: MSYS2 (Contains name demangler and allows for public and section dumping) (Contains name demangler and allows for public and section dumping)
-
Clone the repository:
git clone https://github.com/Prax-Client/AutoUpdater.git
-
Open the solution in your preferred C# development environment.
-
Build the solution to generate the executable.
AutoUpdater uses a configuration file (config.json
) to manage offsets. The configuration file has the following structure:
{
"WorkingDirectory": "D:\\Source\\AutoUpdate\\AutoUpdate\\bin\\Release\\net7.0\\win-x64\\publish",
"PdbFile": "D:\\Source\\AutoUpdate\\AutoUpdate\\bin\\Release\\net7.0\\win-x64\\publish\\bedrock-server-1.20.40.01\\bedrock_server.pdb",
"ExeFile": "D:\\Source\\AutoUpdate\\AutoUpdate\\bin\\Release\\net7.0\\win-x64\\publish\\bedrock-server-1.20.40.01\\bedrock_server.exe",
"LlvmInstallDirectory": "C:\\msys64\\mingw64\\bin",
"PdbUtil": "C:\\msys64\\mingw64\\bin\\llvm-pdbutil.exe",
"DemangleUtil": "C:\\msys64\\mingw64\\bin\\llvm-undname.exe",
"UpdateItems": [
{
"Name": "offset1",
"Function": "?getSupplies@Player@@QEBAAEBVPlayerInventory@@XZ",
"Resolver": {
"Type": 1,
"Value": "3"
}
},
{
"Name": "offset2",
"Function": "?getSupplies@Player@@QEBAAEBVPlayerInventory@@XZ",
"Resolver": {
"Type": 0,
"Value": "? ? ? ? C3"
}
}
]
}
Replace "offset1"
, "offset2"
, etc., with the specific offsets you want to update and their corresponding values.
-
Run the AutoUpdater executable.
-
The tool will prompt to download the latest MCBE Windows server executable.
-
It will then analyze the downloaded executable to identify offsets.
-
Update offsets according to the configuration file.
-
The updated offsets can now be used with your cheat.
Contributions are welcome! If you find a bug or have an enhancement in mind, please open an issue or submit a pull request.