Contents
First you need update your apt sources.
sudo apt update && sudo apt upgrade- Install Dependencies
sudo apt install git wget curl zip-
Install MongoDB 8
Follow the instruction on MongoDB Offical Site
-
Install .Net8
Follow the instruction on Microsoft
- Download PS and Data
cd
mkdir ArkFieldPS && cd ArkFieldPS
wget https://github.com/SuikoAkari/ArkFieldPS/releases/latest/download/ArkFieldPS-master-Linux.zip
mkdir GameData && cd GameData
git clone https://github.com/PotRooms/EndFieldData.git- Extract ArkFieldPS and Copy Files
cd ..
unzip ArkFieldPS-master-Linux.zip
cp -r GameData/EndFieldData/Json Json
cp -r GameData/EndFieldData/DynamicAssets DynamicAssets
cp -r GameData/EndFieldData/TableCfg/. TableCfg- Modify Config
Note
If you want to run ArkFieldPS on a public server, please follow the steps.
Run the PS once, PS will auto generate server_config.json
Use vim or nano open server_config.json and change dispatchServer.bindAddress and gameServer.bindAddress to "0.0.0.0", dispatchServer.accessAddress and gameServer.accessAddress to your server ip.
{
"mongoDatabase": {
"uri": "mongodb://localhost:27017",
"collection": "ArkFieldPS"
},
"dispatchServer": {
"bindAddress": "0.0.0.0",
"bindPort": 5000,
"accessAddress": "your server address",
"accessPort": 5000,
"emailFormat": "@endfield.ps"
},
"gameServer": {
"bindAddress": "0.0.0.0",
"bindPort": 30000,
"accessAddress": "your server address",
"accessPort": 30000
},
"serverOptions": {
"defaultSceneNumId": 98,
"maxPlayers": 20
},
"logOptions": {
"packets": false,
"debugPrint": true
}
}- Run the PS
Allow port dispatchServer.accessPort and gameServer.accessPort on firewall
./ArkFieldPSFirst, use sudo pacman -Syyu to make sure your system is up to date.
Use paru or yay to get AUR packages.
paru -S dotnet-runtime-8.0 mongodb-binWe need git, zip and wget to get PS files, get them with pacman
sudo pacman -S git zip wget- Download PS and Data
cd
mkdir ArkFieldPS && cd ArkFieldPS
wget https://github.com/SuikoAkari/ArkFieldPS/releases/latest/download/ArkFieldPS-master-Linux.zip
mkdir GameData && cd GameData
git clone https://github.com/PotRooms/EndFieldData.git- Extract ArkFieldPS and Copy Files
cd ..
unzip ArkFieldPS-master-Linux.zip
cp -r GameData/EndFieldData/Json Json
cp -r GameData/EndFieldData/DynamicAssets DynamicAssets
cp -r GameData/EndFieldData/TableCfg/. TableCfg- Modify Config
Note
If you want to run ArkFieldPS on a public server, please follow the steps.
Run the PS once, PS will auto generate server_config.json
Use vim or nano open server_config.json and change dispatchServer.bindAddress and gameServer.bindAddress to "0.0.0.0", dispatchServer.accessAddress and gameServer.accessAddress to your server ip.
{
"mongoDatabase": {
"uri": "mongodb://localhost:27017",
"collection": "ArkFieldPS"
},
"dispatchServer": {
"bindAddress": "0.0.0.0",
"bindPort": 5000,
"emailFormat": "@endfield.ps"
},
"gameServer": {
"bindAddress": "0.0.0.0",
"bindPort": 30000,
"accessAddress": "your server address",
"accessPort": 30000
},
"serverOptions": {
"defaultSceneNumId": 98,
"maxPlayers": 20
},
"logOptions": {
"packets": false,
"debugPrint": true
}
}- Run the PS
Don't forget to allow port dispatchServer.accessPort and gameServer.accessPort (Default to be 5000 and 30000) on firewall
./ArkFieldPSCheck for repository updates and install them:
sudo dnf check-update && sudo dnf upgradeNote
By default, Fedora Workstation already includes the git, wget, and zip packages. If missing, install them:
sudo dnf install git wget zip- Installing MongoDB 8:
- Create a new MongoDB repository file:
sudo nano /etc/yum.repos.d/mongodb-org-8.0.repo- Add the following configuration to this file:
[mongodb-org-8.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/9/mongodb-org/8.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-8.0.asc
- Install MongoDB:
sudo dnf install mongodb-org- Start the
mongod.serviceand check its status:
sudo systemctl start mongod.service && sudo systemctl status mongod.serviceIf you want the service to start automatically on system boot:
sudo systemctl enable mongod.service- Installing .Net 8:
- Install the following package:
sudo dnf install dotnet-sdk-8.0- Download PS and Data
cd
mkdir ArkFieldPS && cd ArkFieldPS
wget https://github.com/SuikoAkari/ArkFieldPS/releases/latest/download/ArkFieldPS-master-Linux.zip
mkdir GameData && cd GameData
git clone https://github.com/PotRooms/EndFieldData.git- Extract ArkFieldPS and Copy Files
cd ..
unzip ArkFieldPS-master-Linux.zip
cp -r GameData/EndFieldData/Json Json
cp -r GameData/EndFieldData/DynamicAssets DynamicAssets
cp -r GameData/EndFieldData/TableCfg/. TableCfg- Modify Config
Note
If you want to run ArkFieldPS on a public server, please follow the steps.
Run the PS once, PS will auto generate server_config.json
Use vim or nano open server_config.json and change dispatchServer.bindAddress and gameServer.bindAddress to "0.0.0.0", dispatchServer.accessAddress and gameServer.accessAddress to your server ip.
{
"mongoDatabase": {
"uri": "mongodb://localhost:27017",
"collection": "ArkFieldPS"
},
"dispatchServer": {
"bindAddress": "0.0.0.0",
"bindPort": 5000,
"accessAddress": "your server address",
"accessPort": 5000,
"emailFormat": "@endfield.ps"
},
"gameServer": {
"bindAddress": "0.0.0.0",
"bindPort": 30000,
"accessAddress": "your server address",
"accessPort": 30000
},
"serverOptions": {
"defaultSceneNumId": 98,
"maxPlayers": 20
},
"logOptions": {
"packets": false,
"debugPrint": true
}
}- Run the PS
Don't forget to allow port dispatchServer.accessPort and gameServer.accessPort (Default to be 5000 and 30000) on firewall
./ArkFieldPSFirst, you need to check the system for updates:
sudo apt update && sudo apt upgrade- Install the following packages if they are not installed::
sudo apt install git wget zip- Install MongoDB 8: Follow the instructions on the official MongoDB website
Warning
On the second step, make sure to select your version of Ubuntu; otherwise, the installation will fail.
- Install .NET 8: Follow the instructions on the official Microsoft website
Warning
Also, don't forget to select your version of Ubuntu.
- Download PS and Data
cd
mkdir ArkFieldPS && cd ArkFieldPS
wget https://github.com/SuikoAkari/ArkFieldPS/releases/latest/download/ArkFieldPS-master-Linux.zip
mkdir GameData && cd GameData
git clone https://github.com/PotRooms/EndFieldData.git- Extract ArkFieldPS and Copy Files
cd ..
unzip ArkFieldPS-master-Linux.zip
cp -r GameData/EndFieldData/Json Json
cp -r GameData/EndFieldData/DynamicAssets DynamicAssets
cp -r GameData/EndFieldData/TableCfg/. TableCfg- Modify Config
Note
If you want to run ArkFieldPS on a public server, please follow the steps.
Run the PS once, PS will auto generate server_config.json
Use vim or nano open server_config.json and change dispatchServer.bindAddress and gameServer.bindAddress to "0.0.0.0", dispatchServer.accessAddress and gameServer.accessAddress to your server ip.
{
"mongoDatabase": {
"uri": "mongodb://localhost:27017",
"collection": "ArkFieldPS"
},
"dispatchServer": {
"bindAddress": "0.0.0.0",
"bindPort": 5000,
"accessAddress": "your server address",
"accessPort": 5000,
"emailFormat": "@endfield.ps"
},
"gameServer": {
"bindAddress": "0.0.0.0",
"bindPort": 30000,
"accessAddress": "your server address",
"accessPort": 30000
},
"serverOptions": {
"defaultSceneNumId": 98,
"maxPlayers": 20
},
"logOptions": {
"packets": false,
"debugPrint": true
}
}- Run the PS
Don't forget to allow port dispatchServer.accessPort and gameServer.accessPort (Default to be 5000 and 30000) on firewall
./ArkFieldPS