Mount & Blade: Warband

Mount & Blade: Warband

The Last Days of the Third Age
Swyter  [developer] 18 Apr, 2016 @ 2:00pm
Native Linux, Mac and Android Support: Test and Report
IMPORTANT: Mac users will have to remove our custom font for the text to appear readable. [Tutorial here]

Intro
With the GLSL shaders re-implemented and our official OpenGL support right out of the oven I have opened this thread to discuss compatibility issues, and so that you can report all multi-platform problems in a single place, specially Mac and Android users.

Useful files that help when reporting issues
Things like screenshots and your «rgl_log.txt» file (find it in Steam by right-clicking the Warband entry, clicking «Properties», switching to the «Local Files» tab and pressing on the «Browse Local Files...» button) will improve the usefulness of your report by an order of magnitude.

Seriously, your log file includes start-up errors, hardware specs and the exact line the game went kaboom. You can open the log with a plain text editor, use something like https://paste.ubuntu.com for hosting.
Last edited by Swyter; 20 Apr, 2016 @ 4:54am
< >
Showing 1-15 of 45 comments
an-apple 19 Apr, 2016 @ 11:34am 
The game crashes on startup regardless of what fix I try, the error log is too many characters to post here, how would you like me to get it to you?

By the way I really appreciate all the work you are putting into making this mod mac accessible, not many modders are willing to do that.


Last edited by an-apple; 19 Apr, 2016 @ 11:34am
Kham  [developer] 19 Apr, 2016 @ 12:57pm 
For rgl logs, perhaps you can use this[pastebin.com]
Swyter  [developer] 21 Apr, 2016 @ 3:13am 
Okay, here's the problem:

Thread 3 Crashed: 0 libsystem_c.dylib 0x96d8a920 strlen + 16 1 libGL.dylib 0x9536156b glShaderSource + 55 2 taleworlds.Mount-and-Blade 0x0024fa27 rglOpenGL_effect::load_techniques_xml(rglOpenGL_effect_type) + 1785 3 taleworlds.Mount-and-Blade 0x000fb21a initialize_dx_effect_Imp() + 103 4 taleworlds.Mount-and-Blade 0x000fab94 CMyD3DApplication::InitDeviceObjects() + 140 5 taleworlds.Mount-and-Blade 0x000a494e CD3DApplication::Initialize3DEnvironment_Imp() + 16 6 taleworlds.Mount-and-Blade 0x000fd83f process_directx_call(directx_thread_call const&, bool&) + 220 7 taleworlds.Mount-and-Blade 0x000fdc5d process_all_directx_calls(bool&) + 373 8 taleworlds.Mount-and-Blade 0x000fdcfd directx_thread_step_inner(void*) + 54 9 taleworlds.Mount-and-Blade 0x000f4115 directx_thread_step(void*) + 24 10 taleworlds.Mount-and-Blade 0x000f40c2 directx_thread(void*) + 141 11 libsystem_pthread.dylib 0x97302e13 _pthread_body + 138 12 libsystem_pthread.dylib 0x97302d89 _pthread_start + 162 13 libsystem_pthread.dylib 0x97300e52 thread_start + 34

Looks like it successfully parses techniques.xml and then proceeds to grab the shader text to compile it down into custom bytecode, curiously it crashes the OpenGL implementation and not the game, strlen is a standard (and pretty old, deprecated even) function that just counts the number of characters in a C string, looks like either it gets passed an extremely long string (GLSL shaders are standard text strings) or, (more probably) a wrong/unmapped address in VM memory.

In any sane implementation there should be sanity checks for input arguments (and their lengths) and return an error instead of outright crashing, but that's computers for you. Go figure.

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

Thank Ilúvatar for debug symbols. But this is pretty weird. I still think the game saves rgl_log.txt somewhere in the Mac version. I fear I will have to roll a virtual machine and give it a go myself.

The Mac version does not look polished, to put it bluntly.
Last edited by Swyter; 21 Apr, 2016 @ 3:18am
Kham  [developer] 21 Apr, 2016 @ 6:36am 
I searched my whole mac files for rgl_log.txt and it can't find it :( Unless the mac version names them differently..

(search = used the search function + manually looked for it in every folder that it could be saved in)
EMAN0987 23 Apr, 2016 @ 1:22pm 
So is there a fix for this Mac crash?
Swyter  [developer] 24 Apr, 2016 @ 11:02am 
Send me over a Mac and I'll fix it. I searched around for virtual machines, but they lack hardware acceleration (needed to run the game) and are spotty at best.
Kham  [developer] 24 Apr, 2016 @ 11:29am 
Anything I can do to help on my side? I can only give the same crash report as above :(
EMAN0987 24 Apr, 2016 @ 11:32am 
ive got a mac so just tell me what to do if needed
Sacoji 10 May, 2016 @ 4:54am 
Still no solution for this?
michi 14 May, 2016 @ 3:15am 
Game crash when loading the INI files. Trying to download it from steam now.
kingiskander 23 Jun, 2016 @ 11:21am 
Originally posted by Michigogo:
Game crash when loading the INI files. Trying to download it from steam now.
im having the same problem
kingiskander 23 Jun, 2016 @ 11:28am 
Maybe it might be a good idea to upload a video on youtube showing how you install the mod and fix its problems. Anyway you guys are doing great. keep up the good work :)
Swyter  [developer] 23 Jun, 2016 @ 2:02pm 
The mod won't launch until the download has been finished. It's not a small package.
Kham  [developer] 26 Jun, 2016 @ 4:54am 
Did you follow the instructions written here if you are on a mac?
< >
Showing 1-15 of 45 comments
Per page: 1530 50