Diva Wifi for 0.9.1.0 - 12-Dec-2018
Notes by Austin Tate (avatar: Ai Austin)
http://blog.inf.ed.ac.uk/atate/2018/12/12/diva-wifi/
http://openvce.net/resources/downloads/diva-wifi/

1. Get Diva Sources from https://github.com/diva/diva-distribution/
   Up to date for OpenSim 0.9.0.1 and will work with 0.9.1.0 after .NET assembly number changes.
   Suggest downloading via Git Clone or Download -> Download Zip -> diva-distribution-master.zip

2. Unzip and take addon-modules directory only.

3. The current (as at 12-Dec-2018) version of Diva Wifi and related adddons uses
   frameworkVersion="v4_0". Alter the prebuild.xml (plus prebuild.SQLite.xml and
   prebuild.MySQL.xml in 00Data) files in each directory to frameworkVersion="v4_6".

4. Alter some of the addon-module .cs files to remove warnings on compilation.

   ...\addon-modules\01DivaUtils\WebAppUtils.cs
           catch // (Exception e)
   occurs twice

   ...\addon-modules\21Wifi\WifiMain.cs
           catch // (InvalidOperationException e)
   occurs once

================
Prepared addon-modules content as described above as at 12-Dec-2018 given as
http://openvce.net/resources/downloads/diva-wifi/
File: 2018-12-12-OpenSim-0.9.1.0-Diva-Addons.zip
================

5. Delete 02AddinExample, OnLookSupport and ProcessorTest sub-directories as not needed
   for Wifi.

6. Download and unzip latest OpenSim build to be used. 
   http://opensimulator.org/viewgit/?a=shortlog&p=opensim

7. Copy Diva's addon-modules directory and content to the top level of the unzipped
   OpenSim contents. Take care as there is another directory “bin/addon-modules” which
   is NOT the one you want to copy to.

8. cd to base of unzipped contents.

9. runprebuild.bat

10. compile.bat

11. cd addon-modules\21Wifi\Localization

12. make_languages
    This step requires "ResGen" to be available to run from a console and usually that
    means a path to the latest version of ResGen.exe needs to be on the PATH... e.g. 
    'C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools'

13. copy bin as the only directory required into your deployment.

14. Copy any other readme, contributor and license files as you wish.

15. Configure Wifi by creating a file bin/Wifi.ini using addon-modules\21Wifi\Wifi.ini
    as a basis, and enable it.

I have the config directory set to be different for Robust.exe and OpenSim.exe and have
WiFi.ini in those rather than in the root bin directory.  I have WiFi module disabled in
OpenSim.exe.

-------- Robust.[HG].ini ----------------------
[Startup]
    RegistryLocation = "."
    ConfigDirectory = "./config-addon-robust"

-------- OpenSim.ini---------------------------
[Startup]
    RegistryLocation = "."
    ConfigDirectory = "./config-addon-opensim"

-------- config-addon-robust/Wifi.ini ---------
; Copied from Diva's Wifi.ini with [WifiService] Enabled = true
; and changes for your data base, admin avatar and grid environment
...

-------- config-addon-opensim/Wifi.ini --------
[WifiService]
	Enabled = false