Flashpoint Core - BlueMaxima's Flashpoint Core Distrbution

  • 1
  • 2
  • 3

10.0 | Updated: 08 Jun 2021

Downloads:

131

Downloads of v 10.0:

41

Maintainer(s):

Software Author(s):

  • Flashpoint Contributors

  • 1
  • 2
  • 3
Flashpoint Core - BlueMaxima's Flashpoint Core Distrbution 10.0

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Exemption for this package version only:

File too large to be scanned

Details

To install Flashpoint Core - BlueMaxima's Flashpoint Core Distrbution, run the following command from the command line or from PowerShell:

>

To upgrade Flashpoint Core - BlueMaxima's Flashpoint Core Distrbution, run the following command from the command line or from PowerShell:

>

To uninstall Flashpoint Core - BlueMaxima's Flashpoint Core Distrbution, 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade flashpoint-core -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 flashpoint-core -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 flashpoint-core installed
  win_chocolatey:
    name: flashpoint-core
    state: present
    version: 10.0
    source: STEP 3 URL

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


chocolatey_package 'flashpoint-core' do
  action    :install
  version  '10.0'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: flashpoint-core,
    Version: 10.0,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller flashpoint-core
{
   Name     = 'flashpoint-core'
   Ensure   = 'Present'
   Version  = '10.0'
   Source   = 'STEP 3 URL'
}

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


package { 'flashpoint-core':
  provider => 'chocolatey',
  ensure   => '10.0',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install flashpoint-core version="10.0" 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.

This package is exempt from moderation. While it is likely safe for you, there is more risk involved.
Description

BlueMaxima's Flashpoint is a webgame preservation project dedicated to preserving as many experiences from web
platforms, including but not limited to Adobe Flash, as possible, so that they aren't lost to time.

Flashpoint utilizes a strong selection of open-source software. By combining the power of Apache, a custom-built
launcher, and our own application called the Flashpoint Secure Player, we can play web-based media in a quick,
user-friendly environment without leaving permanent changes or security holes on your computer.

Flashpoint Core is a distribution of the Flashpoint Launcher (FPL) that is tailored specifically to project
contributors and contains example entries for each platform.

screenshot)

Package Parameters

The following package parameter can be set:

  • /AddToDesktop - this puts a shortcut on your desktop to Flashpoint.

These parameters can be passed to the installer with the use of --params.
For example: --params "/AddToDesktop".

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

Notes

  • Flashpoint Core is targeted at project contributors. If you are just looking to access the preserved content you are
    most likely looking for Flashpoint Infinity.
  • You may be prompted by the Windows Firewall to allow the Apache HTTP Server on first execution
  • 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.

tools\chocolateyBeforeModify.ps1
$ErrorActionPreference = 'Stop'

$desktopPath  = [Environment]::GetFolderPath("Desktop")
$shortcutPath = Join-Path $desktopPath 'Flashpoint Core.lnk'

if (Test-Path $shortcutPath) {
  Remove-Item -Path $shortcutPath -Force | Out-Null
}
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir   = (Split-Path -parent $MyInvocation.MyCommand.Definition)
$installDir = Join-Path (Get-ToolsLocation) $env:ChocolateyPackageName

$packageArgs = @{
  PackageName   = $env:ChocolateyPackageName
  UnzipLocation = $installDir
  Url           = 'https://bluemaxima.org/flashpoint/downloads/../Flashpoint%20Core%2010.7z'
  Checksum      = '32e078556b4d1f080b62f6a0bc313797b239ece88020c67db9b557431946787d'
  ChecksumType  = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs

$files = Get-ChildItem $installDir -include *.exe -recurse

foreach ($file in $files) {
  New-Item "$file.ignore" -type file -force | Out-Null
  if ($file.Name -eq 'Flashpoint.exe') {
    $executable = $file
  }
}

# generate a launcher command for the application binary.  The application is not well-behaved and
# will not run correctly if it is not launched with the working directory being the same as that
# containing the application binaries.  This secondary launcher is a way to support that while
# working around a chocolatey shimgen feature - a command line parameter --shimgen-use-targetworkingdirectory
# would be required on every launch without this work around as opposed to being able to simply
# launch via the shim flashpoint.exe

$applicationBinary = $executable.FullName
$workingDirectory  = $executable.FullName.TrimEnd($executable.Name)
$launchScript      = Join-Path $toolsDir "Flashpoint.cmd"
$launchCommand     = "@ECHO OFF$([Environment]::NewLine)cd `"$($workingDirectory)`"$([Environment]::NewLine)`"$($applicationBinary)`""

Set-Content -Path $launchScript -Value $launchCommand

Install-Binfile -Name 'Flashpoint' -Path $launchScript -UseStart

# ensure that the contents are not read-only to avoid issues on package uninstall.  When the package
# was constructed this was the case with FPSoftware\BrowserPlugins\Vitalize\Clickteam\Vitalize\v2
# and Chocolatey seems to have an issue with the uninstall of a package containing a directory
# where the ReadOnly attribute is set

Get-ChildItem $installDir -Recurse -Force -ErrorAction SilentlyContinue | Where-Object {
  $_.PSIsContainer -and $_.Attributes -match "ReadOnly" } | foreach-object { $_.Attributes="" }

$pp = Get-PackageParameters

if ($pp.AddToDesktop) {
  $desktopPath  = [Environment]::GetFolderPath("Desktop")
  $shortcutPath = Join-Path $desktopPath 'Flashpoint Core.lnk'

  $shortcutArgs = @{
    ShortcutFilePath = $shortcutPath
    TargetPath       = $applicationBinary
    WorkingDirectory = $workingDirectory
  }

  Install-ChocolateyShortcut @shortcutArgs
}
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

Uninstall-BinFile -Name 'Flashpoint' -Path 'Flashpoint.cmd'

$packageArgs = @{
  PackageName = $env:ChocolateyPackageName
  ZipFileName = 'Flashpoint Core 10.7z'
}

UnInstall-ChocolateyZipPackage @packageArgs

$installDir = Join-Path (Get-ToolsLocation) $env:ChocolateyPackageName

Remove-Item $installDir -Force  -Recurse -ErrorAction SilentlyContinue | Out-Null

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
Flashpoint Core - BlueMaxima's Flashpoint Core Distrbution 9.0 90 Friday, March 5, 2021 Approved

This package has no dependencies.

Discussion for the Flashpoint Core - BlueMaxima's Flashpoint Core Distrbution Package

Ground Rules:

  • This discussion is only about Flashpoint Core - BlueMaxima's Flashpoint Core Distrbution and the Flashpoint Core - BlueMaxima's Flashpoint Core Distrbution 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 Flashpoint Core - BlueMaxima's Flashpoint Core Distrbution, 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