mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-27 23:37:04 -05:00
patterns: put author and description inside each pattern (#155)
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Autodesk 3DS Max Model file
|
||||
|
||||
#include <std/io.pat>
|
||||
#include <type/base.pat>
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description 7z File Format
|
||||
|
||||
#include <std/io.pat>
|
||||
#include <std/mem.pat>
|
||||
#include <std/math.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Crash Bandicoot - Back in Time (fan game) User created flashback tapes level format
|
||||
|
||||
#include <type/magic.pat>
|
||||
#include <std/string.pat>
|
||||
#include <std/array.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Nintendo Switch Atmosphère CFW Fatal Error log
|
||||
|
||||
#pragma endian little
|
||||
|
||||
#include <std/io.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Static library archive files
|
||||
|
||||
#pragma MIME application/x-archive
|
||||
|
||||
#include <std/string.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description ARM Cortex M Vector Table Layout
|
||||
|
||||
#pragma endian little
|
||||
|
||||
#include <std/io.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Bencode encoding, used by Torrent files
|
||||
|
||||
#pragma MIME application/x-bittorrent
|
||||
|
||||
#include <std/ctype.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description OS2/Windows Bitmap files
|
||||
|
||||
#pragma MIME image/bmp
|
||||
#pragma endian little
|
||||
#include <std/mem.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description BSON (Binary JSON) format
|
||||
|
||||
#pragma MIME application/bson
|
||||
|
||||
#include <type/time.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description GoldSrc engine maps format (used in Half-Life 1)
|
||||
|
||||
#include <std/ptr.pat>
|
||||
#include <std/mem.pat>
|
||||
#include <std/sys.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Command and Conquer Voxel Animation
|
||||
|
||||
// Command and conquer voxel animation format
|
||||
|
||||
struct vec4_s {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Command and Conquer Voxel Palette
|
||||
|
||||
// Command and conquer palette format
|
||||
|
||||
struct Color {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Command and Conquer Voxel Model
|
||||
|
||||
// Command and Conquer voxel model format
|
||||
|
||||
struct vec4_s {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Compact Disc Audio track
|
||||
|
||||
struct Header {
|
||||
u32 RIFF;
|
||||
s32 size;
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Windows HtmlHelp Data (ITSF / CHM)
|
||||
|
||||
#include <type/magic.pat>
|
||||
#include <type/size.pat>
|
||||
#include <type/guid.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Common Object File Format (COFF) executable
|
||||
|
||||
#pragma MIME application/x-coff
|
||||
|
||||
#include <type/time.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Old Binary CPIO Format
|
||||
|
||||
#include <type/base.pat>
|
||||
|
||||
#include <std/time.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description DirectDraw Surface
|
||||
|
||||
#pragma MIME image/vnd-ms.dds
|
||||
#pragma endian little
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Dalvik EXecutable Format
|
||||
|
||||
#include <type/leb128.pat>
|
||||
|
||||
struct header_item {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Apple Disk Image Trailer (DMG)
|
||||
|
||||
#pragma endian big
|
||||
|
||||
#include <type/magic.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description .DS_Store file format
|
||||
|
||||
// Apple macOS .DS_Store format
|
||||
#pragma endian big
|
||||
#include <std/io.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description ELF header in elf binaries
|
||||
|
||||
#pragma MIME application/x-executable
|
||||
#pragma MIME application/x-elf
|
||||
#pragma MIME application/x-coredump
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description MS Windows Vista Event Log
|
||||
|
||||
#pragma endian little
|
||||
|
||||
struct Header {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Flat Linux Device Tree blob
|
||||
|
||||
#pragma endian big
|
||||
|
||||
#include <std/sys.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Free Lossless Audio Codec, FLAC Audio Format
|
||||
|
||||
#include <std/sys.pat>
|
||||
#include <std/core.pat>
|
||||
#include <std/io.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Drive File System
|
||||
|
||||
#include <std/io.pat>
|
||||
|
||||
struct DiskTimeStamp {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Gameboy ROM
|
||||
|
||||
#include <type/size.pat>
|
||||
#include <std/io.pat>
|
||||
#include <std/string.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description GIF image files
|
||||
|
||||
#pragma MIME image/gif
|
||||
|
||||
// Extension Labels
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description GZip compressed data format
|
||||
|
||||
#pragma MIME application/gzip
|
||||
|
||||
#include <type/time.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Icon (.ico) or Cursor (.cur) files
|
||||
|
||||
#pragma endian little
|
||||
|
||||
#include <std/sys.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description ID3 tags in MP3 files
|
||||
|
||||
#pragma MIME audio/mpeg
|
||||
|
||||
#include <std/mem.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description [Intel hexadecimal object file format definition]("https://en.wikipedia.org/wiki/Intel_HEX")
|
||||
|
||||
/* If you have no delimiters between data records then remove
|
||||
* the null_bytes field in the data_packet struct.
|
||||
* Set the array at the bottom to the highest index + 1 in the Pattern Data view
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Ethernet II Frames (IP Packets)
|
||||
|
||||
#pragma endian big
|
||||
|
||||
#include <std/sys.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description IPS (International Patching System) files
|
||||
|
||||
#include <std/mem.pat>
|
||||
#include <std/string.pat>
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description ISO 9660 file system
|
||||
|
||||
#pragma endian little
|
||||
|
||||
#include <std/io.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Java Class files
|
||||
|
||||
#pragma endian big
|
||||
#pragma pattern_limit 100000000
|
||||
#pragma MIME application/x-java-applet
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description JPEG Image Format
|
||||
|
||||
#include <std/mem.pat>
|
||||
#pragma endian big
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Windows Shell Link file format
|
||||
|
||||
#pragma MIME application/x-ms-shortcut
|
||||
|
||||
#include <std/core.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Lua 5.4 bytecode
|
||||
|
||||
#include <std/io.pat>
|
||||
#include <std/mem.pat>
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Mach-O executable
|
||||
|
||||
#pragma MIME application/x-mach-binary
|
||||
|
||||
#include <type/size.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Mechanized Assault and Exploration v1.04 (strategy game) save file format
|
||||
|
||||
#include <std/sys.pat>
|
||||
#include <std/mem.pat>
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description MIDI header, event fields provided
|
||||
|
||||
#include <std/core.pat>
|
||||
|
||||
#pragma MIME audio/midi
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Windows MiniDump files
|
||||
|
||||
#pragma MIME application/x-dmp
|
||||
|
||||
#include <type/time.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description MPEG-4 Part 14 digital multimedia container format
|
||||
|
||||
#pragma endian big
|
||||
|
||||
#pragma MIME audio/mp4
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description MessagePack binary serialization format
|
||||
|
||||
#pragma MIME application/x-msgpack
|
||||
|
||||
enum Type : u8 {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Nintendo Switch NACP files
|
||||
|
||||
#pragma endian little
|
||||
|
||||
#include <std/sys.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Minecraft NBT format
|
||||
|
||||
#include <std/sys.pat>
|
||||
|
||||
#pragma endian big
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description NE header and Standard NE fields
|
||||
|
||||
#include <std/mem.pat>
|
||||
|
||||
struct DOSHeader {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Nintendo Switch NRO files
|
||||
|
||||
#include <std/io.pat>
|
||||
#include <std/sys.pat>
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description NTAG213/NTAG215/NTAG216, NFC Forum Type 2 Tag compliant IC
|
||||
|
||||
#include <std/core.pat>
|
||||
|
||||
using BitfieldOrder = std::core::BitfieldOrder;
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description OGG Audio format
|
||||
|
||||
#pragma MIME audio/ogg
|
||||
|
||||
#include <std/core.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description pcap header and packets
|
||||
|
||||
#include <std/mem.pat>
|
||||
#pragma MIME application/vnd.tcpdump.pcap
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description PCX Image format
|
||||
|
||||
#pragma MIME application/x-pcx
|
||||
|
||||
#include <std/io.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description PE header, COFF header, Standard COFF fields and Windows Specific fields
|
||||
|
||||
#pragma MIME application/x-dosexec
|
||||
#pragma MIME application/x-msdownload
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Nintendo Switch PFS0 archive (NSP files)
|
||||
|
||||
#include <type/magic.pat>
|
||||
#include <type/size.pat>
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description PIF Image Format
|
||||
|
||||
/* PIF - Portable Image Format
|
||||
*
|
||||
* Basic decoder for the PIF file structure
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description PNG image files
|
||||
|
||||
#pragma MIME image/png
|
||||
#pragma endian big
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Nintendo Switch PRODINFO
|
||||
|
||||
enum Model : u16 {
|
||||
NX = 1
|
||||
};
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Google Protobuf encoding
|
||||
|
||||
#include <std/core.pat>
|
||||
#include <std/mem.pat>
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Python bytecode files
|
||||
|
||||
#include <type/time.pat>
|
||||
#include <std/mem.pat>
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description PyInstaller binray files
|
||||
|
||||
#pragma endian big
|
||||
|
||||
#include <std/mem.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Qubicle voxel scene project file
|
||||
|
||||
// Qubicle QBCL format
|
||||
|
||||
struct String {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description QOI image files
|
||||
|
||||
#pragma MIME image/qoi
|
||||
#pragma endian big
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description SE Linux modules
|
||||
|
||||
#include <std/sys.pat>
|
||||
#pragma pattern_limit 13107200
|
||||
#pragma endian little
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description SE Linux package
|
||||
|
||||
// SE Linux Policy Package
|
||||
// Extension: PP
|
||||
// https://github.com/SELinuxProject/selinux/blob/master/libsepol/src/module.c
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description StuffIt V5 archive
|
||||
|
||||
// Based on https://github.com/mietek/theunarchiver/wiki/StuffIt5Format and https://github.com/ParksProjets/Maconv/blob/master/docs/stuffit/Stuffit_v5.md
|
||||
|
||||
#pragma endian big
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description SPIR-V header and instructions
|
||||
|
||||
#include <std/mem.pat>
|
||||
|
||||
enum GeneratorID : u16 {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description STL 3D Model format
|
||||
|
||||
#pragma MIME model/stl
|
||||
#pragma MIME model/x.stl-binary
|
||||
#pragma MIME model/x.stl-ascii
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Tar file format
|
||||
|
||||
#pragma MIME application/tar
|
||||
#pragma MIME application/x-tar
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Truevision TGA/TARGA image
|
||||
|
||||
#pragma MIME image/tga
|
||||
#pragma endian little
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Tag Image File Format
|
||||
|
||||
#pragma MIME image/tiff
|
||||
|
||||
#pragma eval_depth 100
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Ubiquiti Firmware (update) image
|
||||
|
||||
#pragma endian big
|
||||
|
||||
#include <std/mem.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description UEFI structs for parsing efivars
|
||||
|
||||
#pragma MIME data
|
||||
|
||||
#define WIN_CERT_TYPE_PKCS_SIGNED_DATA 0x0002
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description [USB Flashing Format](https://github.com/microsoft/uf2)
|
||||
|
||||
#include <std/sys.pat>
|
||||
#include <std/mem.pat>
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Binary Value Data Format (.vdf) files
|
||||
|
||||
#pragma eval_depth 0x10000
|
||||
|
||||
#include <std/mem.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Microsoft Hyper-V Virtual Hard Disk format
|
||||
|
||||
#include <std/io.pat>
|
||||
#include <std/ptr.pat>
|
||||
#include <std/core.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description DOOM WAD Archive
|
||||
|
||||
#include <type/magic.pat>
|
||||
#include <type/size.pat>
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description RIFF header, WAVE header, PCM header
|
||||
|
||||
#pragma MIME audio/x-wav
|
||||
#pragma MIME audio/wav
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Xbox executable
|
||||
|
||||
#pragma MIME audio/x-xbox-executable
|
||||
|
||||
#include <type/magic.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Nintendo Switch XCI cardridge ROM
|
||||
|
||||
#include <std/core.pat>
|
||||
|
||||
#include <type/magic.pat>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Xilinx FPGA Bitstreams
|
||||
|
||||
#include <std/mem.pat>
|
||||
#include <std/io.pat>
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description End of Central Directory Header, Central Directory File Headers
|
||||
|
||||
#pragma MIME application/zip
|
||||
|
||||
#include <std/mem.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description ZLIB compressed data format
|
||||
|
||||
#pragma MIME application/zlib
|
||||
|
||||
#include <std/core.pat>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#pragma description Zstandard compressed data format
|
||||
|
||||
// https://github.com/facebook/zstd/blob/dev/doc/zstd_compression_format.md
|
||||
|
||||
#pragma MIME application/zstd
|
||||
|
||||
Reference in New Issue
Block a user