Compare commits
32 Commits
Author | SHA1 | Date | |
---|---|---|---|
378cbf0ca9 | |||
4b19aa0d05 | |||
46852ae7f0 | |||
6fa62e1747 | |||
62588d2dcf | |||
|
6c41474bc3 | ||
|
80362239d5 | ||
|
ec93306567 | ||
|
cc6b93b253 | ||
|
7249712238 | ||
|
27e10c1aef | ||
|
490bca4d9d | ||
|
8746123311 | ||
|
a0249cca8a | ||
|
42573357d2 | ||
|
ad25be092e | ||
|
8c6fc5c621 | ||
|
3ac2499090 | ||
|
a49d8c0683 | ||
|
bff9132231 | ||
|
6ed5e11284 | ||
|
d7f69475a1 | ||
|
a028a08b99 | ||
|
6d2e60a094 | ||
|
84d52959dd | ||
|
9e968e643e | ||
|
f47babdd44 | ||
|
eefc8e4980 | ||
|
34b74af596 | ||
|
8620850dea | ||
|
cd683bb5e7 | ||
|
22a3981d61 |
19
README.md
@ -1,10 +1,19 @@
|
||||
# Nodejs - Windows 7+ backport
|
||||
## Finally, windows 7 holdouts like you and me can enjoy nodejs on this "obsolete" and "obscure" operating system..!
|
||||

|
||||
# NodeJS7 - a full NodeJS backport for Windows Vista/7
|
||||
|
||||
## Download Pre-Patched NodeJS builds here
|
||||
|
||||
[Find them here](https://git.randomserver.top/aiek/nodejs7/releases)
|
||||
|
||||
|
||||
|
||||
Windows 8.0 users - NodeJS works natively on your operating system, you just gotta install it manually but other than that it's just fine
|
||||
|
||||

|
||||
|
||||
## Download patched NodeJS
|
||||
|
||||
|
||||
[Windoss 7 builds](https://git.randomserver.top/aiek/nodejs7/releases)
|
||||
|
||||
[Windows Vista builds](https://git.randomserver.top/aiek/nodejs7/src/branch/main/vista.md)
|
||||
|
||||
### Backporting:
|
||||
|
||||
|
29
backport.md
@ -1,18 +1,17 @@
|
||||
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
|
||||
|
||||
This guide is for windows 7 only
|
||||
|
||||
> 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)
|
||||
|
||||

|
||||
|
||||
@ -20,29 +19,15 @@ Download CFF explorer
|
||||
|
||||

|
||||
|
||||
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"
|
||||
|
||||

|
||||
|
||||
4. Now find "GetSystemTimePreciseAsFileTime", and replace it with the following:
|
||||
```QueryPerformanceCounter```
|
||||
4. Save
|
||||
|
||||

|
||||
|
||||
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
|
||||
|
||||

|
||||
|
||||
5. Save it, the save button is on the top left, press "yes" if it asks you about it
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
6. Congrats, you've just patched NodeJS for Windows Vista/7/8!
|
||||
|
||||

|
||||
|
||||
### Please credit me for this method if you plan to use it in YOUR NodeJS fork with windows 7 compatibility or whatever =)
|
BIN
dlls/aiekwpr32.dll
Normal file
1
dlls/readme.md
Normal file
@ -0,0 +1 @@
|
||||
dlls needed for backporting
|
BIN
dlls/ucrtbased.dll
Normal file
BIN
dlls/vcruntime140d.dll
Normal file
BIN
images/1.png
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 169 KiB |
BIN
images/2.png
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 16 KiB |
BIN
images/3.png
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 63 KiB |
BIN
images/4.png
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 59 KiB |
BIN
images/5.png
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 92 KiB |
BIN
images/6.png
Before Width: | Height: | Size: 5.2 KiB |
BIN
images/7.png
Before Width: | Height: | Size: 3.8 KiB |
BIN
images/8.png
Before Width: | Height: | Size: 286 KiB |
BIN
images/fukgithub.PNG
Normal file
After Width: | Height: | Size: 289 KiB |
33
install.md
@ -1,42 +1,31 @@
|
||||
### Installation:
|
||||
# Installation:
|
||||
|
||||
Step 1: Download your prefered build from this repository, I'll download nodejs 21 for this tutorial
|
||||
## Step 1: Download your prefered build from this repository, I'll download nodejs 21 for this tutorial
|
||||
|
||||

|
||||
## Step 2: Extract your nodejs and rename the folder to "node32" if necesary, it's supposed to go into C: (CRUCIAL STEP!)
|
||||
|
||||
Step 2: Extract node32 into C: (CRUCIAL STEP!)
|
||||
## Step 3: Go into control panel, navigate to "System"
|
||||
|
||||

|
||||
## Step 4: Go into "Advanced system settings"
|
||||
|
||||
Step 3: Go into control panel, navigate to "System"
|
||||
## Step 5: After that, go into "Enviorment Variables"
|
||||
|
||||

|
||||
## Step 6: Add the following:
|
||||
|
||||
Step 4: Go into "System Protection"
|
||||
|
||||

|
||||
|
||||
Step 5: After that, go into "Enviorment Variables"
|
||||
|
||||

|
||||
|
||||
Step 6: Do what I did in the screenshot
|
||||
|
||||

|
||||
|
||||
**For copy pasting:**
|
||||
|
||||
User variables:
|
||||
### User variables:
|
||||
|
||||
Path, c:\node32
|
||||
|
||||
System variables:
|
||||
### System variables:
|
||||
|
||||
NODE_SKIP_PLATFORM_CHECK, 1
|
||||
|
||||
NODE_PATH, c:\node32\node_modules
|
||||
|
||||
|
||||
Step 7: Go into CMD, and test it out!
|
||||
Step 7: Test it out
|
||||
|
||||

|
||||

|
||||
|
15
vista.md
Normal file
@ -0,0 +1,15 @@
|
||||
## Through the power of CoolWPR, we have added native vista support, meaning the extended kernel is NO LONGER NEEDED!!
|
||||
|
||||
Install instructions are the same as the windows 7 ones
|
||||
|
||||
Please note these builds are ONLY for vista WITHOUT the extended kernel, usage on windows 7+ isn't recommended
|
||||
|
||||
### If you have the extended kernel installed, just use the windows 7 builds, you'll be fine
|
||||
|
||||
## Final x86 NodeJS builds - this is for you haswell x86 vista weirdos
|
||||
|
||||
https://randomserver.top/cdn/git/nodejsbackport/22.11.0winvistax86.7z
|
||||
|
||||
https://randomserver.top/cdn/git/nodejsbackport/20.18.0winvistax86.7z
|
||||
|
||||
## Next update, x64 builds will be provided for native vista
|