https://github.com/dexrnzacattack/hexpatcombiner
Combines multiple ImHex hexpat files into one, useful for folder structured hexpats that you want to upload to the ImHex-Patterns repo.
https://github.com/dexrnzacattack/hexpatcombiner
editor hex hexpat imhex pattern pattern-matching
Last synced: 9 months ago
JSON representation
Combines multiple ImHex hexpat files into one, useful for folder structured hexpats that you want to upload to the ImHex-Patterns repo.
- Host: GitHub
- URL: https://github.com/dexrnzacattack/hexpatcombiner
- Owner: DexrnZacAttack
- License: mit
- Created: 2024-05-29T11:40:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-29T21:50:54.000Z (about 2 years ago)
- Last Synced: 2025-01-29T16:08:58.808Z (over 1 year ago)
- Topics: editor, hex, hexpat, imhex, pattern, pattern-matching
- Language: C#
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HexpatCombiner
Combines multiple ImHex hexpat files into one, useful for folder structured hexpats that you want to upload to the ImHex-Patterns repo.

I don't code C# so I have barely any idea what I'm doing.
# How to use
```
HexpatCombiner.exe {string filePath} {bool addCombinationComment}
```
addCombinationComment prevents HexpatCombiner from adding this to the start:
```
/*
==========================
* COMBINED HEXPAT
==========================
*/
```
and this to the end:
```
/*
==============================
* END COMBINED HEXPAT
==============================
*/
```
# Naming, imports
To import a file, use ``combine``
ex: ``combine "./packets/C2S/requestWorldData.hexpat";``
To name the uncombined file, add this into the files you want to combine into the main one:
``#pragma combinerName {name}``
ex: ``#pragma combinerName requestWorldData``
Note: Don't add this pragma into the main file where all the imports are.
Also note: I may be using pragma wrong or something IDK much about C syntax n stuff.