No description
Find a file
2023-04-10 07:44:34 -05:00
files feat: Threading added 2023-04-05 13:33:05 -05:00
translated feat: Threading added 2023-04-05 13:33:05 -05:00
.env.example refactor: Remove prompt from example 2023-04-09 08:17:17 -05:00
.gitignore feat: more jsons, prompt file for better formattin 2023-04-07 02:11:55 -05:00
LICENSE.md Create LICENSE.md 2023-04-09 08:33:30 -05:00
main.py feat: Add input so cli doesn't close immediately 2023-04-09 19:34:01 -05:00
prompt.example docs: New prompt change more efficient 2023-04-09 06:59:28 -05:00
README.md Update README.md 2023-04-10 07:44:34 -05:00
RPGMakerEventCodes.info feat: Add support for scrolling text 355/655 2023-04-08 19:33:56 -05:00

DazedMTLTool - A script that translates RPGMaker MV JSON files using ChatGPT API

Currently in development. Goal is to eventually have ChatGPT nicely translate all dialogue when given an RPGMaker JSON file. Right now its only tested on MV but hopeful to add more engines in the future.

Required:

Setup:

  1. Add you API key and Organization Key to a .env file. An example can be found in the repo.
  2. Edit the prompt.example to prompt.txt. (See ChatGPT Prompt Section)
  3. Untranslated JSON files go in /files. Anything translated will end up in /translated
  4. Run the script either with VSCode or by running .\main.py in a CLI.

ChatGPT Prompt:

prompt.txt will decide what and how ChatGPT translates the text. This is where you can customize it's output. This is extremely useful for when ChatGPT gives you a translation that you don't want. You can use this to tell him what to do, give examples of how you want things translated, etc. The example included is what I use currently, but you should tailor it to the game you are trying to translate.

Note that the bigger the prompt, the more $ its going to cost to translate.