•     Please make sure you check the Support FAQ and relevant Guides before you create a new thread in this section!

[SOLVED] Problems with getting mb2 to run with mac

Gargos

Donator
Movie Battles II Team
Posts
574
Likes
1,189
Yo,

Trying to get the game work with my laptop but I keep running into problems.

1. Mono is downloaded and installed, yet I can't open launcher due to mac not supporting programs meant for windows.
2. I have bought JKA version on steam (I read the instructions and it is talking about PHYSICAL copy, is that just a mistake or does it really take an actual PHYSICAL copy to play this game on mac?)
3. I found the jedi academy folder in my library as instructed, but I have problems finding it when I need to choose the location for the app that launches MBII automatically. I do find library and application support but jedi academy folder is not there. I tried copying the path by going there through finder but that didn't help either so I am not able to install the program.

It could be that I am just dumb since I never use macs. So if you are able to help me, plz explain very clearly because I am a windows fag who is forced to play this game on a mac laptop for the next 4 months okthx.

Hope some1 can help, thanks in advance.
 

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,493
1. Mono is downloaded and installed, yet I can't open launcher due to mac not supporting programs meant for windows.
Having Mono installed won't make your MacOS launch .exe files.
You must start Mono explicitly, passing path to Win32/.NET application as a command line parameter.
That's described in Installation & Troubleshooting Guide:
Open Terminal, and enter in the following, again depending on the version of Jedi Academy you're running:
Code:
cd ~/Library/Application\ Support/Jedi\ Academy; mono ./MBIILauncher.exe
2. I have bought JKA version on steam (I read the instructions and it is talking about PHYSICAL copy, is that just a mistake or does it really take an actual PHYSICAL copy to play this game on mac?)
No, you no need CD to play mb2 on mac. Steam is fine.
Even though guide uses word 'physical', it is still very clear about you can use Steam JA on Mac.
3. I found the jedi academy folder in my library as instructed, but I have problems finding it when I need to choose the location for the app that launches MBII automatically. I do find library and application support but jedi academy folder is not there. I tried copying the path by going there through finder but that didn't help either so I am not able to install the program.
If there is no "Jedi Academy" inside of "~/Library/Application Support", create it by yourself.

Please notice that I'm referring to "~/Library/Application Support", not to "/Library/Application Support".
"~/Library/Application Support" is alias to "/Users/YOUR_NAME/Library/Application Support".

To start MBII once it's installed, you should use JKJALaunch:
Redsaurus has provided us with an application for Mac that launches straight to MBII, JKJALauncher.app (you can download that here or here). You will need to launch it the first time holding the shift key to configure it by adding "+set fs_game MBII" in its setup.
 
Last edited:

Gargos

Donator
Movie Battles II Team
Posts
574
Likes
1,189
Man this is what I hate about macs, I have so much hard time finding the program that I just installed. I have no idea where this mono program is, it is not found in applications that were installed recently. It is not found in library where it claims it will install frameworks folder (says the path would be library/frameworks/... but there is no such folder there). I even tried to move straight into a folder called frameworks but that doesn't exist. I tried installing the program again but still, nothing.
 

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,493
Man this is what I hate about macs, I have so much hard time finding the program that I just installed. I have no idea where this mono program is, it is not found in applications that were installed recently. It is not found in library where it claims it will install frameworks folder (says the path would be library/frameworks/... but there is no such folder there). I even tried to move straight into a folder called frameworks but that doesn't exist. I tried installing the program again but still, nothing.
But why do you even want to find a Mono?
I think you no need to deal with folders for Mono after you've installed it, you need only place MBIILauncher.exe to a correct folder, as I've described already.
Have tried typing this, literally?:
Code:
cd ~/Library/Application\ Support/Jedi\ Academy; mono ./MBIILauncher.exe
What's happening when you type it in a console? Any error messages?
 

Gargos

Donator
Movie Battles II Team
Posts
574
Likes
1,189
But why do you even want to find a Mono?
I think you no need to deal with folders for Mono after you've installed it, you need only place MBIILauncher.exe to a correct folder, as I've described already.
Have tried typing this, literally?:
Code:
cd ~/Library/Application\ Support/Jedi\ Academy; mono ./MBIILauncher.exe
What's happening when you type it in a console? Any error messages?
Okey I had understood the instructions wrong. Now I put the code into terminal yet still I cannot open the launcher. This is what I get:
Got a SIGABRT while executing native code. This usually indicates'a fatal error in the mono runtime or one of the native libraries used by your application.
 

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,493
Okey I had understood the instructions wrong. Now I put the code into terminal yet still I cannot open the launcher. This is what I get:
Got a SIGABRT while executing native code. This usually indicates'a fatal error in the mono runtime or one of the native libraries used by your application.
Is that all text you've got? If there is more, copy everything here.
Are you sure you did put "MBIILauncher.exe" into "/Users/YOUR_NAME/Library/Application Support/Jedi Academy"?
 

Gargos

Donator
Movie Battles II Team
Posts
574
Likes
1,189
hmmm I wonder if a lot of problems are caused by the fact that I use a username meant for me but I always have to confirm installations with my dad's username and password? Tho it probably shouldn't, anyways jedi academy folder exists in a path which goes through my username, and my launcher is inside that jedi academy folder.

here is everything:
Last login: Sun Aug 14 16:27:03 on ttys000

wifi-bsuguest-10-3-100-245:~ lauri$ cd ~/Library/Application\ Support/Jedi\ Academy; mono ./MBIILauncher.exe

Unknown heap type: #Schema


* Assertion at metadata.c:949, condition `index < meta->heap_strings.size' not met



Native stacktrace:


0 mono 0x001703d6 mono_handle_native_sigsegv + 342

1 mono 0x001c32a1 sigabrt_signal_handler + 145

2 libsystem_platform.dylib 0x9c64679b _sigtramp + 43

3 ??? 0xffffffff 0x0 + 4294967295

4 libsystem_c.dylib 0x92cf0c34 abort + 156

5 mono 0x003271b1 monoeg_log_default_handler + 129

6 mono 0x003272ab monoeg_assertion_message + 107

7 mono 0x0022a659 mono_metadata_string_heap + 73

8 mono 0x00203b88 do_mono_image_load + 232

9 mono 0x00204104 do_mono_image_open + 404

10 mono 0x0020342f mono_image_open_full + 271

11 mono 0x00204160 mono_image_open + 32

12 mono 0x00287dfb mono_init_internal + 1435

13 mono 0x00289358 mono_init_from_assembly + 24

14 mono 0x000b3bd1 mini_init + 993

15 mono 0x001361d5 mono_main + 5365

16 mono 0x000a76c1 main + 1217

17 mono 0x000a71f5 start + 53


Debug info from gdb:


(lldb) command source -s 0 '/tmp/mono-gdb-commands.a27Ij4'

Executing commands in '/tmp/mono-gdb-commands.a27Ij4'.

(lldb) process attach --pid 5272

Process 5272 stopped

* thread #1: tid = 0x14600, 0x9c730cee libsystem_kernel.dylib`__wait4 + 10, name = 'tid_50b', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP

frame #0: 0x9c730cee libsystem_kernel.dylib`__wait4 + 10

libsystem_kernel.dylib`__wait4:

-> 0x9c730cee <+10>: jae 0x9c730cfe ; <+26>

0x9c730cf0 <+12>: calll 0x9c730cf5 ; <+17>

0x9c730cf5 <+17>: popl %edx

0x9c730cf6 <+18>: movl 0x758c32f(%edx), %edx


Executable module set to "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono".

Architecture set to: i386-apple-macosx.

(lldb) thread list

Process 5272 stopped

* thread #1: tid = 0x14600, 0x9c730cee libsystem_kernel.dylib`__wait4 + 10, name = 'tid_50b', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP

thread #2: tid = 0x14602, 0x9c7303ea libsystem_kernel.dylib`__psynch_cvwait + 10

(lldb) thread backtrace all

* thread #1: tid = 0x14600, 0x9c730cee libsystem_kernel.dylib`__wait4 + 10, name = 'tid_50b', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP

* frame #0: 0x9c730cee libsystem_kernel.dylib`__wait4 + 10

frame #1: 0x92d107dc libsystem_c.dylib`waitpid$UNIX2003 + 48

frame #2: 0x0017049d mono`mono_handle_native_sigsegv(signal=6, ctx=0xbff5b5fc, info=0xbff5b5bc) + 541 at mini-exceptions.c:2348 [opt]

frame #3: 0x001c32a1 mono`sigabrt_signal_handler(_dummy=<unavailable>, _info=<unavailable>, context=<unavailable>) + 145 at mini-posix.c:218 [opt]

frame #4: 0x9c64679b libsystem_platform.dylib`_sigtramp + 43

frame #5: 0x9c730573 libsystem_kernel.dylib`__pthread_kill + 11

frame #6: 0x97a56654 libsystem_pthread.dylib`pthread_kill + 101

frame #7: 0x92cf0c34 libsystem_c.dylib`abort + 156

frame #8: 0x003271b1 mono`monoeg_log_default_handler(log_domain=<unavailable>, log_level=<unavailable>, message=<unavailable>, unused_data=<unavailable>) + 129 at goutput.c:233 [opt]

frame #9: 0x003272ab mono`monoeg_assertion_message [inlined] monoeg_g_logv(log_level=G_LOG_LEVEL_ERROR, format=<unavailable>) + 85 at goutput.c:113 [opt]

frame #10: 0x00327256 mono`monoeg_assertion_message(format=<unavailable>) + 22 at goutput.c:133 [opt]

frame #11: 0x0022a659 mono`mono_metadata_string_heap(meta=<unavailable>, index=<unavailable>) + 73 at metadata.c:949 [opt]

frame #12: 0x00203b88 mono`do_mono_image_load [inlined] mono_image_load_names(image=0x0032724c) + 54 at image.c:994 [opt]

frame #13: 0x00203b52 mono`do_mono_image_load(image=<unavailable>, status=<unavailable>, care_about_cli=<unavailable>, care_about_pecoff=<unavailable>) + 178 at image.c:1092 [opt]

frame #14: 0x00204104 mono`do_mono_image_open(fname=<unavailable>, status=<unavailable>, care_about_cli=<unavailable>, care_about_pecoff=<unavailable>, refonly=<unavailable>, metadata_only=<unavailable>) + 404 at image.c:1165 [opt]

frame #15: 0x0020342f mono`mono_image_open_full(fname=<unavailable>, status=0x00000000, refonly=<unavailable>) + 271 at image.c:1454 [opt]

frame #16: 0x00204160 mono`mono_image_open(fname="./MBIILauncher.exe", status=0x00000000) + 32 at image.c:1474 [opt]

frame #17: 0x00287dfb mono`mono_init_internal [inlined] get_runtimes_from_exe + 239 at domain.c:1912 [opt]

frame #18: 0x00287d0c mono`mono_init_internal(filename=<unavailable>, exe_filename=<unavailable>, runtime_version=<unavailable>) + 1196 at domain.c:546 [opt]

frame #19: 0x00289358 mono`mono_init_from_assembly(domain_name="./MBIILauncher.exe", filename="./MBIILauncher.exe") + 24 at domain.c:900 [opt]

frame #20: 0x000b3bd1 mono`mini_init(filename=<unavailable>, runtime_version=<unavailable>) + 993 at mini-runtime.c:3602 [opt]

frame #21: 0x001361d5 mono`mono_main(argc=2, argv=0xbff5b818) + 5365 at driver.g.c:2015 [opt]

frame #22: 0x000a76c1 mono`main [inlined] mono_main_with_options(argc=2, argc=2, argc=2, argv=0xbff5bbd8, argv=0xbff5bbd8, argv=0xbff5bbd8) + 33 at main.c:28 [opt]

frame #23: 0x000a76a0 mono`main(argc=2, argv=0xbff5bbd8) + 1184 at main.c:177 [opt]

frame #24: 0x000a71f5 mono`start + 53


thread #2: tid = 0x14602, 0x9c7303ea libsystem_kernel.dylib`__psynch_cvwait + 10

frame #0: 0x9c7303ea libsystem_kernel.dylib`__psynch_cvwait + 10

frame #1: 0x97a54538 libsystem_pthread.dylib`_pthread_cond_wait + 757

frame #2: 0x97a56276 libsystem_pthread.dylib`pthread_cond_wait$UNIX2003 + 71

frame #3: 0x002f028b mono`thread_func [inlined] mono_os_cond_wait(mutex=0xb00810b0) + 18 at mono-os-mutex.h:105 [opt]

frame #4: 0x002f0279 mono`thread_func(thread_data=0x00000000) + 457 at sgen-thread-pool.c:118 [opt]

frame #5: 0x97a53780 libsystem_pthread.dylib`_pthread_body + 138

frame #6: 0x97a536f6 libsystem_pthread.dylib`_pthread_start + 155

frame #7: 0x97a50f7a libsystem_pthread.dylib`thread_start + 34

(lldb) detach


=================================================================

Got a SIGABRT while executing native code. This usually indicates

a fatal error in the mono runtime or one of the native libraries

used by your application.

=================================================================


Process 5272 detached

(lldb) quit

Abort trap: 6

wifi-bsuguest-10-3-100-245:Jedi Academy lauri$

wifi-bsuguest-10-3-100-245:Jedi Academy lauri$

- - - Updated - - -

Simple solution @Gargos get a PC.
expensive to get one just meant for 4 months when I get back to my PC after it.
 
Last edited by a moderator:

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,493
hmmm I wonder if a lot of problems are caused by the fact that I use a username meant for me but I always have to confirm installations with my dad's username and password? Tho it probably shouldn't, anyways jedi academy folder exists in a path which goes through my username, and my launcher is inside that jedi academy folder.

here is everything:
Sad... that doesn't make situation more clear :(

ok, let's forget about MBII Launcher for some time. MBII can run on Mac without it.
Download Movie Battles and put it (content of archives, not archives itself!) inside "/Users/YOUR_NAME/Library/Application Support/Jedi Academy" manually (unfold and see server install):
Download

WARNING: you have to download *two* files: 1.4 *and* Upgrade (1.4 to 1.4.1).
Unzip 1.4, then unzip 1.4.1 overwriting existing files.

After that, use JKJALaunch to start the game as I mentioned above.
 
Last edited:

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,493
Before I try, so mac can run mb2 without launcher and still play on servers? Wont I get kicked out?
V1.4 Update Released! :
Spaghetti said:
New: Anti-cheat System: This build we will be introducing new anti-cheat detection and prevention measures to ensure players have a consistent experience against fellow players. MBII will now require the launcher be active in the background to join servers that enforce anti-cheat (default setting). Servers running anti-cheat will display a shield icon in the server list. Mac OS X and Linux are excluded from this requirement.
 

Gargos

Donator
Movie Battles II Team
Posts
574
Likes
1,189
Can you help me understand this:

in this first picture you will see where my jedi academy is located on the left corner:
Screen_Shot_2016_08_14_at_10_59_40_PM.png


in this 2nd image you can see what path I am trying to take when I try to find the location of jedi academy folder with JKJALaunch. I go the exact same path, yet it doesn't find library (I started from Macintosh HD when going to users):
Screen_Shot_2016_08_14_at_11_03_47_PM.png

I tried to just type the path manually, but that doesn't work either. It just doesn't let me press OK - button
 

Cow

Donator
Posts
23
Likes
18
if you are on steam later ill help u runs it, either openjk or steam one you can pick (openjk has less graphics bugs on mb2)
 

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,493
Can you help me understand this:

in this first picture you will see where my jedi academy is located on the left corner:
Screen_Shot_2016_08_14_at_10_59_40_PM.png


in this 2nd image you can see what path I am trying to take when I try to find the location of jedi academy folder with JKJALaunch. I go the exact same path, yet it doesn't find library (I started from Macintosh HD when going to users):
Screen_Shot_2016_08_14_at_11_03_47_PM.png

I tried to just type the path manually, but that doesn't work either. It just doesn't let me press OK - button
You have to pick a path to executable file in JKJALaunch, but "/Users/lauri/Library/Application Support/Jedi Academy/MBII" doesn't have such files.
And in fact, it shouldn't. That folder is for Movie Battles, but MBII itself doesn't include an executable file that can be launched directly -- it's just of set .pk3 files.

You must choose a Jedi Academy binary in JKJALaunch.
Its path usually looks like:
/Users/lauri/Library/Application Support/Steam/SWJKJA.app
/Users/lauri/Applications/Jedi Academy/SWJKJA.app

I'm not sure why you can't see your Library folder while browsing from JKJALaunch, maybe you should toggle its visibility. Read this:
How to view the ~/Library folder in Mavericks and Yosemite
10.7: Un-hide the User Library folder - Mac OS X Hints
why can't i see "Library" in home folder | Official Apple Support Communities
I can't find the Library folder | Official Apple Support Communities
Where is my Home Library Folder in El Capitan? | Official Apple Support Communities

Alternatively, you can place JKJALaunch in same folder where Jedi Academy app is, or type path manually.

And don't forget to set
Code:
+set fs_game MBII
as a command line parameter in JKJALaunch!
 

Gargos

Donator
Movie Battles II Team
Posts
574
Likes
1,189
@Gargos you maybe be also interested in jaMME - JKHub <:
I will release 1.10 very soon.
I dont think I will be makin any vids durin the 4 months, and definitely not on mac. Or do mac demos not work on windows mb2?

- - - Updated - - -

hm Shift + ~ (title, not minus, aka Shift + `) doesn't work?
Then try Shift + <.
The 2nd workd, thank you my own personal tech wizard
 
Last edited by a moderator:
Top