winlator icon indicating copy to clipboard operation
winlator copied to clipboard

The Chinese Translation

Open rsesot opened this issue 1 year ago • 25 comments

“This is the part about translating Chinese (Simplified Chinese and Traditional Chinese). I apologize for not being able to submit CJK support together, as I found that any modification to the imagefs.txz file would cause the Winlator installation to fail at 85% when initializing the system files.

I tested moving the file into the compressed package without unpacking it (which definitely caused the installation to fail), and then deleting each file I moved in, but the installation still failed. I unpacked it as a tar package, repacked it as a txz without any modifications, and the installation still failed. I tracked Winlator's logcat but found no meaningful information.”

rsesot avatar Jul 28 '24 07:07 rsesot

Here are my steps about unpacking and packing imagefs.txz. (Maybe helpful)

  1. Create a new folder and copy original imagefs.txz into it.
  2. tar xvf imagefs.txz to unpack. And remove it rm imagefs.txz.
  3. Do any modification.
  4. tar cvf ../imagefs.tar . to get tar pack.
  5. cd .. and then xz -9 imagefs.tar. You will get imagefs.tar.xz, rename it to imagefs.txz

longjunyu2 avatar Jul 28 '24 08:07 longjunyu2

截图 2024-07-28 17-02-24 logcat.log

I have unpacked and repacked the files according to your instructions, and I have not modified any files. The problem persists.

rsesot avatar Jul 28 '24 09:07 rsesot

add e.printStackTrace(); behind line 170 in com/winlator/core/TarCompressorUtils.java

longjunyu2 avatar Jul 28 '24 09:07 longjunyu2

I figured out the problem. It was my computer bad. xz was exiting quickly in the terminal, but the compression was actually still running in the background, causing my compressed files to be incomplete. I wanted to modify the regional language using environment variables, but I found that entering anything other than C.UTF-8 or en_US.UTF-8 would cause a 'starting up...' pop-up that never closed. However, when I looked behind the pop-up, I saw that 'start' had changed to Japanese, and wfm had automatically opened. 截图 2024-07-28 20-47-42

rsesot avatar Jul 28 '24 13:07 rsesot

It seems that there are missing zh_CN.UTF-8 in locale imagefs/usr/share/X11/locale. And that makes winlator cannot get X Window's name. One solution is to copy these files from other computers.

longjunyu2 avatar Jul 28 '24 14:07 longjunyu2

It seems that there are missing zh_CN.UTF-8 in locale imagefs/usr/share/X11/locale. And that makes winlator cannot get X Window's name. One solution is to copy these files from other computers.

Good day bro.

Tested with another Asia language: Chinese\Japanese\Korean, Tested copying locale files from other host with full-installed Ubuntu with Wine, Tested with Shortcut to start a Explorer++ with Chinese translation, without wfm, all these workaround not working as the same as it was.

It seems that showing the container was started successfully, but the "Stating up" panel still cover the foreground layer, I think the starting progress didn't tell the wineserver that it's done, so we can't slide out the control panel, too.

Looking forward and still looking for a solution.

benknam avatar Aug 02 '24 07:08 benknam

It seems that there are missing zh_CN.UTF-8 in locale imagefs/usr/share/X11/locale. And that makes winlator cannot get X Window's name. One solution is to copy these files from other computers.

Good day bro.

Tested with another Asia language: Chinese\Japanese\Korean, Tested copying locale files from other host with full-installed Ubuntu with Wine, Tested with Shortcut to start a Explorer++ with Chinese translation, without wfm, all these workaround not working as the same as it was.

It seems that showing the container was started successfully, but the "Stating up" panel still cover the foreground layer, I think the starting progress didn't tell the wineserver that it's done, so we can't slide out the control panel, too.

Looking forward and still looking for a solution.

Check imagefs/usr/lib/locale too.

longjunyu2 avatar Aug 02 '24 11:08 longjunyu2

It seems that there are missing zh_CN.UTF-8 in locale imagefs/usr/share/X11/locale. And that makes winlator cannot get X Window's name. One solution is to copy these files from other computers.

Good day bro. Tested with another Asia language: Chinese\Japanese\Korean, Tested copying locale files from other host with full-installed Ubuntu with Wine, Tested with Shortcut to start a Explorer++ with Chinese translation, without wfm, all these workaround not working as the same as it was. It seems that showing the container was started successfully, but the "Stating up" panel still cover the foreground layer, I think the starting progress didn't tell the wineserver that it's done, so we can't slide out the control panel, too. Looking forward and still looking for a solution.

Check imagefs/usr/lib/locale too.

Placed the required file but it's still not working. 1

benknam avatar Aug 05 '24 11:08 benknam

@benknam I just copy X11/locale and lib/locale from my ubuntu, then the problem solved. I don't know why it is not work for you :(. You can still try to modify line 209 in app/src/main/java/com/winlator/XServerDisplayActivity.java to disabled the wait.

longjunyu2 avatar Aug 05 '24 11:08 longjunyu2

@benknam I just copy X11/locale and lib/locale from my ubuntu, then the problem solved. I don't know why it is not work for you :(. You can still try to modify line 209 in app/src/main/java/com/winlator/XServerDisplayActivity.java to disabled the wait.

Confirmed working!

Sorry for that I did a stupid thing copying locale files from 24.04LTS 😂...

So I made a clean 20.04 Focal Fossa live environment, zip files to the phone and unzip, it works perfectly.

photo_2024-08-07_22-43-42

Here's zip package for everyone wanna to try, it should be working for global language. locale.zip

benknam avatar Aug 07 '24 14:08 benknam

I recently upgraded my device from a Meizu 18X to a Meizu 21 Note, and from Android 13 to Android 14. I noticed that I can now install Winlator, but when I try to start the X environment, it crashes most of the time, regardless of any changes I make. Occasionally, it does manage to start, but when I open the task manager, I find that all services are missing, even though my container settings are configured to load all services. Additionally, any wine software I try to open the crashes.

rsesot avatar Aug 09 '24 08:08 rsesot

@rsesot any logs?

longjunyu2 avatar Aug 10 '24 02:08 longjunyu2

@rsesot 有日志吗?

oh,sorry,there is log E.log

rsesot avatar Aug 15 '24 05:08 rsesot

Excuse the stupid question but as I have all the emulator GUI in Chinese (at least I think) how do I change language ?

trixiobixio avatar Aug 30 '24 13:08 trixiobixio

can the winlator app can touch the android USB serial? how can i do that?

superjovie avatar Sep 03 '24 08:09 superjovie

It sounds like you are discussing the Chinese translation of the program.There are many Chinese translation versions of Winlator simulators on the Internet in China.I don't know how they are realized.Maybe it can be used as a reference. tar.gz app (repackaged for apk use) I just downloaded the latest version of Winlator. The pure English interface is very uncomfortable.

OolongMC avatar Sep 07 '24 00:09 OolongMC

It seems that the image I created with the Chinese version of Winlator can't run on the current Winlator 7.1.Has been in the' starting up' step.Should I back up those files on drive C to ensure that the environment settings and shortcuts will not disappear?(I can visit Winlator's /data/data directory.)

OolongMC avatar Sep 07 '24 00:09 OolongMC

It seems that the image I created with the Chinese version of Winlator can't run on the current Winlator 7.1.Has been in the' starting up' step.Should I back up those files on drive C to ensure that the environment settings and shortcuts will not disappear?(I can visit Winlator's /data/data directory.)

I checked the community from Tieba-baidu and TG group\channel, they did perfect Chinese translation based on 7.1 and fixed some problems while with Chinese translation, also compatible patched for devices from Huawei and Xiaomi, but as I know the package/image was changed too many values that original Winlator needs so.

benknam avatar Sep 09 '24 04:09 benknam

Hi it's a Great app ! But I can't run Metatrader 5 or 4 on it it's installing normally but when I run it it's open in task manager but not showing anything, I tried Metatrader older builds from 2020 it's working normally but sever says you should update it . It's a very useful app with wide range usage if the Winlator could run it , it's a Big win ! I can post log file here if it's help

Mahdi-Akhlaghi avatar Sep 12 '24 04:09 Mahdi-Akhlaghi

Please support the Winulator application on any devices. It doesn't work on all my devices.

zfiles avatar Sep 12 '24 23:09 zfiles

I looked for it for a long time. I don't know how to submit the Issues.So I'm asking questions here. Problem description: Java installation error 1627. Text: I don't know if this is because of wine or my mobile phone.That's why I upgraded Winlator to 7.1 instead of using 6.1 or ExaGear. Java installer: jre-8u421-windows-i586.exe(x86_64) Let me decide to install Java.The main reason is that I need to use FFmpeg. Screenshot_20240907_180318_com winlator

OolongMC avatar Sep 13 '24 14:09 OolongMC

I looked for it for a long time. I don't know how to submit the Issues.So I'm asking questions here. Problem description: Java installation error 1627. Text: I don't know if this is because of wine or my mobile phone.That's why I upgraded Winlator to 7.1 instead of using 6.1 or ExaGear. Java installer: jre-8u421-windows-i586.exe(x86_64) Let me decide to install Java.The main reason is that I need to use FFmpeg. Screenshot_20240907_180318_com winlator

I think you could try OpenJDK_23, but you should target the PATH to the binary folder.

benknam avatar Sep 22 '24 16:09 benknam

I looked for it for a long time. I don't know how to submit the Issues.So I'm asking questions here. Problem description: Java installation error 1627. Text: I don't know if this is because of wine or my mobile phone.That's why I upgraded Winlator to 7.1 instead of using 6.1 or ExaGear. Java installer: jre-8u421-windows-i586.exe(x86_64) Let me decide to install Java.The main reason is that I need to use FFmpeg. Screenshot_20240907_180318_com winlator

I think you could try OpenJDK_23, but you should target the PATH to the binary folder.

Good idea.But Minecraft v1.12 can only run in Java6-Java16.

OolongMC avatar Sep 26 '24 12:09 OolongMC

Umm I know this isn't the right place to ask this but will adreno 710 be able to run games above directx9? I just bout my tab redmi pad pro it got snapdragon 7s gen2 I want to try dbz kakarot on it but I am not able to run it always shows me this.

'DX11 feature level 10.0 required to run the engine '

Purebot120 avatar Sep 30 '24 13:09 Purebot120

@brunodev85 I didn't find how to get help. So I posting here.. I will delete once I get help.

I installed on Samsung tablet but Can't run typing master 11. After installing it doesn't open. App crashed

iamthelara avatar Oct 20 '24 14:10 iamthelara

add support to see hidden files please

"files start with dot."

XD4sty avatar Oct 24 '24 05:10 XD4sty

Screenshot_2024-11-02-03-16-09-262_com.android.chrome-edit.jpg

I uploaded the installer to Virustotal.com. Can someone explain why something got detected?

OnLOLGamer avatar Nov 02 '24 02:11 OnLOLGamer

does anyone know how to change timezone,some software requires specific timezone, i tried many methods,none of them seem to working

JohnnyWaterGitHub avatar Nov 02 '24 17:11 JohnnyWaterGitHub

Sorry to borrow your pull request. I want to feedback the problem of the controller. At present, winlator9.0 can only use ABXY and LBRB keys after connecting the xbox controller, and can not use the joystick and trigger. I want to submit the log, but it seems that there is no log related to the controller in the log. The following is the version information of the phone, as well as some other screenshots. IMG20250111125747 Screenshot_2025-01-11-12-41-49-77_b6022cb7d1a61f2 Screenshot_2025-01-11-12-54-04-35_b6022cb7d1a61f2 Screenshot_2025-01-11-12-57-05-61_fc704e6b13c4fb2 Screenshot_2025-01-11-12-57-12-90_fc704e6b13c4fb2 Screenshot_2025-01-11-12-57-31-03_41a74ddf68be21f

JinShichang avatar Jan 11 '25 05:01 JinShichang

@benknam I just copy X11/locale and lib/locale from my ubuntu, then the problem solved. I don't know why it is not work for you :(. You can still try to modify line 209 in app/src/main/java/com/winlator/XServerDisplayActivity.java to disabled the wait.

Confirmed working!

Sorry for that I did a stupid thing copying locale files from 24.04LTS 😂...

So I made a clean 20.04 Focal Fossa live environment, zip files to the phone and unzip, it works perfectly.

photo_2024-08-07_22-43-42

Here's zip package for everyone wanna to try, it should be working for global language. locale.zip

抱歉能詳細說明 如何和中文化嗎? 例如檔案放哪?

ystartgo avatar Feb 20 '25 19:02 ystartgo