Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :: To dissallow Dark Souls 2 from connecting to the internet:
- :: Copy these 3 lines below to notepad, and save it as "blockdks2.bat" (or whatver you want). Just remember that the quotes are needed or it will just get saved as a normal TXT file.
- :: Note: Remember to change <steamfolder> to the real location of the gamefiles. Usually it's "C:\Program (x86)\Steam", unless you have selected another folder.
- :: "blockdks2.bat"
- netsh advfirewall firewall add rule name="DarkSouls2outcustom" dir=out action=block program="<steamfolder>\SteamApps\common\Dark Souls II\Game\darksoulsii.exe"
- netsh advfirewall firewall add rule name="DarkSouls2incustom" dir=in action=block program="<steamfolder>\SteamApps\common\Dark Souls II\Game\darksoulsii.exe"
- pause
- :: To remove these firewall rules, create a new .bat file and save these 3 lines to it:
- :: "allowdks2.bat"
- netsh advfirewall firewall delete rule name="DarkSouls2outcustom"
- netsh advfirewall firewall delete rule name="DarkSouls2incustom"
- pause
- :: A few last notes. You can remove the pause lines if you wish for the window to autoclose (I would keep it there so I can see if it worked or not).
- :: You also need to run these .bat files as Administrator, so rightlick and select that to make it work.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement