Downloads:

4,393

Downloads of v 6.4:

0

Last Update:

06 Dec 2019

Package Maintainer(s):

Software Author(s):

  • Josef Numec

Tags:

playnite game management launcher steam gog uplay emulator battlenet origin

Playnite

6.4 | Updated: 06 Dec 2019

Downloads:

4,393

Downloads of v 6.4:

0

Maintainer(s):

Software Author(s):

  • Josef Numec

Playnite 6.4

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Playnite, run the following command from the command line or from PowerShell:

>

To upgrade Playnite, run the following command from the command line or from PowerShell:

>

To uninstall Playnite, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade playnite -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade playnite -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure playnite installed
  win_chocolatey:
    name: playnite
    state: present
    version: 6.4
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'playnite' do
  action    :install
  version  '6.4'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: playnite,
    Version: 6.4,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller playnite
{
   Name     = 'playnite'
   Ensure   = 'Present'
   Version  = '6.4'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'playnite':
  provider => 'chocolatey',
  ensure   => '6.4',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install playnite version="6.4" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 06 Dec 2019.

Description

Playnite is open source video game library manager with one simple goal: Provide unified interface for all your games.

Link games from Steam, Origin, GOG, Battle.net and Uplay services, including games that are not installed! Windows Store (UWP) games are also supported.

Emulation support

Playnite supports wide variety of console emulators.

Themes

Playnite's look can be fully customized, from simple color changes to complete layout re-designs.

Extensions

Playnite can be extended with plugins (written in .NET languages) or by scripts (PowerShell and IronPython are currently supported).

Fullscreen mode

Fullscreen mode with full controller support is available.

Playtime counter

Playnite counts time of your game sessions (any game including emulated ones) and can also import your play times from Steam and GOG.

Fast

Playnites user interface is fast and light on resources, even with large libraries.

Portable

Playnite can run from any portable storage with option to configure database location for automatic sync via services like DropBox or Google Drive.

Completely Free

No Playnite features are locked behind paywall and complete source code is available under MIT license.

Safe

Playnite doesn't store any user information. It stores the same amount of information like web browser when linking accounts (cookies).

igdb.com integration

Playnite can automatically download metadata for your custom games (covers, descriptions and other information).


README.md
# <img src="https://raw.githubusercontent.com/Hyp5r/choco/master/_icons/playnite.png" width="48" height="48" /> Playnite

Open source video game library manager and launcher with support for 3rd party libraries like Steam, GOG, Origin, Battle.net and Uplay. Including game emulation support, providing one unified interface for your games.

## Chocolatey URL
https://chocolatey.org/packages/playnite

## Notes
- I am in no way affiliated with Playnite or the creator, Josef Numec. I cannot troubleshoot issues related to Playnite itself.
- This Chocolately package is not guaranteed to work, though I do test before committing changes. If it does not work, feel free to raise an issue.
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$packageName= 'playnite'
$url        = 'https://playnite.link/update/stable/6.4/Playnite64.exe'

$packageArgs = @{
  packageName   = $packageName
  fileType      = 'exe'
  url           = $url

  softwareName  = 'playnite*'

  checksum      = '6C809F2760961A67E1FB0560AB4A75307AE66B67EA0B6651C33BEAADE01786F4'
  checksumType  = 'sha256'

  silentArgs   = '/SP- /VERYSILENT /NORESTART'
  validExitCodes= @(0)
}

Install-ChocolateyPackage @packageArgs
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'Playnite'
  fileType      = 'exe'
  validExitCodes= @(0)
  silentArgs    = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART'
  # softwareExe added 2018-01-13 due to the uninstaller not killing the process properly.
  softwareExe   = 'Playnite*'
}

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']

if ($key.Count -eq 1) {
  $key | % {
    $packageArgs['file'] = "$($_.UninstallString)"
    # Stop-Process called before the uninstall to make sure uninstall goes through successfully.
    Write-Host Killing the $packageArgs['softwareExe'] process...
    Get-Process -ProcessName $packageArgs['softwareExe'] | Stop-Process
    Uninstall-ChocolateyPackage  @packageArgs
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$key.Count matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | % {Write-Warning "- $_.DisplayName"}
}
update.ps1
Import-Module au

$releases = 'https://github.com/JosefNemec/Playnite/releases'

function global:au_SearchReplace {
  @{
    "tools\chocolateyinstall.ps1" = @{
      "(^[$]url\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'"
      "(^[$]checksum\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'"
    }
  }
}
function global:au_BeforeUpdate { Get-RemoteFiles -Purge -NoSuffix }
function global:au_GetLatest {
  $download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing

  $re       = '/releases/download/*'
  $url      = $download_page.links | ? href -match $re | select -First 2 -expand href
  $url32    = 'https://github.com' + $url[0]
  $version  = ($url[0] -split '\/' | select -Index 5).Substring(0)

  return @{ URL32 = $url32; Version = $version }
}

update -ChecksumFor none

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Playnite 6.2 276 Saturday, November 23, 2019 Approved
Playnite 5.8 634 Wednesday, September 25, 2019 Approved
Playnite 5.6 429 Saturday, August 31, 2019 Approved
Playnite 5.4 488 Monday, July 29, 2019 Approved
Playnite 5.3 25 Monday, July 29, 2019 Approved
Playnite 5.1 166 Friday, July 26, 2019 Approved
Playnite 4.74 621 Thursday, May 2, 2019 Approved
Playnite 4.67 636 Sunday, January 13, 2019 Approved
Playnite 4.60 293 Thursday, November 15, 2018 Approved

This package has no dependencies.

Discussion for the Playnite Package

Ground Rules:

  • This discussion is only about Playnite and the Playnite package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Playnite, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus