Skip to content

Commit

Permalink
3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RainbowTabitha committed Jul 3, 2024
1 parent 9693ac5 commit fe8b159
Show file tree
Hide file tree
Showing 18 changed files with 258 additions and 62 deletions.
Binary file added assets/logos/marioParty9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logos/marioPartyDS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions codes/marioParty9.py
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
'''
14 changes: 14 additions & 0 deletions codes/marioPartyDS.py
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
'''
26 changes: 26 additions & 0 deletions events/marioParty9_mgreplace.py
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)
26 changes: 26 additions & 0 deletions events/marioPartyDS_mgreplace.py
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)
8 changes: 4 additions & 4 deletions frames/marioParty1_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Function to create the main interface for Mario Party 1
def create_mario_party_1_interface(frame):
# Create a tabbed interface
tabview = ctk.CTkTabview(frame, width=1110, height=752, fg_color=("#fcfcfc", "#323232"))
tabview = ctk.CTkTabview(frame, width=1110, height=885, fg_color=("#fcfcfc", "#323232"))
tabview.grid(padx=10, pady=10)
tabview.add("Coins Mods")
tabview.add("Minigame Replacement")
Expand All @@ -43,7 +43,7 @@ def create_entry_and_checkbox(tab, row, icon_path, label_text, color, checkbox_t

# Create button to generate coins modification codes
parse_coins_button = ctk.CTkButton(master=tabview.tab("Coins Mods"), command=lambda: coinsEvent_mp1(blue_entry, blue_checkbox, red_entry, red_checkbox), text="Generate Codes")
parse_coins_button.place(x=10, y=660)
parse_coins_button.place(x=10, y=800)

# List of minigame names
minigames_list = ["Memory Match", "Slot Machine", "Buried Treasure", "Treasure Divers", "Shell Game", "Slot Car Derby 1", "Hot Bob-omb", "Slot Car Derby 2", "Pipe Maze", "Ghost Guess", "Musical Mushroom", "Pedal Power", "Crazy Cutter", "Face Lift", "Whack-a-Plant", "Bash 'n' Cash", "Bowl Over", "Ground Pound", "Balloon Burst", "Coin Block Blitz", "Coin Block Bash", "Skateboard Scamper", "Box Mountain Mayhem", "Platform Peril", "Teetering Towers", "Mushroom Mix-Up", "Bumper Ball Maze 1", "Grab Bag", "Bobsled Run", "Bumper Balls", "TightRope Treachery", "Knock Block Tower", "Tipsy Tourney", "Bombs Away", "Crane Game", "Bumper Ball Maze 2", "Mario Bandstand", "Desert Dash", "Shy Guy Says", "Limbo Dance", "Bombsketball", "Cast Aways", "Key-pa-Way", "Running of the Bulb", "Hot Rope Jump", "Handcar Havoc", "Deep Sea Divers", "Piranha's Pursuit", "Tug o' War", "Paddle Battle", "Bumper Ball Maze 3", "Coin Shower Flower", "Hammer Drop"]
Expand All @@ -58,7 +58,7 @@ def create_entry_and_checkbox(tab, row, icon_path, label_text, color, checkbox_t
combobox_mingames_2 = ctk.CTkComboBox(master=tabview.tab("Minigame Replacement"), values=minigames_list)
combobox_mingames_2.grid(row=0, column=3)
parse_minigame_button = ctk.CTkButton(master=tabview.tab("Minigame Replacement"), command=lambda: mgReplaceEvent_mp1(combobox_mingames_1, combobox_mingames_2, minigames_list), text="Generate Codes")
parse_minigame_button.place(x=10, y=640)
parse_minigame_button.place(x=10, y=800)

icon = create_image_icon(tabview.tab("Star Handicaps"), "assets/eventTags/starSpace.png", 0, 0)
label = ctk.CTkLabel(master=tabview.tab("Star Handicaps"), text=" Top Left Starts with ", font=("Arial", 16))
Expand Down Expand Up @@ -93,5 +93,5 @@ def create_entry_and_checkbox(tab, row, icon_path, label_text, color, checkbox_t
label.grid(row=3, column=3)

parse_stars_button = ctk.CTkButton(master=tabview.tab("Star Handicaps"), command=lambda: handicapEvent_mp1(p1Stars, p2Stars, p3Stars, p4Stars), text="Generate Codes")
parse_stars_button.place(x=10, y=640)
parse_stars_button.place(x=10, y=800)
return frame
10 changes: 5 additions & 5 deletions frames/marioParty2_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# Function to create the main interface for Mario Party 1
def create_mario_party_2_interface(frame):
# Create a tabbed interface
tabview = ctk.CTkTabview(frame, width=1110, height=752, fg_color=("#fcfcfc", "#323232"))
tabview = ctk.CTkTabview(frame, width=1110, height=885, fg_color=("#fcfcfc", "#323232"))
tabview.grid(padx=10, pady=10)
tabview.add("Coins Mods")
tabview.add("Minigame Replacement")
Expand Down Expand Up @@ -58,7 +58,7 @@ def create_entry(tab, row, icon_path, label_text, color):

# Create button to generate coins modification codes
parse_coins_button = ctk.CTkButton(master=tabview.tab("Coins Mods"), command=lambda: coinsEvent_mp2(blue_entry, blue_checkbox, red_entry, red_checkbox, star_entry, koopaBank_entry), text="Generate Codes")
parse_coins_button.place(x=10, y=660)
parse_coins_button.place(x=10, y=800)

# List of minigame names
minigames_list = ["BOWSER Slots", "Roll Out the Barrels", "Coffin Congestion", "Hammer Slammer", "Give Me a Brake!", "Mallet-Go Round", "Grab Bag", "Bumper Balloon Cars", "Rakin' 'em In", "Day at the Races", "Face Lift", "Crazy Cutters", "Hot BOB-OMB", "Bowl Over", "Rainbow Run", "Crane Game", "Move to the Music", "BOB-OMB Barrage", "Look Away", "Shock Drop or Roll", "Lights Out", "Filet Relay", "Archer-ival", "TOAD Bandstand", "Bobsled Run", "Handcar Havoc", "Balloon Burst", "Sky Pilots", "Speed Hockey", "Cake Factory", "Dungeon Dash", "Magnet Carta", "Lava Tile Isle", "Hot Rope Jump", "Shell Shocked", "TOAD in the Box", "Mecha-Marathon", "Roll Call", "Abandon Ship", "Platform Peril", "Totem Pole Pound", "Bumper Balls", "Bombs Away", "Tipsy Tourney", "Honeycomb Havoc", "Hexagon Heat", "Skateboard Scamper", "Slot Car Derby", "Shy Guy Says", "Sneak 'n' Snore", "Driver's Ed", "BOWSER's Big Blast", "Looney Lumberjacks", "Torpedo Targets", "Destruction Duet", "Dizzy Dancing", "Tile Driver", "Quicksand Cache", "Deep Sea Salvage"]
Expand All @@ -73,7 +73,7 @@ def create_entry(tab, row, icon_path, label_text, color):
combobox_mingames_2 = ctk.CTkComboBox(master=tabview.tab("Minigame Replacement"), values=minigames_list)
combobox_mingames_2.grid(row=0, column=3)
parse_minigame_button = ctk.CTkButton(master=tabview.tab("Minigame Replacement"), command=lambda: mgReplaceEvent_mp2(combobox_mingames_1, combobox_mingames_2, minigames_list), text="Generate Codes")
parse_minigame_button.place(x=10, y=640)
parse_minigame_button.place(x=10, y=800)

icon = create_image_icon(tabview.tab("Item Mods"), "assets/items/mushroom.png", 1, 1)
label = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" Costs ", font=("Arial", 16))
Expand Down Expand Up @@ -121,7 +121,7 @@ def create_entry(tab, row, icon_path, label_text, color):
magicLamp2.grid(row=3, column=8)

parseButtonTwo = ctk.CTkButton(master=tabview.tab("Item Mods"), command=lambda: itemsTwo(mushroom2, skeletonKey2, plunderChest2, duelingGlove2, warpBlock2, goldenMushroom2, magicLamp2), text="Generate Codes")
parseButtonTwo.place(x=10, y=640)
parseButtonTwo.place(x=10, y=800)

warningLabel = ctk.CTkLabel(master=tabview.tab("Item Mods"), text="These are not weights! 0 doesnt mean disabled.", font=("Arial", 16, "bold"))
warningLabel.place(x=5, y=210)
Expand Down Expand Up @@ -159,5 +159,5 @@ def create_entry(tab, row, icon_path, label_text, color):
label.grid(row=3, column=3)

parse_stars_button = ctk.CTkButton(master=tabview.tab("Star Handicaps"), command=lambda: handicapEvent_mp2(p1Stars, p2Stars, p3Stars, p4Stars), text="Generate Codes")
parse_stars_button.place(x=10, y=640)
parse_stars_button.place(x=10, y=800)
return frame
10 changes: 5 additions & 5 deletions frames/marioParty3_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# Function to create the main interface for Mario Party 1
def create_mario_party_3_interface(frame):
# Create a tabbed interface
tabview = ctk.CTkTabview(frame, width=1110, height=752, fg_color=("#fcfcfc", "#323232"))
tabview = ctk.CTkTabview(frame, width=1110, height=885, fg_color=("#fcfcfc", "#323232"))
tabview.grid(padx=10, pady=10)
tabview.add("Coins Mods")
tabview.add("Minigame Replacement")
Expand Down Expand Up @@ -58,7 +58,7 @@ def create_entry(tab, row, icon_path, label_text, color):

# Create button to generate coins modification codes
parse_coins_button = ctk.CTkButton(master=tabview.tab("Coins Mods"), command=lambda: coinsEvent_mp3(blue_entry, blue_checkbox, red_entry, red_checkbox, star_entry, koopaBank_entry), text="Generate Codes")
parse_coins_button.place(x=10, y=660)
parse_coins_button.place(x=10, y=800)

# List of minigame names
minigames_list = ["Thwomp Pull", "River Raiders", "Tidal Toss", "Eatsa Pizza", "Baby Bowser Broadside", "Pump, Pump and Away", "Hyper Hydrants", "Picking Panic", "Treadmill Grill", "Toadstoll Titan", "Aces High", "Bounce 'n' Trounce", "Ice Rink Risk", "Locked Out", "Chip Shot Challenge", "Parasol Plummet", "Messy Memory", "Picture Imperfect", "Mario's Puzzle Party", "The Beat Goes On", "M. P. I. Q.", "Curtain Call", "Water Whirled", "Frigid Bridges", "Awful Tower", "Cheep Cheep Chase", "Pipe Cleaners", "Snowball Summit", "All Fired Up", "Stacked Deck", "Three Door Monty", "Rockin' Raceway", "Merry-Go-Chomp", "Slap Down", "Storm Chasers", "Eye Sore", "Vine With Me", "Popgun Pick-Off", "End of the Line", "Bowser Toss", "Baby Bowser Bonkers", "Motor Rooter", "Silly Screws", "Crowd Cover", "Tick Tock Hop", "Fowl Play", "Mecha-Marathon", "Hey, Batter, Batter!", "Bobbing Bow-loons", "Dorrie Dip", "Swinging with Sharks", "Swing 'n' Swipe", "Stardust Battle", "Game Guy's Roulette", "Game Guy's Lucky 7", "Game Guy's Magic Boxes", "Game Guy's Sweet Surprise", "Dizzy Dinghies", "Mario's Puzzle Party Pro"]
Expand All @@ -73,7 +73,7 @@ def create_entry(tab, row, icon_path, label_text, color):
combobox_mingames_2 = ctk.CTkComboBox(master=tabview.tab("Minigame Replacement"), values=minigames_list)
combobox_mingames_2.grid(row=0, column=3)
parse_minigame_button = ctk.CTkButton(master=tabview.tab("Minigame Replacement"), command=lambda: mgReplaceEvent_mp3(combobox_mingames_1, combobox_mingames_2, minigames_list), text="Generate Codes")
parse_minigame_button.place(x=10, y=640)
parse_minigame_button.place(x=10, y=800)

icon = create_image_icon(tabview.tab("Item Mods"), "assets/items/mushroom.png", 1, 1)
label = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" Costs ", font=("Arial", 16), text_color="red")
Expand Down Expand Up @@ -178,7 +178,7 @@ def create_entry(tab, row, icon_path, label_text, color):
itemBag3.grid(row=5, column=12)

parseButtonThree = ctk.CTkButton(master=tabview.tab("Item Mods"), command=lambda: itemsEvent_mp3(mushroom3, skeletonKey3, poisonMushroom3, reverseMushroom3, goldenMushroom3, magicLamp3, warpBlock3, celluarShopper3, bowserPhone3, duelingGlove3, luckyLamp3, bowserSuit3, plunderChest3, booBell3, booRepellant3, itemBag3), text="Generate Codes")
parseButtonThree.place(x=10, y=640)
parseButtonThree.place(x=10, y=800)

warningLabel = ctk.CTkLabel(master=tabview.tab("Item Mods"), text="These are not weights! 0 doesnt mean disabled.", font=("Arial", 16, "bold"))
warningLabel.place(x=5, y=310)
Expand Down Expand Up @@ -219,6 +219,6 @@ def create_entry(tab, row, icon_path, label_text, color):
label.grid(row=3, column=3)

parse_stars_button = ctk.CTkButton(master=tabview.tab("Star Handicaps"), command=lambda: handicapEvent_mp3(p1Stars, p2Stars, p3Stars, p4Stars), text="Generate Codes")
parse_stars_button.place(x=10, y=640)
parse_stars_button.place(x=10, y=800)

return frame
Loading

0 comments on commit fe8b159

Please sign in to comment.