[MK8/Splatoon/Minecraft] Add packs to force network port for multiplayer (#655)

Thanks @ashquarky for this PR!
This commit is contained in:
Ash 2024-12-04 12:28:36 +11:00 committed by GitHub
parent 5aeaef030c
commit 0f812ffb24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 205 additions and 0 deletions

View File

@ -0,0 +1,14 @@
[MinecraftWiiU_ForceMultiplayerPortNumber_v688]
moduleMatches = 0x867317DE
# GetRandomPortRangeMin
.origin = 0x03579530
li r3, 0
ori r3, r3, $port
blr
# GetRandomPortRangeMax
.origin = 0x0357953c
li r3, 0
ori r3, r3, $port
blr

View File

@ -0,0 +1,59 @@
[Definition]
titleIds = 00050000101D9D00,00050000101D7500,00050000101DBE00
name = Multiplayer network port
path = "Minecraft: Wii U Edition/Workarounds/Multiplayer network port"
description = Forces peer-to-peer multiplayer to use a certain network port number, so that you can port forward it in your router.||This might help with connecting to online services, or with some 118-XXXX errors.
version = 6
[Default]
$port = 58000
[Preset]
name = UDP 58000
category = Use network port
$port = 58000
[Preset]
name = UDP 58001
category = Use network port
$port = 58001
[Preset]
name = UDP 58002
category = Use network port
$port = 58002
[Preset]
name = UDP 58003
category = Use network port
$port = 58003
[Preset]
name = UDP 58004
category = Use network port
$port = 58004
[Preset]
name = UDP 58005
category = Use network port
$port = 58005
[Preset]
name = UDP 58006
category = Use network port
$port = 58006
[Preset]
name = UDP 58007
category = Use network port
$port = 58007
[Preset]
name = UDP 58008
category = Use network port
$port = 58008
[Preset]
name = UDP 58009
category = Use network port
$port = 58009

View File

@ -0,0 +1,7 @@
[MarioKart8_ForceMultiplayerPortNumber_v81]
moduleMatches = 0x9F0A90B7
# min port range
0x101a9a52 = .short $port
# max port range
0x101a9a54 = .short $port

View File

@ -0,0 +1,59 @@
[Definition]
titleIds = 000500001010ec00,000500001010ed00,000500001010eb00
name = Multiplayer network port
path = "Mario Kart 8/Workarounds/Multiplayer network port"
description = Forces peer-to-peer multiplayer to use a certain network port number, so that you can port forward it in your router.||This might help with connecting to online services, or with some 118-XXXX errors.
version = 6
[Default]
$port = 58000
[Preset]
name = UDP 58000
category = Use network port
$port = 58000
[Preset]
name = UDP 58001
category = Use network port
$port = 58001
[Preset]
name = UDP 58002
category = Use network port
$port = 58002
[Preset]
name = UDP 58003
category = Use network port
$port = 58003
[Preset]
name = UDP 58004
category = Use network port
$port = 58004
[Preset]
name = UDP 58005
category = Use network port
$port = 58005
[Preset]
name = UDP 58006
category = Use network port
$port = 58006
[Preset]
name = UDP 58007
category = Use network port
$port = 58007
[Preset]
name = UDP 58008
category = Use network port
$port = 58008
[Preset]
name = UDP 58009
category = Use network port
$port = 58009

View File

@ -0,0 +1,7 @@
[Splatoon_ForceMultiplayerPortNumber_v288]
moduleMatches = 0x659C782E
# min port range
0x101e8952 = .short $port
# max port range
0x101e8954 = .short $port

View File

@ -0,0 +1,59 @@
[Definition]
titleIds = 0005000010176900,0005000010176A00,0005000010162B00
name = Multiplayer network port
path = "Splatoon/Workarounds/Multiplayer network port"
description = Forces peer-to-peer multiplayer to use a certain network port number, so that you can port forward it in your router.||This might help with connecting to online services, or with some 118-XXXX errors.
version = 6
[Default]
$port = 58000
[Preset]
name = UDP 58000
category = Use network port
$port = 58000
[Preset]
name = UDP 58001
category = Use network port
$port = 58001
[Preset]
name = UDP 58002
category = Use network port
$port = 58002
[Preset]
name = UDP 58003
category = Use network port
$port = 58003
[Preset]
name = UDP 58004
category = Use network port
$port = 58004
[Preset]
name = UDP 58005
category = Use network port
$port = 58005
[Preset]
name = UDP 58006
category = Use network port
$port = 58006
[Preset]
name = UDP 58007
category = Use network port
$port = 58007
[Preset]
name = UDP 58008
category = Use network port
$port = 58008
[Preset]
name = UDP 58009
category = Use network port
$port = 58009