Skip to content

Commit

Permalink
v0.2.27
Browse files Browse the repository at this point in the history
  • Loading branch information
SkywalkerJi committed Nov 19, 2022
1 parent 4fe1334 commit 54f7d86
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions mdt.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ def get_baseAddress():
pm.process_handle, "GameAssembly.dll"
).lpBaseOfDll
# deck 组卡界面 duel 决斗界面 oppo 回放
deck_addr = baseAddress + int("0x01F93BE8", base=16)
duel_addr = baseAddress + int("0x01F9F670", base=16)
oppo_addr = baseAddress + int("0x01F93BE8", base=16)
deck_addr = baseAddress + int("0x01F93BF8", base=16)
duel_addr = baseAddress + int("0x01F9F680", base=16)
oppo_addr = baseAddress + int("0x01F93BF8", base=16)


# UAC判断
Expand Down
8 changes: 4 additions & 4 deletions mdt_deck_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ def get_database(path):
def get_deck_dict():
main_name = "masterduel.exe"
module_name = "GameAssembly.dll"
ma_count_static = 0x01F93BE8
ma_count_static = 0x01F93BF8
ma_count_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0xF0, 0x18]
ex_count_static = 0x01F93BE8
ex_count_static = 0x01F93BF8
ex_count_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0x150, 0x18]
ma_cards_static = 0x01F93BE8
ma_cards_static = 0x01F93BF8
ma_cards_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0x148, 0x10, 0x20]
ex_cards_static = 0x01F93BE8
ex_cards_static = 0x01F93BF8
ex_cards_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0x150, 0x10, 0x20]
deck_dict = {"error": _("无法读取卡组信息")}
try:
Expand Down
2 changes: 1 addition & 1 deletion mdt_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def main():
],
]
window = sg.Window(
"MDT v0.2.26 GPLv3",
"MDT v0.2.27 GPLv3",
card_frame,
default_element_size=(12, 1),
font=("Microsoft YaHei", font_size),
Expand Down
8 changes: 4 additions & 4 deletions win7/mdt_deck_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ def get_database(path):
def get_deck_dict():
main_name = "masterduel.exe"
module_name = "GameAssembly.dll"
ma_count_static = 0x01F93BE8
ma_count_static = 0x01F93BF8
ma_count_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0xF0, 0x18]
ex_count_static = 0x01F93BE8
ex_count_static = 0x01F93BF8
ex_count_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0x150, 0x18]
ma_cards_static = 0x01F93BE8
ma_cards_static = 0x01F93BF8
ma_cards_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0x148, 0x10, 0x20]
ex_cards_static = 0x01F93BE8
ex_cards_static = 0x01F93BF8
ex_cards_offsets = [0xB8, 0x00, 0x100, 0x1F0, 0x150, 0x10, 0x20]
deck_dict = {"error": _("无法读取卡组信息")}
try:
Expand Down

0 comments on commit 54f7d86

Please sign in to comment.