-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest versions targeting IL2CPP (Deprecated) #159
Comments
@gravydevsupreme can you share source ? |
Latest source for IL2CPP available here: https://github.com/bbepis/XUnity.AutoTranslator/tree/il2cpp_update |
@gravydevsupreme I've tried translate from Japanese to English / Japanese to Chinese (Simplified). translation works fine. Is it just a bug, or is it a game problem? Thanks. Game unity version: 2019.4.0f1 / il2cpp [General] |
The current version of the IL2CPP plugin does not support changing fonts. |
@gravydevsupreme Thank you! I hope the font change will be supported soon! :) |
[Info :XUnity.AutoTranslator] Loaded XUnity.AutoTranslator into Unity [2019.4.22f1] game. |
That is more of a warning than an error. That being said, it could probably be fixed. But I have not prioritized fixing it and simply fallen back to disabling user interaction. |
could someone make a tutorial on how to install these tools? thank you very much and sorry for my ignorance. |
Seems I missed this comment by about half a month. Either way, I am not really doing a lot to keep the above versions updated, so I am probably not going to be making a guide either. BepInEx is probably the easier of the two to setup since it is just a matter of copy-paste the correct versions. Also I am not sure the current MelonLoader release supports the latest version. In fact I doubt it. |
translate.google |
Hello. |
@gravydevsupreme Can you please update the translaslator.dll files? il2cpp targets only work on googletranslate. Watson,bing etc not working. |
@dima245 - I know the tool by AdventCirno, but that tool, impressive as it is, (probably) works primarily by knowing the resource structures of the games it support (although it is probably more advanced than just that). Doing that with Unity is problematic in many ways. @djlaser @thesuperfatcat - I have been kinda putting off updating the IL2CPP plugin because of how much it diverges from the original. I may look into getting it updated soonishly. |
UPDATE: Added highly untested version 4.18.0. |
I am also looking forward to the new plugin for melonloader which works better than bepinex. Thanks!!!! Great job!!!! |
UPDATE: Added 4.18.0 for MelonLoader. |
Thanks for the new update! But still only work google translate. Bing, watson etc. get some errors. Same error appears in bepinex and melonloader. |
And this is not happening in Non-IL2CPP games for you? Batch operations sometimes fail, though, and that's okay. Are there other translation related errors? |
Wow, this work for me. But OverrideFont error. |
The function to obtain the possible fonts seems to be missing, which is why OverrideFont does not work. That's just IL2CPP being IL2CPP. Newlines in translations are generally removed because if it is sent to the translator the translation will be really bad. |
Hello, when I try to use the plugin with melonMod, these error and warnings occurred:
the plugin generates the AutoTranslator folder and the config file, but I'm not able to open Autotranslator UI in game and the game is still in japanese |
XUnity.AutoTranslator-BepInEx-IL2CPP |
sup load external sdf fonts now? |
Well. The code to support it should be included in beta7, but I have not tested it. But custom TextMesh Pro support is shaky even in the Mono version of the plugin due to the strict version requirements. |
I can't change fonts in Computer Tycoon using the same version of unityfs |
This updated version should print out the version of TextMesh Pro the game uses. It should also attempt to print out the version of the font asset used. But in my experience that information is often unavailable in IL2CPP. XUnity.AutoTranslator-BepInEx-IL2CPP-5.0.0-beta8.zip |
This version adds a new option XUnity.AutoTranslator-BepInEx-IL2CPP-5.0.0-beta9.zip |
@gravydevsupreme The UI part is often not translated at all. And the main dialogue part is not translated at all. What should I do if an error like this appears? |
These may work better. You will need to set |
hi, I'm having issue with OverrideFontTextMeshPro or FallbackFontTextMeshPro option. I opened the log file to find out what the problem was. Changing the compression method in the [AssetBundles - Advances Settings] didn't help. Am I doing something wrong? Game: HolyKnightRicca (hentai game) Thanks for help. |
Seems that this game has stripped away the methods to load asset bundles synchronously. Will probably see if I can fallback to asynchronous loading in t his case. |
I managed to load your font file in the newly published beta12 using |
hmm. for me, it still doesn't work with some red error lines. (korean chars are broken into squares) Oh, and when creating an Font AssetBundle, I should follow the TextMeshPro version of the basegame, right? |
In general I think you should just use the same version as the game if possible. Some versions are probably cross-compatible, though. But I don't know which. About compression, as long as the unity engine used supports it, it probably does not matter. I added a new version, but I have not changed anything that should get it working compared to beta12. Your configuration looks correct as well. I used BepInEx 6, however. Although I do not believe that would have made the difference given the error you got. To me the error simply looks like you're using the wrong version. XUnity.AutoTranslator-BepInEx-IL2CPP-5.0.0-beta13.zip I do not believe you need to generate a new font. The one you uploaded is working with this game. The log should look like so: |
@gravydevsupreme +And, found incompatibility with the BepInEx.MelonLoader.Loader.dll plugin. |
System.Runtime.Serialization.SerializationException: The constructor to deserialize an object of type 'System.Net.Http.HttpRequestException' was not found. ---> System.Runtime.Serialization.SerializationException: The constructor to deserialize an object of type 'System.Net.Http.HttpRequestException' was not found. |
use FallbackFontTextMeshPro can |
Closing this issue because an IL2CPP version has now been "officially" releases. Will no longer track this issue. Create separate issues to get help resolve problems. |
Closing this issue as I've published v5.0.0.
Releases available here.
--- OUTDATED ---
Using this issue to keep track of latest releases for IL2CPP, rather than posting them in various other issues or as a release.
Not using a release because I don't want to constantly provide support for beta/alpha software.
XUnity.AutoTranslator-BepInEx-IL2CPP-5.0.0-beta13.zip
XUnity.AutoTranslator-MelonMod-IL2CPP-5.0.0-beta13.zip
Version 5.0.0-beta13 should bring many improvements as the code bases has now been properly merged. It includes support for:
There are still many things missing, however.
.
.
.
XUnity.AutoTranslator-BepInEx-IL2CPP-5.0.0-beta12.zip
XUnity.AutoTranslator-MelonMod-IL2CPP-5.0.0-beta12.zip
XUnity.AutoTranslator-BepInEx-IL2CPP-5.0.0-beta10.zip
XUnity.AutoTranslator-MelonMod-IL2CPP-5.0.0-beta10.zip
XUnity.AutoTranslator-BepInEx-IL2CPP-5.0.0-beta9.zip
XUnity.AutoTranslator-MelonMod-IL2CPP-5.0.0-beta9.zip
XUnity.AutoTranslator-BepInEx-IL2CPP-5.0.0-beta7.zip
XUnity.AutoTranslator-MelonMod-IL2CPP-5.0.0-beta7.zip
XUnity.AutoTranslator-BepInEx-IL2CPP-5.0.0-beta4.zip
XUnity.AutoTranslator-MelonMod-IL2CPP-5.0.0-beta4.zip
XUnity.AutoTranslator-BepInEx-IL2CPP-5.0.0-beta3.zip
XUnity.AutoTranslator-MelonMod-IL2CPP-5.0.0-beta3.zip
XUnity.AutoTranslator-BepInEx-IL2CPP-5.0.0-beta2.zip
XUnity.AutoTranslator-MelonMod-IL2CPP-5.0.0-beta2.zip
XUnity.AutoTranslator-BepInEx-IL2CPP-5.0.0-beta1.zip (For BepInEx Unity IL2CPP for Windows x64/x86 machines)
XUnity.AutoTranslator-MelonMod-5.0.0-beta1.zip (for MelonLoader 0.5.2)
XUnity.AutoTranslator-BepInEx-IL2CPP-4.21.0.zip (For BepInEx Unity IL2CPP for Windows x64/x86 machines)
XUnity.AutoTranslator-MelonMod-4.21.0.zip (for MelonLoader 0.5.2)
XUnity.AutoTranslator-BepInEx-IL2CPP-4.18.0.zip (For BepInEx Unity IL2CPP for Windows x64/x86 machines)
XUnity.AutoTranslator-MelonMod-4.18.0.zip (for MelonLoader 0.4.3)
XUnity.AutoTranslator-BepInEx-IL2CPP-4.13.0.zip (For BepInEx Unity IL2CPP for Windows x64/x86 machines)
XUnity.AutoTranslator-MelonMod-4.13.0.zip (for MelonLoader 0.3.0 ALPHA)
UPDATE (new version for BepInEx):
XUnity.AutoTranslator-BepInEx-IL2CPP-4.18.0.zip
This new version is barely tested. Only seen it working in one game. I am currently working on a lot of refactoring to be able to merge the IL2CPP and main branch, but this will take some time. Most important change: shortcuts should now work if the Input API is not trimmed away from the game in question.
The text was updated successfully, but these errors were encountered: