darktohka / FlashPatch

FlashPatch! Play Adobe Flash Player games in the browser after January 12th, 2021.
MIT License
534 stars 46 forks source link

Unable to browse to 64bit System32 for manual file select #13

Open theultramage opened 3 years ago

theultramage commented 3 years ago

The patcher could not auto-find the activeX flash ocx files on my system because I installed latest version 465 and Patches.cs only knows 445. So I proceeded to manually select the files using the classic explorer file open dialog. However I could not access the 64bit one because both System32 and SysWoW64 led to the same 32bit macromedia folder. I assume this dialog needs wow64 redirection turned off. (As a workaround, I temporarily moved the file to a more convenient location for patching.)

darktohka commented 3 years ago

Unfortunately, it looks like we cannot disable wow64 redirection on this dialog. Windows doesn't support this behavior.

I'll release FlashPatch version 1.6 with Any CPU configuration, see if that does anything?

theultramage commented 3 years ago

No noticeable difference, it still runs as a 32-bit windows executable. But now that the latest activex version is auto detected, this is no longer a big issue. It is too bad that the behavior cannot be changed for the dialog. One additional workaround I found is that the dialog supports the 'SysNative' pseudo folder name.