Skip to content

Why does the config file get read from the wrong path? #9

@Xz3r0-M

Description

@Xz3r0-M

MelonLoader:
Error occurred during the initialization of the selected translate endpoint. System.Exception: Missing Configuration File: E:\Games\BepInEx\OpenAi.yaml at XUnity.AutoTranslator.LlmTranslators.Config.Configuration.GetConfiguration (System.String file) [0x00013] in <01d8c056048443f7890d0ee66a42c5cf>:0 at OpenAiTranslatorEndpoint.Initialize (XUnity.AutoTranslator.Plugin.Core.Endpoints.IInitializationContext context) [0x00010] in <01d8c056048443f7890d0ee66a42c5cf>:0 at XUnity.AutoTranslator.Plugin.Core.TranslationManager.AddEndpoint (XUnity.AutoTranslator.Plugin.Core.Web.HttpSecurity httpSecurity, System.Type type) [0x0003d] in <cd27375817094ee0902fac53c283e1a5>:0

If used BepinEx: <GameDir>/BepinEx/config

Config folder is missing E:\Games\BepInEx\config at least it should be like this, right?

BepInEx almost the same:
Error :XUnity.AutoTranslator] Error occurred during the initialization of the selected translate endpoint. System.Exception: Missing Configuration File: E:\Games\gamefolder\BepInEx\BepInEx\OpenAi.yaml at XUnity.AutoTranslator.LlmTranslators.Config.Configuration.GetConfiguration (System.String file) [0x00013] in <01d8c056048443f7890d0ee66a42c5cf>:0 at OpenAiTranslatorEndpoint.Initialize (XUnity.AutoTranslator.Plugin.Core.Endpoints.IInitializationContext context) [0x00010] in <01d8c056048443f7890d0ee66a42c5cf>:0 at XUnity.AutoTranslator.Plugin.Core.TranslationManager.AddEndpoint (XUnity.AutoTranslator.Plugin.Core.Web.HttpSecurity httpSecurity, System.Type type) [0x0003d] in <cd27375817094ee0902fac53c283e1a5>:0

BepInEx\BepInEx\OpenAi.yaml Duplicate BepInEx folder, config folder is missing too.

Now, I have to put the config file in this wrong path to make this plugin work properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions