mcef
mcef copied to clipboard
Expression of Interest (Linux)
I would like to voice my expression of interest of a linux version so i can use your mod WebDisplays natively on linux.
I am willing to test builds for you if/when you want/need it.
My system setup; Ubuntu 15.04, x64, 16GB ram, i7 Java JDK 8u51
Update: Since creating this issue my system is now the following; Arch, x64, 64GB RAM, AMD Ryzen 3900X AdoptJDK8(LTS)
Okay, I'll do it as soon as I'll be back home (in about 3 days). If I forget about it, please comment this post again ^^ thanks.
Hi, just a friendly "bump" to remind you @montoyo :smile:
Just commenting to show you that there are at least two people desperately waiting for a linux build. I already tried to do it myself but I failed to figure out what version of jcef I need to get the latest MC 1.7.10 version of mcef running.
Alright guys. I'm finishing up something and I'll try to do it today. If I don't post any news tomorrow at 5am (France's time) then kill me ;)
Nah no one will kill you lol
Its more to show that at least one (now two) people would be interested in linux capability for your mods thats all mate.
Usually when someone quotes a time its best if they state the time zone (UTC) they are in.
For example when you made your comment that was (approx) 8.55pm (UTC+10). If anyone else is watching this issue what @montoyo meant was 5am (UTC+2)
Okay :D I successfully compiled JCEF for linux64 today. Let me run some tests to make sure that everything is compatible with MCEF, and then compile it for linux32 too. If everything goes fine, I'll release it tomorrow!
Just a gentle "bump" to see how your getting on
Is there something that I can do to help @montoyo ?
Not trying to be pushy but the last comment was 10 days ago with your success with JCEF for linux x64
Hello Hello... :) Sorry if I didn't answer, studies resumed and I have been busy moving stuff to "my new home"... So uhm, as I said, compiling was the easy part. But there's a few problems with the linux port right now, that I need to fix:
- You have to copy icutdl.dat in your java/bin folder, which requires admin rights (not my bug: see https://bitbucket.org/chromiumembedded/java-cef/issues/109)
- Whenever a "web view" is destroyed, Minecraft crashes without any stacktrace or something that might help me... (I still don't know if it's my bug or JCEF's one)
Anyway, here's a little screenshot: http://montoyo.net/ShareX/MCEF%20Linux.png
You have to copy icutdl.dat in your java/bin folder, which requires admin rights
This is a little bit of a worry (only for security reasons). Couldn't minecraft (java) be executed with a "security" type flag? For example -Djava.security.policy=some.file
and some.file
has the required commands to allow loading of icutdl.dat from its default location?
Sorry if I didn't answer, studies resumed and I have been busy moving stuff to "my new home"...
I know exactly whats that like so I hear you
Just a gentle bump as it's been a month since any sort of update
Hello, I would like know when you will publish a version stable of JCEF. (Excuse me for spelling and grammar ,I do not speak really good English).
Any news on this @montoyo ? Been a while.
Hello, we're two years later, everything is fine :) I'm working on porting everything to 1.12.2, and re-writing WebDisplays. I didn't forget about the Linux port and will try to do it after I updated WebDisplays.
Thanks for your very very very good patience. P.S.: Didn't mean to close the issue, that's why I re-opened it. Sorry :/
Well I am very keen on seeing about getting this working on Linux if at all possible @montoyo
If i don't have to use my Win7 VM for gaming I won't. (bit off topic but if your curious as to how google for "arch pci passthrough" and you'll see it is possible)
I have gotten a 1.12.2 version to build for linux64 but I was curious if there was a way to get 1.7.10?
He doesn't plan to support 1.7.10 since backporting from 1.12.2 to 1.7.10 would require a complete rewrite. You should make a pull request since this mod could definitely use linux support. I'm curious to know how you got it working.
I'd also like to see Linux support.
@montoyo Can you say my when you release mcef for Linux? Thank you, webdisplayfan
Dont worry about it then Ill fine some OTHER MOD F U!!!
Dont worry about it then Ill fine some OTHER MOD F U!!!
Seriously @FrankiMC ? You resort to abuse to someone that is doing this out of their own free will for others enjoyment?!
You are an immature ungrateful brat.
FrankiMC, why did not you insult people on your Askubuntu's 1139927 post as well since you have not had an answer either ? I have reported you. Minecraft community do not want such behavior. montoyo did an incredible job, point.
Since I'm noticing more activity on here, and the fact that @binary1230's pull request was finally closed, is it safe to assume that linux is now supported, or is close to being supported? If not, what can I do to help diagnose any remaining issues?
Got MCEF working on linux 64 bits. However, there's a caveat: the user HAS to modify LD_LIBRARY_PATH on his own...
Thats quite simple to do with MultiMC - see https://github.com/MultiMC/MultiMC5/wiki/Java-settings#custom-commands
@montoyo What exactly does LD_LIBRARY_PATH need to be set to? How should it be set? Why does it need to be manually set?
@spannerman79 That sounds good @Tank-Missile You need to append the Minecraft folder to LD_LIBRARY_PATH. It has to be manually set because changing it at runtime has no effect (as far as I know, but I'll try to do it, just in case...), so you need to set it before you start Minecraft. This would look like this:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/.minecraft
java -jar ./minecraft.jar #Or whatever the command is to start Minecraft on your linux...
But please note that this won't work yet since I haven't uploaded the linux-compiled binaries. First I need to make sure everything is working properly (including keyboard input; which apparently doesn't work well even on Windows)
Reference: From the MultiMC discord; https://discordapp.com/channels/132965178051526656/134843027553255425/471558931660144640
wrapper script with the following possible env vars;
# Set up env - filter out input LD_ variables but pass them in under different names
export GAME_LIBRARY_PATH=${GAME_LIBRARY_PATH-${LD_LIBRARY_PATH}}
export GAME_PRELOAD=${GAME_PRELOAD-${LD_PRELOAD}}
export LD_LIBRARY_PATH="${MMC_DIR}/bin":$MMC_LIBRARY_PATH
export LD_PRELOAD=$MMC_PRELOAD
This is quite exciting to hear! I eagerly await the binaries.
I am really happy to hear that ! Thank you