disable_lan_only.txt can now be put inside the steam_settings folder.
parent
647e894d62
commit
7e1824290a
|
@ -6,7 +6,7 @@ Then use my emu like you normally would. (Don't forget to put a steam_appid.txt)
|
||||||
|
|
||||||
|
|
||||||
For the LAN only connections feature:
|
For the LAN only connections feature:
|
||||||
If for some reason you want to disable this feature create a file named: disable_lan_only.txt beside the steam_api dll.
|
If for some reason you want to disable this feature create a file named: disable_lan_only.txt beside the steam_api dll or inside the steam_settings folder beside the steam api dll.
|
||||||
|
|
||||||
I noticed a lot of games seem to connect to analytics services and other crap that I hate.
|
I noticed a lot of games seem to connect to analytics services and other crap that I hate.
|
||||||
|
|
||||||
|
|
|
@ -824,7 +824,7 @@ static bool network_functions_attached = false;
|
||||||
BOOL WINAPI DllMain( HINSTANCE, DWORD dwReason, LPVOID ) {
|
BOOL WINAPI DllMain( HINSTANCE, DWORD dwReason, LPVOID ) {
|
||||||
switch ( dwReason ) {
|
switch ( dwReason ) {
|
||||||
case DLL_PROCESS_ATTACH:
|
case DLL_PROCESS_ATTACH:
|
||||||
if (!file_exists(get_full_program_path() + "disable_lan_only.txt")) {
|
if (!file_exists(get_full_program_path() + "disable_lan_only.txt") && !file_exists(get_full_program_path() + "\\steam_settings\\disable_lan_only.txt")) {
|
||||||
PRINT_DEBUG("Hooking lan only functions\n");
|
PRINT_DEBUG("Hooking lan only functions\n");
|
||||||
DetourTransactionBegin();
|
DetourTransactionBegin();
|
||||||
DetourUpdateThread( GetCurrentThread() );
|
DetourUpdateThread( GetCurrentThread() );
|
||||||
|
|
Loading…
Reference in New Issue