Flash player projector linux

Overview

Creates Flash projectors from a standalone Flash Player.

Takes a standalone Flash Player file, a directory containing a standalone Flash Player, or a shockpkg standalone Flash Player package file.

Can also create bundles that group the projector and resources in a directory beside a single launcher for Windows and Linux or within an application bundle for macOS.

Reading DMG projector packages is only supported on macOS.

Usage

Projector

Windows

import ProjectorWindows> from '@shockpkg/swf-projector'; const projector = new ProjectorWindows('projector-windows/application.exe'); // Optional custom icon. projector.iconFile = 'icon.ico'; // Optional custom PE resource strings. projector.versionStrings =  FileVersion: '1.2.3.4', ProductVersion: '1.2.3.4', CompanyName: 'Custom Company Name', FileDescription: 'Custom File Description', LegalCopyright: 'Custom Legal Copyright', ProductName: 'Custom Product Name', LegalTrademarks: 'Custom Legal Trademarks', OriginalFilename: 'CustomOriginalFilename.exe', InternalName: 'CustomInternalName', Comments: 'Custom Comments' >; // Optionally patch window title. projector.patchWindowTitle = 'Custom Title'; // Optionally remove now-broken signature. projector.removeCodeSignature = true; // Optionally remove out-of-date check. projector.patchOutOfDateDisable = true; await projector.withFile('player.exe', 'movie.swf');

Mac App

import ProjectorMacApp> from '@shockpkg/swf-projector'; const projector = new ProjectorMacApp('projector-macapp/application.app'); // Optional custom icon. projector.iconFile = 'icon.icns'; // Optionally change main binary name. projector.binaryName = 'application'; // Optionally base Info.plist file. projector.infoPlistFile = 'Info.plist'; // Optionally custom PkgInfo file. projector.pkgInfoFile = 'PkgInfo'; // Optionally update bundle name. projector.bundleName = 'application'; // Optionally patch window title (currently requires version 11+). projector.patchWindowTitle = 'Custom Title'; // Optionally remove file associations from Info.plist. projector.removeFileAssociations = true; // Optionally exclude InfoPlist.strings files. projector.removeInfoPlistStrings = true; // Optionally remove now-broken signature. projector.removeCodeSignature = true; await projector.withFile('player.dmg', 'movie.swf');

Linux

import ProjectorLinux> from '@shockpkg/swf-projector'; const projector = new ProjectorLinux('projector-linux/application'); // Optionally patch window title. projector.patchWindowTitle = 'Custom Title'; // Optionally disable menu entirely. // projector.patchMenuRemove = true; // Necessary to load from relative paths. projector.patchProjectorPath = true; // Only for 64-bit Linux, where this is necessary. projector.patchProjectorOffset = true; await projector.withFile('player.tar.gz', 'movie.swf');

Bundle

Windows

import BundleWindows> from '@shockpkg/swf-projector'; const bundle = new BundleWindows('bundle-windows/application.exe'); // Use projector property to set options. bundle.projector.removeCodeSignature = true; bundle.projector.patchOutOfDateDisable = true; await bundle.withFile('player.exe', 'movie.swf', async b =>  // Add resources in callback. await b.copyResource('other.swf', 'other.swf'); >);

Mac App

import BundleMacApp> from '@shockpkg/swf-projector'; const bundle = new BundleMacApp('bundle-macapp/application.app'); // Use projector property to set options. bundle.projector.removeCodeSignature = true; await bundle.withFile('player.dmg', 'movie.swf', async b =>  // Add resources in callback. await b.copyResource('other.swf', 'other.swf'); >);

Linux

import BundleLinux> from '@shockpkg/swf-projector'; const bundle = new BundleLinux('bundle-linux/application'); // Use projector property to set options. bundle.projector.patchProjectorPath = true; bundle.projector.patchProjectorOffset = true; await bundle.withFile('player.tar.gz', 'movie.swf', async b =>  // Add resources in callback. await b.copyResource('other.swf', 'other.swf'); >);

Loader Generator

To make it easier to create a SWF that loads another URL for use in a projector, there’s a loader utility function which generates an ASVM1 stub which loads another URL into level 0 (effectively replacing the content).

You can also specify a number of frames to delay loading the other movie, to give the player a chance to initialize before loading the other movie. This is especially useful on Linux where the player may take about 0.25s to finish resizing the window and may not finish with the correct size (mainly depending on the desktop environment’s use of the menu bar). Loading another movie into level 0 after the initial resize is done will however correct the issue. Waiting 0.5s (or FPS / 2) should offer enough of a buffer.

SWF8 600×400 30fps white movie that loads other.swf?param=1

import loader> from '@shockpkg/swf-projector'; const swfData = loader(8, 600, 400, 30, 0xffffff, 'other.swf?param=1');

SWF8 600×400 30fps red movie that loads other.swf , 0.5s delay

import loader> from '@shockpkg/swf-projector'; const swfData = loader(8, 600, 400, 30, 0xff0000, 'other.swf', 30 / 2);

Notes

Windows

Option: patchWindowTitle

An option to replace the window title stored in the binary (no length limit since library version 3).

Option: patchOutOfDateDisable

An option to disable the out-of-date check present since version 30 and active (with 90 and 180 day defaults) since version 35.

Mac App

Option: patchWindowTitle

An option to set a custom window title in the binary (no length limit since library version 3).

Linux

Option: patchWindowTitle

An option to replace the window title stored in the binary (no length limit since library version 3).

Option: patchMenuRemove

An option to completely disable the menu for the projector.

Option: patchProjectorPath

Required in Flash Player 6 and Flash Player 10.1+ to load relative paths (other versions would try the relative path first, before trying resolved path).

Projectors version 9+ create the main URL with: «file:» + argv[0] resolving to a bad URL like file://file|%2Fpath%2Fto%2Fapplication causing relative paths to load from the root of the drive. For such projectors this patch replaces the string reference to use «file://» + argv[0] instead, which resolves to file:///path/to/application when run by an absolute path.

Projector version 6 would use the current working directory for the main URL, causing relative paths to start in the directory above the. For such projectors this patch replaces the directory string reference to use argv[0] instead.

Not a perfect patch because it does not resolve the full path first, if run from relative path would get path like file://./application , but an improvement. Recommended to use a shell script or binary that resolves itself and runs projector from an absolute path. Using a Bundle does this automatically.

Option: patchProjectorOffset

The Linux projector reading code was never updated for 64-bit ELF compatibility. This patch fixes reading projector data in 64-bit Linux projectors.

Bugs

If you find a bug or have compatibility issues, please open a ticket under issues section for this repository.

License

Copyright (c) 2019-2022 JrMasterModelBuilder

Licensed under the Mozilla Public License, v. 2.0.

If this license does not work for you, feel free to contact me.

Источник

A program for running Adobe Flash SWF files without a browser

Flash Player Projector is a small, free, portable program for playing Adobe Flash SWF files. After downloading this program to your PC, you can play your favourite flash games and view SWF files in full-screen mode without using a browser.

To start a game or animation, you just need to drag the selected file into the program window, and it will open immediately. You can also select the necessary file on the computer or specify a link by its location in the File -> Open… menu.

Flash Player Projector does not have rich settings. The user can use several options for setting the display of the flash file (full-screen mode, zoom, initial size…) and animation playback controls. In addition, the user can choose the playback quality.

Author: Adobe Inc.
License: Freeware
Updated: December 9, 2020
Latest Version: 32.0.0.465
Available languages: English, Russian

Download

Below are the links to download Flash Player Projector for Windows, macOS, and Linux for free. All links are direct and checked for malicious inclusions.

  • Download Adobe Flash Projector (Windows) 32.0.0.465 exe (15,24 MB) [Windows XP+]
  • Download Adobe Flash Projector (Mac) 32.0.0.465 dmg (9,44 MB) [Mac OS X 10.0+]
  • Download Adobe Flash Projector (Linux) 32.0.0.465 gz (8,12 MB) [Linux]
  • Some bugs fixed and minor improvements added.

Installation

Flash Player Projector does not require installation; you just need to download and run the file.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

a small script to install Flash Player 32 (latest) Projector (64-bit standalone)

pol2095/Flash-Player-Projector-64-bit-standalone-install-for-Ubuntu

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Flash Player Projector (64-bit standalone) install for Ubuntu

A small script to install Flash Player 32 (latest) Projector (64-bit standalone) on Ubuntu.

  • right click on «configure» file, select Properties, then check «Allow execution of the file as a program» (if not selected) under the Permissions tab
  • Open in Terminal (right click)
    ./configure
  • right click on a swf file -> Properties -> Open With -> flashplayer -> Set as default

About

a small script to install Flash Player 32 (latest) Projector (64-bit standalone)

Источник

Читайте также:  Astra linux установка приложений windows
Оцените статью
Adblock
detector