Skip to content

Commit 0f812ff

Browse files
authored
[MK8/Splatoon/Minecraft] Add packs to force network port for multiplayer (#655)
Thanks @ashquarky for this PR!
1 parent 5aeaef0 commit 0f812ff

File tree

6 files changed

+205
-0
lines changed

6 files changed

+205
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[MinecraftWiiU_ForceMultiplayerPortNumber_v688]
2+
moduleMatches = 0x867317DE
3+
4+
# GetRandomPortRangeMin
5+
.origin = 0x03579530
6+
li r3, 0
7+
ori r3, r3, $port
8+
blr
9+
10+
# GetRandomPortRangeMax
11+
.origin = 0x0357953c
12+
li r3, 0
13+
ori r3, r3, $port
14+
blr
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
[Definition]
2+
titleIds = 00050000101D9D00,00050000101D7500,00050000101DBE00
3+
name = Multiplayer network port
4+
path = "Minecraft: Wii U Edition/Workarounds/Multiplayer network port"
5+
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.
6+
version = 6
7+
8+
[Default]
9+
$port = 58000
10+
11+
[Preset]
12+
name = UDP 58000
13+
category = Use network port
14+
$port = 58000
15+
16+
[Preset]
17+
name = UDP 58001
18+
category = Use network port
19+
$port = 58001
20+
21+
[Preset]
22+
name = UDP 58002
23+
category = Use network port
24+
$port = 58002
25+
26+
[Preset]
27+
name = UDP 58003
28+
category = Use network port
29+
$port = 58003
30+
31+
[Preset]
32+
name = UDP 58004
33+
category = Use network port
34+
$port = 58004
35+
36+
[Preset]
37+
name = UDP 58005
38+
category = Use network port
39+
$port = 58005
40+
41+
[Preset]
42+
name = UDP 58006
43+
category = Use network port
44+
$port = 58006
45+
46+
[Preset]
47+
name = UDP 58007
48+
category = Use network port
49+
$port = 58007
50+
51+
[Preset]
52+
name = UDP 58008
53+
category = Use network port
54+
$port = 58008
55+
56+
[Preset]
57+
name = UDP 58009
58+
category = Use network port
59+
$port = 58009
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[MarioKart8_ForceMultiplayerPortNumber_v81]
2+
moduleMatches = 0x9F0A90B7
3+
4+
# min port range
5+
0x101a9a52 = .short $port
6+
# max port range
7+
0x101a9a54 = .short $port
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
[Definition]
2+
titleIds = 000500001010ec00,000500001010ed00,000500001010eb00
3+
name = Multiplayer network port
4+
path = "Mario Kart 8/Workarounds/Multiplayer network port"
5+
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.
6+
version = 6
7+
8+
[Default]
9+
$port = 58000
10+
11+
[Preset]
12+
name = UDP 58000
13+
category = Use network port
14+
$port = 58000
15+
16+
[Preset]
17+
name = UDP 58001
18+
category = Use network port
19+
$port = 58001
20+
21+
[Preset]
22+
name = UDP 58002
23+
category = Use network port
24+
$port = 58002
25+
26+
[Preset]
27+
name = UDP 58003
28+
category = Use network port
29+
$port = 58003
30+
31+
[Preset]
32+
name = UDP 58004
33+
category = Use network port
34+
$port = 58004
35+
36+
[Preset]
37+
name = UDP 58005
38+
category = Use network port
39+
$port = 58005
40+
41+
[Preset]
42+
name = UDP 58006
43+
category = Use network port
44+
$port = 58006
45+
46+
[Preset]
47+
name = UDP 58007
48+
category = Use network port
49+
$port = 58007
50+
51+
[Preset]
52+
name = UDP 58008
53+
category = Use network port
54+
$port = 58008
55+
56+
[Preset]
57+
name = UDP 58009
58+
category = Use network port
59+
$port = 58009
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[Splatoon_ForceMultiplayerPortNumber_v288]
2+
moduleMatches = 0x659C782E
3+
4+
# min port range
5+
0x101e8952 = .short $port
6+
# max port range
7+
0x101e8954 = .short $port

src/Splatoon/NetworkPort/rules.txt

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
[Definition]
2+
titleIds = 0005000010176900,0005000010176A00,0005000010162B00
3+
name = Multiplayer network port
4+
path = "Splatoon/Workarounds/Multiplayer network port"
5+
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.
6+
version = 6
7+
8+
[Default]
9+
$port = 58000
10+
11+
[Preset]
12+
name = UDP 58000
13+
category = Use network port
14+
$port = 58000
15+
16+
[Preset]
17+
name = UDP 58001
18+
category = Use network port
19+
$port = 58001
20+
21+
[Preset]
22+
name = UDP 58002
23+
category = Use network port
24+
$port = 58002
25+
26+
[Preset]
27+
name = UDP 58003
28+
category = Use network port
29+
$port = 58003
30+
31+
[Preset]
32+
name = UDP 58004
33+
category = Use network port
34+
$port = 58004
35+
36+
[Preset]
37+
name = UDP 58005
38+
category = Use network port
39+
$port = 58005
40+
41+
[Preset]
42+
name = UDP 58006
43+
category = Use network port
44+
$port = 58006
45+
46+
[Preset]
47+
name = UDP 58007
48+
category = Use network port
49+
$port = 58007
50+
51+
[Preset]
52+
name = UDP 58008
53+
category = Use network port
54+
$port = 58008
55+
56+
[Preset]
57+
name = UDP 58009
58+
category = Use network port
59+
$port = 58009

0 commit comments

Comments
 (0)