This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/drive/1e3eNS0MG39hLUU5nT6WfgB9561egXvFo
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev
The ultimate development utility for converting and reverse-engineering Xbox 360 executables.
XeXTool is a powerful web-based utility designed for Xbox 360 homebrew developers and reverse engineers. It serves two primary functions: converting binary .XEX files into embeddable C byte arrays and performing AI-assisted decompilation to reconstruct source code from compiled binaries.
- Embed executables directly into your source code.
- Converts
.xex,.bin, or.romfiles into C/C++ header-ready byte arrays. - Configurable output:
- Custom variable naming.
- Hex (
0xFF) vs Decimal formatting. - Adjustable memory width (bytes per row).
const/staticqualifiers.- Automatic size variable generation.
- World-First AI-Powered XEX Analysis.
- Utilizes Google Gemini 2.5 Flash with extended thinking budget to analyze PowerPC (Xenon) machine code.
- Features:
- Header Analysis: Automatically parses XEX2 headers, extracting Entry Points, Image Base, Title IDs, and Media IDs.
- Import Detection: Scans for linked libraries (
xboxkrnl.exe,xam.xex,d3d9.dll). - Logic Reconstruction: Attempts to reverse-engineer C logic from raw hex dumps and string artifacts.
- XDK Compliance: Generates output using standard
<xtl.h>types and Hungarian notation.
- Fully themed UI mimicking the Xbox 360 Dashboard and DevKit environment.
- Responsive, dark-mode interface built with Tailwind CSS.
Access the tool locally or host it yourself.
- Upload File: Drag and drop your
.xexfile onto the "LOAD EXECUTABLE" zone. - Select Mode:
- Byte Array: For converting the file to a C header.
- Decompile: For attempting to recover source code.
- Configure: Adjust output settings in the
SYSTEM_CONFIGpanel. - Export: Click "COPY" or "SAVE" to get your code.
The decompilation feature is experimental. It uses heuristic analysis and AI pattern matching. While it can accurately identify libraries, strings, and high-level structure, 100% accurate decompilation of encrypted or compressed XEX files is mathematically impossible without keys. This tool provides the best possible reconstruction based on available metadata.
# Clone the repository
git clone https://github.com/SleepTheGod/XeXTool.git
# Navigate to directory
cd XeXTool
# Install dependencies
npm install
# Set up API Key
export API_KEY="your_google_gemini_api_key"
# Run development server
npm start- Frontend: React 18, TypeScript, Tailwind CSS
- AI Core: Google Gemini 2.5 Flash (
@google/genaiSDK) - Binary Analysis: Custom
XexParserTypeScript engine - UI Icons: Lucide React
This project is licensed under the MIT License - see the LICENSE file for details.
Developed by SleepTheGod
Keep the 360 scene alive.

