-
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
a4960e0
commit 5bd57cb
Showing
6 changed files
with
1,256 additions
and
1,152 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.
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# ============================================ | ||
# Mario Party Toolkit | ||
# Author: Nayla Hanegan ([email protected]) | ||
# Date: 1/18/2024 | ||
# Date: 1/23/2024 | ||
# License: MIT | ||
# ============================================ | ||
|
||
|
@@ -70,7 +70,7 @@ def getBlueSpaceCodeThree(amount, switch): | |
return f''' | ||
MP3 - Blue Spaces Give THREEBLUE Coins: THREEBLUESWITCH | ||
810FE284 3408 | ||
810FE286 000{amount} | ||
810FE286 000{switch} | ||
810FE288 1100 | ||
810FE28A 0003 | ||
810FE28C 3410 | ||
|
@@ -83,13 +83,13 @@ def getBlueSpaceCodeThree(amount, switch): | |
|
||
def getRedSpaceCodeThree(amount, switch): | ||
return f''' | ||
MP3 - Blue Spaces Take Away THREEBLUE Coins: THREEREDSWITCH | ||
MP3 - Red Spaces Take Away THREEBLUE Coins: THREEREDSWITCH | ||
810FE2C0 3408 | ||
810FE2C2 000{amount} | ||
810FE2C2 000{switch} | ||
810FE2C4 1100 | ||
810FE2C6 0003 | ||
810FE2C8 3410 | ||
810FE2CA 00{amount} | ||
810FE2CA {amount} | ||
810FE2CC 5440 | ||
810FE2CE 0001 | ||
810FE2D0 0010 | ||
|
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,56 @@ | ||
# ============================================ | ||
# Mario Party Toolkit | ||
# Author: Nayla Hanegan ([email protected]) | ||
# Date: 1/23/2024 | ||
# License: MIT | ||
# ============================================ | ||
|
||
def get_mit_license_text(): | ||
mit_license_text = """ | ||
MIT License | ||
Copyright (c) 2023 - 2024 Nayla Hanegan | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
""" | ||
return mit_license_text | ||
|
||
def get_credits_text(): | ||
credits_text = """ | ||
CREDITS | ||
- Nayla for Program Work | ||
- Rain for Gecko Codes | ||
- Ralf for Gecko Codes | ||
- WolfGC64 for Gecko Codes | ||
""" | ||
return credits_text | ||
|
||
def get_about_text(): | ||
about_text = """ | ||
About Mario Party Toolkit | ||
Originally Created for DarkSpine's Code Chaos now known as Mario Party Mayhem | ||
Expanding to be a all in one modding toolkit for many variables thats should be customizable in Mario Party. | ||
""" | ||
return about_text |
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# ============================================ | ||
# Mario Party Toolkit | ||
# Author: Nayla Hanegan ([email protected]) | ||
# Date: 1/18/2024 | ||
# Date: 1/23/2024 | ||
|
||
# License: MIT | ||
# ============================================ | ||
|
||
|
@@ -12,7 +13,7 @@ | |
import requests | ||
import sys | ||
import webbrowser | ||
from version import current_version | ||
from version import appVersion | ||
|
||
def createDialog(windowTitle, warn, info, buttonTxt=None): | ||
completeWindow = ctk.CTkToplevel() | ||
|
@@ -53,15 +54,12 @@ def fetchResource(resource_path: Path) -> Path: | |
|
||
def create_image_icon(frame, image_path, row, column): | ||
# Create and configure the canvas with the provided image | ||
image = Image.open(fetchResource(image_path)).convert("RGBA") | ||
image = image.resize((32, 32)) | ||
image = Image.open(fetchResource(image_path)) | ||
image = image.resize((48, 48)) | ||
image_tk = ImageTk.PhotoImage(image) | ||
|
||
canvas = ctk.CTkCanvas(master=frame, background="#2b2b2b", highlightthickness=0, width=image.width, height=image.height) | ||
canvas.grid(row=row, column=column) | ||
canvas.create_image(0, 0, anchor="nw", image=image_tk) | ||
|
||
return canvas, image_tk | ||
label = tk.Label(frame, image=image_tk) | ||
label.image = image_tk # Keep a reference to the image to prevent it from being garbage collected | ||
label.grid(row=row, column=column) | ||
|
||
def check_for_updates(): | ||
pastebin_url = "https://pastebin.com/raw/MrpYHUHy" | ||
|
Oops, something went wrong.