RetroBat-Official / retrobat-setup

Configure and build the RetroBat Setup
https://www.retrobat.org
Other
139 stars 19 forks source link

x64 #74

Closed lauren7ino closed 7 months ago

lauren7ino commented 7 months ago

Hi Can you please remove the x64 check from the setup? Windows 11 on ARMx64 runs everything Windows x32/x64, as Microsoft provides an on the fly assembly translation layer. Your check prevents us with an ARMx64 Windows from even installing your app, although (probably) would run fine. Thank you

lauren7ino commented 7 months ago

Here, the same problem as this: https://newsgroup.xnview.com/viewtopic.php?t=46626

kaylh commented 7 months ago

Hi No because we build a setup for x86 64bits. If Windows is able to run 64bit win32 application, you don't need to use build.bat but only to try if RetroBat run actually on Windows ARM with compatibility layer.

lauren7ino commented 7 months ago

Yes, after installed it runs perfectly on Windows ARM. By the way, I'm using a macOS.

I run your setup on an intel machine, and copied the RetroBat folder to Windows ARM64.

Your setup check for x64 can be safely removed, or extended to support ARM64.

image

image

PS: Ignore de 29 on bottom right, it's Fraps tool for Windows.

lauren7ino commented 7 months ago

To clarify, your setup displays this error on Windows ARM, which is incorrect:

image

kaylh commented 7 months ago

Hi, I try to respect the requirements from Microsoft sign tools to expect a signature and a certificate for RetroBat's setup, in a near future I hope. I didn't fill yet all the requirements but your asking would take us a step back towards this goal. Because building an ARM setup to install x86 software is weird and can cause security issue. Your way to install retrobat isn't officially supported so if you want to tweak RetroBat for testing purpose you're on your own for now.

lauren7ino commented 7 months ago

OK no problem 😊 There are almost no ARM compiled apps and setups, but Windows 11 WOW64 APIs are so good recompiling on the fly Intel to ARM assembly, so you may NEVER need to actually create an ARM version of your software. You only need to remove that message "This program can only be installed on versions of Windows designed for the following processor architectures: x64", because it's not truth. ARM64 runs 99.9% of Intel x64 programs and setups (edit: x32 too)

kaylh commented 7 months ago

In your case you probably need only to create a zip archive with build.bat after the "download, configure" (option 2), then archive (option 4)