mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-01-05 22:58:23 +01:00
[MK8/Splatoon/Minecraft] Add packs to force network port for multiplayer (#655)
Thanks @ashquarky for this PR!
This commit is contained in:
parent
5aeaef030c
commit
0f812ffb24
14
Workarounds/MinecraftWiiUEdition_NetworkPort/patch_port.asm
Normal file
14
Workarounds/MinecraftWiiUEdition_NetworkPort/patch_port.asm
Normal 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
|
59
Workarounds/MinecraftWiiUEdition_NetworkPort/rules.txt
Normal file
59
Workarounds/MinecraftWiiUEdition_NetworkPort/rules.txt
Normal 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
|
7
src/MarioKart8/NetworkPort/patch_port.asm
Normal file
7
src/MarioKart8/NetworkPort/patch_port.asm
Normal file
@ -0,0 +1,7 @@
|
||||
[MarioKart8_ForceMultiplayerPortNumber_v81]
|
||||
moduleMatches = 0x9F0A90B7
|
||||
|
||||
# min port range
|
||||
0x101a9a52 = .short $port
|
||||
# max port range
|
||||
0x101a9a54 = .short $port
|
59
src/MarioKart8/NetworkPort/rules.txt
Normal file
59
src/MarioKart8/NetworkPort/rules.txt
Normal 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
|
7
src/Splatoon/NetworkPort/patch_port.asm
Normal file
7
src/Splatoon/NetworkPort/patch_port.asm
Normal file
@ -0,0 +1,7 @@
|
||||
[Splatoon_ForceMultiplayerPortNumber_v288]
|
||||
moduleMatches = 0x659C782E
|
||||
|
||||
# min port range
|
||||
0x101e8952 = .short $port
|
||||
# max port range
|
||||
0x101e8954 = .short $port
|
59
src/Splatoon/NetworkPort/rules.txt
Normal file
59
src/Splatoon/NetworkPort/rules.txt
Normal 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
|
Loading…
Reference in New Issue
Block a user