Directories
¶
| Path | Synopsis |
|---|---|
|
build
|
|
|
legacydl
command
Command legacydl fetches the blizzard-legacy-dl binary the launcher ships with, pinned by version and SHA-256 in build/legacy-dl.json, and its licence for the app's notices.
|
Command legacydl fetches the blizzard-legacy-dl binary the launcher ships with, pinned by version and SHA-256 in build/legacy-dl.json, and its licence for the app's notices. |
|
windows/stampinfo
command
Command stampinfo writes a copy of build/windows/info.json with a release's version, so a tagged build's exe shows that version in its file properties rather than the 0.1.0 in config.yml.
|
Command stampinfo writes a copy of build/windows/info.json with a release's version, so a tagged build's exe shows that version in its file properties rather than the 0.1.0 in config.yml. |
|
cmd
|
|
|
d2pack
command
Command d2pack is for server teams: it writes a starter server profile and builds the file manifests the launcher downloads from.
|
Command d2pack is for server teams: it writes a starter server profile and builds the file manifests the launcher downloads from. |
|
devserve
command
Command devserve serves a folder over HTTPS on 127.0.0.1 for local testing, since the launcher only fetches over HTTPS.
|
Command devserve serves a folder over HTTPS on 127.0.0.1 for local testing, since the launcher only fetches over HTTPS. |
|
devsite
command
Command devsite builds a local test environment: a sandbox Diablo II folder, three test servers built from a real install, their profiles in a listing, and a launcher data folder with them pinned.
|
Command devsite builds a local test environment: a sandbox Diablo II folder, three test servers built from a real install, their profiles in a listing, and a launcher data folder with them pinned. |
|
listing
command
Command listing regenerates servers/index.json from servers/*.json.
|
Command listing regenerates servers/index.json from servers/*.json. |
|
internal
|
|
|
app
Package app holds the services the frontend calls.
|
Package app holds the services the frontend calls. |
|
auth
Package auth logs players in to servers whose realm issues single-use tickets: jaenster's d2up realm stack and its login service, authd.
|
Package auth logs players in to servers whose realm issues single-use tickets: jaenster's d2up realm stack and its login service, authd. |
|
basegame
Package basegame installs the Diablo II base game, classic and Lord of Destruction, from Blizzard's own CDN, by running the blizzard-legacy-dl that ships beside the launcher.
|
Package basegame installs the Diablo II base game, classic and Lord of Destruction, from Blizzard's own CDN, by running the blizzard-legacy-dl that ships beside the launcher. |
|
cdkey
Package cdkey tidies the CD keys a player types in and keeps them out of anything the launcher writes down.
|
Package cdkey tidies the CD keys a player types in and keeps them out of anything the launcher writes down. |
|
compat
Package compat sets Windows compatibility flags on a server's Game.exe, for the player's own account, so no administrator rights are needed.
|
Package compat sets Windows compatibility flags on a server's Game.exe, for the player's own account, so no administrator rights are needed. |
|
core
Package core is what the launcher does, independent of any UI: it loads servers, keeps their folders up to date, reads and writes their settings, and starts them.
|
Package core is what the launcher does, independent of any UI: it loads servers, keeps their folders up to date, reads and writes their settings, and starts them. |
|
fetch
Package fetch is the only code that talks to the network.
|
Package fetch is the only code that talks to the network. |
|
install
Package install manages the player's Diablo II base install and the per-server folders inside it.
|
Package install manages the player's Diablo II base install and the per-server folders inside it. |
|
launch
Package launch starts the game for a server: it points Battle.net at the server's gateway, then starts each box from the server's folder.
|
Package launch starts the game for a server: it points Battle.net at the server's gateway, then starts each box from the server's folder. |
|
logs
Package logs writes the launcher's log file and catches crashes, so a player's problem can be looked at afterwards.
|
Package logs writes the launcher's log file and catches crashes, so a player's problem can be looked at afterwards. |
|
mpq
Package mpq reads just enough of Blizzard's MPQ archives to make a 1.14 base archive usable by a pre-1.14 game: it finds an archive's (attributes) member, tells whether it's in the 1.14 format, and writes a copy of the archive with that member unlisted.
|
Package mpq reads just enough of Blizzard's MPQ archives to make a 1.14 base archive usable by a pre-1.14 game: it finds an archive's (attributes) member, tells whether it's in the 1.14 format, and writes a copy of the archive with that member unlisted. |
|
pack
Package pack is the server side of the spec: it builds a file manifest from a folder and writes a starter server profile.
|
Package pack is the server side of the spec: it builds a file manifest from a folder and writes a starter server profile. |
|
paths
Package paths checks the relative paths servers use for files inside their folder.
|
Package paths checks the relative paths servers use for files inside their folder. |
|
report
Package report builds a bug report: a zip of the launcher's logs, crash traces and state, with the game's own crash logs and any files a server asks for, that a player can attach when asking for help.
|
Package report builds a bug report: a zip of the launcher's logs, crash traces and state, with the game's own crash logs and any files a server asks for, that a player can attach when asking for help. |
|
settings
Package settings reads and writes the file-backed settings a server declares in its profile.
|
Package settings reads and writes the file-backed settings a server declares in its profile. |
|
spec
Package spec parses and checks the documents servers publish: the server profile and file manifests.
|
Package spec parses and checks the documents servers publish: the server profile and file manifests. |
|
store
Package store keeps the launcher's own state in its data folder: the player's choices, pinned signing keys, and caches.
|
Package store keeps the launcher's own state in its data folder: the player's choices, pinned signing keys, and caches. |
|
sync
Package sync brings a server folder in line with a file manifest.
|
Package sync brings a server folder in line with a file manifest. |
|
updates
Package updates checks whether a newer launcher has been released, and finds its installer so the launcher can download and run it.
|
Package updates checks whether a newer launcher has been released, and finds its installer so the launcher can download and run it. |
|
wine
Package wine runs the game's Windows binaries on macOS and Linux: it finds or downloads a Wine runtime, keeps a private prefix for the launcher, and maps paths between the host and Windows.
|
Package wine runs the game's Windows binaries on macOS and Linux: it finds or downloads a Wine runtime, keeps a private prefix for the launcher, and maps paths between the host and Windows. |
|
Package schema embeds the JSON Schemas that define the documents servers publish, so the launcher validates against exactly the files in this folder.
|
Package schema embeds the JSON Schemas that define the documents servers publish, so the launcher validates against exactly the files in this folder. |
Click to show internal directories.
Click to hide internal directories.