Skip to content

Combines multiple ImHex hexpat files into one, useful for folder structured hexpats that you want to upload to the ImHex-Patterns repo.

License

Notifications You must be signed in to change notification settings

DexrnZacAttack/HexpatCombiner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Combines multiple ImHex hexpat files into one, useful for folder structured hexpats that you want to upload to the ImHex-Patterns repo.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages