mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-27 23:37:04 -05:00
patterns: Added MIME types and magic numbers to all patterns that have them
This commit is contained in:
20
README.md
20
README.md
@@ -25,7 +25,7 @@ Everything will immediately show up in ImHex's Content Store and gets bundled wi
|
||||
|------|------|------|-------------|
|
||||
| 3DS | | [`patterns/3ds.hexpat`](patterns/3ds.hexpat) | Autodesk 3DS Max Model file |
|
||||
| 7Z | | [`patterns/7z.hexpat`](patterns/7z.hexpat) | 7z File Format |
|
||||
| ADTS | | [`patterns/adts.hexpat`](patterns/adts.hexpat) | ADTS/AAC audio files |
|
||||
| ADTS | `audio/x-hx-aac-adts` | [`patterns/adts.hexpat`](patterns/adts.hexpat) | ADTS/AAC audio files |
|
||||
| AFE2 | | [`patterns/afe2.hexpat`](patterns/afe2.hexpat) | Nintendo Switch Atmosphère CFW Fatal Error log |
|
||||
| ANI | `application/x-navi-animation` | [`patterns/ani.hexpat`](patterns/ani.hexpat) | Windows Animated Cursor file |
|
||||
| AR | `application/x-archive` | [`patterns/ar.hexpat`](patterns/ar.hexpat) | Static library archive files |
|
||||
@@ -41,14 +41,14 @@ Everything will immediately show up in ImHex's Content Store and gets bundled wi
|
||||
| BIN | | [`patterns/selinux.hexpat`](patterns/selinux.pat) | SE Linux modules |
|
||||
| BINKA | | [`patterns/binka.hexpat`](patterns/binka.pat) | RAD Game Tools Bink Audio (BINKA) files |
|
||||
| BSON | `application/bson` | [`patterns/bson.hexpat`](patterns/bson.hexpat) | BSON (Binary JSON) format |
|
||||
| bplist | | [`patterns/bplist.hexpat`](patterns/bplist.hexpat) | Apple's binary property list format (bplist) |
|
||||
| bplist | `application/x-bplist` | [`patterns/bplist.hexpat`](patterns/bplist.hexpat) | Apple's binary property list format (bplist) |
|
||||
| BSP | | [`patterns/bsp_goldsrc.hexpat`](patterns/bsp_goldsrc.hexpat) | GoldSrc engine maps format (used in Half-Life 1) |
|
||||
| BZIP3 | | [`patterns/bzip3.hexpat`](patterns/bzip3.hexpat) | GoldSrc engine maps format (used in Half-Life 1) |
|
||||
| CCHVA | | [`patterns/cchva.hexpat`](patterns/cchva.hexpat) | Command and Conquer Voxel Animation |
|
||||
| CCVXL | | [`patterns/ccvxl.hexpat`](patterns/ccvxl.hexpat) | Command and Conquer Voxel Model |
|
||||
| CCPAL | | [`patterns/ccpal.hexpat`](patterns/ccpal.hexpat) | Command and Conquer Voxel Palette |
|
||||
| CDA | | [`patterns/cda.hexpat`](patterns/cda.hexpat) | Compact Disc Audio track |
|
||||
| CHM | | [`patterns/chm.hexpat`](patterns/chm.hexpat) | Windows HtmlHelp Data (ITSF / CHM) |
|
||||
| CHM | `application/vnd.ms-htmlhelp` | [`patterns/chm.hexpat`](patterns/chm.hexpat) | Windows HtmlHelp Data (ITSF / CHM) |
|
||||
| COFF | `application/x-coff` | [`patterns/coff.hexpat`](patterns/coff.hexpat) | Common Object File Format (COFF) executable |
|
||||
| CPIO | `application/x-cpio` | [`patterns/cpio.hexpat`](patterns/cpio.hexpat) | Old Binary CPIO Format |
|
||||
| CrashLvl | | [`patterns/Crashlvl.hexpat`](patterns/Crashlvl.hexpat) | Crash Bandicoot - Back in Time (fan game) User created level format |
|
||||
@@ -64,13 +64,13 @@ Everything will immediately show up in ImHex's Content Store and gets bundled wi
|
||||
| DTA | | [`patterns/max_v104.hexpat`](patterns/max_v104.hexpat) | Mechanized Assault and Exploration v1.04 (strategy game) save file format |
|
||||
| DTED | | [`patterns/dted.hexpat`](patterns/dted.hexpat) | Digital Terrain Elevation Data (DTED) |
|
||||
| ELF | `application/x-executable` | [`patterns/elf.hexpat`](patterns/elf.hexpat) | ELF header in elf binaries |
|
||||
| EVTX | | [`patterns/evtx.hexpat`](patterns/evtx.hexpat) | MS Windows Vista Event Log |
|
||||
| EVTX | `application/x-ms-evtx` | [`patterns/evtx.hexpat`](patterns/evtx.hexpat) | MS Windows Vista Event Log |
|
||||
| EXT4 | | [`patterns/ext4.hexpat`](patterns/ext4.hexpat) | Ext4 filesystem |
|
||||
| FAS | | [`patterns/fas_oskasoftware.hexpat`](patterns/fas_oskasoftware.hexpat) [`patterns/fas_oskasoftware_old.hexpat`](patterns/fas_oskasoftware_old.hexpat) (Old versions of Oska DeskMate) | Oska Software DeskMates FAS (Frames and Sequences) file |
|
||||
| FBX | | [`patterns/fbx.hexpat`](patterns/fbx.hexpat) | Kaydara FBX Binary |
|
||||
| FDT | | [`patterns/fdt.hexpat`](patterns/fdt.hexpat) | Flat Linux Device Tree blob |
|
||||
| FFX | | [`patterns/ffx/*`](https://gitlab.com/EvelynTSMG/imhex-ffx-pats) | Various Final Fantasy X files |
|
||||
| File System | | [`patterns/fs.hexpat`](patterns/fs.hexpat) | Drive File System |
|
||||
| File System | `application/x-ima` | [`patterns/fs.hexpat`](patterns/fs.hexpat) | Drive File System |
|
||||
| FLAC | `audio/flac` | [`patterns/flac.hexpat`](patterns/flac.hexpat) | Free Lossless Audio Codec, FLAC Audio Format |
|
||||
| Flipper Zero Settings | | [`patterns/flipper_settings.hexpat`](patterns/flipper_settings.hexpat) | Flipper Zero Settings Files |
|
||||
| GB | `application/x-gameboy-rom` | [`patterns/gb.hexpat`](patterns/gb.hexpat) | Game Boy ROM |
|
||||
@@ -88,7 +88,7 @@ Everything will immediately show up in ImHex's Content Store and gets bundled wi
|
||||
| Intel HEX | | [`patterns/intel_hex.hexpat`](patterns/intel_hex.hexpat) | [Intel hexadecimal object file format definition]("https://en.wikipedia.org/wiki/Intel_HEX") |
|
||||
| IP | | [`patterns/ip.hexpat`](patterns/ip.hexpat) | Ethernet II Frames (IP Packets) |
|
||||
| IPS | | [`patterns/ips.hexpat`](patterns/ips.hexpat) | IPS (International Patching System) files |
|
||||
| ISO | | [`patterns/iso.hexpat`](patterns/iso.hexpat) | ISO 9660 file system |
|
||||
| ISO | `application/x-iso9660-image` | [`patterns/iso.hexpat`](patterns/iso.hexpat) | ISO 9660 file system |
|
||||
| Java Class | `application/x-java-applet` | [`patterns/java_class.hexpat`](patterns/java_class.hexpat) | Java Class files |
|
||||
| JPEG | `image/jpeg` | [`patterns/jpeg.hexpat`](patterns/jpeg.hexpat) | JPEG Image Format |
|
||||
| LOC | | [`patterns/loc.hexpat`](patterns/loc.hexpat) | Minecraft Legacy Console Edition Language file |
|
||||
@@ -106,7 +106,7 @@ Everything will immediately show up in ImHex's Content Store and gets bundled wi
|
||||
| MSSCMP | | [`patterns/msscmp.hexpat`](patterns/msscmp.hexpat) | Miles Sound System Compressed Archive |
|
||||
| NACP | | [`patterns/nacp.hexpat`](patterns/nacp.hexpat) | Nintendo Switch NACP files |
|
||||
| NBT | | [`patterns/nbt.hexpat`](patterns/nbt.hexpat) | Minecraft NBT format |
|
||||
| NE | | [`patterns/ne.hexpat`](patterns/ne.hexpat) | NE header and Standard NE fields |
|
||||
| NE | `application/x-ms-ne-executable` | [`patterns/ne.hexpat`](patterns/ne.hexpat) | NE header and Standard NE fields |
|
||||
| nes | | [`patterns/nes.hexpat`](patterns/nes.hexpat) | .nes file format |
|
||||
| NotepadCache | | [`patterns/notepad-cache.hexpat`](patterns/notepad-cache.hexpat) | Windows Notepad Cache |
|
||||
| NotepadWindowState | | [`patterns/notepadwindowstate.hexpat`](patterns/notepadwindowstate.hexpat) | Windows 11 Notepad - Window State .bin file |
|
||||
@@ -127,7 +127,7 @@ Everything will immediately show up in ImHex's Content Store and gets bundled wi
|
||||
| Protobuf | | [`patterns/protobuf.hexpat`](patterns/protobuf.hexpat) | Google Protobuf encoding |
|
||||
| psafe3 | | [`patterns/psafe3.hexpat`](patterns/psafe3.hexpat`) | Password Safe V3 |
|
||||
| PyInstaller | | [`patterns/pyinstaller.hexpat`](patterns/pyinstaller.hexpat) | PyInstaller binray files |
|
||||
| PYC | | [`patterns/pyc.hexpat`](patterns/pyc.hexpat) | Python bytecode files |
|
||||
| PYC | `application/x-bytecode.python` | [`patterns/pyc.hexpat`](patterns/pyc.hexpat) | Python bytecode files |
|
||||
| QBCL | | [`patterns/qbcl.hexpat`](patterns/qbcl.hexpat) | Qubicle voxel scene project file |
|
||||
| QOI | `image/qoi` | [`patterns/qoi.hexpat`](patterns/qoi.hexpat) | QOI image files |
|
||||
| quantized-mesh | | [`patterns/quantized-mesh.hexpat`](patterns/quantized-mesh.hexpat) | Cesium quantized-mesh terrain |
|
||||
@@ -143,7 +143,7 @@ Everything will immediately show up in ImHex's Content Store and gets bundled wi
|
||||
| STL | `model/stl` | [`patterns/stl.hexpat`](patterns/stl.hexpat) | STL 3D Model format |
|
||||
| StuffItV5 | `application/x-stuffit` | [`patterns/sit5.hexpat`](patterns/sit5.hexpat) | StuffIt V5 archive |
|
||||
| SQLite3 | `application/vnd.sqlite3` | [`patterns/sqlite3.hexpat`](patterns/sqlite3.hexpat) | SQLite3 Database |
|
||||
| SWF | |[`patterns/swf.hexpat`](patterns/swf.hexpat) | Shockwave Flash file format |
|
||||
| SWF | `application/x-shockwave-flash` |[`patterns/swf.hexpat`](patterns/swf.hexpat) | Shockwave Flash file format |
|
||||
| TAR | `application/x-tar` | [`patterns/tar.hexpat`](patterns/tar.hexpat) | Tar file format |
|
||||
| TES | | [`patterns/wintec_tes.hexpat`](patterns/wintec_tes.hexpat) | Wintec TES GPS log |
|
||||
| TIFF | `image/tiff` | [`patterns/tiff.hexpat`](patterns/tiff.hexpat) | Tag Image File Format |
|
||||
@@ -166,7 +166,7 @@ Everything will immediately show up in ImHex's Content Store and gets bundled wi
|
||||
| XCI | | [`patterns/xci.hexpat`](patterns/xci.hexpat) | Nintendo Switch XCI cartridge ROM |
|
||||
| XGT | | [`patterns/xgt.hexpat`](patterns/xgstexture.hexpat) | Exient XGS Engine Texture |
|
||||
| Xilinx BIT | | [`patterns/xilinx_bit.hexpat`](patterns/xilinx_bit.hexpat) | Xilinx FPGA Bitstreams |
|
||||
| Xilinx Bootgen | | [`patterns/xilinx_bootgen.hexpat`](patterns/xilinx_bootgen.hexpat) | Xilinx ZynqMP Boot Images |
|
||||
| Xilinx Bootgen | `application/x-xilinx-boot-zynqmp` | [`patterns/xilinx_bootgen.hexpat`](patterns/xilinx_bootgen.hexpat) | Xilinx ZynqMP Boot Images |
|
||||
| ZIP | `application/zip` | [`patterns/zip.hexpat`](patterns/zip.hexpat) | End of Central Directory Header, Central Directory File Headers |
|
||||
| ZLIB | `application/zlib` | [`patterns/zlib.hexpat`](patterns/zlib.hexpat) | ZLIB compressed data format |
|
||||
| ZSTD | `application/zstd` | [`patterns/zstd.hexpat`](patterns/zstd.hexpat) | Zstandard compressed data format |
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author AdventureT
|
||||
#pragma description Crash Bandicoot - Back in Time (fan game) User created level
|
||||
#pragma magic [ 43 52 41 53 48 4C 56 4C ] @ 0x00
|
||||
#pragma history
|
||||
#pragma 0.3 2024-05-15 Added support for version 0.95
|
||||
#pragma 0.2 2023-10-29 Added support for version 0.94c
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma author zhoubo
|
||||
#pragma description AAC ADTSn (Audio Data Transport Stream) Audio
|
||||
#pragma magic [ FF F? ] @ 0x00
|
||||
#pragma MIME audio/x-hx-aac-adts
|
||||
#pragma pattern_limit 0xFFFFFF
|
||||
|
||||
// History
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Nintendo Switch Atmosphère CFW Fatal Error log
|
||||
|
||||
#pramga magic [ 41 46 45 30 ] @ 0x00
|
||||
#pramga magic [ 41 46 45 31 ] @ 0x00
|
||||
#pramga magic [ 41 46 45 32 ] @ 0x00
|
||||
|
||||
#pragma endian little
|
||||
|
||||
import std.io;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author Shadlock0133 (aka Aurora) / WerWolv
|
||||
#pragma description Prusa Binary G-Code
|
||||
#pragma magic [ 47 43 44 45 ] @ 0x00
|
||||
|
||||
import type.magic;
|
||||
import std.mem;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma description Apple binary property list
|
||||
#pragma MIME application/x-bplist
|
||||
|
||||
import std.math;
|
||||
import std.core;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma description Compact Disc Audio track
|
||||
#pragma magic [ 52 49 46 46 ] @ 0x00
|
||||
|
||||
struct Header {
|
||||
u32 RIFF;
|
||||
@@ -13,7 +14,6 @@ u32 identifier;
|
||||
|
||||
|
||||
struct DataInfo {
|
||||
|
||||
u32 range;
|
||||
u32 duration;
|
||||
u8 rangepositionframes;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Windows HtmlHelp Data (ITSF / CHM)
|
||||
#pragma MIME application/vnd.ms-htmlhelp
|
||||
|
||||
import type.magic;
|
||||
import type.size;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma description Dalvik EXecutable
|
||||
#pragma magic [ 64 65 78 0A ?? ?? ?? 00 ]
|
||||
|
||||
import type.leb128;
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma description Apple Disk Image Trailer (DMG)
|
||||
#pragma magic [ 6B 6F 6C 79 ] @ -512
|
||||
|
||||
#pragma endian big
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma magic [50 41 47 45] // PAGE
|
||||
#pragma magic [ 50 41 47 45 ] @ 0x00 // PAGE
|
||||
#pragma author "5h4rrK"
|
||||
#pragma description "KERNEL DUMP"
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma description macOS .DS_Store
|
||||
#pragma magic [ 42 75 64 31 ] @ 0x04
|
||||
|
||||
// Apple macOS .DS_Store format
|
||||
#pragma endian big
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#pragma description Digital Terrain Elevation Data
|
||||
#pragma endian big
|
||||
|
||||
#pragma magic [ 4C 48 55 ] @ 0x00
|
||||
|
||||
import std.core;
|
||||
import std.io;
|
||||
import std.mem;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#pragma description MS Windows Vista Event Log
|
||||
|
||||
#pragma MIME application/x-ms-evtx
|
||||
#pragma endian little
|
||||
|
||||
struct Header {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Flat Linux Device Tree blob
|
||||
#pragma magic [ D0 0D FE ED ] @ 0x00
|
||||
|
||||
#pragma endian big
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Free Lossless Audio Codec, FLAC Audio Format
|
||||
#pragma MIME audio/flac
|
||||
|
||||
import std.sys;
|
||||
import std.core;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Drive File System
|
||||
#pragma MIME application/x-ima
|
||||
|
||||
import std.io;
|
||||
import std.core;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author Surasia
|
||||
#pragma description Halo Infinite HavokScript 5.1 "luas"
|
||||
#pragma magic [ 75 63 73 68 ] @ 0x00
|
||||
|
||||
import std.io;
|
||||
import std.mem;
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
#pragma author Surasia
|
||||
#pragma description Halo Infinite Module
|
||||
#pragma array_limit 4294967295
|
||||
#pragma pattern_limit 4294967295
|
||||
#pragma array_limit 0
|
||||
#pragma pattern_limit 0
|
||||
#pragma magic [ 6D 6F 68 64 ] @ 0x00
|
||||
|
||||
import std.string;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author Surasia
|
||||
#pragma description Halo Infinite Tag
|
||||
#pragma magic [ 75 63 73 68 ] @ 0x00
|
||||
|
||||
import std.string;
|
||||
import type.guid;
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
#pragma author xtex
|
||||
|
||||
#pragma description HiSilicon HSDT device-tree table
|
||||
#pragma endian little
|
||||
#pragma magic [ 48 53 44 54 ] @ 0x00
|
||||
|
||||
import std.sys;
|
||||
import std.mem;
|
||||
#pragma endian little
|
||||
|
||||
u32 dt_hdr_offset;
|
||||
if (std::mem::read_unsigned(4096, 4, std::mem::Endian::Little) == 0x54445348) {
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
* values
|
||||
*/
|
||||
#pragma endian big
|
||||
#pragma MIME text/x-hex
|
||||
|
||||
import std.mem;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author gmestanley
|
||||
#pragma description IPS (International Patching System)
|
||||
#pragma magic [ 50 41 54 43 48 ] @ 0x00
|
||||
|
||||
#pragma endian big
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma description ISO 9660 file system
|
||||
#pragma MIME application/x-iso9660-image
|
||||
|
||||
#pragma endian little
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
#pragma description Minecraft LCE LOC file
|
||||
|
||||
#pragma endian big
|
||||
#pragma array_limit 739845729834
|
||||
#pragma pattern_limit 34893726894
|
||||
#pragma array_limit 0
|
||||
#pragma pattern_limit 0
|
||||
|
||||
import std.string;
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma description Lua 5.1 bytecode
|
||||
#pragma magic [ 1B 4C 75 61 51 ] @ 0x00
|
||||
|
||||
import std.io;
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma description Lua 5.2 bytecode
|
||||
#pragma magic [ 1B 4C 75 61 52 ] @ 0x00
|
||||
|
||||
import std.io;
|
||||
import std.mem;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma description Lua 5.3 bytecode
|
||||
#pragma magic [ 1B 4C 75 61 53 ] @ 0x00
|
||||
|
||||
import std.io;
|
||||
import type.base;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma description Lua 5.4 bytecode
|
||||
#pragma magic [ 1B 4C 75 61 54 ] @ 0x00
|
||||
|
||||
import std.io;
|
||||
import std.mem;
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
import std.sys;
|
||||
import std.mem;
|
||||
|
||||
#pragma array_limit 12544
|
||||
#pragma pattern_limit 2000000
|
||||
#pragma array_limit 0
|
||||
#pragma pattern_limit 0
|
||||
#pragma eval_depth 32
|
||||
|
||||
enum FileType : u8
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
#pragma description MSSCMP (Miles Sound System Compressed Archive)
|
||||
#pragma magic [ 42 41 4E 4B ] @ 0x00
|
||||
#pragma magic [ 4B 4E 41 42 ] @ 0x00
|
||||
#pragma array_limit 4294967295
|
||||
#pragma pattern_limit 4294967295
|
||||
#pragma array_limit 0
|
||||
#pragma pattern_limit 0
|
||||
|
||||
import type.magic;
|
||||
import std.core;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma description Microsoft DOS NE executable
|
||||
#pragma MIME application/x-ms-ne-executable
|
||||
|
||||
import std.mem;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author gmestanley
|
||||
#pragma description Nintendo Entertainment System ROM (.nes)
|
||||
#pragma MIME application/x-nes-rom
|
||||
|
||||
import std.mem;
|
||||
import std.string;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author sethhall
|
||||
#pragma description Windows Notepad Cache Files
|
||||
#pragma magic [ 4E 50 00 ] @ 0x00
|
||||
|
||||
// This was written based on the following blog post:
|
||||
// https://u0041.co/posts/articals/exploring-windows-artifacts-notepad-files/
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author ogmini https://github.com/ogmini
|
||||
#pragma description Windows 11 Notepad Window State file
|
||||
#pragma magic [ 4E 50 ] @ 0x00
|
||||
// File found at %localappdata%/Packages/Microsoft.WindowsNotepad_8wekyb3d8bbwe/LocalState/WindowState
|
||||
|
||||
#include <std/string.pat>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Nintendo Switch NRO
|
||||
#pragma magic [ 4E 52 4F 30 ] @ 0x10
|
||||
|
||||
import std.io;
|
||||
import std.sys;
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#pragma author Nicolás Alvarez
|
||||
#pragma description Apple pbz
|
||||
#pragma magic [ 70 62 7A ] @ 0x00
|
||||
|
||||
import std.mem;
|
||||
import type.magic;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Nintendo Switch PFS0 archive (.nsp)
|
||||
#pragma magic [ 50 46 53 30 ] @ 0x00
|
||||
|
||||
import type.magic;
|
||||
import type.size;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#pragma author applecuckoo
|
||||
#pragma description PKM (PacKMan) files containing ETC (Ericsson Texture Compression)
|
||||
#pragma endian big
|
||||
#pragma magic [ 50 4B 4D 20 ] @ 0x00
|
||||
|
||||
enum PKMFormat : u16 {
|
||||
ETC1_RGB_NO_MIPMAPS,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Nintendo Switch PRODINFO
|
||||
#pragma magic [ 43 41 4C 30 ] @ 0x00
|
||||
|
||||
enum Model : u16 {
|
||||
NX = 1
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#pragma endian little
|
||||
#pragma description Password Safe V3
|
||||
#pragma magic [ 50 57 53 33 ] @ 0x00
|
||||
|
||||
import std.mem;
|
||||
import std.sys;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma description Python bytecode
|
||||
#pragma MIME application/x-bytecode.python
|
||||
|
||||
import type.time;
|
||||
import std.mem;
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
#pragma author Ange Albertini
|
||||
|
||||
import std.sys;
|
||||
#pragma pattern_limit 13107200
|
||||
#pragma array_limit 13107200
|
||||
#pragma pattern_limit 0
|
||||
#pragma array_limit 0
|
||||
#pragma endian little
|
||||
#pragma magic [ 8C FF 7C F9 ] @ 0x00
|
||||
#pragma magic [ 8D FF 7C F9 ] @ 0x00
|
||||
|
||||
u32 version;
|
||||
u32 symbols_count;
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
// Extension: PP
|
||||
// https://github.com/SELinuxProject/selinux/blob/master/libsepol/src/module.c
|
||||
|
||||
#pragma magic [ 8F FF 7C F9 ] @ 0x00
|
||||
#pragma endian little
|
||||
import std.sys;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author Calcoph
|
||||
#pragma description ESRI shapefile
|
||||
#pragma magic [ 00 00 27 0A ] @ 0x00
|
||||
|
||||
// Spec:
|
||||
// https://www.esri.com/content/dam/esrisites/sitecore-archive/Files/Pdfs/library/whitepapers/pdfs/shapefile.pdf
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author Calcoph
|
||||
#pragma description ESRI shapefile indices
|
||||
#pragma magic [ 00 00 27 0A ] @ 0x00
|
||||
|
||||
// Spec:
|
||||
// https://www.esri.com/content/dam/esrisites/sitecore-archive/Files/Pdfs/library/whitepapers/pdfs/shapefile.pdf
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
#pragma author saturnaliam
|
||||
#pragma description Shockwave Flash Movie (SWF)
|
||||
#pragma endian little
|
||||
import type.magic;
|
||||
#pragma MIME application/x-shockwave-flash
|
||||
|
||||
import type.magic;
|
||||
|
||||
// RECTs are more complicated, but for the header,
|
||||
// this works fine.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#pragma description Ubiquiti Firmware (update) image
|
||||
|
||||
#pragma endian big
|
||||
#pragma magic [ 55 42 4E 54 ] @ 0x00
|
||||
|
||||
import std.mem;
|
||||
import std.sys;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma description Android VBMeta image
|
||||
#pragma magic [ 41 56 42 30 ] @ 0x00
|
||||
|
||||
#pragma endian big
|
||||
import std.core;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author bake
|
||||
#pragma description veadotube mini avatar file
|
||||
#pragma description Veadotube Mini Avatar File
|
||||
#pragma magic [ 56 45 41 44 4F 54 55 42 45 ] @ 0x00
|
||||
|
||||
import std.mem;
|
||||
import std.io;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description DOOM WAD Archive
|
||||
#pragma magic [ 50 57 41 44 ] @ 0x00
|
||||
|
||||
import type.magic;
|
||||
import type.size;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma author WerWolv
|
||||
#pragma description Nintendo Switch XCI cartridge ROM
|
||||
#pragma magic [ 48 46 53 30 ] @ 0x00
|
||||
|
||||
import std.core;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma endian little
|
||||
#pragma description Xilinx Zynq UltraScale+ Boot Image
|
||||
#pragma MIME application/x-xilinx-boot-zynqmp
|
||||
#pragma magic [ 58 4E 4C 58 ] @ 0x24
|
||||
|
||||
// Spec: Xilinx UG1283 https://docs.xilinx.com/r/en-US/ug1283-bootgen-user-guide/Zynq-UltraScale-MPSoC-Boot-and-Configuration
|
||||
|
||||
Reference in New Issue
Block a user