• Stars
    star
    523
  • Rank 81,357 (Top 2 %)
  • Language
    Rust
  • License
    GNU General Publi...
  • Created over 3 years ago
  • Updated 29 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Hex patterns, include patterns and magic files for the use with the ImHex Hex Editor

ImHex Database

This repository serves as a database for files to use with the ImHex Hex Editor. It currently contains

  • Patterns - Binary Format definitions for the Pattern Language
  • Pattern Libraries - Libraries that make using the Pattern Language easier
  • Magic Files - Custom magic file definitions for the use with libmagic
  • Encodings - Custom encodings in the .tbl format
  • Data Processor Nodes - Custom nodes made for ImHex's Data Processor
  • Themes - Custom themes for ImHex
  • Constants - Constants definition files
  • Scripts - Various scripts to generate code or automate some tasks
  • Yara - Custom Yara rules

Submissions

Most files in this repository have been submitted by the community. Please feel free to open a PR on your own and add files to it! Everything will immediately show up in ImHex's Content Store and gets bundled with the next release of ImHex.

Table of Contents

Hex Patterns

Name MIME Path Description
AFE2 patterns/afe2.hexpat Nintendo Switch Atmosphère CFW Fatal Error log
AR application/x-archive patterns/ar.hexpat Static library archive files
ARM VTOR patterns/arm_cm_vtor.hexpat ARM Cortex M Vector Table Layout
Bencode application/x-bittorrent patterns/bencode.hexpat Bencode encoding, used by Torrent files
BMP image/bmp patterns/bmp.hexpat OS2/Windows Bitmap files
BSON application/bson patterns/bson.hexpat BSON (Binary JSON) format
BSP patterns/bsp_goldsrc.hexpat GoldSrc engine maps format (used in Half-Life 1)
CCHVA patterns/cchva.hexpat Command and Conquer Voxel Animation
CCVXL patterns/ccvxl.hexpat Command and Conquer Voxel Model
CCPAL patterns/ccpal.hexpat Command and Conquer Voxel Palette
CHM patterns/chm.hexpat Windows HtmlHelp Data (ITSF / CHM)
COFF application/x-coff patterns/coff.hexpat Common Object File Format (COFF) executable
CPIO application/x-cpio patterns/cpio.hexpat Old Binary CPIO Format
CrashLvl patterns/Crashlvl.hexpat Crash Bandicoot - Back in Time (fan game) User created flashback tapes level format
DDS image/vnd-ms.dds patterns/dds.hexpat DirectDraw Surface
DEX patterns/dex.hexpat Dalvik EXecutable Format
DMG patterns/dmg.hexpat Apple Disk Image Trailer (DMG)
DS_Store application/octet-stream patterns/dsstore.hexpat .DS_Store file format
DTA patterns/max_v104.hexpat Mechanized Assault and Exploration v1.04 (strategy game) save file format
ELF application/x-executable patterns/elf.hexpat ELF header in elf binaries
EVTX patterns/evtx.hexpat MS Windows Vista Event Log
FDT patterns/fdt.hexpat Flat Linux Device Tree blob
File System patterns/fs.hexpat Drive File System
FLAC audio/flac patterns/flac.hexpat Free Lossless Audio Codec, FLAC Audio Format
GB application/x-gameboy-rom patterns/gb.hexpat Gameboy ROM
GIF image/gif patterns/gif.hexpat GIF image files
GZIP application/gzip patterns/gzip.hexpat GZip compressed data format
ICO patterns/ico.hexpat Icon (.ico) or Cursor (.cur) files
ID3 audio/mpeg patterns/id3.hexpat ID3 tags in MP3 files
Intel HEX patterns/intel_hex.hexpat Intel hexadecimal object file format definition
IP patterns/ip.hexpat Ethernet II Frames (IP Packets)
ISO patterns/iso.hexpat ISO 9660 file system
Java Class application/x-java-applet patterns/java_class.hexpat Java Class files
JPEG image/jpeg patterns/jpeg.hexpat JPEG Image Format
Lua 5.4 patterns/lua54.hexpat Lua 5.4 bytecode
Mach-O application/x-mach-binary patterns/macho.hexpat Mach-O executable
MIDI audio/midi patterns/midi.hexpat MIDI header, event fields provided
MiniDump application/x-dmp patterns/minidump.hexpat Windows MiniDump files
mp4 video/mp4 patterns/mp4.hexpat MPEG-4 Part 14 digital multimedia container format
msgpack application/x-msgpack patterns/msgpack.hexpat MessagePack binary serialization format
NACP patterns/nacp.hexpat Nintendo Switch NACP files
NBT patterns/nbt.hexpat Minecraft NBT format
NE patterns/ne.hexpat NE header and Standard NE fields
NRO patterns/nro.hexpat Nintendo Switch NRO files
NTAG patterns/ntag.hexpat NTAG213/NTAG215/NTAG216, NFC Forum Type 2 Tag compliant IC
OGG audio/ogg patterns/ogg.hexpat OGG Audio format
PCAP application/vnd.tcpdump.pcap patterns/pcap.hexpat pcap header and packets
PCX application/x-pcx patterns/pcx.hexpat PCX Image format
PE application/x-dosexec patterns/pe.hexpat PE header, COFF header, Standard COFF fields and Windows Specific fields
PFS0 patterns/pfs0.hexpat Nintendo Switch PFS0 archive (NSP files)
PIF image/pif patterns/pif.hexpat PIF Image Format
PNG image/png patterns/png.hexpat PNG image files
PRODINFO patterns/prodinfo.hexpat Nintendo Switch PRODINFO
Protobuf patterns/protobuf.hexpat Google Protobuf encoding
QBCL patterns/qbcl.hexpat Qubicle voxel scene project file
QOI image/qoi patterns/qoi.hexpat QOI image files
Shell Link application/x-ms-shortcut patterns/lnk.hexpat Windows Shell Link file format
SPIRV patterns/spirv.hexpat SPIR-V header and instructions
STL model/stl patterns/stl.hexpat STL 3D Model format
StuffItV5 application/x-stuffit patterns/sit5.hexpat StuffIt V5 archive
TAR application/x-tar patterns/tar.hexpat Tar file format
TIFF image/tiff patterns/tiff.hexpat Tag Image File Format
TGA image/tga patterns/tga.hexpat Truevision TGA/TARGA image
UEFI patterns/uefi.hexpat` UEFI structs for parsing efivars
UF2 patterns/uf2.hexpat USB Flashing Format
VDF patterns/vdf.hexpat Binary Value Data Format (.vdf) files
VHDX patterns/vhdx.hexpat Microsoft Hyper-V Virtual Hard Disk format
WAV audio/x-wav patterns/wav.hexpat RIFF header, WAVE header, PCM header
WAD patterns/wad.hexpat DOOM WAD Archive
XBEH audio/x-xbox-executable patterns/xbeh.hexpat Xbox executable
XCI patterns/xci.hexpat Nintendo Switch XCI cardridge ROM
Xilinx BIT patterns/xilinx_bit.hexpat Xilinx FPGA Bitstreams
ZIP application/zip patterns/zip.hexpat End of Central Directory Header, Central Directory File Headers
ZSTD application/zstd patterns/zstd.hexpat Zstandard compressed data format

Scripts

Name Path Description
svd2pat scripts/svd2pat.py Converts a ARM .svd register MMIO definition file into a pattern
csv2tbl scripts/csv2tbl.py Converts a 010 editor CSV encoding file into a table file

Pattern Libraries

Name Path Description
libstd includes/std/* Pattern Language Standard Libaray
libtype includes/type/* Various custom types with special formatters
libhex includes/hex/* Functions to interact with ImHex

Yara rules

Name Path Description
Official Rules yara/official_rules/* Official Yara rules repository

Magic files

Name Path Description
Nintendo Switch magic/nintendo_switch_magic Identifies common file types used on the Nintendo Switch
Portable Executable magic/portable_executable_magic Identifies PE files used on Windows

Constants files

Name Path Description
CRC-16 constants/crc16.json Constants associated with CRC-16 operations
CRC-32 constants/crc32.json Constants associated with CRC-32 operations
HTTP-Codes constants/http_status.json HTTP Status code values
Linux Error Codes constants/linux_errors.json Values of Linux error results

Encoding files

Name Path Description
Arabic ISO encodings/arabic_iso.tbl Arabic ISO encoding
Arabic Windows encodings/arabic_windows.tbl Arabic Windows encoding
ASCII encodings/ascii.tbl Regular ASCII encoding
ASCII+ANSI encodings/ascii_ansi.tbl Extended ASCII encoding
ASCII+OEM encodings/ascii_oem.tbl ASCII encoding with Windows OEM characters
Baltic ISO encodings/baltic_iso.tbl Baltic ISO encoding
Baltic Windows encodings/baltic_windows.tbl Baltic Windows encoding
Cyrillic ISO encodings/cyrillic_iso.tbl Cyrillic ISO encoding
Cyrillic Windows encodings/cyrillic_windows.tbl Cyrillic Windows encoding
Cyrillic KOI8-R encodings/cyrillic_koi8_r.tbl Cyrillic KOI8-R encoding (Russian Characters)
Cyrillic KOI8-U encodings/cyrillic_koi8_u.tbl Cyrillic KOI8-U encoding (Ukranian Characters)
Eastern Europe ISO encodings/eastern_europe_iso.tbl Eastern Europe ISO encoding
Eastern Europe Windows encodings/eastern_europe_windows.tbl Eastern Europe Windows encoding
EBCDIC encodings/ebcdic.tbl Extended Binary Coded Decimal Interchange Code, developed by IBM for their Main Frames
EUC-JP encodings/euc_jp.tbl EUC-JP encoding with NEC special and IBM extended characters
EUC-KR encodings/euc_kr.tbl EUC-KR encoding
Greek ISO encodings/greek_iso.tbl Greek ISO encoding
Greek Windows encodings/greek_windows.tbl Greek Windows encoding
Hebrew ISO encodings/hebrew_iso.tbl Hebrew ISO encoding
Hebrew Windows encodings/hebrew_windows.tbl Hebrew Windows encoding
ISO/IEC 646 encodings/iso_646.tbl ISO/IEC 646 encoding, an older version of ASCII
ISO/IEC 6937 encodings/iso_6937.tbl ISO/IEC 6937 encoding, an extension of ASCII containing additional character
JIS 0201 encodings/jis_x_0201.tbl JIS X 0201 encoding in UTF-8
JIS X 0211 encodings/jis_x_0211.tbl JIS X 0211 encoding in UTF-8
JIS 0213 encodings/jis_x_0213.tbl JIS X 0213 encoding in UTF-8
Macintosh encodings/macintosh.tbl Macintosh character encoding used by the Kermit protocol
PokΓ©mon (English, Generation 1) encodings/pokegen1_en.tbl Character encoding used by the English generation 1 PokΓ©mon games
PokΓ©mon (English, Generation 3) encodings/pokegen3_en.tbl Character encoding used by the English generation 3 PokΓ©mon games
Shift-JIS UTF-8 encodings/shiftjis.tbl Shift-JIS encoding in UTF-8
Thai encodings/thai.tbl Thai character encoding
Turkish ISO encodings/turkish_iso.tbl Turkish ISO encoding
Turkish Windows encodings/turkish_windows.tbl Turkish Windows encoding
UTF-8 encodings/utf8.tbl UTF-8 encoding
Vietnamese encodings/vietnamese.tbl Vietnamese character encoding

Data Processor Nodes

Name Path Description
Caesar Cipher nodes/caesar.hexnode Simple adjustable per-byte Caecar Cipher (ROT)
XOR Cipher nodes/xor.hexnode XORs a input with a repeating XOR pad

Themes

Name Path Description
Visual Studio Dark themes/vs_dark.json Theme similar to Visual Studio's Dark theme
Solarized Dark themes/solarized_dark.json Solarized Dark Theme

More Repositories

1

ImHex

πŸ” A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
C++
32,601
star
2

EdiZon

πŸ’‘ A homebrew save management, editing tool and memory trainer for Horizon (Nintendo Switch)
C
1,121
star
3

Tesla-Menu

The Nintendo Switch overlay menu
Makefile
891
star
4

EdiZon_CheatsConfigsAndScripts

The official EdiZon Editor Config and Editor Script repository.
Python
458
star
5

ovl-sysmodules

A sysmodule selector for Tesla
C++
230
star
6

libtesla

The support library for Tesla overlays
C
206
star
7

Hekate-Toolbox

A toolbox for Hekate
C++
206
star
8

PatternLanguage

The Pattern Language used by the ImHex Hex Editor
C++
129
star
9

libromfs

Simple library for embedding static resources into C++ binaries using CMake
C++
55
star
10

EdiZon-Rewrite

πŸ’‘ A homebrew save management, editing tool and memory trainer for Horizon (Nintendo Switch)
CSS
54
star
11

SwitchXBOXController

Turn your Nintendo Switch into an XBOX360 controller to play on your Windows computer
C
50
star
12

PythonCatPrinter

Reverse engineered printer commands for the GB01 Cat Thermal Printer that use the "iPrint" app
Python
49
star
13

ILInterpreter

A simple IL interpreter to hopefully bring .NET to the switch one day
C++
45
star
14

Tesla-Template

A template repository for Tesla Overlay Homebrews
Makefile
41
star
15

Archway

A WIP aarch64 emulator (and at some point dynarec) written in C++20.
C++
26
star
16

PCBEmulator

C++
20
star
17

SurfaceAlwaysDTX

A tool to force detach the Surface Book 2's screen even with low battery
C#
19
star
18

Decompiler

A WIP disassember and decompiler written in modern C++ with the goal to do as much work during compile time as possible
C++
16
star
19

ImHex-Plugin-Oracle

A ImHex plugin to ask the almighty Oracle (OpenAI's Davinci AI) for help identifying file formats
C++
15
star
20

libsteam

Simple C++ library to interact with Steam client file formats and the Steam Deck
C++
14
star
21

ImHex-Patties

πŸ”Ž Small exercises to get you used to reading and writing Pattern code!
13
star
22

ImHex-Cpp-Plugin-Template

Simple template project for creating plugins in C++ for the ImHex Hex Editor
CMake
13
star
23

STM32MP1OS

C++
12
star
24

libwolv

C++ Helper library containing various types and functions used throughout many of my projects
C++
11
star
25

Schwarzschild

A SDL based UI library to create clean and vanilla looking interfaces in Horizon (Nintendo Switch homebrews)
C++
11
star
26

ImHex-Rust-Plugin-Template

Rust
10
star
27

SDH-SystemToolbox

TypeScript
9
star
28

pwswdpp

A modern C++ rewrite of the OpenDingux pwswd daemon
C++
9
star
29

PowerPrevent_SysModule

C
8
star
30

ShaderPaper

Manager tool and Daemon to use shadertoy.com GLSL shaders as windows desktop wallapapers
C
8
star
31

SDH-FreeGames

A decky plugin that tells you today's free game from the Epic Games Store (and possible other stores in the future) and sends you a daily reminder notification
TypeScript
7
star
32

YouTube-Playlist-Downloader

C#
6
star
33

RTOS

C
6
star
34

DriverDescriptionLanguage

Description language to define hardware drivers
C++
6
star
35

RG350Launcher

C
5
star
36

Rust-Java-VM

Rust
5
star
37

8051Emulator

A simple emulator for code built for the 8051 architecture
C++
4
star
38

PatternLanguageWeb

JavaScript
4
star
39

PatternLanguageDiscordBot

C++
3
star
40

WerWolv

3
star
41

xdgpp

Mirror of the xdgpp library (https://git.sr.ht/~danyspin97/xdgpp)
C++
3
star
42

ExeModules

C++
3
star
43

ImHex-Malcore-Plugin

C++
3
star
44

EdiZon-Website

EdiZon's website
HTML
3
star
45

Sysmodule_Access

Makefile
2
star
46

ImHex-Hashes-Plugin

All functionality of this plugin has been merged into mainline ImHex
C++
2
star
47

ClangSTM32

2
star
48

EventHorizonOS

C
1
star
49

ImHex-Plugin-Template

CMake
1
star
50

LuaWrapper_CSharp

C#
1
star
51

EverPhaseServer

Shell
1
star
52

WerWolvAPI

Python
1
star
53

Pi3Kernel

A WIP aarch64 kernel for the Raspberry Pi 3
C
1
star
54

Steuerprint

C
1
star