Facepunch / garrysmod-requests

Feature requests for Garry's Mod
84 stars 24 forks source link

Replace Awesomium #531

Closed DarthTealc closed 8 years ago

DarthTealc commented 9 years ago

Awesomium is based on Chrome/Chromium 18 AFAIK. That's way too old. And there's no indication they're going to fix that any time soon.

Can Awesomium please be replaced with a more up-to-date browser implementation? For example "Chromium Embedded Framework" which is used in Steam.

WinterPhoenix commented 8 years ago

It seems as though @willox has stepped up to the plate! https://facepunch.com/showthread.php?t=1497739&p=49580543&viewfull=1#post49580543

Velkon commented 8 years ago

:late:

rafitamolin commented 8 years ago

PLEASE

WinterPhoenix commented 8 years ago

Cinema can no longer use the old (deprecated) YouTube player reliably to get around videos having a maximum resolution of 360p. Which means we're now effectively stuck at 360p/stuck with that weird 3D glitch that sometimes happens as a result, for YouTube, unless Awesomium is replaced.

More here: https://facepunch.com/showthread.php?t=1516664&p=50564400#post50564400

Shigbeard commented 8 years ago

Yes, I think its time to bring this issue back to the spotlight. Bumping this for more attention.

cannon commented 8 years ago

Needs to be fixed ASAP. YouTube is on the edge of completely ceasing to work, which breaks numerous addons as well as the entire cinema gamemode.

meepen commented 8 years ago

Wait, if youtube breaks this means an end to bad youtube music on loading screens! WE MUST STAY HOW IT IS!

Shigbeard commented 8 years ago

It wont fix it, you can still play audio files anyway. Better to force mute audio in loading screens.

On 22/06/2016 6:15 PM, Meepen wrote:

Wait, if youtube breaks this means an end to bad youtube music on loading screens! WE MUST STAY HOW IT IS!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Facepunch/garrysmod-requests/issues/531#issuecomment-227674123, or mute the thread https://github.com/notifications/unsubscribe/AEEJt5_4T_D7T2K89zkhe2TChrmCPXyEks5qOO81gaJpZM4FVA2D.

Digiquo commented 8 years ago

If Cerealbox is kill, we can't get our dank memes. #replaceawesomium

garrynewman commented 8 years ago

This ain't gonna happen

rafitamolin commented 8 years ago

savage asf

bmwalters commented 8 years ago

@garrynewman Do you have any specific reasons for this? As far as I've seen @willox has some really great progress with his CEF implementation.

I mean just look at this @garrynewman!

It's really unfortunate that we have this huge limitation of missing web standards support in an otherwise extraordinarily flexible platform.

aStonedPenguin commented 8 years ago

This ain't gonna happen

im glad you care

comentarinformal commented 8 years ago

So much for the guy who, four days ago, said on his blog

When we release a game our long term plan is to update it and improve it. This works because our games are all multiplayer or sandbox games. And so far it’s turned out to be a financially sound strategy, with our games eventually selling more and more each year.

AusHick commented 8 years ago

Fucking top notch development oversight. Was doing much better before.

drizmans commented 8 years ago

@garrynewman who are you?

cannon commented 8 years ago

keemstar

Garry will change his mind when YouTube ceases to work entirely.

Shigbeard commented 8 years ago

Holy shit did garry literally just say "fuck you we aint fixing something thats broken"? I think I now understand why Rust is still in early access.

No but seriously, @garrynewman You gain no benefit at all by shooting down this massive request. By refusing to replace an out of date and unsupported feature in Garry's Mod, you are essentially saying you couldn't give two shits about the game.

If Awesomium ISN'T replaced, here is what will happen. Cinema servers around the world would cease to function correctly, if at all. Server's with addons that play videos or music for players (Which is quite a lot) will need to remove those addons as they would no longer function. These addon developers, who have done the best they can do with the limited resources you have given them, will be unable to respond to the mass overflow of messages that basically say "Halp my videos arent working". They won't be able to fix it. Instead, they will be forced to say "I'd love to be able to fix it, but @garrynewman won't replace Awesomium despite it being years out of date"

Willox made a ton of progress on it. He had fucking Quake playing in GMOD! Can you imagine the sort of content that could be made with CEF? HD cinema servers, arcade machines that don't use a really laggy version of flash games, it'd be heaps better! Don't stifle creativity, encourage it. You can only benefit from supporting this issue. You won't benefit from denying it.

Kefta commented 8 years ago

Because insulting him will change everything

Shigbeard commented 8 years ago

I've actually been editing my message for the past 10 minutes @Kefta

drizmans commented 8 years ago

@Shigbeard preach it

AkikoKumagara commented 8 years ago

I wish we'd have gotten a reason at the very least to explain this decision. If, and it's a big if, Awesomium ever gets updated to a reasonably recent version of Chromium, that'd be a fine alternative too, but the reason we all are for CEF is that it is maintained and kept up-to-date; something the developers behind Awesomium haven't been known for lately...

cannon commented 8 years ago

Alternate idea: bug, or possibly pay, the developers of awesomium to update their platform.

Kefta commented 8 years ago

Or just contribute to the CEF module

Shigbeard commented 8 years ago

The one that keeps crashing?

Kefta commented 8 years ago

Yes

Bo98 commented 8 years ago

Alternate idea: bug, or possibly pay, the developers of awesomium to update their platform.

They claimed that they would release v1.7.6 in "a few days". That was 3 weeks ago though.

Though I won't be surprised if its Chromium backend is not getting updated until v2.0 - a version which they've been claiming to be working on for over a year. But remember, if it updates too far then we won't even be able to use it due to the lack of OS X 32-bit support and XP + Vista support as I doubt Awesomium will add that back into the Chromium backend. 2.0 will probably have an upgrade price tag too if that's a problem at all.

ghost commented 8 years ago

Vimeo stopped working, and Blip is now redirecting to maker.tv which is not supported by cinema. Is there a way to play video files stored on my shared hosting account? Because I've tried several times and the button never gets red on cinema. Thanks

neico commented 8 years ago

This isn't really the right place for cinema gamemode related support... https://github.com/pixeltailgames/cinema

ghost commented 8 years ago

@neico Well it's mostly dead there, and if the browser was changed to chromium vimeo would work again.

neico commented 8 years ago

that's not really what you were talking about though. And as long as @willox doesn't come up with something in this regard (be it a possible alternative like cef of steam's html surface, or even just a message that overthrows garry's statement) it won't happen...

Shigbeard commented 8 years ago

Unless willox magically makes CEF cheap and 32 bit OS X compatible, it won't happen.

gamerpaddy commented 8 years ago

Stfu fuckers

60percentCaffeine commented 8 years ago

Just tell all your players to install this: https://github.com/lunation/Awesomium-Killer-2.0 . Currently it crashes your game every hour or two, but you can always contribute and fix this.

Also, implementing Steam's HTTP as an alternative to Awesomium is a good idea - I think it's free (am I right?). Help us, our god @willox !

neico commented 8 years ago

I actually tried to tackle the steam api one a while ago, even with some help I wasn't able to get it to render onto the vgui texture, might be partly because some sdk interfaces were changed in gmod (that would require some serious reverse engineering to fix), might be because I fucked something up somewhere.

Also, imo such "killers" are cancer, first of it's replacing a dll with fake content (in this case replacing one infrastructure with a different one, most likely causing all sorts of clashes), making the already unstable html stuff even more wibble-wobble. Then there's the aspect of it being killed of by verify steam cache and possibly updates. And maintainable code looks different...

Then there's also the aspect that raw CEF can't play proprietary codecs like h264 or mp3 due to licensing yatta yatta. Steam's HTMLSurface has those licenses covered though and therefore has native access to those codecs so it's the best way to go regarding things like cinema.

60percentCaffeine commented 8 years ago

@neico Of course Steam HTML will be better, but currently we're stuck with CEF by this cool guy. YouTube already provides .webm videos, so we can safely play them using CEF.

benrob0329 commented 8 years ago

Another option would be to use a striped down vertion of Chromium, like what Electron does: https://github.com/electron/electron

SpencerSharkey commented 8 years ago

this is pathetic

Shigbeard commented 8 years ago

I've said it before and I'll keep on saying it. Garry's only mission in life regarding garry's mod is to come back from rust every 3 to 6 months to take a massive dump on whoever is actually doing a massive project on gmod to change it (such as server browser or awsomium) to the tune of "this aint happening"

Adam759 commented 7 years ago

Now sitting here in Feb 2017 still waiting for at least HTML5 support. With the way things are going HTML5 will be everywhere, and already is. Is it really that much to ask for to update it to support something so crucial and current?

Rusketh commented 7 years ago

This would only benefit the community over all. Can somebody from face punch just get this done and lets move on with our lives. PLEASE!

Shigbeard commented 7 years ago

It won't happen because Badintosh users, or to be more precise: "Mac OS doesn't support CEF, and as gmod is advertised as available on Mac, a core feature that isn't supported on Mac cannot be added to the game."

I believe it has something to do with 64bit.

Jake3231 commented 7 years ago

I personally play Garry's Mod on my Mac, and supporting only 64-bit is an issue. To be fair, it's not the fault of the users, but it is annoying that the Mac version of the game does not support 64-bit. This has caused the game to hit it's memory limit quite a few times, and now it seems that it can't even support CEF. I agree that we need something new, but this brings up a whole new issue about improving the Mac's compatibility.

Adam759 commented 7 years ago

There has to be something that is cross compatible with Mac and Windows that can be integrated. For how many issues there are right now I am astonished this issue hasn't been looked at more.

Turbine1991 commented 6 years ago

Could we please get some fresh eyes on this issue?

Chrome 18 is dated (2012), this thread is from 2015 - The web has crept on a lot since then.

When one has to employ workarounds (albeit simple) to get some fundamental web advances such as 'display: flex;' to work, you know this is a pressing issue. 49 stable milestone releases have been pushed since.

I cannot stress enough, please spend the time to replace Awesomium, it's one change which can be justified.

handsomematt commented 6 years ago

https://gmod.facepunch.com/commits/

There is a work in progress branch to replace Awesomium.

Ajbolitt76 commented 6 years ago

@willox will facepunch replace awesomium at next update? The chromium branch looks stable.

AkikoKumagara commented 6 years ago

Chromium is updated and maintained in the same branch as 64-bit builds now from what I can tell from commit logs. https://gmod.facepunch.com/commits This is not something we have access to yet to really know for sure what it's about, so I guess we'll see.

ShoryuKyzan commented 6 years ago

Hell, i'd be willing to do this bit of work. so long as facepunch is willing to release it! (i'm a 10+ year professional software developer)

lewisakura commented 6 years ago

Just want to chip in here.

Awesomium is dead. The last update was in 2015 and their website has dropped off the grid and if you go to it it's just a redirect to https://ultralig.ht/ (another Awesomium-like library). At the current point in time, we're on our own. Awesomium has no support and we currently have to downgrade all our sites that we want to use with it just to get it to work properly, like loading screens. This is a big restraint and holds back our creativity. If Garry's Mod keeps using Awesomium, there's going to be a lot of issues when the next generation of websites come rolling in.

I want CEF as soon as possible, and I think many people can agree with me on that statement.