WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
https://imhex.werwolv.net
GNU General Public License v2.0
44.94k stars 1.95k forks source link

[Feature] Native builds for Windows on ARM #1118

Open jakibaki opened 1 year ago

jakibaki commented 1 year ago

What feature would you like to see?

Native aarch64 builds of ImHex for Windows ideally using DirectX instead of OpenGL.

How will this feature be useful to you and others?

It would be very useful now that there are devices on the market that are fast enough that many ImHex users might actually consider using one (typing this from my x13s \^\^).

Using opengl makes no sense on any existing windows arm devices since the opengl driver just layers opengl on top of directx (and imhex makes my gpu crash after a minute or two)

Request Type

Additional context?

I might set that up myself if I have the time and motivation unless anyone particularly wants to do it for me :)

WerWolv commented 1 year ago

Hey! As with Apple ARM builds, I'm happy to support them but I'll need help with setting it up since I don't have such a device myself. As there's no native ARM runners, you'll need to cross compile ImHex from x86 somehow. I'm not entirely sure if mingw has builds for everything that's needed though

macshome commented 1 year ago

For the apple builds it seems like you could just specify the architecture flags. I'll try this on an Intel Mac. https://stackoverflow.com/questions/75562856/convert-cmake-for-compiling-apple-arm-cpu/75623927#75623927

WerWolv commented 1 year ago

For the apple builds it seems like you could just specify the architecture flags. I'll try this on an Intel Mac. https://stackoverflow.com/questions/75562856/convert-cmake-for-compiling-apple-arm-cpu/75623927#75623927

Thank you! Keep in mind though that ImHex requires GCC to build on every platform, including macOS. I don't know much about the situation on Apple machines but you'll probably need to manually install a ARM64 version of GCC and specifically use that then to cross compile

github-actions[bot] commented 3 months ago

This issue is marked stale as it has been open for 11 months without activity. Please try the latest ImHex version. (Avaiable here: https://imhex.download/ for release and https://imhex.download/#nightly for development version) If the issue persists on the latest version, please make a comment on this issue again

Without response, this issue will be closed in one month.

jakibaki commented 3 months ago

Issue still exists. I should finally do that.