Open guppy42 opened 6 years ago
New version here; https://goo.gl/gXBKhe
does not work on 32 bit ubuntu 16.04
Did you manually create the .deb or have created proper makefiles?
@masrourmouad How doesn't it work - do you get an error?
@MCMrARM I use a tool to create debs from binaries - this projects build chain is not really compatible with the "proper" tools - I'll post how once I've ironed out the kinks
i compiled the files but it give me a lot of errors , i used @guppy42 deb file it installed but it did not run. thanks
[ 3%] Linking CXX executable mcpelauncher
CMakeFiles/mcpelauncher.dir/hybris/src/hooks.c.o : Dans la fonction « my_pthread_attr_getstackaddr » :
hooks.c:(.text+0x43f): avertissement : the use of pthread_attr_getstackaddr' is deprecated, use
pthread_attr_getstack'
CMakeFiles/mcpelauncher.dir/hybris/src/hooks.c.o : Dans la fonction « my_pthread_attr_setstackaddr » :
hooks.c:(.text+0x41e): avertissement : the use of pthread_attr_setstackaddr' is deprecated, use
pthread_attr_setstack'
@masrourmouad please make a seperate issue for you compilations problems
please answer the following questions;
1- Gdebi 2- did not start 3- ---- |
---|
v
loading native libraries oslib: libGLESv2.so.2: 165006448 oslib: /home/momo/Téléchargements/mcpelauncher-linux-master/libs/native/libfmod.so.9.6: 165008440 oslib: libm.so.6: -1223675904 loading hybris libraries loading MCPE terminate called after throwing an instance of 'std::runtime_error' what(): Failed to find data file: libs/libminecraftpe.so Signal 6 received Backtrace elements: 13
Dumping stack... Signal 6 received
You are running the wrong file the deb installs into /usr/local/ you are running a.file in your downloads folder.
Just run "mcpelauncher" (sans quotes) In a terminal
done it it wont start /usr/local/bin/mcpelauncher: line 12: /usr/local/bin/mcpelauncher: Argument list too long /usr/local/bin/mcpelauncher: line 12: /usr/local/bin/mcpelauncher: Success
Not sure why your $@ would expand into too many parameters when it should be empty but it seems the launcher script isn't actually needed, try launching /usr/local/share/mcpelauncher/bin/mcpelauncher
directly
/usr/local/share/mcpelauncher/bin/mcpelauncher: error while loading shared libraries: libcef.so: cannot open shared object file: No such file or directory
Since I cannot replicate the behavior you will need to do a few tests;
Test 1
does mcpelauncher test
work or does it also give the "Argument list too long" error ?
Test 2
Since the path is known we can simplify the script a bit to ease debugging;
make a file in your home dir named mcpetest.sh
:
#!/usr/bin/env bash
DIR="/usr/local/share/mcpelauncher/bin"
export LD_LIBRARY_PATH="${DIR}:${LD_LIBRARY_PATH}"
"$DIR/mcpelauncher" "$@"
Then do chmod u+x mcpetest.sh
and run it ./mcpetest.sh
Test 3
if that still gives the "Argument list too long" error remove the "$@" part of the last line
Test 1 /usr/local/bin/mcpelauncher: line 12: /usr/local/bin/mcpelauncher: Argument list too long /usr/local/bin/mcpelauncher: line 12: /usr/local/bin/mcpelauncher: Success
Test 2
launcher started
game started
error
Dumping stack...
send http request destroying http request send http request destroying http request
Signal 6 received ./mcpetest.sh : ligne 4 : 11291 Abandon (core dumped) "$DIR/mcpelauncher" "$@"
wworks thanks
Looks like you got a crash with loads of boost errors - how did you make it work ?
the second time i run it it works
One more test and I'll leave you be :wink:
edit the file;
/usr/local/share/mcpelauncher/bin/start_mcpelauncher.sh
at the last line delete the word "exec" aswell as the space
and then run mcpelauncher
from the console to verify that it works ( this should also make the short cut in the menu work for you )
wont start
Thanks
there is a way to access the launcher
Decided to try this in case I'd built my version wrong (as the store doesn't work), here is what I got after installation:
dan@lavalamp:~/code/mcpe/mcpelauncher-linux$ sudo dpkg -l mcpelauncher-linux
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-====================-====================-===================================================================
ii mcpelauncher-linux:i386 1.2.8 i386 Linux launcher for android version of Minecraft
On the same system, the version I built myself mostly worked, including allowing me to connect to a pocket mine server.
A lot of people that really have no need to compile the source are having issues with it so I've tried to make a working .deb and I need some brave souls to test it.
If you don't already know there are 2 ways to install a .deb file
the hard / scary way
the first command will complain about broken dependencies the 2nd command will fix it
easy way install gdebi ( sudo
apt install gdebi
) and simply double click on the .deb for a nice non scary gui interfaceNote: this is an early version it still need to be launched from the command line, I will hopefully sometime figure out where vanilla Ubuntu stores it's menu items
Google drive link: https://drive.google.com/file/d/1AeghbKkC1ZN8hq7b-_sI6nSTysryNvxE/view