Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPCHC and flash player #15

Open
The-Name-Is-Never-Right opened this issue May 9, 2021 · 7 comments
Open

MPCHC and flash player #15

The-Name-Is-Never-Right opened this issue May 9, 2021 · 7 comments

Comments

@The-Name-Is-Never-Right
Copy link

The-Name-Is-Never-Right commented May 9, 2021

I would like to point out a detail in the functioning of MPCHC (1.9.11 by clsid2) on Win10 with patched flashplayer.

After discovering a few months ago that MPCHC was no longer reading .swf files, I found that using "runasdate" by Nirsoft setting a date before the block (say December 2020), it still worked. I recently realized that this "trick" no longer worked, MPCHC told me it required "flash for internet explorer" if I tried to open an .sfw file.

So I discovered FlashPatcher by KuromeSan (and flashpatch by leecher1337). I recently installed KB5001391, if that has anything to do with it.
I'm sure I was using the 64bit version of MPCHC because I had downloaded the 64bit version of "runasdate".
The fact is that after using FlashPatcher, which seemed to be successful, it still asked me "flash for internet explorer".
So I tried to open IE11 (now it shows the Win10 version in the properties, so mine is 20H2) and I opened a .swf file from the address bar, and it worked, like a couple of randomly opened animations on the internet (always with IE11).

After hitting my head against the wall for a while and checking which files were patched, I thought "doesn't that only work with 32-bit applications?" I installed MPCHC 32bit and it worked.
I would like to know if this is normal and why, and if anyone knows why before the "runasdate" trick worked with the 64bit version.

Thank you all for your commitment and dedication.

@LiEnby
Copy link
Owner

LiEnby commented May 11, 2021

maybe related: https://social.msdn.microsoft.com/Forums/en-US/cfdf4474-266b-4ef5-8992-7fbdc3147521/accessing-files-from-system32-directory-using-32-bit-application-on-64-bit-machine?forum=netfx64bit

if the FlashPatcher is running in 32 bit mode, then it will not be able to see the 64 bit versions of the Flash Player.

@LiEnby
Copy link
Owner

LiEnby commented May 11, 2021

Try this version : Flash Patcher.zip
made it check Sysnative as well ;;;

@The-Name-Is-Never-Right
Copy link
Author

The-Name-Is-Never-Right commented May 12, 2021

Thanks for your kind reply.
If I understand correctly, the link you suggested is about 32bit applications that try to access 64bit files.
The version of Win 10 I tested on is 64-bit, I don't think anything ran 32-bit, but I'm no expert.
I am attaching images with what FlashPatcher (the original, not the one you linked in the post) returned to me and then I also tried FlashPatch .
Can you check if any file is missing or has been excluded ?
https://imgur.com/a/0GjxfoK
I tried the file you uploaded and found nothing to patch. How do I tell FlashPatcher to use the "sysnative" path? If I click "Add" and paste the path "C:\Windows\Sysnative" it doesn't work.

@LiEnby
Copy link
Owner

LiEnby commented May 12, 2021

i see the problem. you have the windows 7 activeX control installed which is 32 bit only.
try running this script as admiistrator: https://github.com/leecher1337/flashpatch/releases/download/20210317/reinst_flash_w10.cmd it should restore the flash.ocx that windows update removed, then try use flash patcher on those files.

@The-Name-Is-Never-Right
Copy link
Author

Hello again!
I followed the instructions, the flash.ocx file was installed and patched.
Here is the result:
https://imgur.com/a/hPeO43E

On the other hand, it means that installing in win10 install_flash_player.exe install_flash_player_ax.exe install_flash_player_ppapi.exe not all files are restored, because KB4580325 is also needed.
https://www.catalog.update.microsoft.com/search.aspx?q=4580325

MPC-HC 64bit however still requires flash player for internet explorer. Maybe it's a problem with the program, maybe it's my system.
Anyway, don't waste time on my problem, I had already set MPC-HC 32bit to read .swf files and MPC-HC 64bit for other media. It's not an optimal solution, but it works.
However, I am happy to have contributed, and if you find a solution, we would all be happy.
Thank you for what you have done so far and for your effort (and also to everyone else who has been involved in patching FlashPlayer).

@Mirrorman95
Copy link

Mirrorman95 commented Dec 23, 2021

I also ran the cmd and flash patcher, but my MPC-HC 64-bit and Swiff Player still show the [f](i) symbol.
I even did a dump of Swiff Player trying to run a SWF file, and the only file it accessed that I reckon could possibly be doing this is C:\Windows\SysWOW64\Macromed\Flash\Flash32_32_0_0_465.ocx , and Flash Patcher says it doesn't contain the killswitch timestamp.

@photonometric
Copy link

photonometric commented Feb 12, 2024

Since this was left open, the broad title means it's like the number 2 google result for "how to play SWF in MPC-HC." So I'll just leave these links here for a more general current solution:

  1. Install chinese flash player, clean version: https://gitlab.com/cleanflash/installer
  2. Run FlashPatch to make this work in system web browers: https://github.com/darktohka/FlashPatch (even if you won't be using it in web browsers, this seems to be necessary for MPC-HC to access flash through IE).

See the original Reddit post about Flash Patch for more explanations of how this works: https://www.reddit.com/r/pcgaming/comments/kyql6f/flashpatch_a_new_way_to_keep_playing_adobe_flash/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants