# icymodz420/x360gamehack2025 architecture

> Architecture diagram of the GitHub repository icymodz420/x360gamehack2025, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/icymodz420/x360gamehack2025
- Repository: https://github.com/icymodz420/x360gamehack2025

## Overview

X360GameHack is a Windows GUI for preparing personally backed-up Xbox and original Xbox games, saves, and files, then transferring or managing them on exploited consoles. The main workflow starts in the app’s GUI and branches into format-specific patching/conversion or installation and transfer; a separate XDCKIT layer provides Xbox 360 discovery and xbdm console control. The README documents several capabilities whose implementation details were not sampled, so those branches are shown at the documented subsystem level. Edges cite the README or indexed source references; unsampled internals are not inferred.

Main entry points: [`X360GameHack/Forms/X360GameHack.cs`](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Forms/X360GameHack.cs) (Main GUI), [`X360GameHack/Core/Other/GeminiClient.cs`](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Other/GeminiClient.cs) (Q&A assistant), [`X360GameHack/Core/OG and 360/Invoker.cs`](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/OG%20and%20360/Invoker.cs) (Tool invocation), [`X360GameHack/Forms/BulkXISOTool.cs`](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Forms/BulkXISOTool.cs) (Bulk XISO)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App and workflows"]
  node_gui["Main GUI<br/>[X360GameHack.cs]"]
end

subgraph group_media["Game media tools"]
  node_bulk["Bulk XISO<br/>[BulkXISOTool.cs]"]
  node_xiso["XISO extraction"]
  node_toolrunner["Tool invocation<br/>[Invoker.cs]"]
  node_xbe["XBE patches<br/>[XBEPatches.cs]"]
  node_iso2god["ISO to GOD<br/>[ISO2GOD.cs]"]
  node_god2iso["GOD to ISO<br/>[GOD2ISO.cs]"]
  node_xex["XEX parsing<br/>[XEXParcer.cs]"]
  node_xexid["XEX IDs<br/>[XEXIDChanger.cs]"]
end

subgraph group_content["Packages and saves"]
  node_usb["USB detection<br/>[USBDrives.cs]"]
  node_stfs["STFS install<br/>[STFSInstaller.cs]"]
  node_saveparse["Save parsing<br/>[SaveParcer.cs]"]
  node_saveresign["Save resigning<br/>[360SaveResigner.cs]"]
  node_ftpui["FTP sender"]
  node_ftp["FTP transfer<br/>[FTPClient.cs]"]
end

subgraph group_console["Console connectivity"]
  node_console["Xbox console API<br/>[XboxConsole.cs]"]
  node_manager["Console manager<br/>[XboxManager.cs]"]
  node_transport["xbdm transport<br/>[XboxClient.cs]"]
  node_xbdm["Xbdm client<br/>[XbdmClient.cs]"]
end

subgraph group_support["Help and security"]
  node_qa["Q&amp;A assistant<br/>[GeminiClient.cs]"]
  node_paste["Remote text service<br/>[Pastebin.cs]"]
  node_sanitize["Input validation"]
end

node_user(("User"))
node_target(("Xbox 360"))
node_gemini(("Gemini API"))

node_user -->|"uses"| node_gui
node_gui -->|"invokes tools"| node_toolrunner
node_gui -->|"starts extraction"| node_xiso
node_bulk -->|"uses extractor"| node_xiso
node_bulk -->|"invokes tools"| node_toolrunner
node_gui -->|"patches XBE"| node_xbe
node_gui -->|"converts ISO"| node_iso2god
node_gui -->|"converts GOD"| node_god2iso
node_gui -->|"reads XEX"| node_xex
node_gui -->|"changes IDs"| node_xexid
node_gui -->|"detects drives"| node_usb
node_gui -->|"installs packages"| node_stfs
node_gui -->|"reads saves"| node_saveparse
node_gui -->|"converts saves"| node_saveresign
node_gui -->|"opens sender"| node_ftpui
node_ftpui -->|"transfers files"| node_ftp
node_ftp -->|"transfers files"| node_target
node_gui -->|"manages consoles"| node_manager
node_manager -->|"opens console"| node_console
node_console -->|"sends commands"| node_transport
node_transport -->|"speaks xbdm"| node_target
node_gui -->|"connects"| node_xbdm
node_xbdm -->|"controls console"| node_target
node_gui -.->|"asks questions"| node_qa
node_qa -->|"gets credentials"| node_paste
node_qa -->|"sends question"| node_gemini
node_gui -->|"validates input"| node_sanitize
node_toolrunner -->|"sanitizes paths"| node_sanitize

click node_gui "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Forms/X360GameHack.cs"
click node_bulk "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Forms/BulkXISOTool.cs"
click node_xiso "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/OG%20and%20360/XISOExtractorExtention.cs"
click node_toolrunner "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/OG%20and%20360/Invoker.cs"
click node_xbe "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/OG%20Xbox/XBEPatches.cs"
click node_iso2god "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/ISO2GOD.cs"
click node_god2iso "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/GOD2ISO.cs"
click node_xex "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/XEXParcer.cs"
click node_xexid "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/XEXIDChanger.cs"
click node_usb "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Other/USBDrives.cs"
click node_stfs "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/STFSInstaller.cs"
click node_saveparse "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/SaveParcer.cs"
click node_saveresign "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/360SaveResigner.cs"
click node_ftpui "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Forms/QuickFTPGameSender.cs"
click node_ftp "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/OG%20and%20360/FTPClient.cs"
click node_console "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/XDCKIT/Console/XboxConsole.cs"
click node_manager "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/XDCKIT/Core/XboxManager.cs"
click node_transport "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/XDCKIT/Core/XboxClient.cs"
click node_xbdm "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/XbdmClient.cs"
click node_qa "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Other/GeminiClient.cs"
click node_paste "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Web/Pastebin.cs"
click node_sanitize "https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Security/AntiCommandInjection.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_gui,node_user toneBlue
class node_bulk,node_xiso,node_toolrunner,node_xbe,node_iso2god,node_god2iso,node_xex,node_xexid toneAmber
class node_usb,node_stfs,node_saveparse,node_saveresign,node_ftpui,node_ftp,node_gemini toneMint
class node_console,node_manager,node_transport,node_xbdm toneRose
class node_qa,node_paste,node_sanitize,node_target toneIndigo
```

## Components

### App and workflows

- [Main GUI](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Forms/X360GameHack.cs): `X360GameHack/Forms/X360GameHack.cs`

### Game media tools

- [Bulk XISO](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Forms/BulkXISOTool.cs): `X360GameHack/Forms/BulkXISOTool.cs`
- [XISO extraction](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/OG%20and%20360/XISOExtractorExtention.cs): `X360GameHack/Core/OG and 360/XISOExtractorExtention.cs`
- [Tool invocation](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/OG%20and%20360/Invoker.cs): `X360GameHack/Core/OG and 360/Invoker.cs`
- [XBE patches](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/OG%20Xbox/XBEPatches.cs): `X360GameHack/Core/OG Xbox/XBEPatches.cs`
- [ISO to GOD](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/ISO2GOD.cs): `X360GameHack/ISO2GOD.cs`
- [GOD to ISO](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/GOD2ISO.cs): `X360GameHack/Core/Xbox 360/GOD2ISO.cs`
- [XEX parsing](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/XEXParcer.cs): `X360GameHack/Core/Xbox 360/XEXParcer.cs`
- [XEX IDs](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/XEXIDChanger.cs): `X360GameHack/Core/Xbox 360/XEXIDChanger.cs`

### Packages and saves

- [USB detection](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Other/USBDrives.cs): `X360GameHack/Core/Other/USBDrives.cs`
- [STFS install](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/STFSInstaller.cs): `X360GameHack/Core/Xbox 360/STFSInstaller.cs`
- [Save parsing](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/SaveParcer.cs): `X360GameHack/Core/Xbox 360/SaveParcer.cs`
- [Save resigning](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/360SaveResigner.cs): `X360GameHack/Core/Xbox 360/360SaveResigner.cs`
- [FTP sender](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Forms/QuickFTPGameSender.cs): `X360GameHack/Forms/QuickFTPGameSender.cs`
- [FTP transfer](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/OG%20and%20360/FTPClient.cs): `X360GameHack/Core/OG and 360/FTPClient.cs`

### Console connectivity

- [Xbox console API](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/XDCKIT/Console/XboxConsole.cs): `X360GameHack/Core/Xbox 360/XDCKIT/Console/XboxConsole.cs`
- [Console manager](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/XDCKIT/Core/XboxManager.cs): `X360GameHack/Core/Xbox 360/XDCKIT/Core/XboxManager.cs`
- [xbdm transport](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/XDCKIT/Core/XboxClient.cs): `X360GameHack/Core/Xbox 360/XDCKIT/Core/XboxClient.cs`
- [Xbdm client](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Xbox%20360/XbdmClient.cs): `X360GameHack/Core/Xbox 360/XbdmClient.cs`

### Help and security

- [Q&A assistant](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Core/Other/GeminiClient.cs): `X360GameHack/Core/Other/GeminiClient.cs`
- [Remote text service](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Web/Pastebin.cs): `X360GameHack/Web/Pastebin.cs`
- [Input validation](https://github.com/icymodz420/x360gamehack2025/blob/main/X360GameHack/Security/AntiCommandInjection.cs): `X360GameHack/Security/AntiCommandInjection.cs`

### Other components

- **User**
- **Xbox 360**
- **Gemini API**

## Connections

- User → Main GUI: uses
- Main GUI → Tool invocation: invokes tools (evidence: `X360GameHack/Forms/X360GameHack.cs`)
- Main GUI → XISO extraction: starts extraction (evidence: `X360GameHack/Forms/X360GameHack.cs`)
- Bulk XISO → XISO extraction: uses extractor (evidence: `X360GameHack/Forms/BulkXISOTool.cs`)
- Bulk XISO → Tool invocation: invokes tools (evidence: `X360GameHack/Forms/BulkXISOTool.cs`)
- Main GUI → XBE patches: patches XBE (evidence: `X360GameHack/Core/OG Xbox/XBEPatches.cs`)
- Main GUI → ISO to GOD: converts ISO (evidence: `X360GameHack/Forms/X360GameHack.cs`)
- Main GUI → GOD to ISO: converts GOD (evidence: `X360GameHack/Forms/X360GameHack.cs`)
- Main GUI → XEX parsing: reads XEX (evidence: `X360GameHack/Forms/X360GameHack.cs`)
- Main GUI → XEX IDs: changes IDs (evidence: `X360GameHack/Forms/X360GameHack.cs`)
- Main GUI → USB detection: detects drives (evidence: `X360GameHack/Forms/X360GameHack.cs`)
- Main GUI → STFS install: installs packages (evidence: `X360GameHack/Forms/X360GameHack.cs`)
- Main GUI → Save parsing: reads saves (evidence: `X360GameHack/Forms/X360GameHack.cs`)
- Main GUI → Save resigning: converts saves
- Main GUI → FTP sender: opens sender (evidence: `X360GameHack/Forms/QuickFTPGameSender.cs`)
- FTP sender → FTP transfer: transfers files (evidence: `X360GameHack/Forms/QuickFTPGameSender.cs`)
- FTP transfer → Xbox 360: transfers files
- Main GUI → Console manager: manages consoles (evidence: `X360GameHack/Forms/X360GameHack.cs`)
- Console manager → Xbox console API: opens console (evidence: `X360GameHack/Core/Xbox 360/XDCKIT/Core/XboxManager.cs`)
- Xbox console API → xbdm transport: sends commands (evidence: `X360GameHack/Core/Xbox 360/XDCKIT/Console/XboxConsole.cs`)
- xbdm transport → Xbox 360: speaks xbdm (evidence: `X360GameHack/Core/Xbox 360/XDCKIT/Core/XboxClient.cs`)
- Main GUI → Xbdm client: connects (evidence: `X360GameHack/Forms/X360GameHack.cs`)
- Xbdm client → Xbox 360: controls console
- Main GUI → Q&A assistant: asks questions (evidence: `X360GameHack/Forms/X360GameHack.cs`)
- Q&A assistant → Remote text service: gets credentials (evidence: `X360GameHack/Core/Other/GeminiClient.cs`)
- Q&A assistant → Gemini API: sends question (evidence: `X360GameHack/Core/Other/GeminiClient.cs`)
- Main GUI → Input validation: validates input (evidence: `X360GameHack/Forms/X360GameHack.cs`)
- Tool invocation → Input validation: sanitizes paths (evidence: `X360GameHack/Core/OG and 360/Invoker.cs`)
