Skip to content

nottherealtar/cet-overlay-key

 
 

Repository files navigation

CET Overlay Key Manager

A complete solution for managing Cyber Engine Tweaks overlay key bindings in Cyberpunk 2077. This tool automatically detects your game installation, reads your current overlay key, and allows you to set new key combinations easily.

✨ Features

  • 🔍 Auto-Detection: Automatically finds your Cyberpunk 2077 installation and CET bindings.json file
  • 📖 Read Current Key: Displays your current overlay key in human-readable format
  • ⚙️ Set New Key: Easily set new overlay key combinations using simple syntax
  • 🎮 User-Friendly: Clean interface with loading animations and clear instructions
  • 🛡️ Safe: Backs up your settings and validates inputs before making changes

🚀 Quick Start

Option 1: Use the EXE (Recommended)

  1. Download the latest EXE file
  2. Run the program
  3. Follow the on-screen instructions

Option 2: Use the Source Code

  1. Download the C++ source code
  2. Compile with a C++ compiler (C++17 or later required)
  3. Run the executable

Option 3: Browser Version (Legacy)

Use the JavaScript version in your browser console for basic key decoding.

📋 How to Use

Reading Your Current Overlay Key

  1. Launch the program
  2. Select option 1 (Read current overlay key)
  3. The program will show your current key combination (e.g., "CTRL + SHIFT + F10")

Setting a New Overlay Key

  1. Launch the program
  2. Select option 2 (Set new overlay key)
  3. Enter your desired key combination using the format: CTRL+SHIFT+F10
  4. The program will update your bindings.json file automatically

Supported Key Combinations

  • Modifier Keys: CTRL, SHIFT, ALT
  • Function Keys: F1 through F12
  • Letter Keys: A through Z
  • Number Keys: 0 through 9
  • Special Keys: TAB, ENTER, ESC, SPACE

Example Key Combinations

  • CTRL+SHIFT+F10 - Control + Shift + F10
  • ALT+T - Alt + T
  • CTRL+ALT+C - Control + Alt + C
  • F12 - F12 only

🔧 Technical Details

Installation Paths Checked

The program automatically searches these common locations:

  • C:\Program Files (x86)\Steam\steamapps\common\Cyberpunk 2077\
  • C:\Program Files\Steam\steamapps\common\Cyberpunk 2077\
  • C:\Games\Cyberpunk 2077\
  • D:\Games\Cyberpunk 2077\
  • C:\GOG Games\Cyberpunk 2077\
  • And more...

How It Works

  1. Detection: Scans common installation paths for bindings.json
  2. Reading: Parses the JSON file to extract the overlay key value
  3. Conversion: Converts decimal values to hex, then to human-readable key names
  4. Writing: Updates the JSON file with new key combinations when setting keys

File Location

Your CET overlay key is stored in:

<Cyberpunk 2077 Installation>\bin\x64\plugins\cyber_engine_tweaks\bindings.json

🛠️ Compilation Instructions

To compile the source code yourself:

Requirements:

  • C++17 compatible compiler
  • Windows (uses Windows API for key codes)

Command line:

g++ -std=c++17 cet-overlay-key.cpp -o cet-overlay-key.exe

Visual Studio:

  1. Create a new Console Application project
  2. Replace the default code with the contents of cet-overlay-key.cpp
  3. Build the project (Ctrl+Shift+B)

🤝 Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

📝 License

This project is open source and available under the MIT License.


Note: This tool modifies your CET bindings.json file. While it's designed to be safe, it's recommended to backup your bindings.json before making changes.

About

Let's you recover the key-binding to open Cyber Engine Tweaks' overlay

Topics

Resources

Stars

Watchers

Forks

Languages

  • C++ 82.6%
  • JavaScript 16.5%
  • Batchfile 0.9%