Added instructions for .reg file generation with pvpgn repo bash script

This commit is contained in:
2023-02-21 00:04:17 +00:00
parent 6cd6627fa0
commit d5c838a102
+13 -3
View File
@@ -79,12 +79,22 @@ Use `Ctrl+C` to quit.
1. Download the [Warcraft 3 Loader for PvPGN](http://pvpgn.pro/w3l.html) and extract the ZIP into the directory containing `Frozen Throne.exe`. 1. Download the [Warcraft 3 Loader for PvPGN](http://pvpgn.pro/w3l.html) and extract the ZIP into the directory containing `Frozen Throne.exe`.
2. Create the necessary registry entries to trick Warcraft 3 into connecting to your PvPGN server. This is most easily done by importing a `.reg` file with the correct value. 2. Create the necessary Windows registry entries to trick Warcraft 3 into connecting to your PvPGN server. This is most easily done by importing a `.reg` file with the correct value.
- An online tool to generate this is available at http://ohea.xyz/wc3reggen/. * An online tool to generate this is available [here](http://ohea.xyz/wc3reggen/).
* Alternatively, the pvpgn Docker repo contains a bash script with the same functionality. The first argument to the script is the name of the server, and the second is the URL or IP address. For example, to add a server called `ohea` with the URL `ohea.xyz`, you would run the following commands:
```
$ git clone https://git.ohea.xyz/containers/pvpgn
$ cd pvpgn
$ ./wc3reggen.sh ohea ohea.xyz > wc3.reg
```
* After using either method to generate the `.reg` file, add the server information to the Windows registry like so:
```
$ wine regedit wc3.reg
```
## Port Forwarding ## Port Forwarding
The player hosting in-game needs to log into his router and enable port forwarding for TCP and UDP on ports 6113-6119. How to do this depends on the router. The player hosting in-game needs to log into his router and enable port forwarding for **TCP and UDP on ports 6113-6119**. How to do this depends on the router.
## Creating a VPN with Wireguard ## Creating a VPN with Wireguard