IP:PORT fix for Sonic.exe The Disaster 2D Remake (and its mods)
================================================================

The game always connects to port 8606, so "1.2.3.4:27015" in the Join screen
fails. This patch makes the Join screen accept IP:PORT (or hostname:PORT) in
any mod, without editing the mod's exe or data.win.

How to use
----------
1. Close the game.
2. Drag the mod folder onto patch.bat (or double-click patch.bat and pick
   it). You can also pick a folder that contains many mods - every one
   will be patched.
3. In the game, join with  IP:PORT , e.g.  203.0.113.5:27015
   An address without a port still uses 8606, like before.

To undo:  patch.bat "C:\path\to\mod" -Unpatch

What it does
------------
It renames the mod's disnet.dll to disnet_orig.dll and puts
disnet_portfix.dll in its place as disnet.dll. The new DLL only reads the
port from the address you typed, then hands everything to the original DLL.

Keep these files together: patch.bat, patch.ps1, disnet_portfix.dll

By penguinehis