Open himuura opened 5 years ago
So, I checked.
I try to use this: https://www.fileplanet.com/archive/p-3009/MoHAA-Dedicated-Server-v2-15-Beta-5 not sure it's the latest version, or best way.
I cannot really launch the server, as I I don't have the required pk3 file, but I can see box86 is missing a bunch of libc functions. So for now, I would say I need to implement them first. Hopefully it's only simple wrapper.
Once done, simply follow the instruction of the README of the server (to setup all data file), then just launch the server with box86...
Ok @himuura , I have pushed the missing symbol. Now you have to setup all pk3 and try it. If it fail, copy/paste the console log here. (if it work, give me the info too, is always nice to see working stuffs)
https://www.gog.com/game/medal_of_honor_allied_assault_war_chest - I'll pick it up at some point and test if @himuura doesn't come back and test.
can I close this ticket?
Sorry for the delay! Tested MoH:AA server with the latest Reborn bins for linux and box86. Im getting an error: ---------------- MoH:AA 1.12 Reborn Patch InitFinished ----------------
Got signal 11 - Segmentation fault, faulty address is 0xb5d04a08 Crash Recover Attempt will take place! Execution path: --> [0x80585e4] --> box86() [0x6286ca58] --> box86() [0x628698dc] --> box86() [0x628aaad4] --> box86() [0x628ab15c] --> box86() [0x628ab77c] --> /lib/arm-linux-gnueabihf/libc.so.6(__default_rt_sa_restorer+0) [0xb6d75130] 31324|SIGSEGV @0xb6d73f24 (gsignal (/lib/arm-linux-gnueabihf/libc.so.6)) (x86pc=0x8058430//home/pi/Desktop/Medal Of Honor Allied Assault_CodeKing/MOHAA/mohaa_lnxded:"???", esp=0xb5ccd6dc), for accessing 0x7a5c (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean) Segmentation fault
Any ideas?
The "code=-6" seems strange. That value doesn't exist in this context. I'll have to test on my side if I can.
Im running with this command:
box86 mohaa_lnxded +set dedicated 1 +set sv_maxclients 12 +set net_ip (my external ip) +set net_port 12203 +exec server.cfg
Which i assume would be the correct input for creating a MoH:AA server on linux.
So, any news on the topic?
I still cannot really test myself.
Can someone do a new test on it? If nothing happens, I'll close the ticket.
Instead, you could try running native Linux armhf (or aarch64) server binaries from https://github.com/openmoh/openmohaa
Is it possible to run a Medal of Honor Allied Assault server out of box86? It's a 2000-ish game, pretty "old" but i think it's feasible. Can you shed some light on how to?