Master Duel Card Translator Project

Overview

Master Duel Card Translator Project

A tool for translating card effects in Yu-Gi-Oh! Master Duel.

Quick Start (for Chinese version only)

  1. Download the latest release zip file.
  2. Unzip the zip file.
  3. Run MDCT_PositionSetup.exe. This is the last step to configure MDCT.
  4. Run MasterDuelCardTranslator.exe. Please enjoy.

UNDER CONSTRUCTION

......

You might also like...
Irrigation Component V4 providing support for a custom card
Irrigation Component V4 providing support for a custom card

Irrigation Component V4 This release sees the delivery of a custom card https://github.com/petergridge/irrigation_card to render the program options s

An app to automatically take attendance by scanning students' bar coded ID card as they enter the classroom.

Auto Classroom Attendance This application may be run on a PC to automatically scan students' ID card using a generic bar code scanner and output the

Python scripts to interact with Upper Deck ePack online trading card platform

This script should connect to the Upper Deck ePack API using your browser cookies and download a list of your current collection and save it as a CSV.

With Christmas and New Year ahead, it is time for some festive coding. Here is a Christmas Card for you all!

Christmas Card With Christmas and New Year ahead, it is time for some festive coding! Here is a Christmas Card for you all! NOTE: I have not made this

A small script I made that takes any standard Decklist of magic the gathering cards and pulls all card images from scryfall at once!

A small script I made that takes any standard Decklist of magic the gathering cards and pulls all card images from scryfall at once!

🛠️ Learn a technology X by doing a project  - Search engine of project-based learning
🛠️ Learn a technology X by doing a project - Search engine of project-based learning

Learn X by doing Y 🛠️ Learn a technology X by doing a project Y Website You can contribute by adding projects to the CSV file.

edgetest is a tox-inspired python library that will loop through your project's dependencies, and check if your project is compatible with the latest version of each dependency

Bleeding edge dependency testing Full Documentation edgetest is a tox-inspired python library that will loop through your project's dependencies, and

Covid-19-Trends - A project that me and my friends created as the CSC110 Final Project at UofT

Covid-19-Trends Introduction The COVID-19 pandemic has caused severe financial s

Comments
  • 软件问题和翻译问题

    软件问题和翻译问题

    您好,这边遇到了两个问题。第一个问题,启动程序后的出现两个框显示正在启动 Mater Duel Card Translater...的框一直在自主变化大小(电脑系统是win10)。一直变化大小,有点疑惑。第二个问题,就是电子龙核这张牌的效果翻译是按照电子龙的效果来翻译(不知道算不算bug)

    https://user-images.githubusercontent.com/98424472/151051364-cad6f979-80ac-4abf-bbd2-381f9dfade6f.mp4

    opened by AndyandRed 3
  • 多查询几条之后sqlite token失效

    多查询几条之后sqlite token失效

    Exception in Tkinter callback Traceback (most recent call last): File "tkinter_init_.py", line 1705, in call File "tkinter_init_.py", line 749, in callit File "MasterDuelCardTranslator.py", line 59, in update_card_detail sqlite3.OperationalError: unrecognized token: """

    opened by AugusLcz 2
  • 算法逻辑(卡名匹配)改进建议

    算法逻辑(卡名匹配)改进建议

    hello, 非常感谢您的贡献!有幸阅读了您的源码,我对卡名匹配的环节提出如下建议: 考虑到ygo目前卡片数量是有限的,并且量级不大(短期内不超过20k),因此卡名信息可以直接载入到内存中,然后通过文本相似度(例如编辑距离)来进行匹配,如下:

    
    import time 
    import Levenshtein
    
    target = "Blackwing - Silverwind the Ascendant"
    query = "Blackwing - Salverwind the Ascen"
    
    start_time = time.time()
    for i in range(11000):
        Levenshtein.distance(target, query) # 计算编辑距离,越小说明越相似。
    print(time.time() - start_time)
    
    

    上述11000次(模拟卡片全集的数量)循环计算,约16毫秒可执行完成,因此用户几乎无感。可以每次对输入的query(ocr结果),计算对一万多张牌的编辑距离,并排序,找到最接近的卡片标准名称,然后用标准名称进行查库。这样可以极大缓解ocr错误带来的查询不到结果的问题。同时,编辑距离是一个时间复杂度很低的算法,您可以测试一下对cpu的压力,应该不大。

    enhancement 
    opened by YoungHector 3
Releases(v2.4)
  • v2.4(Mar 19, 2022)

  • v2.3(Mar 6, 2022)

  • v2.2(Feb 26, 2022)

    MDCT has updated to 2.2 from 2.1. Thanks for your support.

    Patch Notes

    1. Add an option to select capture method, between "FindWindow & PrintWindow" and "FindWindow & Screenshot".
    2. Fix wrong translation of Number 1: Numeron Gate Ekam, Mist Valley Thunderbird and Flower Cardian Willow. Maybe more.
    3. Fix wrong information shown when a monster has ATK/? or DEF/?.
    4. Shorten the delay between 2 OCRs by 160ms.
    Source code(tar.gz)
    Source code(zip)
    MasterDuelCardTranslator_v2.2.zip(96.43 MB)
    MDCT_Patch_v2.2_FROMv2.1.zip(18.13 MB)
  • v2.1(Feb 26, 2022)

  • v2.0(Feb 24, 2022)

    Master Duel Card Translator Version 2.0 has been released. Thank you all for supports and feedbacks when using MDCT Version 1.x.

    About Master Duel Card Translator It translates text of cards from English into a target language (Simplified Chinese by default) when playing Yu-Gi-Oh! Master Duel. It uses OCR to recognize text in the game for translating.

    Patch Notes (from Version 1.3)

    1. Use pywin32 instead of pyautogui to capture screenshots. Now MDCT can stay above OCR areas. It does not need to set positions up any more.
    2. Add deck mode. Now MDCT can easily be used when editing deck.
    3. Add some advanced settings.
    4. (For developers only) Disable the updater when running MDCT in code.
    Source code(tar.gz)
    Source code(zip)
    MasterDuelCardTranslator_v2.0.zip(95.39 MB)
    MDCT_Patch_v2.0_FROMv1.3.zip(14.19 MB)
  • v1.3(Feb 22, 2022)

  • v1.2(Feb 20, 2022)

  • v1.1(Feb 14, 2022)

  • v1.0(Feb 12, 2022)

    Master Duel Card Translator Version 1.0 has been released. Thank you all for supports and feedbacks when using MDCT Version 0.x.

    MasterDuelCardTranslator The main program of MDCT Project. It translates text of cards from English into a target language (Simplified Chinese by default) when playing Yu-Gi-Oh! Master Duel. It uses OCR to recognize text in the game for translating.

    MDCT_PositionSetup The configuration of the OCR zone. Make sure it has run properly before executing MasterDuelCardTranslator.

    MDCT_UpdateSource and MDCT_UpdateTarget Update databases of MasterDuelCardTranslator. You can execute these two when MasterDuelCardTranslator failing to translate new cards. Please be aware that MDCT_UpdateTarget will download a database in Simplified Chinese. If a database in another language is needed, please kindly update target database manually.

    Source code(tar.gz)
    Source code(zip)
    MasterDuelCardTranslator_v1.0.zip(115.36 MB)
  • v0.6(Feb 8, 2022)

    MDCT has updated to 0.6 from 0.5. Thanks for your support.

    MasterDuelCardTranslator

    1. Fix wrong translation of Junk Synchron and Linkuriboh. Maybe more.
    2. Add more infomation to show in the window.
    3. Re-write instructions when failing to translate.

    MDCT_UpdateTarget This is a new executable to update translation data.

    Known Issues

    1. When MDCT_UpdateSource fails, it exits without any notice.
    Source code(tar.gz)
    Source code(zip)
    MasterDuelCardTranslator_v0.6.zip(115.35 MB)
  • v0.5(Feb 2, 2022)

  • v0.4(Jan 30, 2022)

    MDCT has updated to 0.4 from 0.3. It is my honor to invite @LLForever as a co-author in the MDCT Project.

    MasterDuelCardTranslator

    1. Improve the performance of GUI.
    2. Improve the performance of getting card text, using cache before OCR.
    3. Use card text to OCR, not cardnames any more.

    MDCT_UpdateSource

    1. Rename from MDCT_UpdateNameAndId.
    2. Change the table structure to be the same as in MasterDuelCardTranslator.

    General

    1. Add @LLForever as a co-author in the license.
    2. Re-write some instructions.
    3. Re-do some code.
    Source code(tar.gz)
    Source code(zip)
    MasterDuelCardTranslator_v0.4.zip(107.82 MB)
  • v0.3(Jan 27, 2022)

    MDCT has updated to 0.3 from 0.2. Thanks for your support.

    MasterDuelCardTranslator

    1. Fix crash when a quote ends cardname.
    2. Save and load geometry from settings.
    3. The window can be resized.
    4. Load font from settings.
    5. Will NOT refresh card detail when card id not changing.
    6. Disable the terminal.
    7. Save exception messages when crash happens.

    MDCT_PositionSetup

    1. Show OCR result when setup ends.

    MDCT_UpdateNameAndId

    1. Will notice when exit normally.

    General

    1. Show license when a terminal starts.
    2. Re-write some instructions.
    3. Re-do some code.
    Source code(tar.gz)
    Source code(zip)
    MasterDuelCardTranslator_v0.3.zip(107.12 MB)
  • v0.2(Jan 23, 2022)

An implementation of multimap with per-item expiration backed up by Redis.

MultiMapWithTTL An implementation of multimap with per-item expiration backed up by Redis. Documentation: https://loggi.github.io/python-multimapwitht

Loggi 2 Jan 17, 2022
An esoteric programming language that supports concurrency, regex, and web requests.

The Hofstadter Esoteric Programming Language Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's La

Austin Henley 19 Dec 27, 2022
A professional version for LBS

呐 Yuki Pro~ 懒兵服御用版本,yuki小姐觉得没必要单独造一个仓库,但懒兵觉得有必要并强制执行 将na-yuki框架抽象为模块,功能拆分为独立脚本,使用脚本注释器使其作为py运行 文件结构: na_yuki_pro_example.py 是一个说明脚本,用来直观展示na,yuki! Pro

1 Dec 21, 2021
Adam with minor modifications which give significant improvement

BAdam Modification of Adam [1] optimizer with increased stability and better performance. Tricks used: Decoupled weight decay as in AdamW [2]. Such de

19 May 11, 2022
RFDesign - Protein hallucination and inpainting with RoseTTAFold

RFDesign: Protein hallucination and inpainting with RoseTTAFold Jue Wang (juewan

139 Jan 06, 2023
A 3-line lisp implementation

Nanolisp The download page of many a language harbors deep senses of forboding, of evil lurking in its native lair. You feel that the language is not

5 Jun 17, 2022
A StarkNet project template based on a Pythonic environment

StarkNet Project Template This is an opinionated StarkNet project template. It is based around the Python's ecosystem and best practices. tox to manag

Francesco Ceccon 5 Apr 21, 2022
Create VSCode Extensions with python

About Create vscode extensions with python. Installation Stable version: pip install vscode-ext Why use this? Why should you use this for building VSc

Swas.py 134 Jan 07, 2023
Trusted sessions for falcon using itsdangerous.

Falcon signed sessions This project allows you to easily add trusted cookies to falcon, it works by storing a signed cookie in the client's browser us

Ward 1 Feb 08, 2022
【幼盾】个性化图片徽章服务!

【幼盾】个性化图片徽章服务! 你对方形的徽章感到无聊了吗?想要定制属于自己的开源项目徽章了吗? 快来使用unv-shield吧! unv-shield提供包含自定义图片的徽章服务,可以让你的项目主页更加个性化!

黄巍 130 Dec 23, 2022
Run CodeServer on Google Colab using Inlets in less than 60 secs using your own domain.

Inlets Colab Run CodeServer on Colab using Inlets in less than 60 secs using your own domain. Features Optimized for Inlets/InletsPro Use your own Cus

2 Dec 30, 2021
Mini-calculadora escrita como exemplo para uma palestra relâmpago sobre `git bisect`

Calculadora Mini-calculadora criada para uma palestra relâmpado sobre git bisect. Tem até uma colinha! Exemplo de uso Modo interativo $ python -m calc

Eduardo Cuducos 3 Dec 14, 2021
Painel de consulta

⚙ FullP 1.1 Instalação 💻 git clone https://github.com/gav1x/FullP.git cd FullP pip3 install -r requirements.txt python3 main.py Um pequeno

gav1x 26 Oct 11, 2022
Small C-like language compiler for the Uxn assembly language

Pyuxncle is a single-pass compiler for a small subset of C (albeit without the std library). This compiler targets Uxntal, the assembly language of the Uxn virtual computer. The output Uxntal is not

CPunch 13 Jun 28, 2022
An example of python package

An example of python package Why use packages? It is a good practice to not code the same function twice, and to reuse common code from one python scr

10 Oct 18, 2022
A notebook explaining the principle of adversarial attacks and their defences

TL;DR: A notebook explaining the principle of adversarial attacks and their defences Abstract: Deep neural networks models have been wildly successful

1 Jan 22, 2022
pythonOS: An operating system kernel made in python and assembly

pythonOS An operating system kernel made in python and assembly Wait what? It uses a custom compiler called snek that implements a part of python3.9 (

Abbix 69 Dec 23, 2022
Extract gene length based on featureCount calculation gene nonredundant exon length method.

Extract gene length based on featureCount calculation gene nonredundant exon length method.

laojunjun 12 Nov 21, 2022
An awesome list of AI for art and design - resources, and popular datasets and how we may apply computer vision tasks to art and design.

Awesome AI for Art & Design An awesome list of AI for art and design - resources, and popular datasets and how we may apply computer vision tasks to a

Margaret Maynard-Reid 20 Dec 21, 2022
4Geeks Academy Full-Stack Developer program final project.

Final Project Chavi, Clara y Pablo 4Geeks Academy Full-Stack Developer program final project. Authors Javier Manteca - Coding - chavisam Clara Rojano

1 Feb 05, 2022