Open wu-kang66 opened 8 months ago
It is hardcoded. Can't changed unless you change and compile yourself. https://github.com/bayaraa/d2gl/blob/919df3528de5c5c1b41b326cf68821cd1981c42c/d2gl/src/modules/hd_text/variables.h#L542C1-L543C1
Thanks
The language LANG_SIN is that I needed,But I don't know how to change
I am not sure but it seems only tradition chinese (CHI) supported. Simplified chinese language code (SIN) is in the game but never used it seems. I just put LANG_SIN there just in case. @CaiMiao is helped for chinese translations and stuffs. You can ask him.
@bayaraa @CaiMiao , I use a original edition only installed plugy, put all the souces file to the Data directory. And the throuth the plugy option "ActiveChangeLanguage", I can swith the language between CHI and SIN.
when I use the same method with D2GL, all display seems OK except I touch the option menu, it Crashed
I think it is a bug of D2GL, I sincerely hope it can be fixed,Thank you!!
I can give the souce file. https://drive.google.com/file/d/1ALKiV14ruvCVSGWANFqhFTx_SD4do8gV/view?usp=sharing
It is that SIN in final game is not really finished. There's still some reference to CHI resources and please except bugs. @bayaraa I would suggest add a option to let d2gl use own SIN resources instead for CHI language. (or more generic, language code override.) only INI configure should be okay for the case
原始游戏的SIN语言没完成的,一部分资源会引用CHI的内容,过程有BUG闪退很正常,尽量避免直接用SIN
我上面测试过了,除了字体用的一个,其它是分开的,而且上面我做了解释,原版是可以利用SIN完美实现语言切换的,用了D2GL就不行了,明显是D2GL没有做适配
@bayaraa @CaiMiao I combined and ajust the souces, and it is OK except some small problem need to be fixed.
those translation are copied from D2R official translation. plus, the coordinate comes from the game itself iirc, not controlled by d2gl.
D2R‘s translation cann't used in D2 directly, and the coordinate can be adjusted , I'm sure. 为了让这个游戏变得更完美,让我们一起努力吧!!! 我提供自己已整合的资源: https://drive.google.com/file/d/16jfKQwcUYpMFb6y8PLEhOkNOFgGgTbUv/view?usp=drive_link
@CaiMiao 你可以和@bayaraa 沟通下,这些小改动都是很简单的,只是我不会代码,要是会我就帮你改了
@bayaraa I would suggest add a option to let d2gl use own SIN resources instead for CHI language. (or more generic, language code override.) only INI configure should be okay for the case
@CaiMiao i dont know man. d2gl is multi version wrapper so i really dont want to mess with language and stuff. Isnt it already auto load assets from sin folder if you set lang to SIN?
I can give the souce file. https://drive.google.com/file/d/1ALKiV14ruvCVSGWANFqhFTx_SD4do8gV/view?usp=sharing
@wu-kang66 is it data folder? link is broken?
yes, the link is the data folder @bayaraa I don't use google drive to sharing anything before,I'll try to share it again later
I mean for the case it would be clean (user don't have to mess around with configuration for SIN)
Message ID: @.***>
but it is up to you to do or not, i know it'd be headache somewhat
@bayaraa @CaiMiao This is the new link, can you access? https://drive.google.com/file/d/16jE3mYcix_kRMAo9p5uummZjr-rgGmta/view?usp=sharing
use it, just modify the configueration to SIN, The language be changed,and these must with D2gL installed.
I transfer another version. can use without d2gl. https://drive.google.com/file/d/1-dJLLaX_xi1wOLDBcrxeQYMZHf6jjPEP/view?usp=sharing
I want to use the simple chinese. But the language is Traditional Chinese. How to change?