Downloads:

41,956

Downloads of v 2.2.9:

205

Last Update:

05 Mar 2021

Package Maintainer(s):

Software Author(s):

  • Travis Nickles
  • Jays2Kings

Tags:

ds4windows ps4 dualshock controller emulator foss

DS4Windows

2.2.9 | Updated: 05 Mar 2021

Downloads:

41,956

Downloads of v 2.2.9:

205

Maintainer(s):

Software Author(s):

  • Travis Nickles
  • Jays2Kings

DS4Windows 2.2.9

This Package Contains an Exempted Check

1 Test Passing and 1 Exempted Test


Validation Testing Passed


Verification Testing Exempt:

Dependencies require reboot

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

>

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

>

To uninstall DS4Windows, 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 ds4windows -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 ds4windows -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 ds4windows installed
  win_chocolatey:
    name: ds4windows
    state: present
    version: 2.2.9
    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 'ds4windows' do
  action    :install
  version  '2.2.9'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: ds4windows,
    Version: 2.2.9,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller ds4windows
{
   Name     = 'ds4windows'
   Ensure   = 'Present'
   Version  = '2.2.9'
   Source   = 'STEP 3 URL'
}

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


package { 'ds4windows':
  provider => 'chocolatey',
  ensure   => '2.2.9',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install ds4windows version="2.2.9" 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.

This package was approved as a trusted package on 05 Mar 2021.

Description

DS4Windows

Like those other ds4tools, but sexier.

DS4Windows is an extract anywhere program that allows you to get the best
DualShock 4 experience on your PC. By emulating a Xbox 360 controller, many
more games are accessible.

This project is a fork of the work of Jays2Kings. You can find the old project
website at ds4windows.com.

DS4Windows Preview

Requirements

  • Windows 8.1 or newer
  • Microsoft .NET 4.6.2 or higher (needed to unzip the driver and for macros to
    work properly)
  • Visual C++ 2015-2019 Redistributable. x64 or x86
  • ViGEmBus driver (DS4Windows will install it for you)
  • Microsoft 360 Driver (link inside DS4Windows, already installed by Windows if
    you've used a 360 controller before)
  • Sony DualShock 4
  • Connection method:
    • Micro USB cable
    • Sony Wireless Adapter
    • Bluetooth 4.0 (via an
      adapter like this
      or built in pc). Only use of Microsoft BT stack is supported. CSR BT stack is
      confirmed to not work with the DS4 even though some CSR adapters work fine
      using Microsoft BT stack. Toshiba's adapters currently do not work.
  • Disable PlayStation Configuration Support and
    Xbox Configuration Support options in Steam

Social

Discord
Twitter @ds4windows
YouTube
BitChute
BitTube.tv
LBRY
Mastodon @[email protected]
Minds @ds4windows
Gab Social: @ds4windows


legal\LICENSE.txt
From: https://raw.githubusercontent.com/Ryochan7/DS4Windows/jay/LICENSE.txt

LICENSE

This file includes licensing information for ds4windows

MIT License

Copyright (c) 2019 Travis Nickles

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
legal\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

1.  Download the installer:

    x32: https://github.com/Ryochan7/DS4Windows/releases/download/v2.2.9/DS4Windows_2.2.9_x86.zip
    x64: https://github.com/Ryochan7/DS4Windows/releases/download/v2.2.9/DS4Windows_2.2.9_x64.zip

2.  You can use one of the following methods to obtain the checksum: 
    - Use powershell function 'Get-FileHash'
    - Use Chocolatey utility 'checksum.exe'
    - Using AU:
        Get-RemoteChecksum https://github.com/Ryochan7/DS4Windows/releases/download/v2.2.9/DS4Windows_2.2.9_x64.zip

3.  Compare to Checksum:

    checksum32: 5CFF1D6D5C0D0D705DD017A2E79476836E1345E14A4DDA61DF8056A39335B4F6
    checksum64: EE9ED3336B80CBD952DDF8F2206238F2518254960CA8A6C40C7A1B9B997E4083
tools\chocolateybeforemodify.ps1
$packageName  = $env:ChocolateyPackageName

$p = Get-Process -Name "DS4Windows" -ea 0
if (!$p) {
    Write-Host "$packageName is not running"
    return
}

Write-Host "$packageName is running, trying to gracefully shut it down before upgrade/uninstall"
Stop-Process -InputObject $p -Force
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$toolsPath = Split-Path $MyInvocation.MyCommand.Definition


$packageArgs = @{
  PackageName    = $env:ChocolateyPackageName
  FileFullPath   = gi $toolsPath\*_x86.zip
  FileFullPath64 = gi $toolsPath\*_x64.zip
  Destination    = $toolsPath
}

ls $toolsPath\* | ? { $_.PSISContainer } | rm -Recurse -Force #remove older package dirs
Get-ChocolateyUnzip @packageArgs
rm $toolsPath\*.zip -ea 0

$startupPath = [Environment]::GetFolderPath("Startup")
$startMenuPath = [Environment]::GetFolderPath("CommonPrograms")

if(Test-Path -Path "$startupPath\$env:ChocolateyPackageName.lnk") {
    Install-ChocolateyShortcut `
        -ShortcutFilePath "$startupPath\$env:ChocolateyPackageName.lnk" `
        -TargetPath "$env:ChocolateyInstall\bin\$env:ChocolateyPackageTitle.exe"
}

Install-ChocolateyShortcut `
  -ShortcutFilePath "$startMenuPath\$env:ChocolateyPackageName.lnk" `
  -TargetPath "$env:ChocolateyInstall\bin\$env:ChocolateyPackageTitle.exe"
tools\chocolateyuninstall.ps1
$startupPath = [Environment]::GetFolderPath("Startup")
$startMenuPath = [Environment]::GetFolderPath("CommonPrograms")

Remove-Item "$startupPath\$env:ChocolateyPackageName.lnk" -ErrorAction SilentlyContinue -Force
Remove-Item "$startMenuPath\$env:ChocolateyPackageName.lnk" -ErrorAction SilentlyContinue -Force
tools\DS4Windows_2.2.9_x64.zip
md5: 9BD0BDC4643D22D71EBF794605D7DA8F | sha1: B9835EB9590F4FCAFA02926DBB72216B6D3E766E | sha256: EE9ED3336B80CBD952DDF8F2206238F2518254960CA8A6C40C7A1B9B997E4083 | sha512: 3E43AF615CCD43F4DE6CF72CE09CF855C6960E0C583591E3FE34FD2FA66C900F7F6F833B9414815FAC77D28FFAD3C7F73C65FEE7F944B3B13FF9D3FB9CA190C7
tools\DS4Windows_2.2.9_x86.zip
md5: 1E6174C1C63278C2A393AB9672DE3F82 | sha1: 5F7BCA29D5CA102AEE6839630764983EF3B6E1AD | sha256: 5CFF1D6D5C0D0D705DD017A2E79476836E1345E14A4DDA61DF8056A39335B4F6 | sha512: DFFD49E1FEAB54FB385E8296001CCAB9AF546EB11E1B7A00D7CAF32B66B258A27493C660E694AE8D5FF059CC983D9E0F08D9E30A63786B00A4C118E5C26AB635

Log in or click on link to see number of positives.

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
DS4Windows 2.2.8 383 Saturday, February 27, 2021 Approved
DS4Windows 2.2.7 440 Friday, February 19, 2021 Approved
DS4Windows 2.2.6 427 Friday, February 12, 2021 Approved
DS4Windows 2.2.5 156 Thursday, February 11, 2021 Approved
DS4Windows 2.2.4 452 Wednesday, February 3, 2021 Approved
DS4Windows 2.2.3 152 Tuesday, February 2, 2021 Approved
DS4Windows 2.2.2 538 Wednesday, January 20, 2021 Approved
DS4Windows 2.2.1 645 Friday, January 1, 2021 Approved
DS4Windows 2.1.23 388 Saturday, December 26, 2020 Approved

Discussion for the DS4Windows Package

Ground Rules:

  • This discussion is only about DS4Windows and the DS4Windows 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 DS4Windows, 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