pixeltailgames / cinema

:movie_camera: Gamemode for Garry's Mod featuring multiplayer video streaming
http://www.pixeltailgames.com/cinema/
87 stars 63 forks source link

Doesn't detect Flash on Linux, outdated instructions. #125

Open madrang opened 8 years ago

madrang commented 8 years ago

This issue is still happening, https://github.com/pixeltailgames/cinema/issues/23 and the fix provided ingame http://cinema.pixeltailgames.com/flash.html is outdated.

After a lot of seaches online i found this hidden in the Steam Support DB https://support.steampowered.com/kb_article.php?ref=1493-GHZB-7612

Using Flash in Steam on 64-Bit Distributions On Ubuntu 12.04.1 (64-bit) the Flash player does not work when viewing trailers from the Store page. This also occurs on other 64-bit distributions and is related to the fact that Steam for Linux is a 32-bit application. The workaround is to provide the 32-bit version of the Flash plugin to the Steam client. The following procedure details the steps: Close Steam Download the install_flash_player_11_linux.i386.tar.gz package from the Adobe site Create a new directory (called plugins) in ~/.steam/bin Extract flashlibplayer.so from the downloaded package into the new plugins directory Restart Steam Note If you still get an error, you might need to install the libxt6:i386 package. For Ubuntu distributions, the command would be: sudo apt-get install libxt6:i386

But even that fails....

DaemonPlus commented 8 years ago

With a WHOLE lot of trial and error, I found that putting (or better yet, symlinking) libflashplayer.so in ~/.local/share/Steam/SteamApps/common/GarrysMod/bin/plugins/ works.

Well, "works". Flash content plays, but I still commonly get black screens on certain servers, as well as a lot of crash on connects (a lot of crashes in general). Unsure if that's related to anything besides GMod's weirdness or random server's poor quality... So, a fix? Kinda? Who knows.

WinterPhoenix commented 7 years ago

Linux and OS X aren't exactly in the best shape as far as GMod support goes and Awesomium being garbage combined with trying to play Flash content only really makes it worse, so.

I'm actually surprised you got Flash working on Linux again, to be honest.

ElectricPrism commented 7 years ago

@DaemonLee - Confirmed working on Archlinux.

cd ~/.local/share/Steam/steamapps/common/GarrysMod/bin/
mkdir -p plugins
sudo pacman -S lib32-flashplugin
ln -s /usr/lib32/mozilla/plugins/libflashplayer.so ~/.local/share/Steam/steamapps/common/GarrysMod/bin/plugins/libflashplayer.so

My steamapps folder was all lowercase, others might be "SteamApps"

Luraktinus commented 5 years ago

please add this to the instructions