/scc-lan-restore

Restores LAN mode on Splinter Cell Conviction (PC) after servers shutdown.

Primary LanguagePython

scc-lan-restore

Restores LAN mode on Splinter Cell Conviction after servers shutdown.

UPDATES

  • 03/01/2024: v2 includes important fixes for "Unable to Join the Match. The connection is not responding", please update script.
  • 05/01/2024: added windows executable as alternative to installing python.

Current Status

[NEED TESTING]

  1. ByPassed LAN menu blocked with error message "The Splinter Cell Conviction server is not available at this time, please try again later." [OK]

  2. Able to discover and host Lan sessions [OK]

  3. Able to Join a session [OK]

  4. Play the Game [OK]
    The fix appears to work for most people.

  5. Out-of-sync or remote client disconnected issues.
    This is an issue not related to the lan restore fix, but i'm doing some investigations nevertheless. The problematic code was identified but not fully understood, i will maybe write somewhere what i collected so far.
    Legend says it is related to running AMD Ryzen versus Intel CPUs or older AMD cpus.

Instructions

Windows 10/11, tested on Windows 11 only.

  1. In order to prevent some issue like you don't see other sessions when searching for games, You will probably need to deactivate all virtual internet interfaces like the one from VirtualBox or Hyper-v. The problem is that the outgoing multicast packets to search for lan sessions might be routed to the wrong interfaces, messing up with the session discovery. Of course if you are using a "VPN" system like Radmin VPN to play with remote players, you should keep active the virtual interface it creates in windows, as the packets are intended to go through this interface.

  2. You will need to edit C:\Windows\System32\drivers\etc\hosts and add 127.0.0.1 gconnect.ubi.com at the bottom. Then open powershell and type ipconfig /flushdns
    What it does is that it will tell the game to look for 127.0.0.1 when it is trying to connect to gconnect.ubi.com. We will handle instead the request from the game as 127.0.0.1 is our local machine. The game used to request some configuration from gconnect.ubi.com on port 3074, but this service is now on port 80. Serving from localhost is more futureproof as we don't rely on external services. This is what actually blocked the LAN menu.

  3. The workaround currently relies on a Python script. You can either run it from Python following theses steps below, or run directly as administator the executable created with pyinstaller.

    • Install Python3 preferably from https://www.python.org/, check "Add Python to PATH", select "Customize installation" and check "pip".
    • Install pip package pydivert pip install pydivert or python -m pip install pydivert
    • Download scc_lan_helper.py from this repository.
    • Then open Windows terminal or powershell as administrator, and run the service with python scc_lan_helper.py and that's it.. You will need to keep the program window open while playing the game.

What does the python script do and why do i need to run as administrator

The administrator priviliedges are required because the script relies on hooking some inbound UDP packets used by the game and modifying them before they are handled by the game. There are 2 parts: a socket server listening on port 3074 and answering the game HTTP requests. The hook part which aims to fix the UDP discovery reply sent by the game host telling "i'm currently hosting a game, and those are the infos to connect". It will edit the packets so that your game client will be able to join.

Test results, troubleshooting

General protection faults on Windows 10, possible solutions:

Please open issues here, thanks.