#1 Re: Technical Help » Dedicated server on Raspberry Pi 4 » 2023-02-19 03:14:01

JarnetStrongrogg wrote:

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.

#2 Re: Technical Help » Dedicated server on Raspberry Pi 4 » 2023-02-13 05:42:34

ABAS wrote:

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.

#3 Re: Technical Help » Dedicated server on Raspberry Pi 4 » 2023-02-12 07:04:15

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.

#4 Technical Help » Desert Combat server working on Linux? » 2022-04-15 07:04:19

NullNotZero
Replies: 0

I have been struggling all day trying to get the Desert Combat mod Linux server working. I have a working bf1942 server install and I ran the dc_final_server.run in the root of the bf1942 folder and it correctly placed the mods folder. I created a maplist.con file for the DC maps but I cannot get the server to run. I always get an error like this: 'Level init.con file not found: bf1942/levels/aberdeen.rfa/Init.con'
It's the same for every map. I have tried different permutations of the maplist, copying maps from my working DC client, edit init.con files, I cannot seem to get past this bit. I know some people have this server working on Linux so I must be missing something. Any insights?

#5 Re: Technical Help » Can I get a little clarity on maplist.con? » 2022-04-14 17:30:49

In my installation I have bf1942, xpack1 and xpack2, all three have init.con files but there is no 'game.setMapid' in any of the files.
My maplist has maps from all three mods in it with the mod name listed after each map. It appears the maplist file is taking the role of the init.con file and switching mods each time a new map loads. That's the clarification I am looking for. When I watch the process load for each map on my server I notice that the command line option '+game' switches to the one one that matches my setting for the loaded map, so a bf1942 map has '+game bf1942f', and xpack1 has '+game xpack1' I assume it is pulling this parameter from the maplist since I do not have it anywhere else.

#6 Technical Help » Can I get a little clarity on maplist.con? » 2022-04-14 08:30:34

NullNotZero
Replies: 3

I'm trying to understand the mod setting on each line of the maplist on the server (bf1942, xpack1 etc.) Currently I have my maplist set so that the mod parameter matches the mod folder that the map is in. I have been watching my server as the map rotates and it appears that it is using that parameter to also choose the mod to run when it loads the map. For example, Battle of Britain loads bf1942, and Cassino loads Xpack1.

A few questions: What happens if I change the mod parameter on a map in the list to one that is not part of a particular mod's folder? Say, changing Battle of Britain to Xpack1. Will it just error out because there is no Battle of Britain map in the Xpack1 folder?

If I wanted to add the Desert Combat mod. Can I use the same maplist and just change the last parameter to DC_Final and it will load the Desert Combat mod when it loads that map? Can I combine DC with BF1942 maps in the same list? Would the client be able to switch mods on the fly or will it break?

Board footer