Repository navigation
v0.8.2: the port in a web browser
The port now also runs in a web browser, on your own computer. Nothing new inside the game. On top of v0.8.1.
In a web browser
- New download:
diablo2-port-web.zip. Extract it, import the game files from your own Diablo II: Resurrected with the importer in that folder (Import Diablo II (English).baton Windows,Import Diablo II (English).shon Linux, or theImportar … (Español)ones), then opend2port-servidor.exe(Windows) ord2port-servidor(Linux). It opens the game in your browser athttp://localhost:8642/. Close its window to stop it. - Nothing is hosted online:
d2port-servidoronly answers this computer, and the game files stay yours (they must not be published). - Saved games go to the
savefolder, the same files as the PC version. - Local network works from the browser too. Browsers can't open those connections, so
d2port-servidordoes it for the page: create a game or join one with the Pis and PCs on your network (all on this version). When you create one, Windows may ask to letd2port-servidorthrough the firewall. - Keyboard or gamepad; F11 is full screen; the first key or click turns on the sound. Use a recent Chrome, Edge or Firefox.
- On a Mac (there is no
d2port-servidorfor it) any local web server works, but saved games then stay in the browser and there is no local network.
Local network fixes (all versions)
- When a machine left in the middle of a game, the host could keep waiting for it forever instead of saying it left. Now it says so.
- The answer to "are there games here?" was cut short and sent a few bytes too many.
Tested
On Windows: the browser created a game and d2port.exe joined it; d2port.exe created one and the browser found it by itself and joined. 15,000 ticks with a bot on each side: the browser computed exactly the same game as two d2port.exe (the state is compared every second; identical all the way). Saved games written to the folder, changing the language, and the page without d2port-servidor. Not tested yet: a browser and a Pi on a real network, Safari and phones.
Install / update
Download diablo2-port.zip (Pi and Linux), diablo2-port-windows.zip (Windows) or diablo2-port-web.zip (web browser) and replace the port; your saved games are kept. To play over the network, all machines need this same version.
This is a fan-made project, not affiliated with Blizzard Entertainment.