Mount & Blade: Warband

Mount & Blade: Warband

The Last Days of the Third Age
Swyter  [udvikler] 18. apr. 2016 kl. 14:00
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.
Sidst redigeret af Swyter; 20. apr. 2016 kl. 4:54
< >
Viser 1-15 af 46 kommentarer
an-apple 19. apr. 2016 kl. 11:34 
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.


Sidst redigeret af an-apple; 19. apr. 2016 kl. 11:34
Kham  [udvikler] 19. apr. 2016 kl. 12:57 
For rgl logs, perhaps you can use this[pastebin.com]
Swyter  [udvikler] 21. apr. 2016 kl. 3:13 
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.
Sidst redigeret af Swyter; 21. apr. 2016 kl. 3:18
Kham  [udvikler] 21. apr. 2016 kl. 6:36 
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 kl. 13:22 
So is there a fix for this Mac crash?
Swyter  [udvikler] 24. apr. 2016 kl. 11:02 
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  [udvikler] 24. apr. 2016 kl. 11:29 
Anything I can do to help on my side? I can only give the same crash report as above :(
EMAN0987 24. apr. 2016 kl. 11:32 
ive got a mac so just tell me what to do if needed
Sacoji 10. maj 2016 kl. 4:54 
Still no solution for this?
michi 14. maj 2016 kl. 3:15 
Game crash when loading the INI files. Trying to download it from steam now.
kingiskander 23. juni 2016 kl. 11:21 
Oprindeligt skrevet af Michigogo:
Game crash when loading the INI files. Trying to download it from steam now.
im having the same problem
kingiskander 23. juni 2016 kl. 11:28 
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  [udvikler] 23. juni 2016 kl. 14:02 
The mod won't launch until the download has been finished. It's not a small package.
Kham  [udvikler] 26. juni 2016 kl. 4:54 
Did you follow the instructions written here if you are on a mac?
< >
Viser 1-15 af 46 kommentarer
Per side: 1530 50