Giter Club home page Giter Club logo

Comments (3)

Cleric-K avatar Cleric-K commented on May 30, 2024

Yes, that will be nice. It will take me some more time which I'll be able to spare probably only next week, because there are some things to be thought of.

  • should it export the complete configuration (all profiles) and then on import replace all current.
  • or it should merge the imported profiles. Probably renaming conflicting names.
  • there is the problem of versioning. Since the configuration is a direct serialization of the c# objects, when they change, importing old config should "upgrade",

These are some small details to be taken care of, but I'll need some more time.

In the meanwhile, if you really need it, you can approach the problem "manually". On Windows go to <User Folder>/AppData/Local/vJoySerialFeeder. There look in the subfolders. You'll find user.config. It is a xml file actually and you need the <setting name="config" serializeAs="String"><value> ..... </value></settings> element.

On Windows there is different user.config for every different folder where you have vJoySerialFeeder.exe. If you move it to another folder you'll start with blank config. There are different configs for different exe versions also.

On linux look at `~/.local/share/vJoySerialFeeder.../

On Windows it should work if you copy the whole user.config around, but if you copy it to linux machine it might not work. You'll need to copy-paste the <value> element only.

from vjoyserialfeeder.

Snille avatar Snille commented on May 30, 2024

Thank you for taking the time for this. I would say this is a "Nice to have" feature. So you work on it when ever you feel like it. :)

On the export part. I would say export all profiles.

And for the import part. Import all and just add a number in the "profile-name" if the profile exists.
The "user" then have the option to rename and delete the profiles he/she does not want. It's better to have it all in there then loose stuff. :)

Regarding the "versioning", I don't really know. :) Maybe make it so that all new "config" options that are missing in the "import" just gets added automatically with default values on all profiles...

from vjoyserialfeeder.

Snille avatar Snille commented on May 30, 2024

Tested on one machine and it works great, thank you. Great work!

from vjoyserialfeeder.

Related Issues (20)

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.