GithubHelp home page GithubHelp logo

mhsjlw / mcpelauncher Goto Github PK

View Code? Open in Web Editor NEW
12.0 7.0 0.0 4.53 MB

Launch MCPE on macOS! (archived-- has been merged back upstream)

License: Other

CMake 1.84% Shell 0.30% C 65.69% Assembly 0.33% Makefile 0.05% C++ 30.75% JavaScript 0.17% HTML 0.66% CSS 0.22%
macos minecraft-pocket-edition launcher minecraft-launcher

mcpelauncher's Issues

Master Issue

  • Keyboard controls
  • Mouse sensitivity
  • Paste
  • Stack corruption when loading worlds
  • Worlds are not saved
  • Instructions for installation
    ...

And when that's all done, let's get this merged upstream!

Followed guide, can't start.

When I run ./start_mcpelauncher.sh I get this error:

loading native libraries
oslib: 2064786064
oslib: libm.dylib: 2597724
loading hybris libraries
loading MCPE
libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: Failed to find data file: libs/libminecraftpe.so
Signal 6 received
Backtrace elements: 11
#0 0   mcpelauncher                        0x0010c822 _Z12handleSignaliPv + 178
#1 1   libsystem_platform.dylib            0xa18c8e5b _sigtramp + 43
#2 2   ???                                 0xffffffff 0x0 + 4294967295
#3 3   libsystem_c.dylib                   0xa174ea34 abort + 141
#4 4   libc++abi.dylib                     0xa0333df7 __cxa_bad_cast + 0
#5 5   libc++abi.dylib                     0xa0354371 _ZL25default_terminate_handlerv + 244
#6 6   libc++abi.dylib                     0xa0351551 _ZSt11__terminatePFvvE + 14
#7 7   libc++abi.dylib                     0xa0350f7b _ZN10__cxxabiv1L22exception_cleanup_funcE19_Unwind_Reason_CodeP17_Unwind_Exception + 0
#8 8   mcpelauncher                        0x0016380f _ZN10PathHelper12findDataFileERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE + 8783
#9 9   mcpelauncher                        0x000f55e2 main + 3826
#10 10  libdyld.dylib                       0xa16bf395 start + 1
Dumping stack...
Signal 6 received
./start_mcpelauncher.sh: line 8: 27767 Abort trap: 6           ./build/mcpelauncher

How can I go about fixing this?

"x86 MCPE .apk" ?

I followed your procedure, but I'm still stuck for how to get "x86 MCPE .apk"

pthread.h & Threads issue

When compiling on ElementaryOS, I've gotten an error when running cmake that pthread.h cannot be found.

Error:
-- Looking for pthread.h - not found
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.5/Modules/FindThreads.cmake:223 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:27 (find_package)

-- Configuring incomplete, errors occurred!

cmake error:
Determining if the include file pthread.h exists failed with the following output:
Change Dir: /home/drew/Downloads/mcpelauncher-mac/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_ac1b1/fast"
/usr/bin/make -f CMakeFiles/cmTC_ac1b1.dir/build.make CMakeFiles/cmTC_ac1b1.dir/build
make[1]: Entering directory '/home/drew/Downloads/mcpelauncher-mac/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ac1b1.dir/CheckIncludeFile.c.o
/usr/bin/cc -m32 -Wl,-U,_BZ2_bzCompress -Wl,-U,_BZ2_bzCompressEnd -Wl,-U,_BZ2_bzCompress -Wl,-U,_BZ2_bzCompressEnd -Wl,-U,_BZ2_bzCompressInit -Wl,-U,_BZ2_bzDecompress -Wl,-U,_BZ2_bzDecompressEnd -Wl,-U,_BZ2_bzDecompressInit -Wno-unused-command-line-argument -o CMakeFiles/cmTC_ac1b1.dir/CheckIncludeFile.c.o -c /home/drew/Downloads/mcpelauncher-mac/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_ac1b1
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ac1b1.dir/link.txt --verbose=1
/usr/bin/cc -m32 -Wl,-U,_BZ2_bzCompress -Wl,-U,_BZ2_bzCompressEnd -Wl,-U,_BZ2_bzCompress -Wl,-U,_BZ2_bzCompressEnd -Wl,-U,_BZ2_bzCompressInit -Wl,-U,_BZ2_bzDecompress -Wl,-U,_BZ2_bzDecompressEnd -Wl,-U,_BZ2_bzDecompressInit -Wno-unused-command-line-argument CMakeFiles/cmTC_ac1b1.dir/CheckIncludeFile.c.o -o cmTC_ac1b1 -rdynamic
/usr/bin/ld: cannot find _BZ2_bzCompress: No such file or directory
/usr/bin/ld: cannot find _BZ2_bzCompressEnd: No such file or directory
/usr/bin/ld: cannot find _BZ2_bzCompress: No such file or directory
/usr/bin/ld: cannot find _BZ2_bzCompressEnd: No such file or directory
/usr/bin/ld: cannot find _BZ2_bzCompressInit: No such file or directory
/usr/bin/ld: cannot find _BZ2_bzDecompress: No such file or directory
/usr/bin/ld: cannot find _BZ2_bzDecompressEnd: No such file or directory
/usr/bin/ld: cannot find _BZ2_bzDecompressInit: No such file or directory
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_ac1b1.dir/build.make:97: recipe for target 'cmTC_ac1b1' failed
make[1]: *** [cmTC_ac1b1] Error 1
make[1]: Leaving directory '/home/drew/Downloads/mcpelauncher-mac/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_ac1b1/fast' failed
make: *** [cmTC_ac1b1/fast] Error 2

On start via ./mcpe_startlauncher.sh

loading native libraries oslib: 2030569248 oslib: libm.dylib: 2954116 loading hybris libraries loading MCPE libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: Failed to find data file: libs/libminecraftpe.so Signal 6 received Backtrace elements: 11 #0 0 mcpelauncher 0x00089192 _Z12handleSignaliPv + 178 #1 1 libsystem_platform.dylib 0xa1746e5b _sigtramp + 43 #2 2 ??? 0xffffffff 0x0 + 4294967295 #3 3 libsystem_c.dylib 0xa15cca34 abort + 141 #4 4 libc++abi.dylib 0xa01b1df7 __cxa_bad_cast + 0 #5 5 libc++abi.dylib 0xa01d2371 _ZL25default_terminate_handlerv + 244 #6 6 libc++abi.dylib 0xa01cf551 _ZSt11__terminatePFvvE + 14 #7 7 libc++abi.dylib 0xa01cef7b _ZN10__cxxabiv1L22exception_cleanup_funcE19_Unwind_Reason_CodeP17_Unwind_Exception + 0 #8 8 mcpelauncher 0x000e017f _ZN10PathHelper12findDataFileERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE + 8783 #9 9 mcpelauncher 0x00071e32 main + 3826 #10 10 libdyld.dylib 0xa153d395 start + 1 Dumping stack... Signal 6 received ./start_mcpelauncher.sh: line 8: 10515 Abort trap: 6 ./build/mcpelauncher $@

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.