-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9693ac5
commit fe8b159
Showing
18 changed files
with
258 additions
and
62 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,15 @@ | ||
# ============================================ | ||
# Mario Party Toolkit | ||
# Author: Nayla Hanegan ([email protected]) | ||
# Date: 7/3/2024 | ||
# License: MIT | ||
# ============================================ | ||
|
||
def getMinigameReplacement9(hexUno, hexDos, gameUno, gameDos): | ||
return f''' | ||
MP9 - Minigame Replacement: {gameUno} -> {gameDos} | ||
42000000 81000000 | ||
20758730 {hexUno}00 | ||
04758730 {hexDos}00 | ||
E0000000 80008000 | ||
''' |
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 @@ | ||
# ============================================ | ||
# Mario Party Toolkit | ||
# Author: Nayla Hanegan ([email protected]) | ||
# Date: 7/3/2024 | ||
# License: MIT | ||
# ============================================ | ||
|
||
def getMinigameReplacementDS(hexUno, hexDos, gameUno, gameDos): | ||
return f''' | ||
MPDS - Minigame Replacement: {gameUno} -> {gameDos} | ||
520AAA20 000000{hexUno} | ||
020AAA20 000000{hexDos} | ||
D2000000 00000000 | ||
''' |
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,26 @@ | ||
# ============================================ | ||
# Mario Party Toolkit | ||
# Author: Nayla Hanegan ([email protected]) | ||
# Date: 7/3/2024 | ||
# License: MIT | ||
# ============================================ | ||
|
||
from codes.marioParty9 import * | ||
from functions import * | ||
|
||
import pyperclip | ||
|
||
|
||
def mgReplaceEvent_mp9(minigame1Name, minigame2Name, minigames_list): | ||
mingameSlot1 = minigame1Name.get() | ||
mingameSlot2 = minigame2Name.get() | ||
minigameHex = ["313031", "313032", "313033", "313034", "313035", "313036", "313037", "313038", "313039", "313130", "323031", "323032", "323033", "323034", "323035", "323036", "323037", "323038", "323039", "323130", "343031", "343032", "343033", "343034", "343035", "343036", "343037", "343038", "343039", "343130", "343131", "343132", "343133", "343134", "343135", "343136", "343137", "343138", "343139", "343230", "343231", "343232", "343233", "343234", "343235", "343236", "343237", "343238", "343239", "343330", "343331", "343332", "343333", "343334", "343335", "343336", "343337", "343338", "343339", "343430", "343431", "343432", "343433", "343434", "363031", "363032", "363033", "363034", "363035", "363036", "363037", "373031", "373032", "373033", "373034", "373035", "373036", "37303"] | ||
minigameSlot1Num = minigames_list.index(mingameSlot1) | ||
minigameSlot1Hex = minigameHex[minigameSlot1Num] | ||
minigameSlot2Num = minigames_list.index(mingameSlot2) | ||
minigameSlot2Hex = minigameHex[minigameSlot2Num] | ||
code = getMinigameReplacement9(minigameSlot1Hex, minigameSlot2Hex, mingameSlot1, mingameSlot2) | ||
code = code.strip() | ||
pyperclip.copy(code) | ||
print("Generated codes copied to the clipboard.") | ||
createDialog("Operation Sucessful", "success", "Generated codes copied to clipboard!.", None) |
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,26 @@ | ||
# ============================================ | ||
# Mario Party Toolkit | ||
# Author: Nayla Hanegan ([email protected]) | ||
# Date: 7/32024 | ||
# License: MIT | ||
# ============================================ | ||
|
||
from codes.marioPartyDS import * | ||
from functions import * | ||
|
||
import pyperclip | ||
|
||
|
||
def mgReplaceEvent_mpDS(minigame1Name, minigame2Name, minigames_list): | ||
mingameSlot1 = minigame1Name.get() | ||
mingameSlot2 = minigame2Name.get() | ||
minigameHex = ["01", "02", "03", "04", "05", "06", "07", "08", "0A", "0B", "0C", "0D", "0E", "0F", "11", "12", "13", "14", "15", "16", "17", "18", "19", "1A", "1B", "1C", "1D", "1E", "1F", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "2A", "2B", "2C", "2D", "2E", "2F", "30", "31", "32", "34", "35", "36", "37", "38", "39", "3A", "3B", "3C", "3D", "3E", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "4A", "4B", "4C", "4D"] | ||
minigameSlot1Num = minigames_list.index(mingameSlot1) | ||
minigameSlot1Hex = minigameHex[minigameSlot1Num] | ||
minigameSlot2Num = minigames_list.index(mingameSlot2) | ||
minigameSlot2Hex = minigameHex[minigameSlot2Num] | ||
code = getMinigameReplacementDS(minigameSlot1Hex, minigameSlot2Hex, mingameSlot1, mingameSlot2) | ||
code = code.strip() | ||
pyperclip.copy(code) | ||
print("Generated codes copied to the clipboard.") | ||
createDialog("Operation Sucessful", "success", "Generated codes copied to clipboard!.", None) |
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
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
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
Oops, something went wrong.