Guide

This guide assumes you were originally working with a version of the GT Template, though it will work even if you are not.

When upgrading from old versions of YAYA, there are a few possible versions you might have. You may be able to skip some of these steps. If you have any questions, please do ask.

  1. If you have a folder called system in your ghost/master/ folder, delete it
  2. If you have a folder called messagetxt in your ghost/master/ folder, delete it
  3. If you have a file called system_config.txt in your ghost/master/ folder, cut and paste anything in it (except the bits that call dic files) into yaya.txt, and then delete system_config.txt
  4. If you have a file called yaya_config.txt in your ghost/master/ folder, open it and check the contents. If you've made any changes in this file before, you will want to make note of them so that you can apply them in the new config file you'll be adding later. In particular, check what value is set for AUTO_DATA_CONVERT. Then, delete the yaya_config.txt file.
  5. Download the system dictionary files here (you can click Code>Download Zip), extract them, and copy the yaya_base folder into your ghost/master/ folder. Not the contents of it, the whole folder. You do not need the other files that you downloaded and can ignore them
  6. In yaya_base/config.dic, make sure your settings are as they were before. Note that they may have been rearranged. AUTO_DATA_CONVERT and REF_ACCEL in particular are important. If you want to learn more about AUTO_DATA_CONVERT and whether you do or do not need it, you can read about it here.
  7. In yaya.txt, delete include, system_config.txt and replace it with dicdir, yaya_base
  8. In yaya.txt, run a search for messagetxt. If you find this option, replace the whole line with just msglang,english (or your preferred supported language). If you have neither of these, add msglang,english (or your preferred supported language)
  9. Replace your yaya.dll with the latest version of yaya.dll (yaya.dll download here - download the regular yaya.zip of the latest version)
  10. In your aitalk.dic, run a search for a function called AiTalk. If it is named AiTalk, rename it to OnAiTalk
  11. Run a search in your ghost's files for a function called OnChoiceSelect. If it does not exist, add this function into a .dic file somewhere:
    //This bit of code is what makes menu options that don't start with On direct to Select.options instead. Remove or comment it if you prefer!
    OnChoiceSelect
    {
        EVAL("Select.%(reference0)")
    }
    

To check and see if the update worked, you can use %(LICENSE[0]) to check the version number of your current installation of YAYA.

If you are not able to run %(LICENSE[0]) directly through script input and would like to, there's a guide for that here.

NOTE: If you're planning to set up network updates with GitHub, or you already use GitHub for your network updates, be very careful. If you're using a github.io homeurl, it will give a 404 error because of the file _loading_order.txt. It does not like file names that start with underscores. Your options are to use the raw.githubusercontent url instead, or, you can copy the contents of _loading_order.txt into yaya.txt and delete _loading_order.txt. See my guide on using GitHub for network updates for more info.