From a0249cca8a260a8285102d415d9ba7a15a551c1d Mon Sep 17 00:00:00 2001 From: sir aieke the 9391913th Date: Sat, 2 Nov 2024 09:17:18 +0200 Subject: [PATCH] Update backport.md --- backport.md | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/backport.md b/backport.md index 2461cd9..f1a671b 100644 --- a/backport.md +++ b/backport.md @@ -1,18 +1,15 @@ -This guide has been written on the 24th of july, 2024, this should work for a few years. If this method ever stops working I'll be more than happy to make a guide on how to compile nodejs from source (ofc, patched for Windows Vista/7) ## How to backport > Steps needed before backporting: -Download CFF explorer - -[You can download it from here](https://ntcore.com/explorer-suite/) +[Download CFF explorer](https://ntcore.com/explorer-suite/) ### The actual backporting: 1. Install NodeJS, even though you haven't patched it you still need to install it (with the system enviorment variables and everything) - After that, open it with CFF Explorer + After that, open "node.exe" with CFF Explorer, and copy those 3 dlls you can find [here](https://git.randomserver.top/aiek/nodejs7/src/branch/main/dlls) ![image](https://git.randomserver.top/aiek/nodejs7/raw/branch/main/images/1.png) @@ -20,29 +17,15 @@ Download CFF explorer ![image](https://git.randomserver.top/aiek/nodejs7/raw/branch/main/images/2.png) -3. Go into the "import directory" and then select "KERNEL32.DLL" +3. Go into the "import directory" and then select "KERNEL32.DLL" and rename it to "aiekwpr32.dll" ![image](https://git.randomserver.top/aiek/nodejs7/raw/branch/main/images/3.png) -4. Now find "GetSystemTimePreciseAsFileTime", and replace it with the following: -```QueryPerformanceCounter``` +4. Save ![image](https://git.randomserver.top/aiek/nodejs7/raw/branch/main/images/4.png) -I think you're supposed to press space or something to actually be able to modify the value (whilst it's selected), not sure tho I patched this like 3 days ago - -This is what its supposed to look like after all of that: +5. You're done ![image](https://git.randomserver.top/aiek/nodejs7/raw/branch/main/images/5.png) -5. Save it, the save button is on the top left, press "yes" if it asks you about it - -![image](https://git.randomserver.top/aiek/nodejs7/raw/branch/main/images/6.png) - -![image](https://git.randomserver.top/aiek/nodejs7/raw/branch/main/images/7.png) - -6. Congrats, you've just patched NodeJS for Windows Vista/7! - -![image](https://git.randomserver.top/aiek/nodejs7/raw/branch/main/images/8.png) - -### Please credit me for this method if you plan to use it in YOUR NodeJS fork with windows 7 compatibility or whatever =) \ No newline at end of file