LANCommander.Plugins.GOG 1.0.1

Prefix Reserved
dotnet add package LANCommander.Plugins.GOG --version 1.0.1
                    
NuGet\Install-Package LANCommander.Plugins.GOG -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LANCommander.Plugins.GOG" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LANCommander.Plugins.GOG" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="LANCommander.Plugins.GOG" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LANCommander.Plugins.GOG --version 1.0.1
                    
#r "nuget: LANCommander.Plugins.GOG, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LANCommander.Plugins.GOG@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LANCommander.Plugins.GOG&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=LANCommander.Plugins.GOG&version=1.0.1
                    
Install as a Cake Tool

LANCommander GOG plugin

A plugin for LANCommander servers that has the ability to link GOG accounts and import games from them. Built into the plugin is a library to extract data from GOG offline Windows installers. Scripts are also generated from compiled Inno Setup scripts.

Layout

Path What it is
src/LANCommander.GOG Reads GOG's Inno Setup installers as data.
src/LANCommander.GOG.Packaging Turns an installer into an .lcx package.
src/LANCommander.Plugins.GOG The server plugin: GOG sign-in and API, the import queue and worker, and the admin pages.
tests/ xunit and bUnit tests for all of the above.

Installing

On a LANCommander server (2.2.0-alpha.2 or later), open Settings → Plugins. Find GOG on the Browse tab and install it, or download the .nupkg attached to a release and upload it on the Installed tab. The plugin is installed when the server restarts.

Using it

The plugin adds a GOG entry to the server's navigation for administrators.

Accounts. Open the GOG sign-in page from the Accounts page and sign in. GOG then shows a mostly blank page at https://embed.gog.com/on_login_success?...&code=.... Paste that address back and link the account. Tokens refresh by themselves. If GOG stops accepting them, the account is flagged and has to be linked again.

Library. Lists the games of one account or all of them. Choose the installer language and the archive storage location, select games, and import them. A game that was imported before is updated with a new version rather than added again.

Imports. Shows each import's stage (looking up, downloading, extracting, packaging, importing), with progress and download speed, and lets you cancel and retry. A failed import keeps its downloaded installer, so retrying it resumes the download. History survives restarts. An import that a restart cut short shows as failed, ready to retry.

Settings. Sets the work directory, how many imports run at once (takes effect on restart), the default language and storage location, checksum verification, and whether to keep work files.

Each import needs room in the work directory for the installer, the extracted game and the package at once. The installer and the extracted game are deleted before the server copies the archive out of the package.

Limitations

  • Only offline Windows installers are imported. Games GOG offers only for Linux or macOS fail with a message that says so.
  • DLC, patches, language packs and extras are not imported.
  • Installers LANCommander.GOG cannot read fail with its explanation: Inno Setup 6 builds, ANSI builds, bzip2 or encrypted payloads, and the RAR-wrapped installers some pre-2013 builds used.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 95 10/24/2026
1.0.0 96 10/24/2026