XUnity.AutoTranslator icon indicating copy to clipboard operation
XUnity.AutoTranslator copied to clipboard

Cannot translate Reverse 1999

Open Khali1999 opened this issue 2 years ago • 11 comments

I've tried almost every method but maybe I'm doing something wrong

image

I know what the GameAssembly.dll being there means, but still no way to make it work, any help?

Khali1999 avatar Oct 27 '23 13:10 Khali1999

Apparently you uploaded a version for MelonLoader but MelonLoader itself is not visible, did you install it at all?

Atamg1994 avatar Oct 28 '23 23:10 Atamg1994

https://melonwiki.xyz/#/

Atamg1994 avatar Oct 28 '23 23:10 Atamg1994

I tried MelonLoader, maybe I didn't uninstall it correctly, the problem is that nothing works with this game

Khali1999 avatar Oct 29 '23 20:10 Khali1999

Tried this game with bepinex.
It's not working. Invalid or corrupt metadata (magic number check failed)

XUnity.AutoTranslator-BepInEx-IL2CPP-5.3.0 BepInEx-Unity.IL2CPP-win-x64-6.0.0-be.672+472e950

[Message: Preloader] BepInEx 6.0.0-be.672 - reverse1999
[Message: Preloader] Built from commit 472e950179f4a5ab2e4a89f26dba793795fb6811
[Info   :   BepInEx] System platform: Windows 10 64-bit
[Info   :   BepInEx] Process bitness: 64-bit (x64)
[Info   :   BepInEx] Running under Unity 2019.4.40f1
[Info   :   BepInEx] Runtime version: 6.0.7
[Info   :   BepInEx] Runtime information: .NET 6.0.7
[Message:InteropManager] Downloading unity base libraries
[Message:InteropManager] Extracting downloaded unity base libraries
[Message:InteropManager] Running Cpp2IL to generate dummy assemblies
[Info   :    Cpp2IL] [Library] Initializing Metadata...
[Error  :InteropManager] Failed to generate Il2Cpp interop assemblies: Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initia
lizing LibCpp2IL!
 ---> System.FormatException: Invalid or corrupt metadata (magic number check failed)
   at LibCpp2IL.Metadata.Il2CppMetadata.ReadFrom(Byte[] bytes, UnityVersion unityVersion) in /home/runner/work/Cpp2IL/Cpp2IL/LibCpp2IL/Metadata/Il2CppMetadata.cs:line 65
   at LibCpp2IL.LibCpp2IlMain.Initialize(Byte[] binaryBytes, Byte[] metadataBytes, UnityVersion unityVersion) in /home/runner/work/Cpp2IL/Cpp2IL/LibCpp2IL/LibCpp2IlMain.cs:line 150
   at LibCpp2IL.LibCpp2IlMain.LoadFromFile(String pePath, String metadataPath, UnityVersion unityVersion) in /home/runner/work/Cpp2IL/Cpp2IL/LibCpp2IL/LibCpp2IlMain.cs:line 203
   at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, UnityVersion unityVersion, Boolean allowUserToInputAddresses) in /_/Cpp2IL.Core/Cpp2IlApi.cs:line 61
   --- End of inner exception stack trace ---
   at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, UnityVersion unityVersion, Boolean allowUserToInputAddresses) in /_/Cpp2IL.Core/Cpp2IlApi.cs:line 67
   at BepInEx.Unity.IL2CPP.Il2CppInteropManager.RunCpp2Il() in /home/runner/work/BepInEx/BepInEx/Runtimes/Unity/BepInEx.Unity.IL2CPP/Il2CppInteropManager.cs:line 282
   at BepInEx.Unity.IL2CPP.Il2CppInteropManager.GenerateInteropAssemblies() in /home/runner/work/BepInEx/BepInEx/Runtimes/Unity/BepInEx.Unity.IL2CPP/Il2CppInteropManager.cs:line 213
[Info   : Preloader] 0 patcher plugins loaded
[Info   : Preloader] 0 assemblies discovered
[Message:AssemblyPatcher] Executing 0 patch(es)
[Message:   BepInEx] Chainloader initialized
00e0:err:eventlog:ReportEventW L"Application: reverse1999.exe\nCoreCLR Version: 6.0.722.32202\n.NET Version: 6.0.7\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.IO.FileNotFoundException: Could not load file or assembly 'UnityEngine.CoreModule, Version=0.0.0.0, Culture=neu"...

YogSottot avatar Oct 31 '23 08:10 YogSottot

Yeah same here, sadly it's not possible to translate at the moment.

Same happens with the game "Punishing Gray Raven", it's really a shame :/

Khali1999 avatar Oct 31 '23 12:10 Khali1999

Same happens with the game "Punishing Gray Raven", it's really a shame :/

Everything works in Punishing Gray Raven

For windows:

  • Create a il2cpp_data directory in $(Game_root_dir)/PGR_Data and create a symlink from $(Game_root_dir)/PGR_Data/Native/Data/Metadata/ to $(Game_root_dir)/PGR_Data/il2cpp_data/Metadata/.

For linux also:

  • Add winhttp in winecfg dll override
  • winetricks: corefonts, vcrun2022, winemono

Tested with: BepInEx-Unity.IL2CPP-win-x64-6.0.0-be.672+472e950 XUnity.AutoTranslator-BepInEx-IL2CPP-5.3.0

YogSottot avatar Nov 02 '23 08:11 YogSottot

Same happens with the game "Punishing Gray Raven", it's really a shame :/

Everything works in Punishing Gray Raven

For windows:

  • Create a il2cpp_data directory in $(Game_root_dir)/PGR_Data and create a symlink from $(Game_root_dir)/PGR_Data/Native/Data/Metadata/ to $(Game_root_dir)/PGR_Data/il2cpp_data/Metadata/.

For linux also:

  • Add winhttp in winecfg dll override
  • winetricks: corefonts, vcrun2022, winemono

Tested with: BepInEx-Unity.IL2CPP-win-x64-6.0.0-be.672+472e950 XUnity.AutoTranslator-BepInEx-IL2CPP-5.3.0

I don't know what a symlink is or how do I create it, any help?

Khali1999 avatar Nov 02 '23 13:11 Khali1999

I don't know what a symlink is or how do I create it,

https://github.com/arnobpl/SymlinkCreator https://superuser.com/questions/1020821/how-can-i-create-a-symbolic-link-on-windows-10

YogSottot avatar Nov 02 '23 13:11 YogSottot

I don't know what a symlink is or how do I create it,

https://github.com/arnobpl/SymlinkCreator https://superuser.com/questions/1020821/how-can-i-create-a-symbolic-link-on-windows-10

Thanks so much! It's working, but it won't translate some parts of the UI, just like this

image

Any help?

Also, how can I fix this? The text overlaps the picture, I'm thinking about centering it and placing it like a column to try to fit the text in the box. Sorry for my bad english

image

Thanks a lot for the help!!

Khali1999 avatar Nov 02 '23 22:11 Khali1999

Also, how can I fix this? The text overlaps the picture,

Try changing the font or font size. Examine the settings in the configuration file.

I'm not interested in this game, so I can't help.

YogSottot avatar Nov 03 '23 08:11 YogSottot

I don't know what a symlink is or how do I create it,

https://github.com/arnobpl/SymlinkCreator https://superuser.com/questions/1020821/how-can-i-create-a-symbolic-link-on-windows-10

Thanks so much! It's working, but it won't translate some parts of the UI, just like this

image

Any help?

Also, how can I fix this? The text overlaps the picture, I'm thinking about centering it and placing it like a column to try to fit the text in the box. Sorry for my bad english

image

Thanks a lot for the help!!

I don't know what a symlink is or how do I create it,

https://github.com/arnobpl/SymlinkCreator https://superuser.com/questions/1020821/how-can-i-create-a-symbolic-link-on-windows-10

Thanks so much! It's working, but it won't translate some parts of the UI, just like this

image

Any help?

Also, how can I fix this? The text overlaps the picture, I'm thinking about centering it and placing it like a column to try to fit the text in the box. Sorry for my bad english

image

Thanks a lot for the help!!

didn't work for me on the latest version of the game. Does it still work for you until now?

AllenWalkerED avatar Jan 21 '24 08:01 AllenWalkerED