Notices: This section not yet converted to new layout. Download stats are rolling back out.

brutaldoom-dtwid (Install)

1.1.1

Package test results are passing.

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

This package was approved by moderator gep13 on 6/10/2019.

A remake of classic Doom's maps.

To install brutaldoom-dtwid (Install), run the following command from the command line or from PowerShell:

C:\> choco install brutaldoom-dtwid

To upgrade brutaldoom-dtwid (Install), run the following command from the command line or from PowerShell:

C:\> choco upgrade brutaldoom-dtwid

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop'; # stop on all errors
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    . "$toolsDir\commonEnv.ps1"
    . "$toolsDir\dependenciesEnv.ps1"
    
    $url = 'ftp://ftp.fu-berlin.de/pc/games/idgames/levels/doom/megawads/dtwid.zip'
    $packageArgs = @{
      packageName   = $env:ChocolateyPackageName
      unzipLocation = $installLocation
      url           = $url
      softwareName  = 'brutaldoom-dtwid*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique
      checksum      = 'BF8FE7CB754EEBF177E1E1EF1A0EE1BB'
      checksumType  = 'md5'
    }
    Install-ChocolateyZipPackage @packageArgs
    
    $WAD = "`"$installLocation\DTWID.WAD`""
      
    ## StartMenu
    Install-ChocolateyShortcut -ShortcutFilePath "$startMenuDir\$ModName [BrutalDoom].lnk" `
      -TargetPath "$zandronum" -Arguments "$BDpk3 -file $WAD -iwad $iWAD1" `
      -WorkingDirectory "$installLocation"
    Install-ChocolateyShortcut -ShortcutFilePath "$startMenuDir\$ModName [FreeDoom].lnk" `
      -TargetPath "$zandronum" -Arguments "-file $WAD -iwad $iWAD1" `
      -WorkingDirectory "$installLocation" `
      -IconLocation "$FDicon"
    Install-ChocolateyShortcut -ShortcutFilePath "$startMenuDir\$ModName Release Notes.lnk" `
      -TargetPath "$installLocation\DTWID.txt"
    
    ## StartMenu - Multiplayer
    $SMMultiplayerDir = "$startMenuDir\Multiplayer"
    Install-ChocolateyShortcut -ShortcutFilePath "$SMMultiplayerDir\$ModName [MP] startServer [LAN].lnk" `
      -TargetPath "$zandronum" -Arguments "$BDpk3 -file $WAD -iwad $iWAD1 -host -port 10666" `
      -WorkingDirectory "$installLocation"
    Install-ChocolateyShortcut -ShortcutFilePath "$SMMultiplayerDir\$ModName [MP] joinServer [LAN].lnk" `
      -TargetPath "$zandronum" -Arguments "$BDpk3 -file $WAD -iwad $iWAD1 -connect 127.0.0.1:10666" `
      -WorkingDirectory "$installLocation"
    
    ## Desktop
    Install-ChocolateyShortcut -ShortcutFilePath "$lnkDesktop" `
      -TargetPath "$zandronum" -Arguments "$BDpk3 -file $WAD -iwad $iWAD1" `
      -WorkingDirectory "$installLocation" `
      -IconLocation "$BDicon"
    
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop'; # stop on all errors
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    . "$toolsDir\commonEnv.ps1"
    
    $packageArgs = @{
      packageName   = $env:ChocolateyPackageName
      softwareName  = 'brutaldoom-dtwid*'  #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique
    }
    $uninstalled = $false
    [array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
    if ($key.Count -eq 1) {
      $key | % {
        $packageArgs['file'] = "$($_.UninstallString)" #NOTE: You may need to split this if it contains spaces, see below
        if ($packageArgs['fileType'] -eq 'MSI') {
          $packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
          $packageArgs['file'] = ''
        } else {
        }
        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)"}
    }
    Remove-Item "$lnkDesktop" -force
    Remove-Item "$startMenuDir" -recurse -force
    Remove-Item "$installLocation\*" -exclude *.ini, *.zds -recurse -force
    
  • tools\commonEnv.ps1 Show
    ## Common between Install and Uninstall
    $ModName = "Dtwid"
    $installLocation = "$ENV:LocalAppData\Programs\BrutalDoom $ModName"
    $startMenuDir = "$ENV:AppData\Microsoft\Windows\Start Menu\Programs\BrutalDoom $ModName"
    $lnkDesktop = "$ENV:UserProfile\Desktop\$ModName.lnk"
    
  • tools\dependenciesEnv.ps1 Show
    $zandronumLocation = "$ENV:LocalAppData\Programs\Zandronum"
    $freedoomLocation = "$ENV:LocalAppData\Programs\FreeDoom"
    $brutalDoomLocation = "$ENV:LocalAppData\Programs\BrutalDoom"
    
    $freeDoomTools = "$ENV:ChocolateyInstall\lib\freedoom\tools"
    $brutalDoomTools = "$ENV:ChocolateyInstall\lib\brutaldoom\tools"
    
    $zandronum = "$zandronumLocation\zandronum.exe"
    
    $iWAD1 = "freedoom1.wad" # located in $ENV:DOOMWADDIR
    # $iWAD2 = "freedoom2.wad"
    
    $BDModName = 'brutalv21'
    $BDModPack = "$BDModName.pk3"
    $BDpk3 = "$brutalDoomLocation\$BDModPack"
    
    $FDicon = "$freeDoomTools\assets\playa2a8.ico"
    $BDicon = "$brutalDoomTools\assets\brutal_doom.ico"
    

Virus Scan Results

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.

Dependencies

Package Maintainer(s)

Software Author(s)

  • Various

Copyright

2011 DoomWorld

Tags

Version History

Version Downloads Last updated Status

Discussion for the brutaldoom-dtwid (Install) Package

Ground rules:

  • This discussion is only about brutaldoom-dtwid (Install) and the brutaldoom-dtwid (Install) 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 brutaldoom-dtwid (Install), 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
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok