This tutorial will guide you through the process of setting up a modded Palworld server on a Linux system using Wine
Important
You must have wine installed. Follow the tutorial at https://wiki.winehq.org/Download for your specific distro. I also recommend winetricks for this tutorial. (After you have installed wine)
Winetricks installation for various distros:
- Ubuntu/Debian:
sudo apt-get updatesudo apt-get install winetricks- Fedora:
sudo dnf updatesudo dnf install winetricks- Arch Linux:
sudo pacman -Syusudo pacman -S winetricks- Ubuntu/Debian:
sudo apt-get updatesudo apt-get install winbind- Fedora:
sudo dnf updatesudo dnf install samba-winbind- Arch Linux:
Note
- In Arch Linux, the winbind service is provided by the samba package.
sudo pacman -Syusudo pacman -S sambaImportant
- Only for users who don't have a display hooked up to their server
- You must have a terminal that supports the X11 Display Server.
- I recommend https://mobaxterm.mobatek.net/ if using windows
- Use xquartz if using Mac OS
- Use the -X option when using ssh if using linux or using wsl
Important
- MAKE SURE THAT WINE IS SET TO A 64 BIT PREFIX OR ELSE NOTHING WILL RUN PROPERLY. To do this, make sure to set WINEARCH to win64 by doing
export WINEARCH=win64.
winetricks vcrun2022- Download the latest supported Visual C++ redistributable x64 package for Visual Studio 2015, 2017, 2019, and 2022 from Microsoft's official site: here.
- Once downloaded, navigate to the directory where the .exe file is located.
- Use the following command to install the .exe file via Wine:
wine vc_redist.x64.exe
Replace
vc_redist.x64.exewith the name of the file you downloaded. - During the installation, if you are prompted to install the mono package or html package, proceed with the installation. These packages are necessary for some applications to run correctly in Wine.
- Download the Windows version of SteamCMD from the official Valve Developer Community page.
- Extract the contents of the downloaded zip file.
- Navigate to the root directory of your Wine prefix (default is
~/.wine/drive_c/). - Create a new folder named
steamcmdin this directory. - Move the extracted SteamCMD files into this newly created folder.
- Now, you have installed SteamCMD into your Wine prefix.
Note
- To simplify the process of running SteamCMD, you can create a new command that runs
winethensteamcmd.exeas a normal command, enabling you to run it from anywhere. Here's how:- Create a new file called
steamcmd. - Add the following line to it: wine /home/(user)/.wine/drive_c/steamcmd/steamcmd.exe $@
- Replace '(user)' with your actual username.
- Save the file.
- Make the file executable by running the following command: chmod +x steamcmd
- Move the
steamcmdfile to yourbindirectory: sudo mv steamcmd /usr/local/bin/
- Create a new file called
Now, you can run SteamCMD from anywhere by simply typing steamcmd in the terminal.
- Go to /home/(user)/.wine/drive_c/steamcmd and execute the steamcmd command using wine so that it updates and installs the neccisarry files.
cd /home/(user)/.wine/drive_c/steamcmdwine steamcmd.exe +quit- Now that we have the neccisarry files for steamcmd we can install the Palworld Server using steamcmd.
wine steamcmd.exe +login anonymous +app_update 2394010 validate +quit- PalServer should now be installed to
/home/(user)/.wine/drive_c/steamcmd/steamapps/common/PalServer
- Download the winmm.dll file from the discord and the UE4SS modding framework from UE4SS Github
- Move the extracted files to
/home/(user)/.wine/drive_c/steamcmd/steamapps/common/PalServer/Pal/Binaries/Win64 - Navigate into the
/home/(user)/.wine/drive_c/steamcmd/steamapps/common/PalServer/Pal/Binaries/Win64folder and run `wine PalServer-Win64-Test-Cmd.exe' - (Optional) To verify if its working, I suggest setting
GuiConsoleVisibleinUE4SS-settings.inito1