forked from OpenWF/Website
Switch client guide to exclusively rely on a setup script
This commit is contained in:
parent
872681a332
commit
351cbe26f9
15
guide.php
15
guide.php
@ -39,16 +39,11 @@ $version = ""; //json_decode(file_get_contents("supplementals/static data/buildC
|
|||||||
<li>Now you can use <code>npm run start</code> to start the server again</li>
|
<li>Now you can use <code>npm run start</code> to start the server again</li>
|
||||||
</ol>
|
</ol>
|
||||||
<h2>Client Patch</h2>
|
<h2>Client Patch</h2>
|
||||||
<p>In order to connect to custom servers, the client needs to be patched, which the Boostrapper is for. To set it up, you can <a href="/supplementals/Bootstrapper%20Setup.ps1" download>use this powershell script</a> or follow these steps:</p>
|
<p>In order to connect to custom servers, the client needs to be patched, which is what the Boostrapper is for. To set it up:</p>
|
||||||
<ul>
|
<ol>
|
||||||
<li>Download <a href="/supplementals/client%20drop-in/<?=$dll_version;?>/dwmapi.dll" download>the boostrapper DLL (dwmapi.dll)</a> and put it in your game's installation folder (the one where Warframe.x64.exe is in).</li>
|
<li>Download the bootstrapper setup script <a href="/supplementals/Bootstrapper%20Setup.ps1" download>for Windows (Powershell)</a> or <a href="/supplementals/Bootstrapper%20Setup.sh" download>for Linux-ish (Bash)</a>.</li>
|
||||||
<li>
|
<li>Put the script in the game's installation folder (the one where Warframe.x64.exe is in) and run it there.</li>
|
||||||
For 38.6.0 and above, you will also need <a href="https://github.com/Sainan/Sideloadify/releases/latest/download/sideloadify.exe" download>sideloadify</a> and then simply drop Warframe.x64.exe on top of sideloadify.
|
</ol>
|
||||||
<ul>
|
|
||||||
<li>This is currently not needed on Linux as Wine/Proton always checks the game folder for dwmapi.dll.</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<p>With that done, you can double-click Warframe.x64.exe to start the game with OpenWF. Opening the game's launcher will revert it back to normal.</p>
|
<p>With that done, you can double-click Warframe.x64.exe to start the game with OpenWF. Opening the game's launcher will revert it back to normal.</p>
|
||||||
<p>The bootstrapper is <a href="bootstrapper-manual" target="_blank">fully documented here</a>, but the most important point is that, while the game is running, you can visit <a href="http://localhost:6155/" target="_blank">http://localhost:6155/</a> to manage options, cheats, and scripts.</p>
|
<p>The bootstrapper is <a href="bootstrapper-manual" target="_blank">fully documented here</a>, but the most important point is that, while the game is running, you can visit <a href="http://localhost:6155/" target="_blank">http://localhost:6155/</a> to manage options, cheats, and scripts.</p>
|
||||||
<h2>IRC Server</h2>
|
<h2>IRC Server</h2>
|
||||||
|
13
supplementals/Bootstrapper Setup.sh
Normal file
13
supplementals/Bootstrapper Setup.sh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ -f "Warframe.x64.exe" ]]; then
|
||||||
|
if [[ ! -f "OpenWF/Download Latest DLL.sh" ]]; then
|
||||||
|
mkdir -p OpenWF
|
||||||
|
curl -L "https://openwf.io/supplementals/Download%20Latest%20DLL.sh" -o "OpenWF/Download Latest DLL.sh"
|
||||||
|
fi
|
||||||
|
cd OpenWF
|
||||||
|
chmod +x "Download Latest DLL.sh"
|
||||||
|
./Download\ Latest\ DLL.sh
|
||||||
|
else
|
||||||
|
echo "Please put this script into your Warframe installation folder (the one where Warframe.x64.exe is in) before running it."
|
||||||
|
fi
|
38
supplementals/Download Latest DLL.sh
Normal file
38
supplementals/Download Latest DLL.sh
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "Fetching latest version..."
|
||||||
|
latest_version=$(curl -s "https://openwf.io/supplementals/client%20drop-in/latest.txt")
|
||||||
|
latest_hotfix=$(curl -s "https://openwf.io/supplementals/client%20drop-in/latest_hotfix.txt")
|
||||||
|
latest_sha256=$(curl -s "https://openwf.io/supplementals/client%20drop-in/sha256.txt")
|
||||||
|
latest_hotfix_sha256=$(curl -s "https://openwf.io/supplementals/client%20drop-in/sha256_hotfix.txt")
|
||||||
|
|
||||||
|
sha256=""
|
||||||
|
hotfix_sha256=""
|
||||||
|
if [[ -f "../dwmapi.dll" ]]; then
|
||||||
|
sha256=$(sha256sum "../dwmapi.dll" | awk '{print $1}')
|
||||||
|
fi
|
||||||
|
if [[ -f "Hotfix.owf" ]]; then
|
||||||
|
hotfix_sha256=$(sha256sum "Hotfix.owf" | awk '{print $1}')
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$sha256" != "$latest_sha256" || "$hotfix_sha256" != "$latest_hotfix_sha256" ]]; then
|
||||||
|
if [[ -n "$latest_hotfix" ]]; then
|
||||||
|
echo "Downloading OpenWF Bootstrapper v$latest_version $latest_hotfix..."
|
||||||
|
else
|
||||||
|
echo "Downloading OpenWF Bootstrapper v$latest_version..."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$sha256" != "$latest_sha256" ]]; then
|
||||||
|
curl -L "https://openwf.io/supplementals/client%20drop-in/$latest_version/dwmapi.dll" -o "../dwmapi.dll"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$hotfix_sha256" != "$latest_hotfix_sha256" ]]; then
|
||||||
|
if [[ -n "$latest_hotfix" ]]; then
|
||||||
|
curl -L "https://openwf.io/supplementals/client%20drop-in/$latest_version/${latest_hotfix// /%20}/Hotfix.owf" -o "Hotfix.owf"
|
||||||
|
else
|
||||||
|
rm -f "Hotfix.owf"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "Your OpenWF Bootstrapper is up-to-date."
|
||||||
|
fi
|
Loading…
x
Reference in New Issue
Block a user