You are not logged in.
Pages: 1
I want to host a dedicated bf1942 server on my Raspberry Pi 4 with 8Gb of RAM.
Has anyone tried this out?
Would it be possible to use Box86 to host a dedicated server on 64bit Raspberry Pi OS?
Yeah i think it could work. Also check this out:
There has been instances[18] of developers installing this runtime binary on third-party hardware, provided that it includes a CPU that supports at least the ARMv8.2-A instruction set
Not to discourage you but I'm not sure it would be worth the effort. I have pretty extensive experience working with the Raspberry Pi and I can tell you that running anything under an x86 emulator is going to cause significant slowdown, I don't know how much it would affect BF1942, since it is a pretty lightweight server by today's standard, but I think you would be fighting an uphill battle. It would be much more efficient to port the code to arm, but sadly the source code for BF1942 is not available. If you do try it however I would be interested in hearing about your experience.
FYI, if you are looking for low cost x86 devices that will run the server, HP T610 thin clients can be had for less than the cost of a rPi 4 from eBay, that's what I run many of my game servers on.
not sure how Box86 works but how about installing Ubuntu (Server or Desktop) on your Raspberry device and then run battlefield server on it?
Last edited by ABAS (2023-02-12 13:43:18)
not sure how Box86 works but how about installing Ubuntu (Server or Desktop) on your Raspberry device and then run battlefield server on it?
Unfortunately this would not work as the game code is for an x86 processor and the Raspberry Pi is an ARM processor, The code would have to be recompiled to work on the Rpi.
Not to discourage you but I'm not sure it would be worth the effort. I have pretty extensive experience working with the Raspberry Pi and I can tell you that running anything under an x86 emulator is going to cause significant slowdown, I don't know how much it would affect BF1942, since it is a pretty lightweight server by today's standard, but I think you would be fighting an uphill battle. It would be much more efficient to port the code to arm, but sadly the source code for BF1942 is not available. If you do try it however I would be interested in hearing about your experience.
FYI, if you are looking for low cost x86 devices that will run the server, HP T610 thin clients can be had for less than the cost of a rPi 4 from eBay, that's what I run many of my game servers on.
I agree with you that it would be preferable to recompile the code for ARM64.
I have already tried a minecraft server on my stabely overclocked RPi4 with 8Gb of RAM and booted from SSD and it worked fantastically well!
The thing is that there are a lot of dedicated servers of recent games that work well on RPi4 with Box64/Box86 with SteamCMD, like Valheim for example.
I wonder why it wouldn't work well with a dedicated server of a 20 year old game.
Is there a x86 64-bit Linux version of the standalone dedicated server for bf1942? if not would Box64 be able to run a 32-bit program on a 64-bit ARM processor?*
And most importantly, where on earth can one find all of the necessary standalone server files today?
* just read on https://github.com/ptitSeb/box64 that Box64 doesn't do any 32bit to 64bit translation so therefore a 32-bit x86 program would have to be used with Box86 instead
Last edited by JarnetStrongrogg (2023-02-18 00:31:05)
And most importantly, where on earth can one find all of the necessary standalone server files today?
tuia has the patched files available here: https://team-simple.org/download/
Last edited by seVen (2023-02-18 14:45:10)
JarnetStrongrogg wrote:And most importantly, where on earth can one find all of the necessary standalone server files today?
tuia has the patched files available here: https://team-simple.org/download/
I read the included readme-files and it looks like those patched server files are outdated.
Aren't these the updated patched server files required?
LuccaWulf followed me through the setup multiple bf1942 servers on Windows yesterday, this is what I learned.
1. You make a copy of the entire game folder (C:\Program Files (x86)\EA Games\Battlefield 1942)
2. Paste the game folder elsewhere. For example onto an external hard drive and rename it to something like bf1942_server_01 to keep things organised.
3. Copy the patched BF1942_w32ded.exe & DedicatedServer.exe and paste them in the root of bf1942_server_01
4. Copy the patched BFServerManager 2.01 (BFServerManager.exe, PlayerMenu.con, license.txt & readme.txt) and paste the files in the root of bf1942_server_01.
5. Open the port 14567 (or your desired port number) in your router to be able to receive incoming connections to the server.
6. In the bf1942_server_01 folder Run BFServerManager.exe as administrator, this is your GUI to configure your server.
7. Configure the server as you want and if you opened a custom port for your server enter this in Game Port.
8. Hit 'Start' to launch the server.
You can check http://master.bf1942.org/ if it's up an running
Does anyone have the instructions on how to set this up on a linux machine?
Last edited by JarnetStrongrogg (2023-02-18 22:16:16)
Does anyone have the instructions on how to set this up on a linux machine?
To install a Linux server you are going to want the Linux binary files from here:
https://community.pcgamingwiki.com/file … rver-1619/
and here:
https://team-simple.org/download/
Once you extract the original tar file the install instructions are in the readme folder.
Since most installations of modern Linux are now x64 and the binaries are x86 you are also going to have to add the x86 architecture to your Linux installation before it will run. There are various tutorials around the internet to help you with that.
So I have compiled and installed Box86 for RaspberryPi OS 64bit.
I extracted: bf1942_lnxded-1.6-rc2.tar to bf1942_lnxded-1.6-rc2.run and ran the installation.
I got the following message:
Enter your target installation directory: /home/rpiuser/bf1942_server_01
./license.sh: 55: test: -a: unexpected operator
Installation complete.
But it seem to have extracted/installed correctly... I guess I need to try to find out!
I installed it into a folder in my users' home folder (/home/rpiuser/bf1942_server_01/).
Is there a more suitable folder on the linux system where I should've installed it?
Good news everyone! I got it to work and hosted a server on LAN for now!
Last edited by JarnetStrongrogg (2023-02-21 00:00:44)
...
Hehe, you are a Genius
...
...
Hehe, you are a Genius
...
Just got it to work online, I was just playing on it with LuccaWulf
And here it is visible on the masterserver
Pages: 1