ArcadeFlashWeb
ArcadeFlashWeb emulates Adobe Flash.
About this profile
Technical notes
Qt 5.13 application that plays SWF files by hosting Adobe's Pepper Flash
runtime inside a QtWebEngine view. Windows only. ES-DE runs
ArcadeFlashWeb.exe -fullscreen -source:<rom>, RetroBat adds -nodatetime,
-savedataflash: and -picturesfolder: and sets the working directory to the
program folder. The repository carries the Qt and QML sources and the
releases. arcadeflashweb.com no longer resolves and holds no archived
capture. Every string quoted below was also read back from the shipped
v1.0.2 executable, which matches the sources.
ref: src/ArcadeFlashWeb.pro:1-5, src/main.qml:34-35
The runtime is registered from the command line. main sets
QTWEBENGINE_CHROMIUM_FLAGS to "--enable-pepper-testing
--ppapi-flash-path=./pepflashplayer.dll" before QtWebEngine::initialize, so
Chromium takes the plugin from that path. It is the one file resolved
against the process working directory, and everything else below hangs off
applicationDirPath. No --ppapi-flash-version accompanies it, and nothing
reads the manifest.json sitting beside the library: QtWebEngine builds the
plugin entry from the two switches alone and the library never names that
file. The manifest is still what identifies the build, Pepper Flash
32.0.0.371 for win/ia32.
ref: src/main.cpp:37-44, ArcadeFlashWeb-release manifest.json:2-7,
qtwebengine 5.13 src/core/content_client_qt.cpp AddPepperFlashFromCommandLine
A local movie is not handed to the view. The url becomes
file:///<appdir>/flash/flash.html?jeu=<rom>=<width>=<height>, and that page
splits the query on the equals signs, fits the movie to the window and calls
swfobject.embedSWF with scale exactfit and wmode direct. The version it asks
for is 32.0.0, so SWFObject creates the object only when the registered
plugin reports at least that. A -source: containing "http" loads in the view
unchanged and uses none of this.
ref: src/main.qml:317-347, src/Navigateur.qml:144-155,
ArcadeFlashWeb-release flash/flash.html:38-104
Natural dimensions come from swfdump. When -swfwidth: and -swfheight: are
not both given, which is the case for both ES-DE and RetroBat, the program
runs cmd /C <appdir>/swfdump.exe -X -Y <rom> redirected to swf.txt in the
data directory and reads the second and fourth whitespace fields back.
ref: src/main.qml:109-128, src/main.qml:321-335, src/Navigateur.qml:147-148
-profilantimicro: starts AntiMicro hidden with a profile from
antimicro/profiles before the movie loads. Adding -controleurantimicro:
replaces that argument with --profile-controller, and the profile file is
then not passed at all.
ref: src/main.qml:305-314
Written rather than expected: swf.txt, the QML LocalStorage database holding
the last browser path with the bezel, screen mode and clock flags, the
QtWebEngine cache and persistent storage under -savedataflash:, and the JPEG
screenshots. The interface icons, the bezel, the CRT and scanline overlays
and the wallpaper are compiled in through qml.qrc, so of the images only the
copy under flash/images is read from disk, and it is byte for byte the
compiled one. Two files ship unread: flash/swfobject/expressInstall.swf,
which flash.html disables by passing false for the express install url, and
flash/swfobject/test.swf, which nothing names.
ref: src/qml.qrc:1-33, src/Sauvegarde.js:1-30, src/main.qml:132-159,
ArcadeFlashWeb-release flash/flash.html:102
The remainder of the release is the Qt 5.13.2 deployment of the program itself. VCRUNTIME140.dll and the UCRT stubs sit in the executable's import directory, so the Visual C++ 2017 x86 redistributable has to be installed, and the release carries its installer. ref: README.md:59, ArcadeFlashWeb v1.0.2 ArcadeFlashWeb.exe import directory
0 files: 0 required, 0 optional. 8 more files come with the app.
Comes with the app
Section titled “Comes with the app”| File | Hash |
|---|---|
pepflashplayer.dllAdobe Pepper Flash Player runtime
Hashes and source
|
SHA1 dfdfa207f4a5 |
flash.htmlPage that embeds the movie
Hashes and source
|
SHA1 b20794d88ce2 |
swfobject.jsSWFObject 2.2 embed library
Hashes and source
|
SHA1 5847ed101f55 |
background.jpgBackdrop of the player page
Hashes and source
|
SHA1 f34bde188a8e |
swfdump.exeSWFTools swfdump, reads the movie's natural size
Hashes and source
|
SHA1 2aecffd21f14 |
antimicro.exeAntiMicro gamepad to keyboard mapper
Hashes and source
|
SHA1 51c6beb0bf32 |
arcadeflashweb.gamecontroller.amgpAntiMicro mapping profile
Hashes and source
|
SHA1 3dd5ca0934fe |
pepper.vchAdobe Flash Access blob shipped with the runtime
Hashes and source
|
SHA1 37ae3a152e27 |
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start