Jump to content

Recommended Posts

Posted

joop, people could think you are trolling

winver clearly shows Version 6.2 (9200)

so yes -> W8.0

 

anyway , thanks for the info about FF ESR 115

  • 1 month later...

Posted (edited)

I'm very close to launch Firefox 138 beta and the latest nightly 139.0a1, I'm missing the GetSystemCpuSetInformation function. Without it, FF to 138 launches but does not load any page. From 139 it doesn't work after replacing it with others at all. It supposedly appears in the api-ms-win-core-processthreads-l1-1-3.dll file in Windows 10 10240. And indeed, I checked it, and the kernel32.dll from this compilation imports this function from that file. The problem is that I can't find that file anywhere, I only found the downlevel ones, which are the ones I already have in 8.1. I will immediately point out that version l1-1-2 does not include GetSystemCpuSetInformation, both in 8.1 and 10.

https://learn.microsoft.com/en-us/uwp/win32-and-com/win32-apis

In fact, I've already succeeded, except that in the original kernel32 under a different name, I added redirection of the missing function to a wrapper created by a certain cracker from Github. 

6754381800_1743633970.png

However, I prefer to avoid this and solve it on my own, as this is the only missing dependency I have left.

9386471400_1743632079.png

Edited by mjd79
first screen update
Posted (edited)

Affinity, that I just didn't come across it :) I remembered from the time of porting Chromium 110 to Win7 about the GetProcessAffinityMask function, so I used it, and now both versions 138 and 139 work. I'll test it for stability, codec and extension performance (initially YT and Ublock work) and write a proper tutorial. In general, this means that we will 99% be able to port the upcoming probably in a few months the next version of ESR.

I added the 3 missing imports as redirects in the original kernel32.dll, but you can simply swap in CFF Explorer

xul.dll

GetSystemCpuSetInformation -> GetProcessAffinityMask

GetSystemTimes -> GetSystemTime

mozglue.dll

api-ms-win-core-version-l1-1-1.dll -> version.dll

api-ms-win-core-realtime-l1-1-1.dll and function QueryUnbiasedInterruptTimePrecise -> api-ms-win-core-realtime-l1-1-0.dll and QueryUnbiasedInterruptTime

The rest of the missing .dll imports in mozglue.dll need to be replaced with kernel32.dll

And of course change MajorOperatingSystemVersion and MajorSubsystemVersion from A to 6 in firefox.exe.

Edit:

Default-browser-agent.exe does not work (problem in ucrtbase.dll) and crashreporter.exe (user32.dll GetDpiForWindow function is missing, it can be replaced, but then the window will be the smallest possible size and any content will be seen only after the window is maximized)

Edited by mjd79
Posted
11 hours ago, mjd79 said:

Affinity, that I just didn't come across it :) I remembered from the time of porting Chromium 110 to Win7 about the GetProcessAffinityMask function, so I used it, and now both versions 138 and 139 work. I

crashreporter.exe

Glad to help. Why do you need this garbage? Replace with an empty file with the same extension. crashreporter.exe (from TXT file)

Posted
11 hours ago, mjd79 said:

Default-browser-agent.exe

Also seems like a piece of junk. Replace with an empty file with the same extension. (from TXT file)

Posted

7412057700_1743665938.png

The topic is about Win 8.1, but since there is no separate one for 8.0 I am posting the information here, it also works after very similar modifications (even GetSystemTimes is not missing, although this 8.0 is RTM without any updates, and 8.1 I use updated to the end of 2017)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...