This tutorial is set by the author's setting without permission.
If you downloaded the scattered zh_cn.lang file online, but you don't know how to install this file, then this tutorial is suitable for you.Tutorial Applicable Game Version: 1.12.2
1. How to use Resource Loader to install zh_cn.lang Chinese file
Total: Put the Chinese file in Resources/
1. First download the Resource Loader (1.12.2) module
CurseForge: https://www.cURSEFORGE.com/mineCraft/mc-mods/resource-loader
Mcmod: https://www.mcmod.cn/class/1036.html
2. Put Resource Loader into the MODS folder and start a game. At this time, the game will automatically generate a folder called Resources.You can also create this folder yourself.Pay attention to whether your game is opened for version isolation. Check it. Your ResourceS folder should be on the same directory as the Mods folder equipped with Resource Loader.
3. Clarify which module is your zh_cn.lang.Take endless greed as an example, you can decompress endless greedy jar files, including an Assets folder.Generally, the module has this Assets folder. Here is a Bandizip compression software. You do n’t need to decompress it directly. You can preview. Of course, other compressed software also has similar functions.Open assets, you can see that there is Avaritia inside, remember the name.If there is more than one folder in ASSETS, the meaning of reading English or comparing the name of this module can exclude irrelevant options.Such as the blue sky, there are two folders: Blue_skies and MINECRAFT. Obviously, Minecraft is not the same.
4. Back to the ResourceS folder, create a new folder under this folder, named the name "Avaritia" you just remember.If the name cannot be remembered, you can select the folder rename (shortcut key F2) in the previous interface, and copy it directly after entering the rename mode (shortcut key CTRL+C).Then just paste the folder under the resourceS folder.
5. Enter the just -created Avaritia folder, create a new folder and name it Lang, and install the Chinese file in the LANG folder.Restart the game or use F3+T heavy loading resources to complete the installation.It is recommended to use the latter more time.
(Test the enchantment to describe the module using F3+T may not be effective, and can only restart the game heavy load resources)
Summary: The path for installation of Chinese is Resources/Avaritia/Lang.
You can see that the path of language files in the module is Assets/Avaritia/Lang.That is to say, Resources actually replaces the position of Assets.
2. Why use Resource Loader to install Sinicization
There are many ways to Chinese, and everyone has their own way of favorite, which is normal.I personally like to use Resource Loader for Chineseization.
I used to use many Chinese ways to take endless greed as an example.One is to decompress the jar file, then stuff the zh_cn.lang into Assets/Avaritia/Lang, and then pack the entire file.Although this method can load the module, the Chineseization cannot be loaded. I tried to change zh_cn.lang to en_us.lang. Although it was successful this time, the original en_us.lang was replaced.This means that English can no longer be displayed, even if it is changed to English, it will display Chinese.And this method will change the module body.I think you can copy and paste once a module is downloaded, but try not to move inside the module file.
It is also a good solution to choose an automatic Chinese update module. It will automatically download the automatic Chinese resource package. This method is highly feasible.But there is a problem, that is, some of the translation may be unsatisfactory. You may see some translations that do not like in it, and even have obvious typos.Another problem is that the automated resource package is too bloated, and there are a large number of module translations in the resource package, and you do n’t install many modules at all. Then the translation files of these modules are wasteful in the resource package.However, it is undeniable that in most cases, automation updates are still useful.
Compared to the bloated problem of resource packets, the problem with Resource Loader just solves this problem.The file is not packaged directly in the folder of Resources. The Sinicization file of each module is an independent module that can be more freely deleted, modified, and added, because Resources Loader is originally suitable for scattered material loading, download online download online, download online download, download online download, download online download, download online download, download online download, download online download, download online download.Sinicized files or other pictures are suitable for loading with it.And you can also open the LANG file at any time to define Sinicization, after all, it is best for you.
3. How to use Resource Loader to provide resources to the custom main menu and FTB tasks
Generally, if you want to use these two modules to call the picture.I suggest creating new Image folders under Resources, establishing a MainMenu folder under Image, and throwing the pictures used in.If the path of the picture 01.PNG is Resources/Image/Mainmenu/01.png, then fill in Image: Mainmenu/01.PNG
Throw the picture a2.png material to be used in the FTB task into the Resources/Image/FTBQUESTS, then fill in Image: ftbquests/a2.png when the FTB task is called
It can be seen that this treats Image as a module.
The path here is not as strict as loading Chinese. This name is for convenience. It is also possible to throw the picture directly into the Image. Even Image can be changed to Learning Materials or other names, but don't use Chinese.However, I do n’t know why the other path is wrong when I test it myself (the picture directly becomes purple and black and lost the material). I finally used these two paths.