This is a fork of the Official Perpetuum Server as released by Avatar Creations here.
This server is developed under the direction of the Open Perpetuum Project game design and development team; a 100% volunteer opensource player development and persistent Perpetuum Server hosting project.
To join the Team, find our call for volunteers on our website here! where you will also find our Volunteer Survey.
If you have any questions about joining the team hit us up on discord!
To see what we are working on acquaint yourself with our:
- Website https://openperpetuum.com
- Project Kanban Board
- Discord
To contribute, join the team and we will get you up and running, or, show us your moxie and submit a pull request!
You need to clone this repository and 2 others (database, asset).
The PerpetuumServer handle server communication with the client.
The OPResource is an asset host that the client access when connecting to a server, the address can be configured in the data folder in the ini file.
The OPDB is contains the database schema definition and the migration patches for each release.
- Clone this repository (github page: here) (folder/PerpetuumDedicated)
- Clone the OPDB repository (github page: here) (folder/OPDB)
- Clone the asset respo (github page: here) (folder/OPResource)
- Get official Perpetuum Dedicated server installer, depot ID (with steamcmd): 693061
- (steam) Library -> Home -> Above search select Tools, search for PerpetuumDedicated, install it
- Get layers archive and icons, available in a public google drive folder here Note that the Gamma_layers is compatible with release P26+
Here save the layers rar file + icons zip file.
- (Requires Windows for now) Run the PerpetuumDedicated from steam or directly the exe, install SQL server express (known issues with Win11+, unable to install, use windows 10 to install), initialize the DB when asked at the end.
At this point, take note of the path of the installed server, usually C:\PerpetuumDedicated
.
- Extract layers archive into the data folder of the PerpetuumDedicated installation
- Extract icons from the archive to the
OPResource/lang0000
folder.
Note that the icons archive does not contain icons for new items, the resource server will substitute with the default icon instead.
Here you can run the following steps to initialize for the first time or reset the DB to a valid state for the given release version you have checked out in the OPDB repository.
- Run the file
OPDB/apply_all.bat
to reset the DB (wipe data and restore valid version) The script is running a background script for each release we have.
You need to have asset hosting, database hosting, server hosting.
This section is an example to do the setup locally on windows 10 but also work on windows 11.
- Asset host, run node server on the
index.js
from theOPResource
repository. - Database host, should already be setup with windows and SQL Server Express.
- Server host (debug): Using visual studio running the PerpetuumServer project.
- Open the game
- Click on
Server list
- Click on
Add private server
- Enter the name ex:
local
- Enter the server address ex:
127.0.0.1
- Click on connect
- Default credential for local developement is defined in the
OPDB/apply_all.bat
(test/test) This account have admin access of the local server
The admins commands are defined in this file: src/Perpetuum/Commands.cs
Note: This is a divergent fork and changes within may not be generally applicable outside of the Open Perpetuum Project.
Open Perpetuum does not provide technical support and is in no way affiliated with Avatar Creations.
Use at your own risk. See LICENSE for details.