Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrepuHack

Free Mega Hack v9 Patcher for Geometry Dash (Geode)

Python Version Platform Geode Compatible

PrepuHack is an automated patcher tool that unlocks Mega Hack v9 for Geometry Dash without requiring a purchased account or license key. It downloads the latest official Mega Hack .geode release package, bypasses all authentication and DRM license checks, generates offline license tokens, automatically purges older cached installations, and deploys it directly into your Geode mod loader.


What This Tool Does

  1. Unlocks Mega Hack v9 for Free: Bypasses Mega Hack's online account check, hardware ID verification, and license signature checks.
  2. Automated Setup & Cleanup: Downloads the newest official release package directly from the server and purges any older cached installations before deploying.
  3. User-Configurable Branding & Themes (config.json): Easily change mod name, developer, description, about text, and custom theme colors (accent, background, tab_text) via config.json.
  4. Cross-Platform: Works natively on Windows, Linux (Steam Deck, Proton, Flatpak, Snap), and macOS.
  5. Zero Dependencies: Pure Python standard library implementation.

Configuration (config.json)

Customize branding and theme colors by editing config.json:

{
  "_comment_shared": "=== SHARED CONFIG (Geode & Standalone) ===",
  "name": "PrepuHack",
  "developer": "oneypi",
  "logo_path": "logo.png",
  "theme": {
    "name": "Cyanish",
    "accent": "#00CED1",
    "background": "#1A2A2D",
    "tab_text": "#FFFFFF"
  },

  "_comment_geode": "=== GEODE ONLY CONFIG ===",
  "mod_id": "oneypi.prepuhack",
  "description": "long live the prepubros!",
  "about_path": "about.md",
  "changelog_path": "changelog.md"
}

Hex color formats ("#00CED1", "0x00CED1"), custom logo files ("logo_path"), and separate markdown files ("about_path", "changelog_path") are fully supported.


Command Line Options

# Default mode (custom branding & theme loaded from config.json, Geode package)
python3 prepuhack.py

# Standalone mode (deploy standalone DLLs directly to GD directory instead of Geode)
python3 prepuhack.py --standalone

# Official mode (official Mega Hack branding + native official theme)
python3 prepuhack.py --official

# Stacked arguments (e.g. Official Standalone installation)
python3 prepuhack.py --official --standalone

# Uninstall / Clean removal (removes mod files, DLLs, caches & license tokens)
python3 prepuhack.py --uninstall
python3 prepuhack.py --uninstall --standalone

# Path Overrides & Modifiers
python3 prepuhack.py --no-theme            # Skip applying theme config
python3 prepuhack.py --no-cleanup          # Skip purging older cached installations
python3 prepuhack.py --gd-path "/path/to/GD" # Manually specify Geometry Dash directory
python3 prepuhack.py --appdata-path "/path" # Manually specify AppData / Wine prefix directory

Security & License Bypasses

The patcher modifies the x86_64 DLL machine code inside the .geode package to neutralize DRM verification:

Target Patch Purpose Action / Patch Code
ID_CHECK Bypasses machine GUID / hardware ID verification Forces return true (B8 01 00 00 00 C3)
JSON_SIG Bypasses RSA license signature verification Forces return true (B8 01 00 00 00 C3)
KEY_BYPASS Bypasses secret key validation Forces return false (B8 00 00 00 00)
BYPASS_VERIFY Completely skips main license validation routine Immediate ret (C3)

It also generates local valid license files in all required system AppData and Geode directories so Mega Hack initializes smoothly without contacting authentication servers.


System Path Auto-Detection

PrepuHack automatically locates Steam and Geode installation paths:

Windows

  • Steam Path: C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash
  • AppData / Geode: %LOCALAPPDATA%\GeometryDash\geode

Linux (Steam / Proton / Steam Deck)

  • Steam Path: ~/.steam/steam/steamapps/common/Geometry Dash (or Flatpak/Snap paths)
  • Proton AppData: ~/.steam/steam/steamapps/compatdata/322170/pfx/drive_c/users/steamuser/AppData/Local
  • Native Geode: $XDG_DATA_HOME/GeometryDash/geode (~/.local/share/GeometryDash/geode)

macOS

  • Steam Path: ~/Library/Application Support/Steam/steamapps/common/Geometry Dash

Quick Start

Prerequisites

  • Python 3.8+
  • Geometry Dash installed via Steam with the Geode mod loader.

Running the Patcher

python3 prepuhack.py

(On Windows: python prepuhack.py)

Once finished, launch Geometry Dash and press TAB to open Mega Hack!


Repository Structure

PrepuHack/
├── prepuhack.py       # Main patcher and deployment script
├── config.json        # User-configurable branding and theme settings
└── README.md          # Project documentation

Disclaimer

This project is created for educational research, reverse engineering, and personal testing purposes. All product names, logos, and brands belong to their respective owners.

About

PrepuHack is an automated multiplatform patcher tool that unlocks Mega Hack v9 for Geometry Dash without requiring a purchased account or license key.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages