Downloads:

38,566

Downloads of v 2.2.1:

643

Last Update:

01 Jan 2021

Package Maintainer(s):

Software Author(s):

  • Travis Nickles
  • Jays2Kings

Tags:

ds4windows ps4 dualshock controller emulator foss

DS4Windows

2.2.1 | Updated: 01 Jan 2021

Downloads:

38,566

Downloads of v 2.2.1:

643

Maintainer(s):

Software Author(s):

  • Travis Nickles
  • Jays2Kings

DS4Windows 2.2.1

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.1
    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.1'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: ds4windows,
    Version: 2.2.1,
    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.1'
   Source   = 'STEP 3 URL'
}

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


package { 'ds4windows':
  provider => 'chocolatey',
  ensure   => '2.2.1',
  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.1" 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 01 Jan 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.1/DS4Windows_2.2.1_x86.zip
    x64: https://github.com/Ryochan7/DS4Windows/releases/download/v2.2.1/DS4Windows_2.2.1_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.1/DS4Windows_2.2.1_x64.zip

3.  Compare to Checksum:

    checksum32: 2E254BC9FD65C692EAF587BAF285C208C942F8CB7D9D242F81CC3724AC6D3104
    checksum64: 3CA6885C27E0E20BB692629F1C29723B220B6BD2470EAF1D0BCFC60AC27CEB1B
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.1_x64.zip
md5: 6809A861862BD10B13C60064CCA05631 | sha1: DA2415E097658A28A88558F462A42CF5CC76D32A | sha256: 3CA6885C27E0E20BB692629F1C29723B220B6BD2470EAF1D0BCFC60AC27CEB1B | sha512: 9ECD727164FA97A962CC48A7DCEB3D6AD3298818D1A14AE868D1C84B7164BD1091E7EFDAF098A436D2CCFD43607FB2EDD8E4FA19015B041FF98C7F346B983DBD
tools\DS4Windows_2.2.1_x86.zip
md5: B121E578EDF39165D4FDA9CEA0681B5F | sha1: 6E6D70222B545D6BC4622670ED26B21650A6005D | sha256: 2E254BC9FD65C692EAF587BAF285C208C942F8CB7D9D242F81CC3724AC6D3104 | sha512: 48182CF34219F0F216A83884904F1312E2608B5048B150FBF73EC84D9B34FE02909E7D7C5D6D9D5CB40E791C49CD32E9F8DAA0955FFB082B5D31950B1E3E9E3F

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.1.23 388 Saturday, December 26, 2020 Approved
DS4Windows 2.1.22 483 Monday, December 14, 2020 Approved
DS4Windows 2.1.19 530 Monday, November 30, 2020 Approved
DS4Windows 2.1.17 452 Friday, November 20, 2020 Approved
DS4Windows 2.1.16 441 Wednesday, November 11, 2020 Approved
DS4Windows 2.1.15 780 Monday, October 5, 2020 Approved
DS4Windows 2.1.14 358 Monday, September 28, 2020 Approved
DS4Windows 2.1.13 451 Tuesday, September 15, 2020 Approved
DS4Windows 2.1.11 148 Monday, September 14, 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