2cwldys / wotr-re

Launch War of the Roses game without backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

War of the Roses Launch Fix

Launch War of the Roses game without backend.

  • Everything's unlocked.
  • Practice and training with bots works.
  • Multiplayer works! Select Multiplayer - Server Browser (dedicated servers) or Multiplayer - Join or Host (player hosted servers).

Using

Warning

Use at your own risk.

  • Download latest release
  • Unpack files from bundle.zip to bundle folder (e.g. C:\Program Files (x86)\Steam\steamapps\common\War of the Roses\bundle\)
  • In game folder: Shift + Right-click on wotr.exe - select Copy as path
  • Go to Steam - Library - right click War of the Roses - Properties - LAUNCH OPTIONS
  • Paste your copied path and add %command% at the end after space
  • "your path to wotr.exe" %command%

Examples of how it should look like:

"C:\Program Files (x86)\Steam\steamapps\common\War of the Roses\wotr.exe" %command%
"D:\Games\SteamLibrary\steamapps\common\War of the Roses\wotr.exe" %command%
  • Launch game

Additional launch options

Lobby name and player limit:

  • -lobbyname "server name": custom names for servers.
  • -lobbymaxmembers 256: server player limit, default value without command is 256.
  • -timelimit 123456: round time in seconds.
  • -winscore 123: round win score (up to 1000).

And lobby visibility:

  • -lobbyprivate: private server (probably useless, invites don't seem to work).
  • -lobbyfriends: friends only server (only friends can see or join? Not tested).

You can add these commands to game launch options after %command%.

Should look something like this:

"your path to wotr.exe" %command% -lobbyname "my super-duper server" -lobbymaxmembers 8

Or you can create a .bat file in game folder with:

wotr.exe -bundle-dir bundle -lobbyname "my super-duper server" -lobbymaxmembers 8

And launch game through .bat file.

Dedicated server

Warning

Server is VAC secured

Create steam_appid.txt in game folder with wotr appid 42160

Check server_settings.ini and map_rotation.ini first.

Maps and available modes:

St_Albans - town_02 - tdm, con, battle, ass
Mortimers_Cross - village_02 - tdm, con, battle, ass
Bamburgh_Castle - castle_02 - tdm, con, battle, ass
Clitheroe_Forest - forest_01 - tdm, con, battle, ass
London_Tournament - tournament_01 - tdm, battle
Edgecote_Moor - moor_01 - tdm, con, battle
Barnet - field_01 - tdm, con, battle
Wakefield - wakefield_01 - tdm, con, battle
Towton - towton_01 - tdm, con, battle
Ravenspurn - ravenspurn_01 - tdm, con, battle
Greenwood - greenwood_01 - tdm, battle
Wakefield - wakefield_02 - ass

To launch (number = server_port from server_settings.ini - 10):

wotr_server.exe -bundle-dir bundle -no-rendering -ini dedicated_server_settings -server_server_port 27020

"Backend"

Add one of the commands to the server launch options:

-localbackend

Server will save stats for each player locally (gamefolder/stats).

Cons: each server/group of servers will have different stats.

or:

-onlinebackend 127.0.0.1:27844

Use wotr_mini_backend.py (http server with sqlite database) from repo as an improvised backend.

Server will save stats for each player online (if someone would host it, can be used locally too).

Pros: same stats for all servers.

Cons: centralized, basically a "proof of concept", can't say if it's a good idea to use it.

Build

Use this version of LuaJIT for compiling lua files:

https://github.com/LuaJIT/LuaJIT/releases/tag/v2.0.0-beta10

To create patch files, use:

https://github.com/angaityel/bundle-explorer

About

Launch War of the Roses game without backend


Languages

Language:Lua 99.9%Language:Python 0.1%Language:PowerShell 0.0%Language:Batchfile 0.0%