Skip to content

Commit

Permalink
v0.2.22 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
SkywalkerJi committed Aug 5, 2022
1 parent 63017ec commit c429437
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Yu-Gi-Oh! Master Duel Translation Script

[![GitHub release (latest by date)](https://img.shields.io/github/v/release/SkywalkerJi/mdt)](https://github.com/SkywalkerJi/mdt/releases/latest) [![GitHub all releases](https://img.shields.io/github/downloads/SkywalkerJi/mdt/total)](https://github.com/SkywalkerJi/mdt#download) [![GitHub forks](https://img.shields.io/github/forks/SkywalkerJi/mdt)](https://github.com/SkywalkerJi/mdt/network) [![GitHub stars](https://img.shields.io/github/stars/SkywalkerJi/mdt)](https://github.com/SkywalkerJi/mdt/stargazers) [![GitHub license](https://img.shields.io/github/license/SkywalkerJi/mdt)](https://github.com/SkywalkerJi/mdt/blob/master/LICENSE) ![Chinese translation](https://img.shields.io/badge/%E4%B8%AD%E6%96%87%E7%BF%BB%E8%AF%91-100%25-green) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/SkywalkerJi/mdt/GitHub%20Actions%20Build%20and%20Deploy) [![Steam Game Ver](https://img.shields.io/badge/Steam-1.1.2-informational)](https://store.steampowered.com/app/1449850/YuGiOh_Master_Duel/)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/SkywalkerJi/mdt)](https://github.com/SkywalkerJi/mdt/releases/latest) [![GitHub all releases](https://img.shields.io/github/downloads/SkywalkerJi/mdt/total)](https://github.com/SkywalkerJi/mdt#download) [![GitHub forks](https://img.shields.io/github/forks/SkywalkerJi/mdt)](https://github.com/SkywalkerJi/mdt/network) [![GitHub stars](https://img.shields.io/github/stars/SkywalkerJi/mdt)](https://github.com/SkywalkerJi/mdt/stargazers) [![GitHub license](https://img.shields.io/github/license/SkywalkerJi/mdt)](https://github.com/SkywalkerJi/mdt/blob/master/LICENSE) ![Chinese translation](https://img.shields.io/badge/%E4%B8%AD%E6%96%87%E7%BF%BB%E8%AF%91-100%25-green) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/SkywalkerJi/mdt/GitHub%20Actions%20Build%20and%20Deploy) [![Steam Game Ver](https://img.shields.io/badge/Steam-1.2.0-informational)](https://store.steampowered.com/app/1449850/YuGiOh_Master_Duel/)

* 自动切换,自动查卡,全面覆盖Deck、Duel、Solo、Replay、Shop模式。
* 高正确性,除非卡片数据本身有错。
Expand Down Expand Up @@ -354,12 +354,16 @@ CLI版本在MDT v0.2.3版本进行拆分,拆分后对CLI版本只做基础可

## Changelog

*v0.2.21*
* 图像模式更新7月11日新卡hash。by wtof1996
*v0.2.22 beta*
* 对游戏steam版本1.2.0进行支持。(不完整)

<details>
<summary>展开过往版本</summary>

*v0.2.21*
* 图像模式更新7月11日新卡hash。by wtof1996


*v0.2.20*
* 修复导出卡组时主卡组为0的bug。

Expand Down
2 changes: 1 addition & 1 deletion config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ show_jp_name = 1
show_card_id = 1
show_notice = 1
no_scrollbar = 1
cv_mode = 1
cv_mode = 0
play_diy_bgm = 0

8 changes: 4 additions & 4 deletions mdt.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_cid(type: int):
while type == 1:
try:
deck_pointer_value = (
read_longlongs(pm, deck_addr, [0xB8, 0x0, 0xF8, 0x1E0]) + 0x2C
read_longlongs(pm, deck_addr, [0xB8, 0x0, 0xF8, 0x200]) + 0x2C
)
deck_cid = pm.read_int(deck_pointer_value)
return deck_cid
Expand Down Expand Up @@ -135,9 +135,9 @@ def get_baseAddress():
pm.process_handle, "GameAssembly.dll"
).lpBaseOfDll
# deck 组卡界面 duel 决斗界面 oppo 回放
deck_addr = baseAddress + int("0x01E9AC28", base=16)
duel_addr = baseAddress + int("0x01DBEC88", base=16)
oppo_addr = baseAddress + int("0x01E9AC28", base=16)
deck_addr = baseAddress + int("0x01F501A8", base=16)
duel_addr = baseAddress + int("0x01F31E48", base=16)
oppo_addr = baseAddress + int("0x01F501A8", base=16)


# UAC判断
Expand Down
2 changes: 1 addition & 1 deletion mdt_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def main():
],
]
window = sg.Window(
"MDT v0.2.21 GPLv3",
"MDT v0.2.22 beta GPLv3",
card_frame,
default_element_size=(12, 1),
font=("Microsoft YaHei", font_size),
Expand Down

0 comments on commit c429437

Please sign in to comment.