A specialized tool for binary file editing and translation, with a focus on modding Kingdom Hearts 1 text sequences.
KH1 Hex Editor is a Windows application designed to help modders and translators edit text sequences in binary files, particularly for Kingdom Hearts 1. The application enables real-time visualization and editing of binary data while providing a user-friendly interface for text translation.
- Binary Text Sequence Extraction: Automatically finds and extracts text sequences from binary files.
- Side-by-Side Editing: View and edit text alongside its hexadecimal representation.
- Real-Time Difference Highlighting: Modified bytes are highlighted in red in the modified hex view.
- TBL-Based Translation: Uses table (TBL) files to map between hexadecimal values and characters.
- Backup System: Automatically creates backups before any changes are saved.
- Multi-Language Interface: Supports both English and Spanish interfaces.
- Windows operating system
- .NET 6.0 Runtime or higher
- 4GB RAM recommended
- TBL file for character mapping
- Download the latest release from the releases page
- Extract all files to a directory of your choice
- Run
KH1HexEditor.exe
No installation is required as this is a portable application.
- Open a TBL file: First, open a TBL file that defines the character mapping (File > Open TBL).
- Open a binary file: Open the binary file you want to edit (File > Open).
- Edit text sequences: The application will display found text sequences. Click on any sequence to see its hexadecimal representation.
- Translate or modify text: Edit the text in the "Text" column. The modified hex view will update in real-time, highlighting changes in red.
- Save changes: Use the Save option to apply your changes to the binary file.
- Left Panel: Shows a list of text sequences with position and editable text.
- Right Panel - Top: Displays the original hexadecimal view of the selected sequence.
- Right Panel - Bottom: Shows the modified hexadecimal view, with changed bytes highlighted in red.
The TBL file maps hexadecimal values to characters using the format:
XX=c
Where XX is a hexadecimal code and c is the character it represents. For example:
41=A
61=a
20=
- Models/
HexFile.cs- Handles binary file operationsTextSequence.cs- Represents individual text sequencesTblParser.cs- Parses and manages TBL character mapping
- Strings/
StringResources.cs- Handles application localization
- MainWindow.xaml/.cs - The application's main interface and logic
- WPF (Windows Presentation Foundation)
- .NET 6.0
- C#
This software is provided as-is for the Kingdom Hearts modding community.
Special thanks to the KH modding community for their ongoing efforts and research into the game's file formats.