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

HxD - Hex Editor and Disk Editor (Install)

1.7.7.20170419

Package test results are passing.

This package was approved by moderator flcdrg on 4/19/2017.

HxD is a carefully designed and fast hex editor which, additionally to raw disk editing and modifying of main memory (RAM), handles files of any size.

The easy to use interface offers features such as searching and replacing, exporting, checksums/digests, insertion of byte patterns, a file shredder, concatenation or splitting of files, statistics and much more.

Editing works like in a text editor with a focus on a simple and task-oriented operation, as such functions were streamlined to hide differences that are purely technical.
For example, drives and memory are presented similar to a file and are shown as a whole, in contrast to a sector/region-limited view that cuts off data which potentially belongs together. Drives and memory can be edited the same way as a regular file including support for undo. In addition memory-sections define a foldable region and inaccessible sections are hidden by default.

Furthermore a lot of effort was put into making operations fast and efficient, instead of forcing you to use specialized functions for technical reasons or arbitrarily limiting file sizes. This includes a responsive interface and progress indicators for lengthy operations.

Package Specifics

All package versions will download and install the latest HxD version since the software vendor only provides a generic URI without version information.

Package Parameters

Run choco install hxd -packageParameters "lang=en". You can replace 'en' by the ISO 639-1 two-letter language code (see List of ISO 639-1 codes on Wikipedia) of one of the languages listed on the official download site: http://mh-nexus.de/en/downloads.php?product=HxD

To install HxD - Hex Editor and Disk Editor (Install), run the following command from the command line or from PowerShell:

C:\> choco install hxd

To upgrade HxD - Hex Editor and Disk Editor (Install), run the following command from the command line or from PowerShell:

C:\> choco upgrade hxd

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    if (-not(Get-Command ConvertFrom-Json -ErrorAction SilentlyContinue)) {
    
    	# Following ConvertFrom-Json polyfill is based on http://stackoverflow.com/a/29689642
    	# Thanks to its author Edward (http://stackoverflow.com/users/2934838/edward)
    	# License is CC BY-SA 3.0
    
    	# This requires .NET 3.5, we therefore depend on Chocolatey 0.9.10.x in the nuspec file
    	Add-Type -Assembly System.Web.Extensions
    	function ConvertFrom-Json {
    		param(
    			[Parameter(ValueFromPipeline = $true)] $json
    		)
    
    		$ps_js = New-Object System.Web.Script.Serialization.JavaScriptSerializer
    
    		# The comma operator is the array construction operator in PowerShell
    		return ,$ps_js.DeserializeObject($json)
    	}
    }
    
    
    $packageName = 'HxD'
    $toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
    
    . "$toolsDir\languages.ps1"
    
    $zipLocation = Join-Path $toolsDir 'setup.zip'
    $setupLocation = Join-Path $toolsDir 'setup.exe'
    $hashLocation = Join-Path $toolsDir 'hashes.json'
    
    $fallbackLanguage = 'en'
    
    $packageParameters = $env:chocolateyPackageParameters
    if ($packageParameters) {
    	$argumentMap = ConvertFrom-StringData $packageParameters
    	$passedLanguage = $argumentMap.Item('lang')
    }
    
    $installLanguage = $fallbackLanguage
    $availableLanguages = Get-AvailableLanguages
    
    $systemLanguage = (Get-Culture).TwoLetterISOLanguageName.toLower()
    if ($availableLanguages.ContainsKey($systemLanguage)) {
    	$installLanguage = $systemLanguage
    }
    
    if ($passedLanguage -and $availableLanguages.ContainsKey($passedLanguage)) {
    	$installLanguage = $passedLanguage
    }
    
    $url = "https://mh-nexus.de/downloads/HxDSetup$($availableLanguages.Get_Item($installLanguage)).zip" 
    
    $checksum = ((Get-Content $hashLocation | Out-String | ConvertFrom-Json) | Where-Object { $_.lang -eq $installLanguage }).hash
    $checksumType = 'sha256'
    
    $webArgs = @{
    	packageName  = $packageName
    	fileFullPath = $zipLocation
    	url          = $url
    	checksum     = $checksum
    	checksumType = $checksumType
    }
    
    Get-ChocolateyWebFile @webArgs
    Get-ChocolateyUnzip $zipLocation $toolsDir
    Install-ChocolateyPackage $packageName 'exe' '/silent' $setupLocation
    
    Remove-Item $zipLocation
    Remove-Item $setupLocation
    
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName = 'HxD'
    $registryUninstallerKeyName = 'HxD Hex Editor_is1'
    
    $local_key     = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\$registryUninstallerKeyName"
    $local_key6432   = "HKCU:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\$registryUninstallerKeyName" 
    $machine_key   = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$registryUninstallerKeyName"
    $machine_key6432 = "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\$registryUninstallerKeyName"
    
    $file = @($local_key, $local_key6432, $machine_key, $machine_key6432) `
    	| ?{ Test-Path $_ } `
    	| Get-ItemProperty `
    	| Select-Object -ExpandProperty UninstallString
    
    if ($file -eq $null -or $file -eq '') {
    	Write-Host "$packageName has already been uninstalled by other means."
    	Write-Host 'The registry uninstall entry does not exist (anymore).'
    }
    else {
    	$installerType = 'EXE' 
    	$silentArgs = '/verysilent'
    	$validExitCodes = @(0)
    
    	Uninstall-ChocolateyPackage -PackageName $packageName -FileType $installerType -SilentArgs $silentArgs -validExitCodes $validExitCodes -File $file
    }
  • tools\hashes.json Show
    [
        {
            "lang":  "sv",
            "hash":  "20592D3A571063D15C933BA37AA0BAFF06B1B14370C2D064E3A89775E8E68045",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupSVE.zip"
        },
        {
            "lang":  "nl",
            "hash":  "45F13CD56DEDDF7ED5AA5CF6E4079FB9C90CD95CEE9822D9CBC157A25B9403B9",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupNL.zip"
        },
        {
            "lang":  "de",
            "hash":  "71D333716DBD35183E5DBCA191557490623BAA048C658DF7EEDAC1E1289B3F6D",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupDE.zip"
        },
        {
            "lang":  "it",
            "hash":  "C4E23E08EC0A41F1B4F9C59E5EE58F70416FC7217383AA9B21CF8E2C11EE14C8",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupIT.zip"
        },
        {
            "lang":  "sl",
            "hash":  "D0448811D057EA01FB7FFFA8713EE17299E6220097F234C58A397C29D5258A62",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupSL.zip"
        },
        {
            "lang":  "ja",
            "hash":  "AE42F658B63E76B18F4C5B654BF07A48ED3FF9D5AD570A1978F1CB4FB65E9A51",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupJP.zip"
        },
        {
            "lang":  "fi",
            "hash":  "2C3C4130AF7135ACDE91B923EC5D5A3B6D48E5698BE9B49BFE2365A7F12D198C",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupFI.zip"
        },
        {
            "lang":  "ru",
            "hash":  "F16122D5845878BC05898DD9D61996AD7B7EC219F277181F1C02ED4BA28D40AB",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupRU.zip"
        },
        {
            "lang":  "ko",
            "hash":  "5F3A71CDBD67CBC67505AF4F1A2E5FF61C522B0B13F2BFEF9A3FB65002745FB1",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupKOR.zip"
        },
        {
            "lang":  "hu",
            "hash":  "3DFC6CA1F4B8509F2A8FFBD3F5F1C254CB30AD71E92585F99BE01D9F8F3008FD",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupHU.zip"
        },
        {
            "lang":  "el",
            "hash":  "015B8F29FFF8E3168AA7F68FD1B7E30CA292EB4FDB63628B42C7D4A263444BD6",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupELL.zip"
        },
        {
            "lang":  "zh",
            "hash":  "6D248F230EF5C66BE03C38BB4DD0AF2445C0493FBFA87E8EC91A1F178A113A10",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupCHS.zip"
        },
        {
            "lang":  "es",
            "hash":  "5B05E99E6F992F0E73BA815557C1FB953AE14B999E4A4716CC0A0F79C1172314",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupES.zip"
        },
        {
            "lang":  "tr",
            "hash":  "8173B987DDC9817EDE224A6B77D169F72437E516F4E0C5C6DD9F1A2AF4463C81",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupTR.zip"
        },
        {
            "lang":  "ro",
            "hash":  "0435CE0A05999E855A792BBCFA601F9128688DF88E6358003ED5876C713B118D",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupROM.zip"
        },
        {
            "lang":  "sk",
            "hash":  "0A8C59E2CF92147AA57B247C0D5F022CF177AABD61EFBF6EEFCBABB13100E1D8",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupSK.zip"
        },
        {
            "lang":  "en",
            "hash":  "EA6EA4D4CC90F891915856B0393F99F275C0B6BB2A9E75A6B262117A18A2A469",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupEN.zip"
        },
        {
            "lang":  "pt",
            "hash":  "A21D5613BA5521904E17B9683481D88DD19967FDFDA8D73E2868967EA3CFDF53",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupPTB.zip"
        },
        {
            "lang":  "cs",
            "hash":  "4D2186726DCF66CA76C7F0CB6D4DBCD56250E92F5D7D976316A7FBE7824CD96A",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupCSY.zip"
        },
        {
            "lang":  "pl",
            "hash":  "59F54C3F78848C4A36FC3B44FFDD7968354AF45C446B92BB3A7ABC82773C5E15",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupPL.zip"
        },
        {
            "lang":  "fr",
            "hash":  "35CC841A1D87C3667E2801C246E23565CDA1D6E017B084B47E512ADA0AC9D4E8",
            "uri":  "https://mh-nexus.de/downloads/HxDSetupFR.zip"
        }
    ]
    
  • tools\languages.ps1 Show
    Function Get-AvailableLanguages {
    	@{
    		'zh' = 'CHS';
    		'cs' = 'CSY';
    		'de' = 'DE';
    		'el' = 'ELL';
    		'en' = 'EN';
    		'es' = 'ES';
    		'fi' = 'FI';
    		'fr' = 'FR';
    		'hu' = 'HU';
    		'it' = 'IT';
    		'ja' = 'JP';
    		'ko' = 'KOR';
    		'nl' = 'NL';
    		'pl' = 'PL';
    		'pt' = 'PTB';
    		'ro' = 'ROM';
    		'ru' = 'RU';
    		'sk' = 'SK';
    		'sl' = 'SL';
    		'sv' = 'SVE';
    		'tr' = 'TR';
    	}
    }
    

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

Maintainer(s)

Software Author(s)

  • Maël Hörz

Copyright

Copyright © 2003-2015 Maël Hörz

Tags

Release Notes

https://mh-nexus.de/en/hxd/changelog.php

Version History

Version Downloads Last updated Status
HxD - Hex Editor and Disk Editor (Install) 1.7.7.020161002 1869 Sunday, October 2, 2016 approved
HxD - Hex Editor and Disk Editor (Install) 1.7.7.020160904 630 Monday, September 5, 2016 approved
HxD - Hex Editor and Disk Editor (Install) 1.7.7.020160827 502 Saturday, August 27, 2016 approved
HxD - Hex Editor and Disk Editor (Install) 1.7.7.020150909 1737 Wednesday, September 9, 2015 approved
HxD - Hex Editor and Disk Editor 1.7.7.0 2777 Saturday, September 15, 2012  

Discussion for the HxD - Hex Editor and Disk Editor (Install) Package

Ground rules:

  • This discussion is only about HxD - Hex Editor and Disk Editor (Install) and the HxD - Hex Editor and Disk Editor (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 HxD - Hex Editor and Disk Editor (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