From d6379411a0f51df57db9f02bc48ecf3e879604a4 Mon Sep 17 00:00:00 2001 From: cosmii02 Date: Sat, 7 Dec 2024 16:33:41 +0200 Subject: [PATCH] Added new way of enabling udp loopback for FH4 and FM7 --- Readme.md | 5 +++ obj/project.assets.json | 89 ++++++++++++++++++++++++++++++++++++++++- obj/project.nuget.cache | 9 ++++- 3 files changed, 100 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index 0caef69..8f94cea 100644 --- a/Readme.md +++ b/Readme.md @@ -25,6 +25,11 @@ Download .NET8.0 from the link here: https://dotnet.microsoft.com/en-us/download 2. Start the utility (if it shows a message about orphan sid, you can safely ignore it) 3. Make sure that Forza Horizon 4 / Motorsport 7 are checked 4. Save changes +In case the above do not work for you run the below command in Powershell as admin, the command enables udp loopback without needing the utility. + +Forza Horizon 4: ```CheckNetIsolation LoopbackExempt -a -n="Microsoft.SunriseBaseGame_8wekyb3d8bbwe"``` + +Forza Motorsport 7: I do not have FM7 to get the ID, sorry :) ----------------------------------------------------------------------------------------------------------------------------------------- diff --git a/obj/project.assets.json b/obj/project.assets.json index e2e5b32..e7d8fc7 100644 --- a/obj/project.assets.json +++ b/obj/project.assets.json @@ -210,6 +210,12 @@ "buildTransitive/net8.0/_._": {} } }, + "Microsoft.NET.ILLink.Tasks/8.0.11": { + "type": "package", + "build": { + "build/Microsoft.NET.ILLink.Tasks.props": {} + } + }, "Newtonsoft.Json/13.0.3": { "type": "package", "compile": { @@ -433,6 +439,12 @@ "buildTransitive/net8.0/_._": {} } }, + "Microsoft.NET.ILLink.Tasks/8.0.11": { + "type": "package", + "build": { + "build/Microsoft.NET.ILLink.Tasks.props": {} + } + }, "Newtonsoft.Json/13.0.3": { "type": "package", "compile": { @@ -768,6 +780,57 @@ "useSharedDesignerContext.txt" ] }, + "Microsoft.NET.ILLink.Tasks/8.0.11": { + "sha512": "zk5lnZrYJgtuJG8L4v17Ej8rZ3PUcR2iweNV08BaO5LbYHIi2wNaVNcJoLxvqgQdnjLlKnCCfVGLDr6QHeAarQ==", + "type": "package", + "path": "microsoft.net.illink.tasks/8.0.11", + "hasTools": true, + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "Sdk/Sdk.props", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/cs/ILLink.CodeFixProvider.dll", + "analyzers/dotnet/cs/ILLink.RoslynAnalyzer.dll", + "build/Microsoft.NET.ILLink.Analyzers.props", + "build/Microsoft.NET.ILLink.Tasks.props", + "build/Microsoft.NET.ILLink.targets", + "microsoft.net.illink.tasks.8.0.11.nupkg.sha512", + "microsoft.net.illink.tasks.nuspec", + "tools/net472/ILLink.Tasks.dll", + "tools/net472/ILLink.Tasks.dll.config", + "tools/net472/Mono.Cecil.Mdb.dll", + "tools/net472/Mono.Cecil.Pdb.dll", + "tools/net472/Mono.Cecil.Rocks.dll", + "tools/net472/Mono.Cecil.dll", + "tools/net472/Sdk/Sdk.props", + "tools/net472/System.Buffers.dll", + "tools/net472/System.Collections.Immutable.dll", + "tools/net472/System.Memory.dll", + "tools/net472/System.Numerics.Vectors.dll", + "tools/net472/System.Reflection.Metadata.dll", + "tools/net472/System.Runtime.CompilerServices.Unsafe.dll", + "tools/net472/build/Microsoft.NET.ILLink.Analyzers.props", + "tools/net472/build/Microsoft.NET.ILLink.Tasks.props", + "tools/net472/build/Microsoft.NET.ILLink.targets", + "tools/net8.0/ILLink.Tasks.deps.json", + "tools/net8.0/ILLink.Tasks.dll", + "tools/net8.0/Mono.Cecil.Mdb.dll", + "tools/net8.0/Mono.Cecil.Pdb.dll", + "tools/net8.0/Mono.Cecil.Rocks.dll", + "tools/net8.0/Mono.Cecil.dll", + "tools/net8.0/Sdk/Sdk.props", + "tools/net8.0/build/Microsoft.NET.ILLink.Analyzers.props", + "tools/net8.0/build/Microsoft.NET.ILLink.Tasks.props", + "tools/net8.0/build/Microsoft.NET.ILLink.targets", + "tools/net8.0/illink.deps.json", + "tools/net8.0/illink.dll", + "tools/net8.0/illink.runtimeconfig.json", + "useSharedDesignerContext.txt" + ] + }, "Newtonsoft.Json/13.0.3": { "sha512": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "type": "package", @@ -805,6 +868,7 @@ "Microsoft.Extensions.Configuration.Binder >= 9.0.0", "Microsoft.Extensions.Configuration.EnvironmentVariables >= 9.0.0", "Microsoft.Extensions.Configuration.Ini >= 9.0.0", + "Microsoft.NET.ILLink.Tasks >= 8.0.11", "Newtonsoft.Json >= 13.0.3" ] }, @@ -820,7 +884,6 @@ "packagesPath": "C:\\Users\\apple\\.nuget\\packages\\", "outputPath": "C:\\Users\\apple\\RiderProjects\\RacingDSX\\obj\\", "projectStyle": "PackageReference", - "UsingMicrosoftNETSdk": false, "configFilePaths": [ "C:\\Users\\apple\\AppData\\Roaming\\NuGet\\NuGet.Config" ], @@ -867,6 +930,12 @@ "target": "Package", "version": "[9.0.0, )" }, + "Microsoft.NET.ILLink.Tasks": { + "suppressParent": "All", + "target": "Package", + "version": "[8.0.11, )", + "autoReferenced": true + }, "Newtonsoft.Json": { "target": "Package", "version": "[13.0.3, )" @@ -883,6 +952,24 @@ ], "assetTargetFallback": true, "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Runtime.win-x64", + "version": "[8.0.11, 8.0.11]" + }, + { + "name": "Microsoft.NETCore.App.Crossgen2.win-x64", + "version": "[8.0.11, 8.0.11]" + }, + { + "name": "Microsoft.NETCore.App.Runtime.win-x64", + "version": "[8.0.11, 8.0.11]" + }, + { + "name": "Microsoft.WindowsDesktop.App.Runtime.win-x64", + "version": "[8.0.11, 8.0.11]" + } + ], "frameworkReferences": { "Microsoft.NETCore.App": { "privateAssets": "all" diff --git a/obj/project.nuget.cache b/obj/project.nuget.cache index 3974ae4..2fb2c61 100644 --- a/obj/project.nuget.cache +++ b/obj/project.nuget.cache @@ -1,6 +1,6 @@ { "version": 2, - "dgSpecHash": "hBUUivvPYQA=", + "dgSpecHash": "HX2aOTsh1JE=", "success": true, "projectFilePath": "C:\\Users\\apple\\RiderProjects\\RacingDSX\\RacingDSX.csproj", "expectedPackageFiles": [ @@ -15,7 +15,12 @@ "C:\\Users\\apple\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\9.0.0\\microsoft.extensions.fileproviders.physical.9.0.0.nupkg.sha512", "C:\\Users\\apple\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\9.0.0\\microsoft.extensions.filesystemglobbing.9.0.0.nupkg.sha512", "C:\\Users\\apple\\.nuget\\packages\\microsoft.extensions.primitives\\9.0.0\\microsoft.extensions.primitives.9.0.0.nupkg.sha512", - "C:\\Users\\apple\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512" + "C:\\Users\\apple\\.nuget\\packages\\microsoft.net.illink.tasks\\8.0.11\\microsoft.net.illink.tasks.8.0.11.nupkg.sha512", + "C:\\Users\\apple\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512", + "C:\\Users\\apple\\.nuget\\packages\\microsoft.netcore.app.runtime.win-x64\\8.0.11\\microsoft.netcore.app.runtime.win-x64.8.0.11.nupkg.sha512", + "C:\\Users\\apple\\.nuget\\packages\\microsoft.windowsdesktop.app.runtime.win-x64\\8.0.11\\microsoft.windowsdesktop.app.runtime.win-x64.8.0.11.nupkg.sha512", + "C:\\Users\\apple\\.nuget\\packages\\microsoft.aspnetcore.app.runtime.win-x64\\8.0.11\\microsoft.aspnetcore.app.runtime.win-x64.8.0.11.nupkg.sha512", + "C:\\Users\\apple\\.nuget\\packages\\microsoft.netcore.app.crossgen2.win-x64\\8.0.11\\microsoft.netcore.app.crossgen2.win-x64.8.0.11.nupkg.sha512" ], "logs": [] } \ No newline at end of file