box86 icon indicating copy to clipboard operation
box86 copied to clipboard

MoH:AA Server with Pi4

Open himuura opened this issue 6 years ago • 10 comments

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?

himuura avatar Sep 27 '19 17:09 himuura

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...

ptitSeb avatar Sep 27 '19 17:09 ptitSeb

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)

ptitSeb avatar Sep 27 '19 19:09 ptitSeb

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.

ghost avatar Oct 08 '19 06:10 ghost

can I close this ticket?

ptitSeb avatar Apr 17 '20 16:04 ptitSeb

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?

himuura avatar Jan 05 '21 10:01 himuura

The "code=-6" seems strange. That value doesn't exist in this context. I'll have to test on my side if I can.

ptitSeb avatar Jan 05 '21 10:01 ptitSeb

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.

himuura avatar Jan 05 '21 10:01 himuura

So, any news on the topic?

himuura avatar Jan 17 '21 21:01 himuura

I still cannot really test myself.

Can someone do a new test on it? If nothing happens, I'll close the ticket.

ptitSeb avatar Oct 11 '22 13:10 ptitSeb

Instead, you could try running native Linux armhf (or aarch64) server binaries from https://github.com/openmoh/openmohaa

smallmodel avatar Dec 30 '23 15:12 smallmodel