#3 Re: Technical Help » Dedicated server on Raspberry Pi 4 » 2023-02-21 01:28:08

Arkos wrote:

...

Hehe, you are a Genius tongue

...

Just got it to work online, I was just playing on it with LuccaWulf

#4 Re: Technical Help » Dedicated server on Raspberry Pi 4 » 2023-02-20 23:41:42

Good news everyone! I got it to work and hosted a server on LAN for now!

rpi-bf1942-dedicated-server-success.jpg?raw=1

#5 Re: Technical Help » Dedicated server on Raspberry Pi 4 » 2023-02-20 23:11:30

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?

#6 Re: Technical Help » Dedicated server on Raspberry Pi 4 » 2023-02-18 22:12:53

seVen wrote:

 

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?

#7 Re: Technical Help » Dedicated server on Raspberry Pi 4 » 2023-02-18 00:17:57

NullNotZero wrote:

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

#8 Technical Help » Dedicated server on Raspberry Pi 4 » 2023-02-05 00:57:36

JarnetStrongrogg
Replies: 13

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?

Board footer