Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
UPDATE (2023-11-06) Ruffle has been approved for Flash submissions! https://tasvideos.org/EmulatorResources/Ruffle
UPDATE (2021-07-26) greysondn has created a gnash package for Bionic. It works well in libTAS and is easy to set up. Due to critical problems with dependencies, it's not possible to build it on newer Ubuntu. Old (not relevant anymore) post is below.
For now requires libTAS interim. Savestates are supposed to work. Games up to Flash v9 too. And mouse. Install sdl-gnash (doesn't come with regular gnash installation): Download install-sdl-gnash-i586.sh
Language: shell

sudo apt-get install wget wget https://rpmfind.net/linux/mageia/distrib/5/i586/media/core/release/gnash-0.8.10-13.mga5.i586.rpm sudo apt-get install alien sudo alien -i gnash-0.8.10-13.mga5.i586.rpm wget https://rpmfind.net/linux/mageia/distrib/5/i586/media/core/release/libgnash0-0.8.10-13.mga5.i586.rpm sudo alien -i libgnash0-0.8.10-13.mga5.i586.rpm wget https://rpmfind.net/linux/mageia/distrib/5/i586/media/core/release/libboost_program_options1.55.0-1.55.0-8.mga5.i586.rpm sudo alien -i libboost_program_options1.55.0-1.55.0-8.mga5.i586.rpm wget http://rpmfind.net/linux/mageia/distrib/5/i586/media/core/release/libboost_system1.55.0-1.55.0-8.mga5.i586.rpm sudo alien -i libboost_system1.55.0-1.55.0-8.mga5.i586.rpm wget http://rpmfind.net/linux/Mandriva/official/2008.0/i586/media/main/release/libSDL1.2-1.2.12-1mdv2008.0.i586.rpm sudo alien -i libSDL1.2-1.2.12-1mdv2008.0.i586.rpm wget https://rpmfind.net/linux/mageia/distrib/5/i586/media/core/release/libboost_thread1.55.0-1.55.0-8.mga5.i586.rpm sudo alien -i libboost_thread1.55.0-1.55.0-8.mga5.i586.rpm wget https://rpmfind.net/linux/mageia/distrib/cauldron/i586/media/core/release/libagg2-2.5-17.mga7.i586.rpm sudo alien -i libagg2-2.5-17.mga7.i586.rpm wget https://rpmfind.net/linux/mageia/distrib/3/i586/media/core/release/libgstreamer-plugins-base0.10-0.10.36-3.mga3.i586.rpm sudo alien -i libgstreamer-plugins-base0.10-0.10.36-3.mga3.i586.rpm wget https://rpmfind.net/linux/mageia/distrib/6/i586/media/core/release/libgstreamer0.10_0-0.10.36-15.mga6.i586.rpm sudo alien -i libgstreamer0.10_0-0.10.36-15.mga6.i586.rpm wget https://rpmfind.net/linux/mageia/distrib/5/i586/media/core/updates/libgif4-4.2.3-4.3.mga5.i586.rpm sudo alien -i libgif4-4.2.3-4.3.mga5.i586.rpm wget https://rpmfind.net/linux/Mandriva/devel/cooker/i586/media/main/release/libesound0-0.2.41-6-mdv2012.0.i586.rpm sudo alien -i libesound0-0.2.41-6-mdv2012.0.i586.rpm wget https://rpmfind.net/linux/Mandriva/devel/cooker/i586/media/main/release/libaudiofile0-0.3.2-2-mdv2012.0.i586.rpm sudo alien -i libaudiofile0-0.3.2-2-mdv2012.0.i586.rpm wget https://rpmfind.net/linux/dag/redhat/el5/en/i386/dag/RPMS/directfb-1.0.1-1.el5.rf.i386.rpm sudo alien -i directfb-1.0.1-1.el5.rf.i386.rpm wget https://rpmfind.net/linux/mageia/distrib/cauldron/i586/media/core/release/libggi2-2.2.2-26.mga7.i586.rpm sudo alien -i libggi2-2.2.2-26.mga7.i586.rpm wget https://rpmfind.net/linux/mageia/distrib/cauldron/i586/media/core/release/libgii1-1.0.2-23.mga7.i586.rpm sudo alien -i libgii1-1.0.2-23.mga7.i586.rpm wget https://rpmfind.net/linux/mageia/distrib/cauldron/i586/media/core/release/libncurses6-6.1-20180728.2.mga7.i586.rpm sudo alien -i libncurses6-6.1-20180728.2.mga7.i586.rpm sudo apt-get install curl
This script doesn't work as is, either execute all the lines manually, or mix the commands up like in the above script. Download install-sdl-gnash-x86_64.sh
Language: shell

sudo apt-get install wget alien wget https://rpmfind.net/linux/mageia/distrib/5/x86_64/media/core/release/gnash-0.8.10-13.mga5.x86_64.rpm wget https://rpmfind.net/linux/mageia/distrib/5/x86_64/media/core/release/lib64gnash0-0.8.10-13.mga5.x86_64.rpm wget https://rpmfind.net/linux/mageia/distrib/5/x86_64/media/core/release/lib64boost_program_options1.55.0-1.55.0-8.mga5.x86_64.rpm wget https://rpmfind.net/linux/mageia/distrib/5/x86_64/media/core/release/lib64boost_system1.55.0-1.55.0-8.mga5.x86_64.rpm wget https://rpmfind.net/linux/mageia/distrib/5/x86_64/media/core/release/lib64boost_thread1.55.0-1.55.0-8.mga5.x86_64.rpm wget https://rpmfind.net/linux/mageia/distrib/cauldron/x86_64/media/core/release/lib64agg2-2.5-17.mga7.x86_64.rpm wget https://rpmfind.net/linux/mageia/distrib/3/x86_64/media/core/release/lib64gstreamer-plugins-base0.10-0.10.36-3.mga3.x86_64.rpm wget https://rpmfind.net/linux/mageia/distrib/6/x86_64/media/core/release/lib64gstreamer0.10_0-0.10.36-15.mga6.x86_64.rpm wget https://rpmfind.net/linux/mageia/distrib/5/x86_64/media/core/release/lib64jpeg8-1.3.1-4.mga5.x86_64.rpm wget https://rpmfind.net/linux/mageia/distrib/5/x86_64/media/core/updates/lib64gif4-4.2.3-4.3.mga5.x86_64.rpm sudo alien -i *.rpm
Comment from keylie:
Also, alien installs the libraries into /usr/lib64/, which is not in the path of shared libraries (at least on my Debian Testing). I had to add the line /usr/lib64 in file /etc/ld.so.conf.d/x86_64-linux-gnu.conf and run sudo ldconfig. I'm not sure if the process is identical on Ubuntu, but it should be easy find how on the internet.
I'll expand this as I get around to trying it for real. Couldn't wait to post.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Editor, Active player (458)
Joined: 2/11/2018
Posts: 240
To be honest, I'm going to need a dummies' guide to this. I've had a lot of difficulty just trying to install Gnash. It's been dead for 6 or 7 years and a lot of the links don't work now. Or is it supposed to come with Ubuntu? After downloading Gnash about 5 times I ran the second script manually. It worked until the end where it gave quite a bad error. I think one issue was version difference, the script mentions 0.8.10 but I seem to have 0.8.11. Would appreciate any help with setting this up.
keylie
He/Him
Editor, Emulator Coder, Expert player (2840)
Joined: 3/17/2013
Posts: 392
If you have Ubuntu 64-bit then yes, it is the second set of scripts that you need to perform. You are getting an error in the "alien" command? Could you post it here?
Editor, Active player (458)
Joined: 2/11/2018
Posts: 240
It is 64-bit. I closed the terminal since so I just have this screenshot.
keylie
He/Him
Editor, Emulator Coder, Expert player (2840)
Joined: 3/17/2013
Posts: 392
From the screenshot, it didn't work because you already installed gnash from the ubuntu repositories. You must first uninstall gnash (using synaptics for example) and relaunch the last command.
Editor, Active player (458)
Joined: 2/11/2018
Posts: 240
I tried removing gnash with apt-get. Then I ran the last line and it gave a similar error to before. I tried again and it didn't give an error but it seemed to end abruptly. If it did work, I don't know how to tell.
lexikiq
She/Her
Active player (400)
Joined: 8/13/2018
Posts: 109
Location: United States of America
uninstall gnash-common, and verify that you're on a 64-bit system because i'm not sure why you have 32-bit packages... (unless gnash is by default only available as 32 bit on ubuntu for some reason?) and to justify this necropost(ish), the x86_64 lib64agg2 link is dead, but this slightly older version (i think? 2.5-16 vs 2.5-17) seems to work fine: https://rpmfind.net/linux/mageia/distrib/6/x86_64/media/core/release/lib64agg2-2.5-16.mga6.x86_64.rpm and lastly, a question: any idea why sdl-gnash doesn't work on arch linux? i've got it compiled using the aur package but libTAS just fails to connect with no error
jmosx36
He/Him
Player (127)
Joined: 12/7/2013
Posts: 98
Location: Colombia
exists any way to run flash games in google chrome with libTAS? (firefox don't let to run flash files, or not in my case, maybe because i'm noob)
Currently making a route for Super Bomberman 5 200% TASes i'm planning: aero fighters, tg3000 (again), gradius 3, bust a move, bust a move plus, gradius rebirth, smg, smg2, mp9, gh3 (wii)
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
There's no way to TAS a browser. You have some game that doesn't run in gnash? Or a game that doesn't exist offline?
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
jmosx36
He/Him
Player (127)
Joined: 12/7/2013
Posts: 98
Location: Colombia
feos wrote:
You have some game that doesn't run in gnash?
I'm having problems to run gibbets 1-4 and fireboy & watergirl 1-4 on gnash ( i have all of these flash games offline)
Currently making a route for Super Bomberman 5 200% TASes i'm planning: aero fighters, tg3000 (again), gradius 3, bust a move, bust a move plus, gradius rebirth, smg, smg2, mp9, gh3 (wii)
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
It's a linux build of gnash, right? The windows build is terrible, the linux build works just like flashplayer 9.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
jmosx36
He/Him
Player (127)
Joined: 12/7/2013
Posts: 98
Location: Colombia
install-sdl-gnash-x86_64.sh & install-sdl-gnash-i586.sh are not working for me, when i finished the script installation, my gnash stopped working. So i'm trying another method to run flash games in libTAS, i used flash player standalone The only way i found to see something is Runtime -> Debug and check "Uncontrolled time" & "Native events" with time tracking = time(), but when i checked the play button see the terminal I don't know if is something i'm doing wrong or the libTAS isn't compatible (i'm still learning how to use ubuntu) EDIT: Also, gnash only works in very old flash files, games like gibbets or sugar sugar not works in gnash, that's why i'm trying with adobe flash player standalone
Currently making a route for Super Bomberman 5 200% TASes i'm planning: aero fighters, tg3000 (again), gradius 3, bust a move, bust a move plus, gradius rebirth, smg, smg2, mp9, gh3 (wii)
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Ignore gnash-sdl and libTAS and just see if that game works in regular gnash for linux.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
jmosx36
He/Him
Player (127)
Joined: 12/7/2013
Posts: 98
Location: Colombia
feos wrote:
Ignore gnash-sdl and libTAS and just see if that game works in regular gnash for linux.
This game works perfectly in flash player for windows, flash player for linux, but not for gnash linux, only old flash games works on gnash, actual games like these or the world's hardest game 3 don't works on gnash linux
Currently making a route for Super Bomberman 5 200% TASes i'm planning: aero fighters, tg3000 (again), gradius 3, bust a move, bust a move plus, gradius rebirth, smg, smg2, mp9, gh3 (wii)
lexikiq
She/Her
Active player (400)
Joined: 8/13/2018
Posts: 109
Location: United States of America
There's a relevant GitHub issue here: https://github.com/clementgallet/libTAS/issues/78 Flash player standalone won't work because it uses Qt (iirc) which isn't (and probably won't be?) supported by libTAS.
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Then you can run adobe flashplayer for linux (version 11.2.202.644 is the latest standalone 32-bit release for linux) on linux installed into PCem. Dacicus did tons of tests in that regard and proved that it works.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Editor, Player (69)
Joined: 6/22/2005
Posts: 1050
A correction: I got FP9 working in PCem. FP11 requires a CPU with SSE2 capabilities, and I don't believe PCem emulates any of those yet. FP10 also seems to require something more than PCem can handle. I did get FP11 working in QEMU using a hard disk image that I set up in PCem. This required the -cpu pentium3 argument to QEMU. FP10 required -cpu pentium2. EDIT: I've made a hard disk image with Tiny Core 7.0 installed and that includes the dependencies for both FP9 and FP11. It's about 30 MiB when archived with 7-Zip and expands to 200 MiB. By default, it loads the gtk2, Xprogs, Xvesa, and oss extensions that allow FP9 to work, including sound. The extensions and their dependencies are all available from the Tiny Core repository here. You'll need to provide FP itself and the game/movie. The image also loads a custom build of dwm 6.1 that defaults to the monocle layout so that FP (or whatever program) starts in a maximized window. The only change to dwm's source code was moving this line:
{ "[M]",      monocle },
before this one:
{ "[]=",      tile },    /* first entry is default */
in config.h. I also changed dwm's config.mk to say
FREETYPEINC = /usr/local/include/freetype2
as per the instructions available in this file, then commented out the OpenBSD FREETYPEINC line. I'll link the hard disk image unless someone has concerns about the legality of doing so. There will be a few steps necessary to set the screen resolution and actually start FP, but this should otherwise be ready for experimentation.
Current Projects: TAS: Wizards & Warriors III.
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
While we're here, here's the page where they provide archived versions: https://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html Direct link: https://fpdownload.macromedia.com/pub/flashplayer/installers/archive/fp_11.2.202.644_archive.zip File path: fp_11.2.202.644_archive.zip\11_2_r202_644_32bit\flashplayer11_2r202_644_linux_sa.i386.tar.gz\flashplayer.tar\flashplayer
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Editor, Player (69)
Joined: 6/22/2005
Posts: 1050
The hard disk image is available here. It's actually closer to 36.5 MiB; the previous version did not include Xorg. The disk geometry is indicated in its name. The archive includes a Readme.txt explaining how I made the image. In order to get FP working, you need to enter this in the command line in the home directory:
echo /path/to/flashplayer /path/to/game > .X.d/fp
You can change fp to some other file name. You should set your screen resolution and mouse details by running xsetup. Then just type startx and have fun. A few notes:
  • Tiny Core works in RAM and does not save many things to the hard disk when powering off. This means that most graphics settings, game settings, files created, etc. will be gone the next time you boot. Read the documentation at https://distro.ibiblio.org/tinycorelinux/ to learn how to save things between sessions.
  • The CD drive is usually /dev/sr0 in PCem.
  • You need to use sudo to mount and unmount.
  • Shift+Alt+Q quits dwm.
  • Ctrl+Alt+Backspace exits the X server and gets you back to the command line.
  • Remember that FP11 probably needs a more advanced processor than any currently emulated by PCem.
Current Projects: TAS: Wizards & Warriors III.
greysondn
They/Them
Joined: 4/29/2018
Posts: 44
@Feos: https://manpages.ubuntu.com/manpages/bionic/man1/dump-gnash.1.html ??? Implies "gnash-sdl" instead of "sdl-gnash", provided by gnash-common.
root@ork-VirtualBox:~# aptitude install gnash
The following NEW packages will be installed:
  gnash gnash-common{a} libboost-program-options1.65.1{a}
  libgif7{a} libjemalloc1{a} libsdl1.2debian{a}
...libsdl1.2debian is encouraging to see there in the requirements list...
root@ork-VirtualBox:~# sdl-gnash
sdl-gnash: command not found
... Surely they wouldn't lie? Baffling. What happened here?
root@ork-VirtualBox:~# which gnash
/usr/bin/gnash
Tried to tail/head for build symbols only to find out it's a shell script that wraps different versions of gnash. ... WHAT? Gist dump of that file: https://gist.github.com/greysondn/44575c4caa77a7bd630536da5c9c1f3f ... okay, let's look at that. Apparently according to that if we call "gnash -G list" it should list out available uis for us.
root@ork-VirtualBox:~# gnash -G list
Available guis:  gtk
SERIOUSLY?
root@ork-VirtualBox:~# ls /usr/bin | grep gnash
dump-gnash
gnash
gnash-gtk-launcher
gnash-thumbnailer
gtk-gnash
I think I just found one more reason to hate Ubuntu. The manpages are lying, and they're not even good at it. Yes, this happens even if you try to call down the man pages in your local Ubuntu install. Next step: Try to build sdl-gnash under Ubuntu. ----------- 7/12 01:55 Eastern US - I did get it to build. Renewed my package signing keys, opened a github so I could track the changes I make, and now I'm just chipping away at getting a proper deb built. Ubuntu's default config doesn't ship a .deb with it in it; I'd like to just ship one with only that in it. Working on it, working on it.
greysondn
They/Them
Joined: 4/29/2018
Posts: 44
So, if you're running ubuntu bionic (32-bit or 64-bit, doesn't matter) or anything based on it (Linux Mint Tessa, notably), "do I have something for you". I've pretty much been nonstop at working at getting a build running and in a PPA, and I seem to have conquered that much. (The Discord can tell you way too much flurry of activity and keeping an ongoing play by play has been going on with that front, but at least the community gets something out of it.) PPA is here: https://launchpad.net/~greysondn/+archive/ubuntu/tinatos I've pushed the source to the PPA if you wish to review it, but you can also get it from here (might be a bit behind the PPA as I build, ship, test, then tag and push changes): https://github.com/greysondn/gnash if you want to install this, then in Ubuntu Bionic it's:
sudo add-apt-repository ppa:greysondn/tinatos
sudo apt-get update
sudo apt-get install sdl-gnash
After which running should be as easy as calling sdl-gnash at the terminal. I'm more than happy to throw the build flag on versions of Ubuntu later than Bionic if anyone is running it. I don't want to struggle with earlier versions. I know that runs when installed into a clean Linux Mint Tessa x64 image. I've not tested x86 at all. If you hit problems, the best thing you can do is tell me. Run it from a terminal and tell me the error it hits. I won't be patching problems in gnash, but if I've messed up dependencies I can fix the package. (Think of me less as programmer on this one, more as packager. I just put it together in a useful form, I didn't write it.) If you hit problems and you installed previously via alien... Like, literally this is to avoid needing alien and the problems it can cause, can you just reinstall or undo that or whatever please? Debian users, you're welcome to try the .deb itself. You'll have to retrieve it manually and accept it as signed with an unverified key. [...] My package key is 2B416C0DC8370D269C512232C1D378BA1BAE8DCA ... server keyserver.ubuntu.com ... if you would rather have the ability to verify against it. [...] Any more than that you're on your own; I'm not struggling with Debian. I hope the package names match but can't guarantee it. (Ubuntu's package server indicates it's just upstream with a couple compat patches, so odds are good, actually, for once.) Technical users, the build-deps are overzealous. "Definitely buildable, almost definitely more than necessary." Trimming that down is one of my next goals, figure each time I build and test I'll trim it down a little more. Builds are presently dpkg-buildpackage -rfakeroot -S -kgreysondn@gmail.com ... followed by dput changes to repo where launchpad's build servers take over. Specific configure settings are stashed as part of debian/rules. A single line install def for package build exists at debian/sdl-gnash.install ; man link is defined in debian/sdl-gnash.links ... I've not added my name to the license files but I consider my work on package GPLv3 given upstream for same files was that. Way late edit: Improve PPA address endpoint.
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
It works! Thanks for all the help!
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Editor, Player (69)
Joined: 6/22/2005
Posts: 1050
In case anyone is interested, I made another hard disk image with Tiny Core 7.0 here. This one has a few boot choices to load different sets of dependencies, which should make it easier to test things. Readme.txt has more details. As before, you need to provide the FP executable and SWF files.
Current Projects: TAS: Wizards & Warriors III.
Banned User
Joined: 8/2/2017
Posts: 89
Location: Brazil
Unable to locate package sdl-gnash 🤦‍♂️
Cuphead TASes desyncs unfortunately.
Experienced player (544)
Joined: 5/12/2005
Posts: 707
Bluely wrote:
Unable to locate package sdl-gnash 🤦‍♂️
I haven't been on a Debian/Ubuntu based system for around 9-10 years but it seems your repositories are out of sync I believe. You could try to update your repositories/system first with 'apt-get update' as a super user.