Skip to content

Commit

Permalink
Added new way of enabling udp loopback for FH4 and FM7
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmii02 committed Dec 7, 2024
1 parent c57fdf4 commit d637941
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 3 deletions.
5 changes: 5 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 :)

-----------------------------------------------------------------------------------------------------------------------------------------

Expand Down
89 changes: 88 additions & 1 deletion obj/project.assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"
]
},
Expand All @@ -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"
],
Expand Down Expand Up @@ -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, )"
Expand All @@ -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"
Expand Down
9 changes: 7 additions & 2 deletions obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "hBUUivvPYQA=",
"dgSpecHash": "HX2aOTsh1JE=",
"success": true,
"projectFilePath": "C:\\Users\\apple\\RiderProjects\\RacingDSX\\RacingDSX.csproj",
"expectedPackageFiles": [
Expand All @@ -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": []
}

0 comments on commit d637941

Please sign in to comment.