Skip to content

Commit

Permalink
v0.2.18
Browse files Browse the repository at this point in the history
  • Loading branch information
SkywalkerJi committed Jun 12, 2022
1 parent 7dc6f8d commit 94f5165
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 21 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,14 @@ CLI版本在MDT v0.2.3版本进行拆分,拆分后对CLI版本只做基础可

## Changelog

*v0.2.178*
* 修复卡组导出功能。

*v0.2.17*
* 图像模式更新6月10日新卡hash。by wtof1996
* 修复识别线程失效问题。by chunibyo
* 将效果框置为只读。by funnyvalentine2363
* 去除了失效的卡组导出功能。(可能需要新的实现方式)
* 去除了失效的卡组导出功能。

<details>
<summary>展开过往版本</summary>
Expand Down
8 changes: 4 additions & 4 deletions mdt_deck_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ def get_deck_dict():
main_name = "masterduel.exe"
module_name = "GameAssembly.dll"
ma_count_static = 0x01E99C18
ma_count_offsets = [0xB8, 0x00, 0xF8, 0x1C0, 0x90, 0x18]
ma_count_offsets = [0xB8, 0x00, 0xF8, 0x1C8, 0x150, 0x48]
ex_count_static = 0x01E99C18
ex_count_offsets = [0xB8, 0x00, 0xF8, 0x1C0, 0x98, 0x18]
ex_count_offsets = [0xB8, 0x00, 0xF8, 0x1C8, 0x150, 0x18]
ma_cards_static = 0x01E99C18
ma_cards_offsets = [0xB8, 0x00, 0xF8, 0x1C0, 0x90, 0x10, 0x20]
ma_cards_offsets = [0xB8, 0x00, 0xF8, 0x1C8, 0x150, 0x40, 0x20]
ex_cards_static = 0x01E99C18
ex_cards_offsets = [0xB8, 0x00, 0xF8, 0x1C0, 0x98, 0x10, 0x20]
ex_cards_offsets = [0xB8, 0x00, 0xF8, 0x1C8, 0x150, 0x10, 0x20]
deck_dict = {"error": _("无法读取卡组信息")}
try:
pm = get_process(main_name)
Expand Down
24 changes: 12 additions & 12 deletions mdt_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def main():
],
]
window = sg.Window(
"MDT v0.2.17 GPLv3",
"MDT v0.2.18 GPLv3",
card_frame,
default_element_size=(12, 1),
font=("Microsoft YaHei", font_size),
Expand Down Expand Up @@ -716,17 +716,17 @@ def main():
]
]
),
# sg.Column(
# [
# [
# sg.Button(
# _("导出卡组"),
# button_color=("white", "#238636"),
# border_width=1,
# )
# ]
# ]
# ),
sg.Column(
[
[
sg.Button(
_("导出卡组"),
button_color=("white", "#238636"),
border_width=1,
)
]
]
),
sg.Column(
[
[
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 @@ -58,13 +58,13 @@ def get_deck_dict():
main_name = "masterduel.exe"
module_name = "GameAssembly.dll"
ma_count_static = 0x01E99C18
ma_count_offsets = [0xB8, 0x00, 0xF8, 0x1C0, 0x90, 0x18]
ma_count_offsets = [0xB8, 0x00, 0xF8, 0x1C8, 0x150, 0x48]
ex_count_static = 0x01E99C18
ex_count_offsets = [0xB8, 0x00, 0xF8, 0x1C0, 0x98, 0x18]
ex_count_offsets = [0xB8, 0x00, 0xF8, 0x1C8, 0x150, 0x18]
ma_cards_static = 0x01E99C18
ma_cards_offsets = [0xB8, 0x00, 0xF8, 0x1C0, 0x90, 0x10, 0x20]
ma_cards_offsets = [0xB8, 0x00, 0xF8, 0x1C8, 0x150, 0x40, 0x20]
ex_cards_static = 0x01E99C18
ex_cards_offsets = [0xB8, 0x00, 0xF8, 0x1C0, 0x98, 0x10, 0x20]
ex_cards_offsets = [0xB8, 0x00, 0xF8, 0x1C8, 0x150, 0x10, 0x20]
deck_dict = {"error": _("无法读取卡组信息")}
try:
pm = get_process(main_name)
Expand Down

0 comments on commit 94f5165

Please sign in to comment.