Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:windows:2004scape_localhost [2025/04/06 13:05] – Sean Rhone | games:windows:2004scape_localhost [2025/04/16 01:48] (current) – Sean Rhone |
---|
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
* [[windows;11_ltsc|Windows 11 (24H2)]] | |
* [[windows:10|Windows 10 (21H2)]] | * [[windows:10|Windows 10 (21H2)]] |
| * [[windows;11_ltsc|Windows 11 (24H2)]] |
| |
===== Resources ===== | ===== Resources ===== |
**** | **** |
| |
"netsh.exe" advfirewall firewall add rule name="2004Scape localhost Server (node.exe)" dir="in" action="block" program="%ProgramFiles%\nodejs\node.exe" protocol="tcp" localport="80" | "netsh.exe" advfirewall firewall add rule name="2004Scape localhost Server (node.exe)" dir="in" action="block" profile="any" program="%ProgramFiles%\nodejs\node.exe" protocol="tcp" localport="80" |
| |
===== LAN ===== | ===== LAN ===== |
* :!: Can't have above block rule enabled at the same time | * :!: Can't have above block rule enabled at the same time |
| |
"netsh.exe" advfirewall firewall add rule name="2004Scape localhost Server (node.exe)" dir="in" action="allow" program="%ProgramFiles%\nodejs\node.exe" protocol="tcp" localport="80" remoteip="localsubnet" | "netsh.exe" advfirewall firewall add rule name="2004Scape localhost Server (node.exe)" dir="in" action="allow" profile="any" program="%ProgramFiles%\nodejs\node.exe" protocol="tcp" localport="80" remoteip="localsubnet" |
| |
===== Delete Rule ===== | ===== Delete Rule ===== |
==== Client ==== | ==== Client ==== |
| |
"http://localhost/rs2.cgi" | "http://localhost:80/rs2.cgi" |
| |
2004Scape | 2004Scape |
==== Client ==== | ==== Client ==== |
| |
"http://localhost/rs2.cgi" | "http://localhost:80/rs2.cgi" |
| |
2004Scape (localhost) | 2004Scape (localhost) |
==== Client ==== | ==== Client ==== |
| |
* http://localhost/rs2.cgi | * http://localhost:80/rs2.cgi |
* http://localhost:80 | |
| |
===== Update ===== | ===== Update ===== |
| |
* ''SC-55 SoundFont v1.2a1.sf2'' preferred | * ''SC-55 SoundFont v1.2a1.sf2'' preferred |
| |
| ===== Symlink Test ===== |
| |
| "explorer.exe" "%UserProfile%\Projects\2004Scape-Server\src\public\client" |
| |
| DEL /Q "%UserProfile%\Projects\2004Scape-Server\src\public\client\SCC1_Florestan.sf2" && MKLINK "%UserProfile%\Projects\2004Scape-Server\src\public\client\SCC1_Florestan.sf2" "%UserProfile%\Projects\2004Scape-Server\src\public\client\x" |
| |
| * ''SC-55 SoundFont v1.2a1.sf2'' |
| |
| DEL /Q "%UserProfile%\Projects\2004Scape-Server\src\public\client\SCC1_Florestan.sf2" && MKLINK "%UserProfile%\Projects\2004Scape-Server\src\public\client\SCC1_Florestan.sf2" "%UserProfile%\Projects\2004Scape-Server\src\public\client\SC-55 SoundFont v1.2a1.sf2" |
| |
| ==== Updater ==== |
| |
| * ''SC-55 SoundFont v1.2a1.sf2'' |
| |
| "notepad.exe" "%UserProfile%\Projects\2004Scape-Server\scripts\localhost-server-update.bat" |
| |
| <code> |
| DEL /Q "%UserProfile%\Projects\2004Scape-Server\src\public\client\SCC1_Florestan.sf2" |
| MKLINK "%UserProfile%\Projects\2004Scape-Server\src\public\client\SCC1_Florestan.sf2" "%UserProfile%\Projects\2004Scape-Server\src\public\client\SC-55 SoundFont v1.2a1.sf2" |
| |
| :: End SF</code> |
| |