Jump to content

Who here has a Youtube-DL compile for WinXP?


Recommended Posts


Posted (edited)
21 hours ago, VistaLover said:

Positive `quickjs-ng` developments

https://github.com/quickjs-ng/quickjs/pull/1324

has been merged into master

https://github.com/quickjs-ng/quickjs/commit/e85ae372edf32882c8b877cd770fe485f2b05147

Latest GHA workflow that has this implemented: 

https://github.com/quickjs-ng/quickjs/actions/runs/21545069744?pr=1324

win 32-bit binary (you only need the qjs-windows-x86.exe one): 

https://github.com/quickjs-ng/quickjs/actions/runs/21545069744/artifacts/5328824393

win 64-bit binary (you only need the qjs-windows-x86_64.exe one):

https://github.com/quickjs-ng/quickjs/actions/runs/21545069744/artifacts/5328823672

Codewise, these artifacts correspond to a 

quickjs-ng-v0.11.0-77-git-20260131-g3213652

snapshot...

3 hours ago, nicolaasjan said:

I tried this on XP (renamed to qjs.exe), but when running `yt-dlp -v`, it throws this:

Well, I never claimed any WinXP-compatibility myself :whistle:; the app authors officially support Win7+:

https://quickjs-ng.github.io/quickjs/supported_platforms

Quote

Windows    >= Windows 7*    |     VS >= 2022 and Clang are supported; requires <stdatomic.h>

*: Windows 7 is EOL and only supported in this project as long as it doesn't interfere with its progress.

About the "InitOnceExecuteOnce" error thrown on WinXP

https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-initonceexecuteonce

Quote

Minimum supported client |  Windows Vista [desktop apps | UWP apps]

So, I'm really "lucky" the app (even) runs on NT 6.0 :P (and "unofficial" Vista SP2 compatibility isn't a "given", as far as official support goes :whistle:) ...

Edited by VistaLover
Posted
8 hours ago, nicolaasjan said:

The Windows 7 one from GitHub updates fine:

I have no experience with Github workflow at all, but you can't set it up to utilize the latest Python and OpenSSL as well?

8 hours ago, nicolaasjan said:

No, I grabbed the two 32-bit dll's from an install of the updated OpenSSL from here:lol:

I thought these are still WinXP compatible, are they not?

Anyway... despite a small bump in the road I've compiled and uploaded OpenSSL 3.6.1.

Posted
1 hour ago, Reino said:

... but you can't set it up to utilize the latest Python and OpenSSL as well?

... You'd also need to use "special" actions to: 

1) explicitly request and setup adang1345's CPython mod (NT 6.0+ compatible); Microsoft's GitHub probably only knows of the official PSF versions (Win10+)

2) explicitly request and install a "special" version (fork) of PyInstaller to compile the yt-dlp "Win7" binaries (which are also compatible with Vista SP2).

CPython versions, the PSF ones or even adang1345's, come with embedded OpenSSL binaries; IIUC, currently the swap of them with updated OpenSSL DLLs (e.g 3.6.1) is mainly a manual job; I can't imagine how this could be done in the context of a workflow, but what do I know? ...

1 hour ago, Reino said:

I've compiled and uploaded OpenSSL 3.6.1

Many thanks, indeed :) ...

Posted (edited)
4 hours ago, nicolaasjan said:

Yes, those are XP compatible.

Then why do you need mine? :lol:

16 hours ago, nicolaasjan said:

I tried this on XP (renamed to qjs.exe), but when running `yt-dlp -v`, it throws this:

spacer.png

While I was at it (compiling OpenSSL) I've had a look at this, but I couldn't compile quickjs. The culprit is undoubtedly "Add cross-platform Atomics support". I think it will be extremely difficult to restore WinXP compatibility. Attempting this at all, I think a patch similar to how I (with the help of Gianluigi "sherpya" Tiesi) restored WinXP compatibility to libaom back in the day is needed. We could ask him to have a look?:rolleyes:

Edited by Reino
Posted

thats a simple function kernel extenders have it already somewhere

however it would be better to use dependency walker to see if there are more 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...