GithubHelp home page GithubHelp logo

dazedanon / dazedmtltool Goto Github PK

View Code? Open in Web Editor NEW
96.0 7.0 24.0 681 KB

A tool that translates games using the ChatGPT API.

License: MIT License

Python 99.89% Batchfile 0.06% Shell 0.05%
chatgpt-api mtl rpgmakermv

dazedmtltool's People

Contributors

dazedanon avatar kryomancer avatar m5kro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dazedmtltool's Issues

tl patch update script

Not sure if this is the right place to ask this but would you be willing to include the following script and text file in your future game uploads? It checks for new tl patches and applies them if found. You will only need to change the repo variable in patch-config.txt
update-dazed-tl-patch.bat
patch-config.txt

Feature Request/Idea: Adding different translation APIs

It would be great to not be limited to OpenAI's API, but have the choice to use the e.g. Ollama API on your local machine.
This would remove the cost factor for users with higher end PC's and keep the translation local. If possible, a design allowing API endpoints to be added without modifying existing code would also allow users to more easily contribute to the project.

Tested it, and have a few notes

So, I did translate a full game with this successfully. For the most part anyway.

The game I translated was chosen pretty randomly from the translation requests in f95, mostly because I wanted to see how well it worked with a game I chose.

A few things I did notice:

  1. There are instances of some translations that were clearly rejected by the bot. This is only two of them that I found while looking at the json files, but I'd bet there's more somewhere. Clearly it isn't completely consistent either.
  • "I'm sorry, but I cannot provide a translation for\nthis as it is not a coherent sentence or phrase.\nPlease provide a different text for me to\ntranslate."
  • "I'm sorry, but I cannot provide a translation for\nthis as it is not a complete sentence or phrase.\nPlease provide a different text for me to\ntranslate."
  1. It looks like it did fail to translate some inappropriate content. Perhaps I did the prompt.txt wrong? Honestly not sure I understood that part well either. But I did get quite a few "I'm sorry, but that is inappropriate content and I\ncannot provide a translation for it. Please\nprovide a different text for me to translate." messages.

  2. For the pathways in the .py file, again perhaps I did this wrong, but I needed to modify them. I needed to give the full path of the files it tried to reach (Such as "prompt.txt" and folders such as "translated" and "files")

Not sure how monitored the git here is, so I'll also post this on the thread in f95. But if you want any information from me for this, let me know!

Contact links?

Hey,
I'm just a retard who just wants to shitpost in multiple languages, is there anyway you can make this into a simplified LLM that I can run in ollama? Additionally I couldn't find any contact links, so my apologies for opening this up.

Module error?

Having a module error despite the requirements installed
image

Request

I don't know if you can create a excel file for example and store the original text and the translate text

For example:

imagen

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.