Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

4,602

Downloads of v 3.6.4.20191221:

92

Last Update:

23 May 2021

Package Maintainer(s):

Software Author(s):

  • Nethack Developers

Tags:

nethack game rogue roguelike rogue-like

Nethack - Single Player Dungeon Exploration

This is not the latest version of Nethack - Single Player Dungeon Exploration available.

  • 1
  • 2
  • 3

3.6.4.20191221 | Updated: 23 May 2021

Downloads:

4,602

Downloads of v 3.6.4.20191221:

92

Maintainer(s):

Software Author(s):

  • Nethack Developers

Nethack - Single Player Dungeon Exploration 3.6.4.20191221

This is not the latest version of Nethack - Single Player Dungeon Exploration available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Nethack - Single Player Dungeon Exploration, run the following command from the command line or from PowerShell:

>

To upgrade Nethack - Single Player Dungeon Exploration, run the following command from the command line or from PowerShell:

>

To uninstall Nethack - Single Player Dungeon Exploration, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

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

1. Enter Your Internal Repository Url

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


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • 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://community.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. Copy Your Script

choco upgrade nethack -y --source="'INTERNAL REPO URL'" --version="'3.6.4.20191221'" [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 nethack -y --source="'INTERNAL REPO URL'" --version="'3.6.4.20191221'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install nethack
  win_chocolatey:
    name: nethack
    version: '3.6.4.20191221'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'nethack' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '3.6.4.20191221'
end

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


cChocoPackageInstaller nethack
{
    Name     = "nethack"
    Version  = "3.6.4.20191221"
    Source   = "INTERNAL REPO URL"
}

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


package { 'nethack':
  ensure   => '3.6.4.20191221',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

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


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 23 May 2021.

Description

NetHack is a single player dungeon exploration game that runs on a wide variety of computer systems, with a variety of
graphical and text interfaces all using the same game engine. Unlike many other Dungeons & Dragons-inspired games,
the emphasis in NetHack is on discovering the detail of the dungeon and not simply killing everything in sight - in
fact, killing everything in sight is a good way to die quickly. Each game presents a different landscape - the random
number generator provides an essentially unlimited number of variations of the dungeon and its denizens to be
discovered by the player in one of a number of characters: you can pick your race, your role, and your gender.

screenshot

Package Parameters

The following package parameter can be set:

  • /AddToDesktop - add desktop shortcuts for Nethack. By default the shortcuts will be added for all users
    e.g. choco install nethack --package-parameters="/AddToDesktop"
  • /AddToStartMenu - add entries to the Start Menu for Nethack. By default the shortcut will be added for
    all users e.g. choco install nethack --package-parameters="/AddToStartMenu"
  • /User - where the user parameter is specified any shortcuts created (using /AddToDesktop or /AddToStartMenu)
    will only be added for the current user
    e.g. choco install nethack --package-parameters="/AddToDesktop /User"

To have Chocolatey remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades.

Notes

  • Two versions of Nethack will be installed by the package - Nethack and Nethack Classic. The underlying game engine
    is the same but Nethack presents a Windows interface with graphical tiles while Nethack Classic provides the traditional
    console experience
  • This package is automatically updated using the Chocolatey Automatic Package Update Model (AU).
    If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.

legal\LICENSE.txt
                    NETHACK GENERAL PUBLIC LICENSE
                    (Copyright 1989 M. Stephenson)

               (Based on the BISON general public license,
                   copyright 1988 Richard M. Stallman)

 Everyone is permitted to copy and distribute verbatim copies of this
 license, but changing it is not allowed.  You can also use this wording to
 make the terms for other programs.

  The license agreements of most software companies keep you at the mercy of
those companies.  By contrast, our general public license is intended to give
everyone the right to share NetHack.  To make sure that you get the rights we
want you to have, we need to make restrictions that forbid anyone to deny you
these rights or to ask you to surrender the rights.  Hence this license
agreement.

  Specifically, we want to make sure that you have the right to give away
copies of NetHack, that you receive source code or else can get it if you
want it, that you can change NetHack or use pieces of it in new free
programs, and that you know you can do these things.

  To make sure that everyone has such rights, we have to forbid you to
deprive anyone else of these rights.  For example, if you distribute copies
of NetHack, you must give the recipients all the rights that you have.  You
must make sure that they, too, receive or can get the source code.  And you
must tell them their rights.

  Also, for our own protection, we must make certain that everyone finds out
that there is no warranty for NetHack.  If NetHack is modified by someone
else and passed on, we want its recipients to know that what they have is
not what we distributed.

  Therefore we (Mike Stephenson and other holders of NetHack copyrights) make
the following terms which say what you must do to be allowed to distribute or
change NetHack.


                        COPYING POLICIES

  1. You may copy and distribute verbatim copies of NetHack source code as
you receive it, in any medium, provided that you keep intact the notices on
all files that refer to copyrights, to this License Agreement, and to the
absence of any warranty; and give any other recipients of the NetHack
program a copy of this License Agreement along with the program.

  2. You may modify your copy or copies of NetHack or any portion of it, and
copy and distribute such modifications under the terms of Paragraph 1 above
(including distributing this License Agreement), provided that you also do the
following:

    a) cause the modified files to carry prominent notices stating that you
    changed the files and the date of any change; and

    b) cause the whole of any work that you distribute or publish, that in
    whole or in part contains or is a derivative of NetHack or any part
    thereof, to be licensed at no charge to all third parties on terms
    identical to those contained in this License Agreement (except that you
    may choose to grant more extensive warranty protection to some or all
    third parties, at your option)

    c) You may charge a distribution fee for the physical act of
    transferring a copy, and you may at your option offer warranty protection
    in exchange for a fee.

  3. You may copy and distribute NetHack (or a portion or derivative of it,
under Paragraph 2) in object code or executable form under the terms of
Paragraphs 1 and 2 above provided that you also do one of the following:

    a) accompany it with the complete machine-readable source code, which
    must be distributed under the terms of Paragraphs 1 and 2 above; or,

    b) accompany it with full information as to how to obtain the complete
    machine-readable source code from an appropriate archive site.  (This
    alternative is allowed only for noncommercial distribution.)

For these purposes, complete source code means either the full source
distribution as originally released over Usenet or updated copies of the
files in this distribution used to create the object code or executable.

  4. You may not copy, sublicense, distribute or transfer NetHack except as
expressly provided under this License Agreement.  Any attempt otherwise to
copy, sublicense, distribute or transfer NetHack is void and your rights to
use the program under this License agreement shall be automatically
terminated.  However, parties who have received computer software programs
from you with this License Agreement will not have their licenses terminated
so long as such parties remain in full compliance.


Stated plainly:  You are permitted to modify NetHack, or otherwise use parts
of NetHack, provided that you comply with the conditions specified above;
in particular, your modified NetHack or program containing parts of NetHack
must remain freely available as provided in this License Agreement.  In
other words, go ahead and share NetHack, but don't try to stop anyone else
from sharing it farther.
legal\VERIFICATION.txt
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The application has been downloaded from the official distribution and can
be verified by:

1. Go to the binary distribution page

  https://nethack.org/v364/ports/download-win.html

and download the archive nethack-364-win-x86-Dec21.zip using the 'Download this file' link
on the page.

Alternatively the archive can be downloaded directly from

  https://nethack.org/download/3.6.4/nethack-364-win-x86-Dec21.zip

2. The archive can be validated by comparing checksums
  - Use powershell function 'Get-Filehash' - Get-Filehash -algorithm sha256 nethack-364-win-x86-Dec21.zip
  - Use chocolatey utility 'checksum.exe'  - checksum -t sha256 -f nethack-364-win-x86-Dec21.zip

  File:     nethack-364-win-x86-Dec21.zip
  Type:     sha256
  Checksum: 4AB9087CAC94B553A4198D79966239824716A07E3324F269FA9902684AC4631E

Contents of file LICENSE.txt is obtained from https://nethack.org/common/license.html
tools\chocolateyBeforeModify.ps1
$ErrorActionPreference = 'Stop'

$nethackLink        = 'Nethack.lnk'
$nethackClassicLink = 'Nethack (Classic).lnk'

$desktop         = [Environment]::GetFolderPath('Desktop')
$commonDesktop   = [Environment]::GetFolderPath('CommonDesktopDirectory')
$startMenu       = [Environment]::GetFolderPath('StartMenu')
$commonStartMenu = [Environment]::GetFolderPath('CommonStartMenu')

$paths = @(
  (Join-Path $desktop $nethackLink),
  (Join-Path $desktop $nethackClassicLink),
  (Join-Path $commonDesktop $nethackLink),
  (Join-Path $commonDesktop $nethackClassicLink),
  (Join-Path $startMenu 'NetHack' | Join-Path -childpath $nethackLink),
  (Join-Path $startMenu 'NetHack' | Join-Path -childpath $nethackClassicLink),
  (Join-Path $startMenu 'NetHack'),
  (Join-Path $commonStartMenu 'NetHack' | Join-Path -childpath $nethackLink),
  (Join-Path $commonStartMenu 'NetHack' | Join-Path -childpath $nethackClassicLink)
  (Join-Path $commonStartMenu 'NetHack')
)

$paths.GetEnumerator() | ForEach-Object {
  if (Test-Path -Path $_) {
    Remove-Item $_ -ErrorAction SilentlyContinue -Force | Out-Null
  }
}
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir = Split-Path -parent $MyInvocation.MyCommand.Definition
$archive  = Join-Path $toolsDir 'nethack-364-win-x86-Dec21.zip'

$unzipArgs = @{
  PackageName  = $env:ChocolateyPackageName
  FileFullPath = $archive
  Destination  = $toolsDir
}

Get-ChocolateyUnzip @unzipArgs

$pp = Get-PackageParameters

$paths = New-Object System.Collections.ArrayList

if ($pp.count -gt 0) {
  $pp.GetEnumerator() | foreach-object {
    switch ($_.name) {
        'AddToDesktop' {
          Write-Verbose("Desktop shortcuts will be created for $env:ChocolateyPackageName")
          if ($pp.User) {
            $desktopPath = [Environment]::GetFolderPath('Desktop')
          } else {
            $desktopPath = [Environment]::GetFolderPath('CommonDesktopDirectory')
          }

          $paths.add($desktopPath) | Out-Null
        }
        'AddToStartMenu' {
          Write-Verbose("$env:ChocolateyPackageName will be added to the Start Menu")
          if ($pp.User) {
            $startMenuPath = [Environment]::GetFolderPath('StartMenu')
          } else {
            $startMenuPath = [Environment]::GetFolderPath('CommonStartMenu')
          }

          $startMenuFolder = Join-Path $startMenuPath 'NetHack'
          if (-Not (Test-Path -PathType Container $startMenuFolder)) {
            New-Item -Path $startMenuFolder -ItemType directory -Force | Out-Null
          }
          
          $paths.Add($startMenuFolder) | Out-Null
        }
        'User' {
          # ignore - no need to handle independently as it is a qualifier for other options
        }
        Default {
          Write-Verbose("Unknown parameter $_.name will be ignored")
        }
    }
  }

  if ($paths.Count -gt 0) {
    $executable        = Join-Path $toolsDir 'NetHack.exe'
    $classicExecutable = Join-Path $toolsDir 'NetHackW.exe'
    $icon              = Join-Path $toolsDir 'nethack.ico'
    
    $paths.GetEnumerator() | foreach-object {
      $shortcutPath = Join-Path $_ 'Nethack.lnk'
      Install-ChocolateyShortcut -ShortcutFilePath $shortcutPath -TargetPath $executable -IconLocation $icon

      $shortcutPath = Join-Path $_ 'Nethack (Classic).lnk'
      Install-ChocolateyShortcut -ShortcutFilePath $shortcutPath -TargetPath $classicExecutable -IconLocation $icon
    }
  }
}
tools\nethack-364-win-x86-Dec21.zip
md5: B5164F22279C09716809F229AEBDB14F | sha1: 6E7AC8E1DF3EE79EA5B072257C4534B582563111 | sha256: 4AB9087CAC94B553A4198D79966239824716A07E3324F269FA9902684AC4631E | sha512: 1B862471EBB00930CD50971F05DF36DC549489542554925A1A8A0F6B6883AC9AFB041BBF50619267AA64F77DF6223D89EF9691C83102F8722218AA3E14C4CD2A
tools\nethack.ico
 

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.

Add to Builder Version Downloads Last Updated Status
Nethack - Single Player Dungeon Exploration 3.6.6.2021125 544 Sunday, May 23, 2021 Approved
Nethack - Single Player Dungeon Exploration 3.6.6 78 Sunday, May 23, 2021 Approved
Nethack - Single Player Dungeon Exploration 3.6.5 84 Sunday, May 23, 2021 Approved
Nethack - Single Player Dungeon Exploration 3.6.4.20191221 92 Sunday, May 23, 2021 Approved
Nethack - Single Player Dungeon Exploration 3.6.4 89 Sunday, May 23, 2021 Approved
Nethack - Single Player Dungeon Exploration 3.6.3 90 Sunday, May 23, 2021 Approved
NetHack 3.6.2 838 Friday, June 7, 2019 Approved
NetHack 3.6.1 506 Monday, December 24, 2018 Approved
NetHack 3.6.0.1 814 Friday, February 3, 2017 Approved
NetHack 3.6.0 555 Monday, April 4, 2016 Approved
NetHack 3.4.3 536 Monday, March 9, 2015 Approved

This package has no dependencies.

Discussion for the Nethack - Single Player Dungeon Exploration Package

Ground Rules:

  • This discussion is only about Nethack - Single Player Dungeon Exploration and the Nethack - Single Player Dungeon Exploration 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 Nethack - Single Player Dungeon Exploration, 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