-
Notifications
You must be signed in to change notification settings - Fork 589
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MK8/Splatoon/Minecraft] Add packs to force network port for multipla…
…yer (#655) Thanks @ashquarky for this PR!
- Loading branch information
Showing
6 changed files
with
205 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
Workarounds/MinecraftWiiUEdition_NetworkPort/patch_port.asm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[MarioKart8_ForceMultiplayerPortNumber_v81] | ||
moduleMatches = 0x9F0A90B7 | ||
|
||
# min port range | ||
0x101a9a52 = .short $port | ||
# max port range | ||
0x101a9a54 = .short $port |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[Splatoon_ForceMultiplayerPortNumber_v288] | ||
moduleMatches = 0x659C782E | ||
|
||
# min port range | ||
0x101e8952 = .short $port | ||
# max port range | ||
0x101e8954 = .short $port |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |