Skip to content

Commit

Permalink
Package download 3dmark
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
tunisiano187 committed Sep 14, 2024
1 parent 03a8270 commit 5fe3e64
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 0 deletions.
48 changes: 48 additions & 0 deletions automatic/3dmark/3dmark.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>3dmark</id>
<version>2.6.6238</version>
<title>3DMark Basic Edition (Install)</title>
<authors>UL Benchmarks</authors>
<owners>bcurran3</owners>
<licenseUrl>https://benchmarks.ul.com/terms-and-conditions</licenseUrl>
<projectUrl>https://benchmarks.ul.com/3dmark</projectUrl>
<iconUrl>https://www.techspot.com/images2/downloads/topdownload/2014/06/3dmark.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>###3DMark is a popular gaming performance benchmark used by millions of people, hundreds of hardware review sites and many of the world's leading technology companies.

3DMark includes everything you need to benchmark your PC and mobile devices in one app. Whether you're gaming on a desktop PC, laptop, notebook, or a tablet, 3DMark has a benchmark designed for your hardware.

3DMark Basic Edition includes Time Spy, the new DirectX 12 benchmark.

3DMark Basic Edition includes six benchmark tests.

* Fire Strike - for high-performance gaming PCs
* Sky Diver - for gaming laptops and mid-range PCs
* Cloud Gate - for Windows notebooks and home PCs
* Ice Storm Extreme - for low-cost tablets and smartphones
* Ice Storm - for basic mobile devices
* Ice Storm Unlimited - an offscreen test for mobile devices

**[PACKAGE NOTES](https://github.com/bcurran3/ChocolateyPackages/blob/master/3dmark/readme.md)**

***
**Click here to [Patreon-ize](https://www.patreon.com/bcurran3) the package maintainer.**
***</description>
<summary>3DMark is a popular gaming performance benchmark.</summary>
<releaseNotes>https://www.techpowerup.com/download/futuremark-3dmark-timespy/#changes-v2-6-6238</releaseNotes>
<copyright>UL Benchmarks</copyright>
<tags>ul futuremark 3dmark video gaming benchmark</tags>
<packageSourceUrl>https://github.com/bcurran3/ChocolateyPackages/tree/master/3dmark</packageSourceUrl>
<docsUrl>https://benchmarks.ul.com/support/user-guides</docsUrl>
<dependencies>
<dependency id="dotnet4.5" />
<dependency id="futuremark-systeminfo" version="5.1" />
<dependency id="chocolatey-misc-helpers.extension" version="0.0.2" />
</dependencies>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
32 changes: 32 additions & 0 deletions automatic/3dmark/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[![](https://img.shields.io/chocolatey/v/3dmark?color=green&label=3dmark)](https://chocolatey.org/packages/3dmark) [![](https://img.shields.io/chocolatey/dt/3dmark)](https://chocolatey.org/packages/3dmark)

## 3DMark Basic Edition (Install)

###3DMark is a popular gaming performance benchmark used by millions of people, hundreds of hardware review sites and many of the world's leading technology companies.

3DMark includes everything you need to benchmark your PC and mobile devices in one app. Whether you're gaming on a desktop PC, laptop, notebook, or a tablet, 3DMark has a benchmark designed for your hardware.

3DMark Basic Edition includes Time Spy, the new DirectX 12 benchmark.

3DMark Basic Edition includes six benchmark tests.

* Fire Strike - for high-performance gaming PCs
* Sky Diver - for gaming laptops and mid-range PCs
* Cloud Gate - for Windows notebooks and home PCs
* Ice Storm Extreme - for low-cost tablets and smartphones
* Ice Storm - for basic mobile devices
* Ice Storm Unlimited - an offscreen test for mobile devices

**[PACKAGE NOTES](https://github.com/bcurran3/ChocolateyPackages/blob/master/3dmark/readme.md)**

***
**Click here to [Patreon-ize](https://www.patreon.com/bcurran3) the package maintainer.**
***

#### [choco://3dmark](choco://3dmark)
To use choco:// protocol URLs, install [(unofficial) choco:// Protocol support ](https://chocolatey.org/packages/choco-protocol-support)

### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)

Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/bePatron?u=39585820)
34 changes: 34 additions & 0 deletions automatic/3dmark/tools/ChocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
$ErrorActionPreference = 'Stop'
$packageName = '3dmark'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'http://akamai-dl.futuremark.com.akamaized.net/3DMark-v2-6-6238.zip'
$checksum = 'FC5BC96E9614EDFEFD3E382DDF9049998DEE2B171D1523383A84C4B929BD26BB'
$extractDir = "$toolsDir\extracted"
$fileLocation = "$extractDir\3dmark-setup.exe"

New-Item $extractDir -type directory

$packageArgs = @{
packageName = $packageName
unzipLocation = $extractDir
fileType = 'ZIP'
url = $url
checksum = $checksum
checksumType = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs

$packageArgs = @{
packageName = $packageName
fileType = 'EXE'
file = $fileLocation
silentArgs = '/S'
validExitCodes = @(0)
softwareName = '3DMark*'
}

Install-ChocolateyInstallPackage @packageArgs

Remove-Item $extractDir -Recurse -Force | out-null
Start-WaitandStop "FMSISvc"
Binary file added icons/3dmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5fe3e64

Please sign in to comment.