The JNPG wont last because when I opened the file it was on WinRAR and that has a 40 day trial without paying. I also cant find any tutorials on about Windows XP.
P.S. Don't tell me to upgrade to Windows 7
Open and extract the rar file with the recommended open source tool,
7-Zip. WinRAR is pretty much a legacy scam since nowadays it offers practically nothing over the free alternative 7-Zip. 7-Zip has no problem working on Windows XP. Although 7-Zip has no problem opening and extracting rar files, it cannot make rar files due to licencing reasons however that is of no concern to you since you only want to open them.
Start by uninstalling WinRAR, then install 7-Zip. After 7-Zip installs you can use it to open the rar file. It might automatically associate itself with rar files so all that would be needed is to right click or double click on it. If not then you will need to open its file browser and open the archive from in there.
The tool supports the following formats...
Packing / unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM
Unpacking only: AR, ARJ, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS, IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RAR, RPM, SquashFS, UDF, UEFI, VDI, VHD, VMDK, WIM, XAR and Z.
I also cant find any tutorials on about Windows XP.
That OS is not officially supported any more so few people use it. All modern tutorials will be for Windows 7 or 10.
How to download WarCraftIII campaigns on Windows XP.
Your title does not match the question you are asking. JNGP has nothing to do with Warcraft III campaign files (w3n) and such files should come standalone as they are already compressed due to the format of MPQs.
It is also spelt officially as "Warcraft", with a small c. This is different from StarCraft where the C is capitalized. No idea why Blizzard did this and I do agree it is kind of silly.