Code Monkey home page Code Monkey logo

rf5.hisacat.npcdetails's People

Contributors

hisacat avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

rf5.hisacat.npcdetails's Issues

Add configuration file for personalized settings

Good day, i would like to suggest adding a configuration file so that users can personalize the settings they would like to use, as i for one would love to keep up with which characters i have talked to that day, but don't really want the full list of all of their likes and dislikes.

Can't put the mod inside another folder in BepInEx/plugins

I usually put plugin files inside its own folder inside BepInEx/plugins so It doesn't look messy.
image

The reason I put it that way because:

  1. It looks cleaner
  2. Some mods required the same dlls (e.g. Newtonsoft.Json) which make confusion/error if it is different.

But it seems to cause error when I put your mod inside a folder (In image above I put it in NPCDetails folder).

Error Log:

[Error  :NPCDetails] [RF5.HisaCat.NPCDetails] BundleLoader: Bundle missing. bundle must be placed at "D:\Program Files (x86)\Steam\steamapps\common\Rune Factory 5\BepInEx\plugins\RF5.HisaCat.NPCDetails\npcdetails.main.unity3d"

Which means I can't put the mod inside a folder with other name than your GUID.

From what I can see from the code:

var bundleDir = System.IO.Path.Combine(Paths.PluginPath, BepInExLoader.GUID);

var path = System.IO.Path.Combine(Paths.PluginPath, BepInExLoader.GUID, $"{GetLocaleStr(lang)}.json");

var curPath = System.IO.Path.Combine(Paths.PluginPath, BepInExLoader.GUID, this.Path, $"{GetLocaleStr(lang)}.json");

You are using Paths.PluginPath which gives only BepInEx\plugins path,
So I recommend you to instead use:

System.IO.Path.GetDirectoryName(IL2CPPChainloader.Instance.Plugins[GUID].Location)

as this will give your plugin dll folder locations.

Currently I can mitigate the problem by moving RF5.HisaCat.NPCDetails.dll and Newtonsoft.Json.dll inside RF5.HisaCat.NPCDetails folder

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.