A Powershell module that helps you launch RuneLite through Steam.
All you need to get up and running is this module, a RuneLite installation, an OSRS Steam client installation, and Powershell. Once you have those, just follow these steps:
- Open up a new Powershell window (press Win+R, type
powershell
, and hit enter) - Enter the following commands in the Powershell window.
Install-Module RuneLiteToSteam
Copy-RuneLiteToSteam
As long as there were no errors, launching OSRS through Steam should now launch RuneLite.
Reverting back is simple. Just run the copy command again with the -Revert
switch:
Copy-RuneLiteToSteam -Revert
Eventually Steam is going to update OSRS and overwrite RuneLite or RuneLite could be updated from its orginal install location. The script takes these cases into account and keeps track of RuneLite's MD5 hash in order to be idempotent. Therefore, it is recommended to schedule to run the script at startup or logon. To do so just follow these steps:
- Open up a Powershell window as administrator (type
Powershell
in Windows Search, right click it, and selectRun as administrator
) - Run the Copy-RuneLiteToSteam command with the
-Schedule
parameter. It accepts eitherStartup
orLogon
.
Copy-RuneLiteToSteam -Schedule "schedule-type"
The -Schedule
parameter also works with the -Revert
switch, so using both will remove the scheduled task.
Copy-RuneLiteToSteam -Schedule "schedule-type" -Revert