pixeltris / YgoMaster

Offline Yu-Gi-Oh! Master Duel
MIT License
820 stars 120 forks source link

Simple Chinese, thank you very much. #144

Closed wavestor closed 1 year ago

wavestor commented 1 year ago

Excuse me, Master duel supports simplified Chinese. When will ygo master be available, thank you very much.

pixeltris commented 1 year ago

It should work. Change the language to chinese in game on both steam and YgoMaster. If it still doesn't work then do the following https://github.com/pixeltris/YgoMaster/blob/master/Docs/FileLoadError.md#2-language-setting-missmatch

wavestor commented 1 year ago

After using your two methods, I found that they did not solve the problem. Firstly, the problem still occurs when selecting Simplified Chinese; When I use English, it will open smoothly. There is no Simplified Chinese(简体中文) option in Ygo master. After experiments, I guess Ygo master has not updated its support for simplified Chinese. Secondly, I found that there will be file updates when changing the language, which may be helpful to solve the problem. Whenever I change the language and return to the game, Master Duel will download the updated 1.60Mb files. From the file time, I can see that these files are located in "LocalData/xxxxxxxx (related to the user's id)/0000". Last but not least, if you need, I am willing to help you solve this problem. I would appreciate it if you could solve it in the follow-up update. Thank you for bringing us happiness.

wavestor commented 1 year ago
屏幕截图 2023-02-11 183754 屏幕截图 2023-02-11 183920
pixeltris commented 1 year ago

Fully read that link I gave you. You probably have multiple folders inside of LocalData and some aren't updated. Delete the ones which aren't updated or update them.

wavestor commented 1 year ago

I used your method again, but it still doesn't help. Today, I purposely deleted and re-downloaded only one account, and "Localdata" only has one folder. 1.41 has just updated Simplified Chinese, which is not available in previous versions.

屏幕截图 2023-02-11 195228
pixeltris commented 1 year ago

I see. It probably needs to be added here. In the short term if you copy the LocalSave folder as mention in the previous link it should work even without the language being in the list.

https://github.com/pixeltris/YgoMaster/blob/2fbbd3a70074d65ccb570be7989ef709944c4196/YgoMasterServer/Acts/Act_SystemAccount.cs#L98-L107

wavestor commented 1 year ago

Thank you for taking the time to solve my problem. It would be better if I could describe it more easily.

pixeltris commented 1 year ago

It is already described in the original link I posted. It seems as though copying the LocalSave steam ID folder is now required as you can no longer get to the settings menu to change the language manually via YgoMaster.

So to change language you must:

wavestor commented 1 year ago

The Master Duel downloaded from steam only has two languages, English or Japanese, and there is no way to download the simplified Chinese, Korean, French and other languages directly. After repeated tests, the "LocalSave" method in Simplified Chinese still doesn't work, but I tested the Korean method (supported by Ygo Master). For example, to change Korean: ① I need to open the Master Duel (English) just downloaded, and then open the Ygo master. ② At this time, Master Duel and Ygo Master are both in English. I first change the Korean language of Master Duel, and then manually select the Korean language of Yog Master. ③ When you re-enter Master Duel, there will be a small update of about 1.6mb. ④ After this small update of Master Duel, you can re-enter Yog and run normally. So at present, only Yog can manually change simplified Chinese, can it be used normally.

pixeltris commented 1 year ago

That is all you need to do. You might also need to grab the latest code and run build.bat https://github.com/pixeltris/YgoMaster/commit/281242bce1a0c74c6a4c722d40b24613586e46c5