Skip to content

โปรแกรมแปล Dialogue เกมด้วย LLM โดยคนไทย

License

Notifications You must be signed in to change notification settings

kang49/deepalogue

Repository files navigation


DeepAlogue

แปล Dialogue เกมเป็นภาษาไทยด้วย LLM

Report Issues

Size Issues PullRequestsClosed Forks Stars License Contributers Contributers

About The Project 😃

บางครั้งเรามีเกมที่เราชอบมากๆ แต่น่าเสียดายที่เกมนั้นไม่มีแปลไทย (โคตร Sad) จะนั่งแปลเองก็เหนื่อยมากๆ ยิ่งเป็นเกมเนื้อเรื่องยาวๆ 6-8ชม. นี่ไม่ไหวเลย เราก็เลยคิดเอา LLM มาช่วยแปล ตอนแรกก็ว่าจะเก็บไว้ใช้คนเดียว เพราะ CodeBase แย่จัดๆสร้างมาแบบรีบๆแปลได้ก็พอ555 แต่ก็คิดว่าน่าจะมีคนที่อยากได้อะไรแบบนี้เหมือนกัน ก็เอาลง Github ไปใช้กันฟรีๆเลยละกันนะ ใครอยากมาช่วย Contribute ก็เอาเลย

Roadmap 🚀

  • Fine tune model ด้วยข้อมูลการแปล Dialogues ของทุกๆบทจาก Wuthering Waves

Project Screenshots 🏞️

project-screenshot project-screenshot
project-screenshot project-screenshot

Installations 🛠️

  1. Download exe file from Release

  2. Should create folder for it. and put exe file in that folder. I don't build setup file yet.

  3. Download Ollama from Ollama

  4. Open PowerShell or CMD and run this command to download LLM model

    ollama pull gemma2
  5. Run exe file and enjoy it.

Usage 📚

WARNING ⚠️: This program use a lot of memory and GPU power. If you have a low spec computer, you should use it carefully.
  1. First time, you open the program. You will see the 3 buttons.

    • Start - Start the program to listen f12 hotkey.
    • Overlay - Show the start button overlay if hotkey not work. You can move it by drag and drop.
    • Stop - Stop the program.
    • Reset Position - Clear the overlay position
  2. If you first time use, it will open 2 fullscreen overlay. One is a A1 that for message from people in game. Another one is B1 that for message options you reply.

    Note: if after you crop area of screen, it not responsding, Don't worry it's normal and happen just first time.

  3. Everytime you use first after open the program, it use a few seconds to load the model. After that, it will be faster.

Thank you EasyOCR for detect messages 📷

This's great OCR library, high accuracy and easy to use. You can check it out EasyOCR

Thank you Ollama for API runtime 🤖

Ollama is a great platform for run LLM model. You can check it out Ollama

Thank you Google for Model 🤖

Gemma2 is developed by Google. This is the best model for dialogue translation that I researched. You can check. Gemma2

License 🔑

Distributed under the MIT License. See LICENSE for more information.

Project Founder 😎

  • kang49 | Meta_Keen | Kankawee Aramrak - Software Engineer at TensorMiK - Github

Made with 💖 by Meta_Keen

About

โปรแกรมแปล Dialogue เกมด้วย LLM โดยคนไทย

Resources

License

Stars

Watchers

Forks

Languages