Steps for updating the geolocation.xxx in scriptdata\geolocation:

1. Download the latest IPv4 CSV list:

   http://software77.net/geo-ip/

   For Windows users there is a shortcut file IpToCountry.url included.
   Trouble finding the download section on that site? Take a look at the
   IpToCountry.png screenshot. Green square is where you need to be.

   Get the "IPV4 CSV (zip)" or "IPV4 CSV (gz)", whatever compression
   you can handle best.

2. Unpack the latest IPv4 CSV list:

   At the time of writing this note, the name of the compressed file was
   "IpToCountry.csv.zip" or "IpToCountry.csv.gz". It doesn't matter.

   Unpack it to the _update folder (where this readme.txt originally resides).

   At the time of writing this note, the name of the unpacked file was
   "IpToCountry.csv". This DOES matter! The CSV file MUST have this name.
   If it doesn't, rename it to "IpToCountry.csv" (Linux: case matters).

3. Convert the latest IPv4 CSV list to geolocation.db:

   Windows: double-click the "make-db.cmd" file.
   Linux  : execute "make-db.pl" (file must have exec attributes).

   This wil create two files. One called "geolocation.db", which holds the
   converted IPv4 list, and one called "geolocation.loc", which holds code
   to convert country codes to full country names.

4. Convert from geolocation.db to geolocation.ip:

   Windows: double-click the "make-ip.cmd" file.
   Linux  : execute "make-ip.pl".

   This wil create a file called "geolocation.ip".

5. Split geolocation.ip into seperate files:

   Windows: double-click the "split-ip.cmd" file.
   Linux  : execute "split-ip.pl".

   This wil create 256 files ranging from "geolocation.000" to
   "geolocation.255".

6. Copy range files to game server:

   Copy all 256 files ranging from "geolocation.000" to "geolocation.255"
   to the [fs_game]\scriptdata\geolocation folder on your game server.
   Overwrite if necessary.

Done!
