diff --git a/assets/logos/marioParty9.png b/assets/logos/marioParty9.png new file mode 100644 index 0000000..e48d70e Binary files /dev/null and b/assets/logos/marioParty9.png differ diff --git a/assets/logos/marioPartyDS.png b/assets/logos/marioPartyDS.png new file mode 100644 index 0000000..3951f08 Binary files /dev/null and b/assets/logos/marioPartyDS.png differ diff --git a/codes/marioParty9.py b/codes/marioParty9.py new file mode 100644 index 0000000..e915762 --- /dev/null +++ b/codes/marioParty9.py @@ -0,0 +1,15 @@ +# ============================================ +# Mario Party Toolkit +# Author: Nayla Hanegan (naylahanegan@gmail.com) +# 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 +''' \ No newline at end of file diff --git a/codes/marioPartyDS.py b/codes/marioPartyDS.py new file mode 100644 index 0000000..33c8aec --- /dev/null +++ b/codes/marioPartyDS.py @@ -0,0 +1,14 @@ +# ============================================ +# Mario Party Toolkit +# Author: Nayla Hanegan (naylahanegan@gmail.com) +# 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 +''' \ No newline at end of file diff --git a/events/marioParty9_mgreplace.py b/events/marioParty9_mgreplace.py new file mode 100644 index 0000000..bc1aace --- /dev/null +++ b/events/marioParty9_mgreplace.py @@ -0,0 +1,26 @@ +# ============================================ +# Mario Party Toolkit +# Author: Nayla Hanegan (naylahanegan@gmail.com) +# 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) diff --git a/events/marioPartyDS_mgreplace.py b/events/marioPartyDS_mgreplace.py new file mode 100644 index 0000000..d7bc0cc --- /dev/null +++ b/events/marioPartyDS_mgreplace.py @@ -0,0 +1,26 @@ +# ============================================ +# Mario Party Toolkit +# Author: Nayla Hanegan (naylahanegan@gmail.com) +# 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) diff --git a/frames/marioParty1_frame.py b/frames/marioParty1_frame.py index e0be279..648a89b 100644 --- a/frames/marioParty1_frame.py +++ b/frames/marioParty1_frame.py @@ -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") @@ -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"] @@ -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)) @@ -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 \ No newline at end of file diff --git a/frames/marioParty2_frame.py b/frames/marioParty2_frame.py index 5aabe43..64da816 100644 --- a/frames/marioParty2_frame.py +++ b/frames/marioParty2_frame.py @@ -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") @@ -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"] @@ -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)) @@ -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) @@ -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 \ No newline at end of file diff --git a/frames/marioParty3_frame.py b/frames/marioParty3_frame.py index 6842f4b..124bfc8 100644 --- a/frames/marioParty3_frame.py +++ b/frames/marioParty3_frame.py @@ -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") @@ -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"] @@ -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") @@ -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) @@ -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 \ No newline at end of file diff --git a/frames/marioParty4_frame.py b/frames/marioParty4_frame.py index df144f1..ae86c91 100644 --- a/frames/marioParty4_frame.py +++ b/frames/marioParty4_frame.py @@ -20,7 +20,7 @@ # Function to create the main interface for Mario Party 1 def create_mario_party_4_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") @@ -55,7 +55,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_mp4(blue_entry, red_entry, mgWin_entry, star_entry, mega_entry, booHouseStar_entry, booHouseCoins_entry, lottery_entry, booHouseCoinsMin_entry, bowser_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 = ["Manta Rings", "Slime Time", "Booksquirm", "Trace Race", "Mario Medley", "Avalanche!", "Domination", "Paratrooper Plunge", "Toad's Quick Draw", "Three Throw", "Photo Finish", "Mr. Blizzard's Brigade", "Bob-omb Breakers", "Long Claw of the Law", "Stamp Out!", "Candlelight Fright", "Makin' Waves", "Hide and Go BOOM!", "Tree Stomp", "Fish n' Drips", "Hop or Pop", "Money Belts", "GOOOOOOAL!!", "Blame it on the Crane", "The Great Deflate", "Revers-a-Bomb", "Right Oar Left?", "Cliffhangers", "Team Treasure Trek", "Pair-a-sailing", "Order Up", "Dungeon Duos", "Beach Volley Folley", "Cheep Cheep Sweep", "Darts of Doom", "Fruits of Doom", "Balloon of Doom", "Chain Chomp Fever", "Paths of Peril", "Bowser's Bigger Blast", "Butterfly Blitz", "Barrel Baron", "Mario Speedwagons", "Bowser Bop", "Mystic Match 'Em", "Archaeologuess", "Goomba's Chip Flip", "Kareening Koopas", "The Final Battle!", "Rumble Fishing", "Take a Breather", "Bowser Wrestling", "Panels of Doom"] @@ -69,7 +69,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_mp4(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/miniMushroom.png", 2, 1) label = ctk.CTkLabel(master=tabview.tab("Item Mods"), text=" Costs ", font=("Arial", 16)) @@ -257,13 +257,13 @@ def create_entry(tab, row, icon_path, label_text, color): label.grid(row=5, column=20) parseButtonThree = ctk.CTkButton(master=tabview.tab("Item Mods"), command=lambda: itemsEvent_mp4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4), text="Generate Codes") - parseButtonThree.place(x=10, y=640) + parseButtonThree.place(x=10, y=800) parseButtonFour = ctk.CTkButton(master=tabview.tab("Item Mods"), command=lambda: savePresetItems4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4), text="Save Preset") - parseButtonFour.place(x=160, y=640) + parseButtonFour.place(x=160, y=800) parseButtonFour = ctk.CTkButton(master=tabview.tab("Item Mods"), command=lambda: loadPresetItems4(miniPrice4, miniWeight4, megaPrice4, megaWeight4, superMiniPrice4, superMiniWeight4, superMegaPrice4, superMegaWeight4, miniMegaHammerPrice4, miniMegaHammerWeight4, sparkyStickerPrice4, sparkyStickerWeight4, warpPipePrice4, warpPipeWeight4, swapCardPrice4, swapCardWeight4, bowserSuitPrice4, bowserSuitWeight4, gaddlightPrice4, gaddlightWeight4, magicLampPrice4, magicLampWeight4, crystalBallPrice4, crystalBallWeight4, chompCallPrice4, chompCallWeight4, itemBagPrice4, itemBagWeight4), text="Load Preset") - parseButtonFour.place(x=310, y=640) + parseButtonFour.place(x=310, y=800) items4 = ["None", "Mini Mushroom", "Mega Mushroom", "Super Mini Mushroom", "Super Mega Mushroom", "Mini-Mega Hammer", "Warp Pipe", "Swap Card", "Sparky Sticker", "Gaddlight", "Chomp Call", "Bowser Suit", "Boo's Crystal Ball", "Magic Lamp", "Item Bag"] @@ -286,7 +286,7 @@ def create_entry(tab, row, icon_path, label_text, color): initalItem43.grid(row=2, column=1) parseButton = ctk.CTkButton(master=tabview.tab("Initial Items"), command=lambda: initialItemsEvent_mp4(initalItem41, initalItem42, initalItem43, items4), text="Generate Codes") - parseButton.place(x=10, y=640) + parseButton.place(x=10, y=800) label = ctk.CTkLabel(master=tabview.tab("Lottery Rewards"), text=" 1st Place Prize (Coins): ", font=("Arial", 16)) label.grid(row=0, column=0, sticky="w") @@ -313,7 +313,7 @@ def create_entry(tab, row, icon_path, label_text, color): lotteryPrizeD.grid(row=3, column=1, sticky="w") parseButton = ctk.CTkButton(master=tabview.tab("Lottery Rewards"), command=lambda: itemsLotteryEvent_mp4(lotteryPrizeA, lotteryPrizeB, lotteryPrizeC, lotteryPrizeD, items4), text="Generate Codes") - parseButton.place(x=10, y=640) + parseButton.place(x=10, y=800) spaces4 = ["None", "Invisible Space", "Blue Space", "Red Space", "Bowser Space", "Mushroom Space", "Battle Space", "Happening Space", "Chance Time Space", "Spring Space"] @@ -348,6 +348,6 @@ def create_entry(tab, row, icon_path, label_text, color): label.grid(row=1, column=4) parseButton = ctk.CTkButton(master=tabview.tab("Space Replacement"), command=lambda: spaceReplaceEvent_mp4(spaceRep411, spaceRep421, spaceRep412, spaceRep422, spaces4), text="Generate Codes") - parseButton.place(x=10, y=640) + parseButton.place(x=10, y=800) return frame \ No newline at end of file diff --git a/frames/marioParty5_frame.py b/frames/marioParty5_frame.py index 4f302df..9bf649b 100644 --- a/frames/marioParty5_frame.py +++ b/frames/marioParty5_frame.py @@ -17,7 +17,7 @@ # Function to create the main interface for Mario Party 1 def create_mario_party_5_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") @@ -47,7 +47,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_mp5(blue_entry, red_entry, mgWin_entry, star_entry, wiggler_entry, chompCost_entry, chompMin_entry, koopaBank_entry), text="Generate Codes") - parse_coins_button.place(x=10, y=640) + parse_coins_button.place(x=10, y=800) # List of minigame names minigames_list = ["Coney Island", "Ground Pound Down", "Chimp Chase", "Chomp Romp", "Pushy Penguins", "Leaf Leap", "Night Light Fright", "Pop-Star Piranhas", "Mazed & Confused", "Dinger Derby", "Hydrostars", "Later Skater", "Will Flower", "Triple Jump", "Hotel Goomba", "Coin Cache", "Flatiator", "Squared Away", "Mario Mechs", "Revolving Fire", "Clock Stoppers", "Heat Stroke", "Beam Team", "Vicious Vending", "Big Top Drop", "Defuse or Lose", "ID UFO", "Mario Can-Can", "Handy Hoppers", "Berry Basket", "Bus Buffer", "Rumble Ready", "Submarathon", "Manic Mallets", "Astro-Logical", "Bill Blasters", "Tug-o-Dorrie", "Twist 'n' Out", "Lucky Lineup", "Random Ride", "Shock Absorbers", "Countdown Pound", "Whomp Maze", "Shy Guy Showdown", "Button Mashers", "Get a Rope", "Pump 'n' Jump", "Head Waiter", "Blown Away", "Merry Poppings", "Pound Peril", "Piece Out", "Bound of Music", "Wind Wavers", "Sky Survivor", "Cage-in Cookin'", "Rain of Fire", "Scaldin' Cauldron", "Frightmare", "Flower Shower", "Dodge Bomb", "Fish Upon a Star", "Rumble Fumble", "Quilt for Speed", "Tube It or Lose It", "Mathletes", "Fight Cards", "Banana Punch", "Da Vine Climb", "Mass A-peel", "Panic Pinball", "Banking Coins", "Frozen Frenzy", "Curvy Curbs", "Beach Volleyball", "Fish Sticks", "Ice Hockey"] @@ -61,7 +61,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_mp5(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("Capsule Mods"), "assets/items/mushroomCapsule.png", 2, 1) label = ctk.CTkLabel(master=tabview.tab("Capsule Mods"), text=" Costs ", font=("Arial", 16)) @@ -445,16 +445,16 @@ def create_entry(tab, row, icon_path, label_text, color): label.grid(row=11, column=20) parseButtonFiveItems = ctk.CTkButton(master=tabview.tab("Capsule Mods"), command=lambda: itemsEvent_mp5(bombCapsulePrice5, bombCapsuleWeight5, koopaBankCapsulePrice5, koopaBankCapsuleWeight5, bulletBillCapsulePrice5, bulletBillCapsuleWeight5, hammerBroCapsulePrice5, hammerBroCapsuleWeight5, coinBlockCapsulePrice5, coinBlockCapsuleWeight5, duelCapsulePrice5, duelCapsuleWeight5, mushroomCapsulePrice5, mushroomCapsuleWeight5, goldenMushroomCapsulePrice5, goldenMushroomCapsuleWeight5, cursedMushroomCapsulePrice5, cursedMushroomCapsuleWeight5, flutterCapsulePrice5, flutterCapsuleWeight5, spinyCapsulePrice5, spinyCapsuleWeight5, goombaCapsuleWeight5, goombaCapsulePrice5, plantCapsulePrice5, plantCapsuleWeight5, kleptoCapsuleWeight5, kleptoCapsulePrice5, kamekCapsuleWeight5, kamekCapsulePrice5, magiKoopaCapsuleWeight5, magiKoopaCapsulePrice5, blizzardCapsuleWeight5, blizzardCapsulePrice5, podobooCapsulePrice5, podobooCapsuleWeight5, paraTroopaCapsuleWeight5, paraTroopaCapsulePrice5, ukikiCapsulePrice5, ukikiCapsuleWeight5, tweesterCapsulePrice5, tweesterCapsuleWeight5, lakituCapsulePrice5, lakituCapsuleWeight5, warpPipeCapsulePrice5, warpPipeCapsuleWeight5, miracleCapsulePrice5, miracleCapsuleWeight5, boneCapsulePrice5, boneCapsuleWeight5, chanceCapsulePrice5, chanceCapsuleWeight5, chainChompCapsulePrice5, chainChompCapsuleWeight5, bowserCapsulePrice5, bowserCapsuleWeight5, dkCapsulePrice5, dkCapsuleWeight5), text="Generate Codes", ) - parseButtonFiveItems.place(x=10, y=640) + parseButtonFiveItems.place(x=10, y=800) parseButtonFive = ctk.CTkButton(master=tabview.tab("Capsule Mods"), command=lambda: savePresetItems5(bombCapsulePrice5, bombCapsuleWeight5, koopaBankCapsulePrice5, koopaBankCapsuleWeight5, bulletBillCapsulePrice5, bulletBillCapsuleWeight5, hammerBroCapsulePrice5, hammerBroCapsuleWeight5, coinBlockCapsulePrice5, coinBlockCapsuleWeight5, duelCapsulePrice5, duelCapsuleWeight5, mushroomCapsulePrice5, mushroomCapsuleWeight5, goldenMushroomCapsulePrice5, goldenMushroomCapsuleWeight5, cursedMushroomCapsulePrice5, cursedMushroomCapsuleWeight5, flutterCapsulePrice5, flutterCapsuleWeight5, spinyCapsulePrice5, spinyCapsuleWeight5, goombaCapsuleWeight5, goombaCapsulePrice5, plantCapsulePrice5, plantCapsuleWeight5, kleptoCapsuleWeight5, kleptoCapsulePrice5, kamekCapsuleWeight5, kamekCapsulePrice5, magiKoopaCapsuleWeight5, magiKoopaCapsulePrice5, blizzardCapsuleWeight5, blizzardCapsulePrice5, podobooCapsulePrice5, podobooCapsuleWeight5, paraTroopaCapsuleWeight5, paraTroopaCapsulePrice5, ukikiCapsulePrice5, ukikiCapsuleWeight5, tweesterCapsulePrice5, tweesterCapsuleWeight5, lakituCapsulePrice5, lakituCapsuleWeight5, warpPipeCapsulePrice5, warpPipeCapsuleWeight5, miracleCapsulePrice5, miracleCapsuleWeight5, boneCapsulePrice5, boneCapsuleWeight5, chanceCapsulePrice5, chanceCapsuleWeight5, chainChompCapsulePrice5, chainChompCapsuleWeight5, bowserCapsulePrice5, bowserCapsuleWeight5, dkCapsulePrice5, dkCapsuleWeight5), text="Save Preset", ) - parseButtonFive.place(x=160, y=640) + parseButtonFive.place(x=160, y=800) parseButtonFive = ctk.CTkButton(master=tabview.tab("Capsule Mods"), command=lambda: loadPresetItems5(bombCapsulePrice5, bombCapsuleWeight5, koopaBankCapsulePrice5, koopaBankCapsuleWeight5, bulletBillCapsulePrice5, bulletBillCapsuleWeight5, hammerBroCapsulePrice5, hammerBroCapsuleWeight5, coinBlockCapsulePrice5, coinBlockCapsuleWeight5, duelCapsulePrice5, duelCapsuleWeight5, mushroomCapsulePrice5, mushroomCapsuleWeight5, goldenMushroomCapsulePrice5, goldenMushroomCapsuleWeight5, cursedMushroomCapsulePrice5, cursedMushroomCapsuleWeight5, flutterCapsulePrice5, flutterCapsuleWeight5, spinyCapsulePrice5, spinyCapsuleWeight5, goombaCapsuleWeight5, goombaCapsulePrice5, plantCapsulePrice5, plantCapsuleWeight5, kleptoCapsuleWeight5, kleptoCapsulePrice5, kamekCapsuleWeight5, kamekCapsulePrice5, magiKoopaCapsuleWeight5, magiKoopaCapsulePrice5, blizzardCapsuleWeight5, blizzardCapsulePrice5, podobooCapsulePrice5, podobooCapsuleWeight5, paraTroopaCapsuleWeight5, paraTroopaCapsulePrice5, ukikiCapsulePrice5, ukikiCapsuleWeight5, tweesterCapsulePrice5, tweesterCapsuleWeight5, lakituCapsulePrice5, lakituCapsuleWeight5, warpPipeCapsulePrice5, warpPipeCapsuleWeight5, miracleCapsulePrice5, miracleCapsuleWeight5, boneCapsulePrice5, boneCapsuleWeight5, chanceCapsulePrice5, chanceCapsuleWeight5, chainChompCapsulePrice5, chainChompCapsuleWeight5, bowserCapsulePrice5, bowserCapsuleWeight5, dkCapsulePrice5, dkCapsuleWeight5), text="Load Preset", ) - parseButtonFive.place(x=310, y=640) + parseButtonFive.place(x=310, y=800) parseButtonFiveFillViaCode = ctk.CTkButton(master=tabview.tab("Capsule Mods"), command=lambda: fillViaCode5Actions(), text="Fill Via Code") - parseButtonFiveFillViaCode.place(x=460, y=640) + parseButtonFiveFillViaCode.place(x=460, y=800) def fillViaCode5Actions(): top = ctk.CTkToplevel(height=500, width=500) diff --git a/frames/marioParty6_frame.py b/frames/marioParty6_frame.py index 9fbe7e4..f118a40 100644 --- a/frames/marioParty6_frame.py +++ b/frames/marioParty6_frame.py @@ -22,7 +22,7 @@ # Function to create the main interface for Mario Party 1 def create_mario_party_6_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") @@ -59,7 +59,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_mp6(blue_entry, red_entry, character_entry, mgWin_entry, star_entry, pinkBooCoins_entry, pinkBooMin_entry, pinkBooStar_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 = ["Smashdance", "Odd Card Out", "Freeze Frame", "What Goes Up...", "Granite Getaway", "Circuit Maximus", "Catch You Letter", "Snow Whirled", "Daft Rafts", "Tricky Tires", "Treasure Trawlers", "Memory Lane", "Mowtown", "Cannonball Fun", "Note to Self", "Same is Lame", "Light Up My Night", "Lift Leapers", "Blooper Scooper", "Trap Ease Artist", "Pokey Punch-out", "Money Belt", "Cash Flow", "Cog Jog", "Sink or Swim", "Snow Brawl", "Ball Dozers", "Surge and Destroy", "Pop Star", "Stage Fright", "Conveyor Bolt", "Crate and Peril", "Ray of Fright", "Dust 'til Dawn", "Garden Grab", "Pixel Perfect", "Slot Trot", "Gondola Glide", "Light Breeze", "Body Builder", "Mole-it!", "Cashapult", "Jump the Gun", "Rocky Road", "Clean Team", "Hyper Sniper", "Insectiride", "Sunday Drivers", "Stamp By Me", "Throw Me a Bone", "Black Hole Boogie", "Full Tilt", "Sumo of Doom-o", "O-Zone", "Pitifall", "Mass Meteor", "Lunar-tics", "T Minus Five", "Asteroad Rage", "Boo'd Off the Stage", "Boonanza!", "Trick or Tree", "Something's Amist", "Wrasslin' Rapids", "Verbal Assault", "Shoot Yer Mouth Off", "Talkie Walkie", "Burnstile", "Word Herd", "Fruit Talktail", "Pit Boss", "Dizzy Rotisserie", "Dark 'n Crispy", "Tally Me Banana", "Banana Shake", "Pier Factor", "Seer Terror", "Block Star", "Lab Brats", "Strawberry Shortfuse", "Control Shtick", "Dunk Bros."] @@ -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_mp6(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("Orb Mods"), "assets/items/mushroomCapsule.png", 2, 1) label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) @@ -458,13 +458,13 @@ def create_entry(tab, row, icon_path, label_text, color): parseButton = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: itemsEvent_mp6(warpPipeCapsuleWeight6, warpPipeCapsulePrice6, mushroomCapsuleWeight6, goldenMushroomCapsulePrice6, goldenMushroomCapsuleWeight6, slowMushroomCapsulePrice6, slowMushroomCapsuleWeight6, metalMushroomCapsulePrice6, metalMushroomCapsuleWeight6, bulletBillCapsulePrice6, bulletBillCapsuleWeight6, flutterCapsulePrice6, flutterCapsuleWeight6, cursedMushroomCapsulePrice6, cursedMushroomCapsuleWeight6, spinyCapsulePrice6, spinyCapsuleWeight6, goombaCapsulePrice6, goombaCapsuleWeight6, plantCapsulePrice6, plantCapsuleWeight6, kleptoCapsulePrice6, kleptoCapsuleWeight6, toadyCapsulePrice6, toadyCapsuleWeight6, kamekCapsulePrice6, kamekCapsuleWeight6, blizzardCapsulePrice6, blizzardCapsuleWeight6, podobooCapsulePrice6, podobooCapsuleWeight6, zapCapsulePrice6, zapCapsuleWeight6, tweesterCapsulePrice6, tweesterCapsuleWeight6, thwompCapsulePrice6, thwompCapsuleWeight6, bombCapsulePrice6, bombCapsuleWeight6, paraTroopaCapsulePrice6, paraTroopaCapsuleWeight6, snackCapsulePrice6, snackCapsuleWeight6, gaddLightCapsulePrice6, gaddLightCapsuleWeight6, pinkBooCapsulePrice6, pinkBooCapsuleWeight6, chanceTimeCapsulePrice6, chanceTimeCapsuleWeight6, bowserCapsulePrice6, bowserCapsuleWeight6, dkCapsulePrice6, dkCapsuleWeight6, duelCapsulePrice6, duelCapsuleWeight6), text="Generate Codes") - parseButton.place(x=10, y=640) + parseButton.place(x=10, y=800) parseButton = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: savePresetItems6(warpPipeCapsuleWeight6, warpPipeCapsulePrice6, mushroomCapsuleWeight6, goldenMushroomCapsulePrice6, goldenMushroomCapsuleWeight6, slowMushroomCapsulePrice6, slowMushroomCapsuleWeight6, metalMushroomCapsulePrice6, metalMushroomCapsuleWeight6, bulletBillCapsulePrice6, bulletBillCapsuleWeight6, flutterCapsulePrice6, flutterCapsuleWeight6, cursedMushroomCapsulePrice6, cursedMushroomCapsuleWeight6, spinyCapsulePrice6, spinyCapsuleWeight6, goombaCapsulePrice6, goombaCapsuleWeight6, plantCapsulePrice6, plantCapsuleWeight6, kleptoCapsulePrice6, kleptoCapsuleWeight6, toadyCapsulePrice6, toadyCapsuleWeight6, kamekCapsulePrice6, kamekCapsuleWeight6, blizzardCapsulePrice6, blizzardCapsuleWeight6, podobooCapsulePrice6, podobooCapsuleWeight6, zapCapsulePrice6, zapCapsuleWeight6, tweesterCapsulePrice6, tweesterCapsuleWeight6, thwompCapsulePrice6, thwompCapsuleWeight6, bombCapsulePrice6, bombCapsuleWeight6, paraTroopaCapsulePrice6, paraTroopaCapsuleWeight6, snackCapsulePrice6, snackCapsuleWeight6, gaddLightCapsulePrice6, gaddLightCapsuleWeight6, pinkBooCapsulePrice6, pinkBooCapsuleWeight6, chanceTimeCapsulePrice6, chanceTimeCapsuleWeight6, bowserCapsulePrice6, bowserCapsuleWeight6, dkCapsulePrice6, dkCapsuleWeight6, duelCapsulePrice6, duelCapsuleWeight6), text="Save Preset") - parseButton.place(x=160, y=640) + parseButton.place(x=160, y=800) parseButton = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: loadPresetItems6(warpPipeCapsuleWeight6, warpPipeCapsulePrice6, mushroomCapsuleWeight6, goldenMushroomCapsulePrice6, goldenMushroomCapsuleWeight6, slowMushroomCapsulePrice6, slowMushroomCapsuleWeight6, metalMushroomCapsulePrice6, metalMushroomCapsuleWeight6, bulletBillCapsulePrice6, bulletBillCapsuleWeight6, flutterCapsulePrice6, flutterCapsuleWeight6, cursedMushroomCapsulePrice6, cursedMushroomCapsuleWeight6, spinyCapsulePrice6, spinyCapsuleWeight6, goombaCapsulePrice6, goombaCapsuleWeight6, plantCapsulePrice6, plantCapsuleWeight6, kleptoCapsulePrice6, kleptoCapsuleWeight6, toadyCapsulePrice6, toadyCapsuleWeight6, kamekCapsulePrice6, kamekCapsuleWeight6, blizzardCapsulePrice6, blizzardCapsuleWeight6, podobooCapsulePrice6, podobooCapsuleWeight6, zapCapsulePrice6, zapCapsuleWeight6, tweesterCapsulePrice6, tweesterCapsuleWeight6, thwompCapsulePrice6, thwompCapsuleWeight6, bombCapsulePrice6, bombCapsuleWeight6, paraTroopaCapsulePrice6, paraTroopaCapsuleWeight6, snackCapsulePrice6, snackCapsuleWeight6, gaddLightCapsulePrice6, gaddLightCapsuleWeight6, pinkBooCapsulePrice6, pinkBooCapsuleWeight6, chanceTimeCapsulePrice6, chanceTimeCapsuleWeight6, bowserCapsulePrice6, bowserCapsuleWeight6, dkCapsulePrice6, dkCapsuleWeight6, duelCapsulePrice6, duelCapsuleWeight6), text="Load Preset") - parseButton.place(x=310, y=640) + parseButton.place(x=310, y=800) spaces6 = ["None", "Invisible Space", "Blue Space", "Red Space", "Happening Space", "Chance Time Space", "Duel Space", "Bowser/DK Space", "Orb Space"] @@ -499,7 +499,7 @@ def create_entry(tab, row, icon_path, label_text, color): label.grid(row=1, column=4) parseButton = ctk.CTkButton(master=tabview.tab("Space Replacement"), command=lambda: spaceReplaceEvent_mp6(spaceRep411, spaceRep421, spaceRep412, spaceRep422, spaces6), text="Generate Codes") - parseButton.place(x=10, y=640) + parseButton.place(x=10, y=800) items6 = ["None", "Mushroom", "Golden Mushroom", "Sluggish 'Shroom", "Metal Mushroom", "Bullet Bill", "Warp Pipe", "Flutter", "Cursed Mushroom", "Spiny", "Goomba", "Piranha Plant", "Klepto", "Toady", "Kamek", "Mr. Blizzard", "Podoboo", "Zap", "Tweester", "Thwomp", "Bob-omb", "Paratroopa", "Snack", "Boo-away", "Duel", "Miracle", "Bowser", "Donkey Kong", "Pink Boo"] @@ -522,7 +522,7 @@ def create_entry(tab, row, icon_path, label_text, color): initalItem43.grid(row=2, column=1) parseButton = ctk.CTkButton(master=tabview.tab("Initial Orbs"), command=lambda: initialItemsEvent_mp6(initalItem41, initalItem42, initalItem43, items6), text="Generate Codes") - parseButton.place(x=10, y=640) + parseButton.place(x=10, y=800) icon = create_image_icon(tabview.tab("Star Handicaps"), "assets/eventTags/starSpace.png", 0, 0) @@ -558,7 +558,7 @@ 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_mp6(p1Stars, p2Stars, p3Stars, p4Stars), text="Generate Codes") - parse_stars_button.place(x=10, y=640) + parse_stars_button.place(x=10, y=800) stars6 = ["None", "Blue Star", "Red Star", "Character Space Star", "Happening Star", "Duel Star", "Chance Time Star", "Bowser Star", "DK Star", "Minigame Star", "Current Coins Star", "Coin Star", "Star Star", "Orb Star"] @@ -581,7 +581,7 @@ def create_entry(tab, row, icon_path, label_text, color): star3.grid(row=2, column=1) parseButton = ctk.CTkButton(master=tabview.tab("Bonus Star Replacement"), command=lambda: customBonusStarEvent_mp6(star1, star2, star3, stars6), text="Generate Codes") - parseButton.place(x=10, y=640) + parseButton.place(x=10, y=800) return frame \ No newline at end of file diff --git a/frames/marioParty7_frame.py b/frames/marioParty7_frame.py index 0f1c3af..e0e7d78 100644 --- a/frames/marioParty7_frame.py +++ b/frames/marioParty7_frame.py @@ -21,7 +21,7 @@ # Function to create the main interface for Mario Party 1 def create_mario_party_7_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") @@ -73,7 +73,7 @@ def create_entry2(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_mp7(blue_entry, red_entry, character_entry, mgWin_entry, star_entry, star_last4_entry, hammerBro_entry, zap_entry, fireball_entry, vacuum_entry, flower_entry, windmill_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 = ["Catchy Tunes", "Bubble Brawl", "Track & Yield", "Fun Run", "Cointagious", "Snow Ride", "Picture This", "Ghost in the Hall", "Big Dripper", "Target Tag", "Pokey Pummel", "Take Me Ohm", "Kart Wheeled", "Balloon Busters", "Clock Watchers", "Dart Attack", "Oil Crisis", "La Bomba", "Spray Anything", "Balloonatic", "Spinner Cell", "Think Tank", "Flashfright", "Coin-op Bop", "Easy Pickings", "Wheel of Woe", "Boxing Day", "Be My Chum!", "StratosFEAR!", "Pogo-a-go-go", "Buzzstormer", "Tile and Error", "Battery Ram", "Cardinal Rule", "Ice Moves", "Bumper Crop", "Hop-O-Matic 4000", "Wingin' It", "Sphere Factor", "Herbicidal Maniac", "Pyramid Scheme", "World Piece", "Warp Pipe Dreams", "Weight for It", "Helipopper", "Monty's Revenge", "Deck Hands", "Mad Props", "Gimme a Sign", "Bridge Work", "Spin Doctor", "Hip Hop Drop", "Air Farce", "The Final Countdown", "Royal Rumpus", "Light Speed", "Apes of Wrath", "Fish & Cheeps", "Camp Ukiki", "Funstacle Course!", "Funderwall!", "Magmagical Journey!", "Tunnel of Lava!", "Treasure Dome!", "Slot-O-Whirl!", "Peel Out", "Bananas Faster", "Stump Change", "Jump, Man", "Vine Country", "A Bridge Too Short", "Spider Stomp", "Stick and Spin", "Bowser's Lovely Lift!"] # Create labels, comboboxes, and button for Minigame Replacement tab @@ -86,7 +86,7 @@ def create_entry2(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_mp7(combobox_mingames_1, combobox_mingames_2, minigames_list), text="Generate Codes") - parse_minigame_button.place(x=10, y=650) + parse_minigame_button.place(x=10, y=800) icon = create_image_icon(tabview.tab("Orb Mods"), "assets/items/mushroomCapsule.png", 2, 1) label = ctk.CTkLabel(master=tabview.tab("Orb Mods"), text=" Costs ", font=("Arial", 16)) @@ -468,16 +468,16 @@ def create_entry2(tab, row, icon_path, label_text, color): label.grid(row=8, column=20) parseButton = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: itemsEvent_mp7(mushroomCapsuleWeight7, goldenMushroomCapsulePrice7, goldenMushroomCapsuleWeight7, slowMushroomCapsulePrice7, slowMushroomCapsuleWeight7, metalMushroomCapsulePrice7, metalMushroomCapsuleWeight7, flutterCapsulePrice7, flutterCapsuleWeight7, cannonCapsulePrice7, cannonCapsuleWeight7, snackCapsulePrice7, snackCapsuleWeight7, lakituCapsulePrice7, lakituCapsuleWeight7, hammerBroCapsulePrice7, hammerBroCapsuleWeight7, plantCapsulePrice7, plantCapsuleWeight7, spearCapsulePrice7, spearCapsuleWeight7, kamekCapsulePrice7, kamekCapsuleWeight7, toadyCapsulePrice7, toadyCapsuleWeight7, blizzardCapsulePrice7, blizzardCapsuleWeight7, banditCapsulePrice7, banditCapsuleWeight7, pinkBooCapsulePrice7, pinkBooCapsuleWeight7, spinyCapsulePrice7, spinyCapsuleWeight7, zapCapsulePrice7, zapCapsuleWeight7, tweesterCapsulePrice7, tweesterCapsuleWeight7, thwompCapsulePrice7, thwompCapsuleWeight7, warpCapsulePrice7, warpCapsuleWeight7, bombCapsulePrice7, bombCapsuleWeight7, fireballCapsulePrice7, fireballCapsuleWeight7, flowerCapsulePrice7, flowerCapsuleWeight7, eggCapsulePrice7, eggCapsuleWeight7, vacuumCapsulePrice7, vacuumCapsuleWeight7, magicCapsulePrice7, magicCapsuleWeight7, tripleCapsulePrice7, tripleCapsuleWeight7, koopaCapsulePrice7, koopaCapsuleWeight7), text="Generate Codes") - parseButton.place(x=10, y=640) + parseButton.place(x=10, y=800) parseButton = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: savePresetItems7(mushroomCapsuleWeight7, goldenMushroomCapsulePrice7, goldenMushroomCapsuleWeight7, slowMushroomCapsulePrice7, slowMushroomCapsuleWeight7, metalMushroomCapsulePrice7, metalMushroomCapsuleWeight7, flutterCapsulePrice7, flutterCapsuleWeight7, cannonCapsulePrice7, cannonCapsuleWeight7, snackCapsulePrice7, snackCapsuleWeight7, lakituCapsulePrice7, lakituCapsuleWeight7, hammerBroCapsulePrice7, hammerBroCapsuleWeight7, plantCapsulePrice7, plantCapsuleWeight7, spearCapsulePrice7, spearCapsuleWeight7, kamekCapsulePrice7, kamekCapsuleWeight7, toadyCapsulePrice7, toadyCapsuleWeight7, blizzardCapsulePrice7, blizzardCapsuleWeight7, banditCapsulePrice7, banditCapsuleWeight7, pinkBooCapsulePrice7, pinkBooCapsuleWeight7, spinyCapsulePrice7, spinyCapsuleWeight7, zapCapsulePrice7, zapCapsuleWeight7, tweesterCapsulePrice7, tweesterCapsuleWeight7, thwompCapsulePrice7, thwompCapsuleWeight7, warpCapsulePrice7, warpCapsuleWeight7, bombCapsulePrice7, bombCapsuleWeight7, fireballCapsulePrice7, fireballCapsuleWeight7, flowerCapsulePrice7, flowerCapsuleWeight7, eggCapsulePrice7, eggCapsuleWeight7, vacuumCapsulePrice7, vacuumCapsuleWeight7, magicCapsulePrice7, magicCapsuleWeight7, tripleCapsulePrice7, tripleCapsuleWeight7, koopaCapsulePrice7, koopaCapsuleWeight7), text="Save Preset") - parseButton.place(x=160, y=640) + parseButton.place(x=160, y=800) parseButton = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: loadPresetItems7(mushroomCapsuleWeight7, goldenMushroomCapsulePrice7, goldenMushroomCapsuleWeight7, slowMushroomCapsulePrice7, slowMushroomCapsuleWeight7, metalMushroomCapsulePrice7, metalMushroomCapsuleWeight7, flutterCapsulePrice7, flutterCapsuleWeight7, cannonCapsulePrice7, cannonCapsuleWeight7, snackCapsulePrice7, snackCapsuleWeight7, lakituCapsulePrice7, lakituCapsuleWeight7, hammerBroCapsulePrice7, hammerBroCapsuleWeight7, plantCapsulePrice7, plantCapsuleWeight7, spearCapsulePrice7, spearCapsuleWeight7, kamekCapsulePrice7, kamekCapsuleWeight7, toadyCapsulePrice7, toadyCapsuleWeight7, blizzardCapsulePrice7, blizzardCapsuleWeight7, banditCapsulePrice7, banditCapsuleWeight7, pinkBooCapsulePrice7, pinkBooCapsuleWeight7, spinyCapsulePrice7, spinyCapsuleWeight7, zapCapsulePrice7, zapCapsuleWeight7, tweesterCapsulePrice7, tweesterCapsuleWeight7, thwompCapsulePrice7, thwompCapsuleWeight7, warpCapsulePrice7, warpCapsuleWeight7, bombCapsulePrice7, bombCapsuleWeight7, fireballCapsulePrice7, fireballCapsuleWeight7, flowerCapsulePrice7, flowerCapsuleWeight7, eggCapsulePrice7, eggCapsuleWeight7, vacuumCapsulePrice7, vacuumCapsuleWeight7, magicCapsulePrice7, magicCapsuleWeight7, tripleCapsulePrice7, tripleCapsuleWeight7, koopaCapsulePrice7, koopaCapsuleWeight7), text="Load Preset") - parseButton.place(x=310, y=640) + parseButton.place(x=310, y=800) parseButtonSevenFillViaCode = ctk.CTkButton(master=tabview.tab("Orb Mods"), command=lambda: fillViaCode7Actions(), text="Fill Via Code") - parseButtonSevenFillViaCode.place(x=460, y=640) + parseButtonSevenFillViaCode.place(x=460, y=800) def fillViaCode7Actions(): top = ctk.CTkToplevel(height=500, width=500) @@ -526,7 +526,7 @@ def fillViaCode7Actions(): label.grid(row=1, column=4) parseButton = ctk.CTkButton(master=tabview.tab("Space Replacement"), command=lambda: spaceReplaceEvent_mp7(spaceRep411, spaceRep421, spaceRep412, spaceRep422, spaces7), text="Generate Codes") - parseButton.place(x=10, y=640) + parseButton.place(x=10, y=800) items7 = ["None", "Mushroom", "Super Mushroom", "Slow 'Shroom", "Metal Mushroom", "Flutter", "Cannon", "Snack", "Lakitu", "Hammer Bro", "Piranha Plant", "Spear Guy", "Kamek", "Toady", "Mr. Blizzard", "Bandit", "Pink Boo", "Spiny", "Zap", "Tweester", "Thwomp", "Warp Pipe", "Bob-omb", "Fireball", "Flower", "Egg", "Vacuum", "Surprise", "Triple 'Shroom", "Koopa Kid"] @@ -567,7 +567,7 @@ def fillViaCode7Actions(): label.grid(row=4, column=2, sticky="w") parseButton = ctk.CTkButton(master=tabview.tab("Initial Orbs"), command=lambda: initialItemsEvent_mp7(initalItem71, initalItem72, initalItem73, initalItem74, initalItem75, items7), text="Generate Codes") - parseButton.place(x=10, y=640) + parseButton.place(x=10, y=800) icon = create_image_icon(tabview.tab("Star Handicaps"), "assets/eventTags/starSpace.png", 0, 0) @@ -603,7 +603,7 @@ def fillViaCode7Actions(): label.grid(row=3, column=3) parse_stars_button = ctk.CTkButton(master=tabview.tab("Star Handicaps"), command=lambda: handicapEvent_mp7(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 \ No newline at end of file diff --git a/frames/marioParty8_frame.py b/frames/marioParty8_frame.py index a04a271..7e9308c 100644 --- a/frames/marioParty8_frame.py +++ b/frames/marioParty8_frame.py @@ -20,7 +20,7 @@ # Function to create the main interface for Mario Party 1 def create_mario_party_8_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") @@ -57,7 +57,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_mp8(blue_entry, red_entry, mgWin_entry, star_entry, bitsize_entry, hotel_entry, bowlo_entry, vampire_entry), text="Generate Codes") - parse_coins_button.place(x=10, y=660) + parse_coins_button.place(x=10, y=800) # Create entry fields and dropdowns for Candy Mods Tab icon = create_image_icon(tabview.tab("Candy Mods"), "assets/items/twice.png", 2, 1) @@ -246,13 +246,13 @@ def create_entry(tab, row, icon_path, label_text, color): boardComboBox.place(x=70, y=260) parseButton = ctk.CTkButton(master=tabview.tab("Candy Mods"), command=lambda: itemsEvent_mp8(boardComboBox, twiceWeight4, thricePrice4, thriceWeight4, slowgoPrice4, slowgoWeight4, springoPrice4, springoWeight4, cashzapPrice4, cashzapWeight4, vampirePrice4, vampireWeight4, bitsizePrice4, bitsizeWeight4, blowayPrice4, blowayWeight4, bowloPrice4, bowloWeight4, weegleePrice4, weegleeWeight4, thwompPrice4, thwompWeight4, bulletPrice4, bulletWeight4, bowserPrice4, bowserWeight4, dueloPrice4, dueloWeight4), text="Generate Codes") - parseButton.place(x=10, y=640) + parseButton.place(x=10, y=800) parseButton = ctk.CTkButton(master=tabview.tab("Candy Mods"), command=lambda: savePresetItems8(twiceWeight4, thricePrice4, thriceWeight4, slowgoPrice4, slowgoWeight4, springoPrice4, springoWeight4, cashzapPrice4, cashzapWeight4, vampirePrice4, vampireWeight4, bitsizePrice4, bitsizeWeight4, blowayPrice4, blowayWeight4, bowloPrice4, bowloWeight4, weegleePrice4, weegleeWeight4, thwompPrice4, thwompWeight4, bulletPrice4, bulletWeight4, bowserPrice4, bowserWeight4, dueloPrice4, dueloWeight4), text="Save Preset") - parseButton.place(x=160, y=640) + parseButton.place(x=160, y=800) parseButton = ctk.CTkButton(master=tabview.tab("Candy Mods"), command=lambda: loadPresetItems8(twiceWeight4, thricePrice4, thriceWeight4, slowgoPrice4, slowgoWeight4, springoPrice4, springoWeight4, cashzapPrice4, cashzapWeight4, vampirePrice4, vampireWeight4, bitsizePrice4, bitsizeWeight4, blowayPrice4, blowayWeight4, bowloPrice4, bowloWeight4, weegleePrice4, weegleeWeight4, thwompPrice4, thwompWeight4, bulletPrice4, bulletWeight4, bowserPrice4, bowserWeight4, dueloPrice4, dueloWeight4), text="Load Preset") - parseButton.place(x=310, y=640) + parseButton.place(x=310, y=800) # List of minigame names minigames_list = ["Speedy Graffiti", "Swing Kings", "Water Ski Spree", "Punch-a-Bunch", "Crank to Rank", "At the Chomp Wash", "Mosh-Pit Playroom", "Mario Matrix", "Hammer de Pokari", "Grabby Giridion", "Lava or Leave 'Em", "Kartastrophe", "Ribbon Game", "Aim of the Game", "Rudder Madness", "Gun the Runner", "Grabbin' Gold", "Power Trip", "Bob-ombs Away", "Swervin' Skies", "Picture Perfect", "Snow Way Out", "Thrash 'n' Crash", "Chump Rope", "Sick and Twisted", "Bumper Balloons", "Rowed to Victory", "Winner or Dinner", "Paint Misbehavin'", "Sugar Rush", "King of the Thrill", "Shake It Up", "Lean, Mean Ravine", "Boo-ting Gallery", "Crops 'n' Robbers", "In the Nick of Time", "Cut from the Team", "Snipe for the Picking", "Saucer Swarm", "Glacial Meltdown", "Attention Grabber", "Blazing Lassos", "Wing and a Scare", "Lob to Rob", "Pumper Cars", "Cosmic Slalom", "Lava Lobbers", "Loco Motives", "Specter Inspector", "Frozen Assets", "Breakneck Building", "Surf's Way Up", "Bull Riding", "Balancing Act", "Ion the Prize", "You're the Bob-omb", "Scooter Pursuit", "Cardiators", "Rotation Station", "Eyebrawl", "Table Menace", "Flagging Rights", "Trial by Tile", "Star Carnival Bowling", "Puzzle Pillars", "Canyon Cruisers", "Settle It in Court", "Moped Mayhem", "Flip the Chimp", "Pour to Score", "Fruit Picker", "Stampede", "Superstar Showdown", "Alpine Assault", "Treacherous Tightrope"] # Create labels, comboboxes, and button for Minigame Replacement tab @@ -265,7 +265,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_mp8(combobox_mingames_1, combobox_mingames_2, minigames_list), text="Generate Codes") - parse_minigame_button.place(x=10, y=650) + parse_minigame_button.place(x=10, y=800) return frame \ No newline at end of file diff --git a/frames/marioParty9_frame.py b/frames/marioParty9_frame.py new file mode 100644 index 0000000..74d2c0e --- /dev/null +++ b/frames/marioParty9_frame.py @@ -0,0 +1,41 @@ +# ============================================ +# Mario Party Toolkit +# Author: Nayla Hanegan (naylahanegan@gmail.com) +# Date: 5/12/2024 +# License: MIT +# ============================================ + +# Import necessary functions and modules +from functions import * +from events.marioParty9_mgreplace import * + +from CTkToolTip import * + +# Import custom tkinter module as ctk +import customtkinter as ctk +from CTkToolTip import * + +# Function to create the main interface for Mario Party 1 +def create_mario_party_9_interface(frame): + # Create a tabbed interface + tabview = ctk.CTkTabview(frame, width=1110, height=885, fg_color=("#fcfcfc", "#323232")) + tabview.grid(padx=10, pady=10) + tabview.add("Minigame Replacement") + tabview.set("Minigame Replacement") + + # List of minigame names + + minigames_list = ["Ruins Rumble", "Hazard Hold", "Line in the Sand", "Block and Roll", "Tackle Takedown", "Weird Wheels", "Spike-n-Span", "Hole Hogs", "Pix Fix", "Mob Sleds", "Mecha March", "Bowser Pop", "Double Pounder", "Zoom Room", "Cage Match", "Crossfire Caverns", "Bumper Sparks", "Sand Trap", "Pair of Aces", "Pedal to the Paddle", "Urn It", "Billistics", "Snow Go", "Skyjinks", "Player Conveyor", "Fungi Frenzy", "Jigsaw Jumble", "Twist Ending", "Peak Precision", "Speeding Bullets", "Launch Break", "Polar Extreme", "Logger Heads", "Smash Compactor", "Goomba Bowling", "Pianta Pool", "Bumper Bubbles", "Buddy Bounce", "Pizza Me, Mario", "Chain Event", "Pit or Platter", "Skipping Class", "Flinger Painting", "Goomba Spotting", "Thwomper Room", "Ballistic Beach", "Plunder Ground", "Tumble Temple", "Tuber Tug", "Piranha Patch", "Upward Mobility", "Manor of Escape", "Toad and Go Seek", "Goomba Village", "Growing Up", "Card Smarts", "Bomb Barge", "Ring Leader", "Magma Mayhem", "Don't Look", "Pinball Fall", "Pier Pressure", "10 to Win", "Mecha Choice", "Sock It to Lakitu", "Whomp Stomp", "Deck Dry Bones", "Cheep Cheep Shot", "Spike Strike", "Bowser Jr. Breakdown", "Diddy's Banana Blast", "Wiggler Bounce", "Bombard King Bob-omb", "King Boo's Puzzle Attack", "Blooper Barrage", "Chain Chomp Romp", "Bowser's Block Battle", "DK's Banana Bonus"] # Create labels, comboboxes, and button for Minigame Replacement tab + replace_label = ctk.CTkLabel(master=tabview.tab("Minigame Replacement"), text=" Replace ", font=("Arial", 16)) + replace_label.grid(row=0, column=0) + combobox_mingames_1 = ctk.CTkComboBox(master=tabview.tab("Minigame Replacement"), values=minigames_list) + combobox_mingames_1.grid(row=0, column=1) + with_label = ctk.CTkLabel(master=tabview.tab("Minigame Replacement"), text=" with ", font=("Arial", 16)) + with_label.grid(row=0, column=2) + 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_mp9(combobox_mingames_1, combobox_mingames_2, minigames_list), text="Generate Codes") + parse_minigame_button.place(x=10, y=800) + + return frame + \ No newline at end of file diff --git a/frames/marioPartyDS_frame.py b/frames/marioPartyDS_frame.py new file mode 100644 index 0000000..edf465f --- /dev/null +++ b/frames/marioPartyDS_frame.py @@ -0,0 +1,41 @@ +# ============================================ +# Mario Party Toolkit +# Author: Nayla Hanegan (naylahanegan@gmail.com) +# Date: 5/12/2024 +# License: MIT +# ============================================ + +# Import necessary functions and modules +from functions import * +from events.marioPartyDS_mgreplace import * + +from CTkToolTip import * + +# Import custom tkinter module as ctk +import customtkinter as ctk +from CTkToolTip import * + +# Function to create the main interface for Mario Party 1 +def create_mario_party_DS_interface(frame): + # Create a tabbed interface + tabview = ctk.CTkTabview(frame, width=1110, height=885, fg_color=("#fcfcfc", "#323232")) + tabview.grid(padx=10, pady=10) + tabview.add("Minigame Replacement") + tabview.set("Minigame Replacement") + + # List of minigame names + + minigames_list = ["Goomba Wrangler", "Rail Riders", "Dress for Success", "Camera Shy", "Hedge Honcho", "Study Fall", "Domino Effect", "Cherry-Go-Round", "Trace Cadets", "Soccer Survival", "Hot Shots", "Call of the Goomba", "Pedal Pushers", "Roller Coasters", "Get the Lead Out", "Shortcut Circuit", "Big Blowout", "Trash Landing", "Cheep Cheep Chance", "Whomp-a-thon", "Twist and Route", "Crater Crawl", "Boogie Beam", "Parachutin' Gallery", "Boo Tag", "Dust Buddies", "Cyber Scamper", "Soap Surfers", "Sweet Sleuth", "Tidal Fools", "Raft Riot", "All Geared Up", "Power Washer", "Peek-a-Boo", "Fast Food Frenzy", "Track Star", "Shuffleboard Showdown", "Flash and Dash", "Rubber Ducky Rodeo", "Plush Crush", "Rotisserie Rampage", "Nothing to Luge", "Penny Pinchers", "Gusty Blizzard", "Soil Toil", "Double Vision", "Memory Mash", "Cube Crushers", "Mole Thrill", "Sprinkler Scalers", "Cucumberjacks", "Hanger Management", "Book It!", "Airbrushers", "Toppling Terror", "Crazy Crosshairs", "Shorty Scorers", "Cheep Chump", "Star Catchers", "Short Fuse", "Globe Gunners", "Chips and Dips", "Feed and Seed", "Hammer Chime", "Hexoskeleton", "Book Bash", "Bowser's Block Party", "Mario's Puzzle Party", "Bob-omb Breakers", "Piece Out", "Block Star", "Stick & Spin", "Triangle Twister"] # Create labels, comboboxes, and button for Minigame Replacement tab + replace_label = ctk.CTkLabel(master=tabview.tab("Minigame Replacement"), text=" Replace ", font=("Arial", 16)) + replace_label.grid(row=0, column=0) + combobox_mingames_1 = ctk.CTkComboBox(master=tabview.tab("Minigame Replacement"), values=minigames_list) + combobox_mingames_1.grid(row=0, column=1) + with_label = ctk.CTkLabel(master=tabview.tab("Minigame Replacement"), text=" with ", font=("Arial", 16)) + with_label.grid(row=0, column=2) + 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_mpDS(combobox_mingames_1, combobox_mingames_2, minigames_list), text="Generate Codes") + parse_minigame_button.place(x=10, y=800) + + return frame + \ No newline at end of file diff --git a/main.py b/main.py index f6d081e..898105c 100644 --- a/main.py +++ b/main.py @@ -16,6 +16,8 @@ from frames.marioParty6_frame import * from frames.marioParty7_frame import * from frames.marioParty8_frame import * +from frames.marioParty9_frame import * +from frames.marioPartyDS_frame import * from frames.welcome_frame import * from version import * @@ -30,7 +32,7 @@ def __init__(self): super().__init__() self.title("Mario Party Toolkit") - self.geometry("1330x780") + self.geometry("1330x900") customtkinter.set_appearance_mode("Dark") # set grid layout 1x2 @@ -46,12 +48,14 @@ def __init__(self): self.mp6_image = customtkinter.CTkImage(light_image=Image.open(os.path.join(fetchResource("assets/logos/marioParty6.png"))), size=(172, 42)) self.mp7_image = customtkinter.CTkImage(light_image=Image.open(os.path.join(fetchResource("assets/logos/marioParty7.png"))), size=(172, 42)) self.mp8_image = customtkinter.CTkImage(light_image=Image.open(os.path.join(fetchResource("assets/logos/marioParty8.png"))), size=(172, 42)) + self.mp9_image = customtkinter.CTkImage(light_image=Image.open(os.path.join(fetchResource("assets/logos/marioParty9.png"))), size=(172, 42)) + self.mpds_image = customtkinter.CTkImage(light_image=Image.open(os.path.join(fetchResource("assets/logos/marioPartyDS.png"))), size=(172, 42)) self.injector_image = customtkinter.CTkImage(light_image=Image.open(os.path.join(fetchResource("assets/logos/injector.png"))), size=(32, 32)) # create navigation frame self.navigation_frame = customtkinter.CTkFrame(self, corner_radius=0) self.navigation_frame.grid(row=0, column=0, sticky="nsew") - self.navigation_frame.grid_rowconfigure(12, weight=2) + self.navigation_frame.grid_rowconfigure(14, weight=2) self.home_button = customtkinter.CTkButton(self.navigation_frame, corner_radius=0, height=40, border_spacing=10, text=None, fg_color="transparent", hover_color=("gray70", "gray30"), @@ -98,19 +102,28 @@ def __init__(self): image=self.mp8_image, anchor="w", command=self.mp8_button_event) self.mp8_button.grid(row=9, column=0, sticky="ew") + self.mp9_button = customtkinter.CTkButton(self.navigation_frame, corner_radius=0, height=40, border_spacing=10, text=None, + fg_color="transparent", hover_color=("gray70", "gray30"), + image=self.mp9_image, anchor="w", command=self.mp9_button_event) + self.mp9_button.grid(row=10, column=0, sticky="ew") + + self.mpDS_button = customtkinter.CTkButton(self.navigation_frame, corner_radius=0, height=40, border_spacing=10, text=None, + fg_color="transparent", hover_color=("gray70", "gray30"), + image=self.mpds_image, anchor="w", command=self.mpDS_button_event) + self.mpDS_button.grid(row=11, column=0, sticky="ew") self.injector_button = customtkinter.CTkButton(self.navigation_frame, corner_radius=0, height=40, border_spacing=10, text="Injector", fg_color="transparent", text_color=("gray10", "gray90"), hover_color=("gray70", "gray30"), image=self.injector_image, command=self.injector_button_event, font=("Helvetica", 18, "bold")) - self.injector_button.grid(row=10, column=0, sticky="ew") + self.injector_button.grid(row=13, column=0, sticky="ew") self.about_button = customtkinter.CTkButton(self.navigation_frame, corner_radius=0, height=40, border_spacing=10, text="About", fg_color="transparent", text_color=("gray10", "gray90"), hover_color=("gray70", "gray30"), image=self.about_image, command=self.about_button_event, font=("Helvetica", 18, "bold")) - self.about_button.grid(row=11, column=0, sticky="ew") + self.about_button.grid(row=14, column=0, sticky="ew") self.versionPanel = ctk.CTkLabel(self.navigation_frame, text=versionString, font=("Helvetica", 18, "bold")) - self.versionPanel.grid(row=12, column=0, sticky="ew") + self.versionPanel.grid(row=15, column=0, sticky="ew") # create frames self.welcome_frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color="transparent") @@ -122,6 +135,8 @@ def __init__(self): self.mp6_frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color="transparent") self.mp7_frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color="transparent") self.mp8_frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color="transparent") + self.mp9_frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color="transparent") + self.mpDS_frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color="transparent") self.about_frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color="transparent") self.injector_frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color="transparent") @@ -140,6 +155,8 @@ def select_frame_by_name(self, name): self.mp6_button.configure(fg_color=("gray75", "gray25") if name == "mp6Frame" else "transparent") self.mp7_button.configure(fg_color=("gray75", "gray25") if name == "mp7Frame" else "transparent") self.mp8_button.configure(fg_color=("gray75", "gray25") if name == "mp8Frame" else "transparent") + self.mp9_button.configure(fg_color=("gray75", "gray25") if name == "mp9Frame" else "transparent") + self.mpDS_button.configure(fg_color=("gray75", "gray25") if name == "mpDSFrame" else "transparent") self.about_button.configure(fg_color=("gray75", "gray25") if name == "aboutFrame" else "transparent") self.injector_button.configure(fg_color=("gray75", "gray25") if name == "injectorFrame" else "transparent") @@ -189,6 +206,16 @@ def select_frame_by_name(self, name): create_mario_party_8_interface(self.mp8_frame) else: self.mp8_frame.grid_forget() + if name == "mp9Frame": + self.mp9_frame.grid(row=0, column=1, sticky="nsew") + create_mario_party_9_interface(self.mp9_frame) + else: + self.mp8_frame.grid_forget() + if name == "mpDSFrame": + self.mpDS_frame.grid(row=0, column=1, sticky="nsew") + create_mario_party_DS_interface(self.mpDS_frame) + else: + self.mp8_frame.grid_forget() if name == "aboutFrame": self.about_frame.grid(row=0, column=1, sticky="nsew") about_interface(self.about_frame) @@ -227,6 +254,12 @@ def mp7_button_event(self): def mp8_button_event(self): self.select_frame_by_name("mp8Frame") + def mp9_button_event(self): + self.select_frame_by_name("mp9Frame") + + def mpDS_button_event(self): + self.select_frame_by_name("mpDSFrame") + def injector_button_event(self): self.select_frame_by_name("injectorFrame") diff --git a/version.py b/version.py index 849f025..9cd3cea 100644 --- a/version.py +++ b/version.py @@ -5,4 +5,4 @@ # License: MIT # ============================================ -versionString = "3.8.3" +versionString = "3.9.0"