Hex viewer for Linux using Vulkan via SDL2
This GUI program is written in C++ and requires hardware that supports Vulkan. It depends on Vulkan and SDL2
A windows binary package is now available at https://wizstaff.com/winshex.zip
To build: type inside the shex/ directory:
./mk
If you modify the shaders/shader.frag, then you will need xxd to rebuild it. Just type:
./shmk
and the script will re-generate the frag.h and vert.h. You will need to rebuild the executable after that with ./mk script mentioned above.
To test: run the executable file with any binary file as parameter
./shex shaders/frag.spv
After switch to SDL2, you can now also run it as a Wayland app:
SDL_VIDEODRIVER=wayland ./shex shaders/frag.spv
There is a windows build command 'mkwin', which allows to cross-compile a windows binary on linux. I tested the binary on my Windows 10 system.
./mkwin
You need to put these files in the same directory as shex.exe: SDL2.dll libwinpthread-1.dll vulkan-1.dll libssp-0.dll
in Arch, if you have mingw and corresponding mingw libraries installed, those .ddl files are located in /usr/x86_64-w64-mingw32/bin/
Good Luck and Have Fun!