Hello. I raised WB and NW servers on windows many times, but now I tried doing it on linux over ssh (using putty for ssh) and of course it is entirely different game, and I ran into some headbanging problems, maybe someone knowledgable and nice can enlighten me on how to solve them?
All I can gather is that problem is maybe in the distribution I chose ( CentOS 7, 64bit) and/or some problems with version of Wine available from yum. When I get time I'll try changing to Ubuntu, but in the meantime maybe someone can help out.
This is what I'm getting:
fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2
wine: Bad EXE format for Z:\home\(username...)\Warband_Server\Mount&Blade Warband Napoleonic Wars Dedicated\mb_warband_dedicated.exe.
Why would it report bad exe format? And that MountMgr thing failed thing. I googled a lot, didn't help me, maybe someone had experience with this error or knows how to solve it?
I'm trying to run it as a shell script:
#!/bin/sh
wine mb_warband_dedicated.exe -r NW_Sample_Battle.txt -m Napoleonic Wars
Of course, I'm using Napoleonic Wars dedicated server files.
Update:
Cause of this problem is most likely described here: https://forum.winehq.org/viewtopic.php?f=8&t=23434 (https://forum.winehq.org/viewtopic.php?f=8&t=23434)
Through google you can find instructions on how to try to compile 32bit wine on centos 7, but it is best to use some other linux distro which is not pure 64bit.
Did you also change the names back to the original in the scenes.txt?
Yes.
Let me show you what's happening on my side.
These are my 10 custom maps I use on the server, located in "SceneObj":
Spoiler
(https://i.ibb.co/M5R81p4/Sn-mek-obrazovky-2023-11-19-150547.png)
Scenes:
Spoiler
(https://i.ibb.co/P17wyj7/Sn-mek-obrazovky-2023-11-19-150524.png)
My new attempt at changes in "strings":
Spoiler
(https://i.ibb.co/XSFbc57/Sn-mek-obrazovky-2023-11-19-150438.png)
This is the result (sorry for low quality if you're seeing this minutes after upload):
https://youtu.be/2-nLEgLLUWk?si=R5AUFNIvrdlHKipo *
*I just realized what I'm saying at 0:53 is actually not true, the map that loaded as "Random Forest" is custom map 2, so it seems to load not the second map in order (after the one it's supposed to load), but the 3rd.