C:\dev\git_projects\TiltedOnlineis fine but
C:\dev\git projects\TiltedOnlinewill NOT work.
git clone --recursive https://github.com/tiltedphoques/TiltedOnline.git
TiltedOnlineinside your project directory.
xmake -yin the root folder, or generate Visual Studio solutions with
xmake project -k vsxmakewhich can then be found in the
vsxmake20**folder. The instructions are identical for Linux.
xmake install -o distrib, which will create a directory called
distribin the root path that contains all of the files needed to run.
TiltedOnline\distrib\bin\FalloutTogetherServer.exefor Fallout) either on your task bar or in the root folder containing
SkyrimTogetherServer.exe --name "My Server" --port "10578" --premiumwould launch a SkyrimTogether server instance with (publicly visible) name My Server, on port 10578 UDP, with a premium tickrate (60 ticks per second instead of 20).
TiltedOnline.exeto start up the mod, either directly or via a shortcut. If everything worked as intended, a Tilted Reverse Console will pop up and the Imgui UI will be displayed on top of your game. Once loaded into a save, run the corresponding server executable (or script, if you created one). You should now be able to connect in-game by using the UI in the top left corner; pressing RCTRL thrice should free your mouse so that you're able to interact with the UI. The UI is layered on top of one another by default, so you'll need to move the UI windows first to be able to connect.
Attach to processand select the game(s) (
Fallout4.exe) then click
TiltedOnlineApp::TiltedOnlineApp()constructor. This will block the game from running on startup until a debugger has been attached.
distrib/bindirectory where the debug process is located.
TiltedOnlinedirectory, first check if the master branch is fully up to date:
feature-prefix so that it's clear that your branch is a temporary, in-progress development branch. Creating your branch can be done using one of two methods:
git checkout -b feature-somenamehereto have a branch created for you.
Branch -> New branch.... Give this an appropriate name (don't forget the prefix) and ensure that the branch is based on the
TiltedOnline\Code), the two primary folders of interest are
Gamescontains all of the code that is Skyrim and Fallout 4 related, it mostly contains class structures and hooks to different parts of the engine
Servicescontains the different services that handle the actual sync, display, and gameplay
Systemscontains specific tasks like interpolation and consuming animations
clientas it demonstrates how to get a service to listen to update events and how to spawn a copy of yourself.