You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.2 KiB
31 lines
1.2 KiB
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/8)
|
|
|
|
## How to backport
|
|
|
|
> Steps needed before backporting:
|
|
|
|
Download CFF explorer
|
|
|
|
[You can download it from here](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
|
|
|
|
![image](https://git.randomserver.top/aiek/nodejs7/raw/branch/main/images/1.png)
|
|
|
|
2. Load node.exe, if it prompts you to load 40mbs into memory and whatever, just click "No"
|
|
|
|
![image](https://git.randomserver.top/aiek/nodejs7/raw/branch/main/images/2.png)
|
|
|
|
3. Go into the "import directory" and then select "KERNEL32.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```
|
|
|
|
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
|
|
|
|
|