Downloads:

4,462

Downloads of v 1.15.2-beta:

42

Last Update:

23 Oct 2019

Package Maintainer(s):

Software Author(s):

  • David White and others

Tags:

wesnoth game strategy turn-based admin foss cross-platform

The Battle for Wesnoth

This is a prerelease version of The Battle for Wesnoth.

1.15.2-beta | Updated: 23 Oct 2019

Downloads:

4,462

Downloads of v 1.15.2-beta:

42

Maintainer(s):

Software Author(s):

  • David White and others

The Battle for Wesnoth 1.15.2-beta

This is a prerelease version of The Battle for Wesnoth.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install The Battle for Wesnoth, run the following command from the command line or from PowerShell:

>

To upgrade The Battle for Wesnoth, run the following command from the command line or from PowerShell:

>

To uninstall The Battle for Wesnoth, 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 wesnoth -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 wesnoth -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 wesnoth installed
  win_chocolatey:
    name: wesnoth
    state: present
    version: 1.15.2-beta
    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 'wesnoth' do
  action    :install
  version  '1.15.2-beta'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: wesnoth,
    Version: 1.15.2-beta,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller wesnoth
{
   Name     = 'wesnoth'
   Ensure   = 'Present'
   Version  = '1.15.2-beta'
   Source   = 'STEP 3 URL'
}

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


package { 'wesnoth':
  provider => 'chocolatey',
  ensure   => '1.15.2-beta',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install wesnoth version="1.15.2-beta" 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.

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

There are versions of this package awaiting moderation . See the Version History section below.

This package was approved as a trusted package on 23 Oct 2019.

Description

The Battle for Wesnoth is a turn-based tactical strategy game with a high fantasy theme.
Build up a great army, gradually turning raw recruits into hardened veterans. In later games, recall your toughest warriors and form a deadly host that none can stand against! Choose units from a large pool of specialists, and hand-pick a force with the right strengths to fight well on different terrains against all manner of opposition.

Wesnoth has many different sagas waiting to be played. Fight to regain the throne of Wesnoth, of which you are the legitimate heir... step into the boots of a young officer sent to guard a not-so-sleepy frontier outpost... lead a brutal quest to unite the orcish tribes... vanquish a horde of undead warriors unleashed by a foul necromancer, who also happens to have taken your brother hostage... guide a band of elvish survivors in an epic quest to find a new home... get revenge on the orcs by using the foul art of necromancy...
There are at least two hundred unit types, sixteen races, six major factions, and hundreds of years of history. The world of Wesnoth is absolutely huge and only limited by your creativity - make your own custom units, create your own maps, and write your own scenarios or even full-blown campaigns. You can also challenge up to eight friends or strangers and fight in epic multiplayer fantasy battles.

Features

  • Build up a farmidable fighting force, starting from a single leader and a small amount of gold.
  • Over two hundred unit types in six major factions, all with distinctive abillities, weapons and spells.
  • Experienced units gain powerful new abillities as they advance.
  • Several multiplayer options available, including Internet play.
  • Scores of different custom-designed map and unlimited random maps.
  • Hundreds of campaign scenarios available for download through a simple in-game dialog.
  • Fog of War feature available for a true test of generalship.
  • Sophisticated markup language lets advanced users make their own maps, factions, or campaigns.
  • Excellent language support — 54 different languages currently available.

tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';

$packageArgs = @{
  packageName    = 'wesnoth'
  fileType       = 'exe'
  url            = 'https://sourceforge.net/projects/wesnoth/files/wesnoth/wesnoth-1.15.2/wesnoth-1.15.2-win32.exe/download'
  softwareName   = 'Battle for Wesnoth*'
  checksum       = '8739135b58baab23cfd6c86fa92ef64033aecd96377f646961a9db7ab0318626'
  checksumType   = 'sha256'
  silentArgs     = '/S'
  validExitCodes = @(0)
}

Install-ChocolateyPackage @packageArgs
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop';

$packageName = 'wesnoth'

$uninstalled = $false

[array]$key = Get-UninstallRegistryKey -SoftwareName 'Battle for Wesnoth*'

if ($key.Count -eq 1) {
  $key | ForEach-Object {

    $packageArgs = @{
      packageName = $packageName
      fileType    = 'exe'
      silentArgs  = '/S'
      file        = "$($_.UninstallString)"
    }

    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 uninstall."
  Write-Warning "Please alert the package maintainer the following keys were matched:"
  $key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}

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
The Battle for Wesnoth 1.15.2-beta 42 Wednesday, October 23, 2019 Approved
The Battle for Wesnoth 1.15.1-beta 26 Tuesday, September 24, 2019 Approved
The Battle for Wesnoth 1.15.0-beta 31 Monday, September 2, 2019 Approved
The Battle for Wesnoth 1.14.11 9 Monday, February 3, 2020 Waiting for Maintainer
The Battle for Wesnoth 1.14.7 172 Wednesday, April 17, 2019 Approved
The Battle for Wesnoth 1.14.6 109 Wednesday, February 27, 2019 Approved
The Battle for Wesnoth 1.14.5 243 Monday, September 17, 2018 Approved
The Battle for Wesnoth 1.14.4 175 Monday, July 23, 2018 Approved
The Battle for Wesnoth 1.14.3 166 Monday, June 11, 2018 Approved
Discussion for the The Battle for Wesnoth Package

Ground Rules:

  • This discussion is only about The Battle for Wesnoth and the The Battle for Wesnoth 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 The Battle for Wesnoth, 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