Open GithubAccount453 opened 6 years ago
Holy shit, people actually found this repo?
Anyways, Its been a while and I kinda forgot how to set all this up, but this should be most of it.
PATH
.NOTE: When I am referring to root directory, I mean the directory where
UberStrok.sln
is found.
Clone the repository using a recursive clone to clone dnlib
needed for the patcher.
In cmd or bash:
$ git clone --recurse-submodules https://github.com/FICTURE7/uberstrok.git
Install/Extract the Photon OnPremise SDK in the root directory in a directory called photon
. You will get a root directory with the following structure
./.git
./.gitignore
./.gitmodules
./docs
./libs
./LICENSE
./packages
./photon <- the `photon` directory which you should create
./PhotonServer.config
./README.md
./scripts
./src
./tests
./UberStrok.sln
And your photon
directory should have the following structure.
./build
./deploy
./doc
./lib
./src-server
Copy ./PhotonServer.config
in the root directory to ./photon/deploy/bin_Win32/PhotonServer.config
.
Compile the solution UberStrok.sln
using Visual Studio. You will get a lot of errors from the comm server since, I have not updated it to use the new abstractions. But the game server will compile.
Run ./photon/deploy/bin_Win32/PhotonControl.exe
to launch Photon, then you should see UberStrok
in Photon instances
when you click on Photon Control in the icon tray. Click on Start as application
to start the game server.
Run ./src/UberStrok.WebServices/bin/Debug/UberStrok.WebServices.exe
to start the web services.
That should be it for the servers.
Patch Assembly-CSharp.dll
and Assembly-CSharp-firstpass.dll
by running ./src/UberStrok.Patcher/bin/Debug/UberStrok.Patcher.exe
. It will search your steam library and try to find the location of the .dll
s to patch.
A new directory named ./patched
should be created in the same location where you ran UberStrok.Patcher.exe
. It should contain the patched .dll
s, copy those to the installation directory of UberStrike at /UberStrike/UberStrike_Data/Managed/
.
Create a new file named .uberstrok
(without any extensions) in the installation directory of UberStrike at ./UberStrike/UberStrike_Data/
.
Type in the URL of the web services which should be at http://localhost/2.0/
if you are connecting to your own server, in the .uberstrok
file. NOTE: The web services runs on HTTP and not HTTPS.
I think that should be it.
Hi Thanks for the help :) I am having a error with the photon server. this is the photon log file. Photon-UberStrok-20180610.log
It seems that you didn't set up the directory structure as above since it can't find the game server .dlls.
Can't find UberStrok.Realtime.Server.Game.dll in or C:\photon\deploy\UberStrok.Realtime.Server.Game\bin
You should install photon in the same folder as the source code, where UberStrok.sln
is found.
Also Python 3 should be in your PATH
environment variable as well.
Any help would be greatly appreciated thanks.