topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 10:08 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: import/export foobar keyboard shortcuts  (Read 10512 times)

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
IDEA: import/export foobar keyboard shortcuts
« on: February 12, 2015, 09:27 PM »
http://www.foobar2000.org/

Could someone make a tool to import and export foobar keyboard shortcuts?  This is a huge pain with fresh foobar installs.

To explain more, you can import/export the ENTIRE configuration with certain methods, but there's no way to do it with ONLY the keyboard customizations.  This is a problem because you may have configured your foobar and replacing the entire configuration will ruin that.

I don't know what is involved.  I know the shortcuts are stored in the core.cfg file, but it's not just a text file, it opens with all sorts of hex stuff.  But I believe that is the file that needs to be modified.  Or there may be another way to do it, I don't know.

I'd be willing to pay!

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: IDEA: import/export foobar keyboard shortcuts
« Reply #1 on: March 23, 2015, 03:10 PM »
$50 ?

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 243
    • View Profile
    • Donate to Member
Re: IDEA: import/export foobar keyboard shortcuts
« Reply #2 on: March 23, 2015, 07:40 PM »
Can Foobar be installed on portable mode?
If so, preferences shouldn't be lost when updating the program.

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: IDEA: import/export foobar keyboard shortcuts
« Reply #3 on: March 23, 2015, 07:53 PM »
Can Foobar be installed on portable mode?
If so, preferences shouldn't be lost when updating the program.
This is true.  I've tried both modes.  This is also a known issue with foobar.
The problem is, you want to retain the keyboard shortcuts regardless of the rest of the settings.  So you can't separate them out.  For example, let's say I have foobar configured just the way I like, but without the keyboard shortcuts.  if I restore a previous configuration, it's going to replace everything, not just the keyboard shortcuts.

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: IDEA: import/export foobar keyboard shortcuts
« Reply #4 on: May 25, 2015, 02:12 PM »
bump... $100 ?

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,641
    • View Profile
    • Donate to Member
Re: IDEA: import/export foobar keyboard shortcuts
« Reply #5 on: May 25, 2015, 09:37 PM »
I think your best bet is to try and get the author of foobar to change from using a binary format for his config files to something like XML then it would be relatively easy.

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: IDEA: import/export foobar keyboard shortcuts
« Reply #6 on: May 26, 2015, 12:00 AM »
I think your best bet is to try and get the author of foobar to change from using a binary format for his config files to something like XML then it would be relatively easy.
I don't think that will ever happen!  I don't know why it's like that, for a program known for it's configurability, free, etc.

I was hoping it could be done with AHK or something.  Right now, the only way to do it is seriously manual.  One by one.
foobar has plugins or "components"...I was wondering if it could be done that way too.

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: IDEA: import/export foobar keyboard shortcuts
« Reply #7 on: May 26, 2015, 12:34 AM »
if we could only work out the file format it shouldn't be hard...

if only...

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,641
    • View Profile
    • Donate to Member
Re: IDEA: import/export foobar keyboard shortcuts
« Reply #8 on: May 26, 2015, 08:10 AM »
I had a play around with BeyondCompare seeing what happened when I changed shortcuts ... ugh! What a nightmare ... looks like there's a checksum near the beginning, keyboard shortcuts are near the end ...

As an example, I changed a shortcut from Control+Z to Control+Y:

2015-05-26 23_02_38.pngIDEA: import/export foobar keyboard shortcuts

I'm thinking that the 02 after the Z/Y is the key modifier (Control) but other than that ¯\_(ツ)_/¯

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: IDEA: import/export foobar keyboard shortcuts
« Reply #9 on: May 26, 2015, 12:45 PM »
I had a play around with BeyondCompare seeing what happened when I changed shortcuts ... ugh! What a nightmare ... looks like there's a checksum near the beginning, keyboard shortcuts are near the end ...

As an example, I changed a shortcut from Control+Z to Control+Y:
 (see attachment in previous post)
I'm thinking that the 02 after the Z/Y is the key modifier (Control) but other than that ¯\_(ツ)_/¯
eesh, it's like that?!  Now I know what you guys mean! 
Maybe that's why nobody has made one in all the years of foobar.
I mean, they have an SDK...does that help?

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,641
    • View Profile
    • Donate to Member
Re: IDEA: import/export foobar keyboard shortcuts
« Reply #10 on: May 26, 2015, 06:24 PM »
I had a look at the SDK, it seemed to have info on how to add your own page to the preferences and provide functions for reading/writing your own config file but I'm not sure they could be used for accessing the Core.cfg file.

Someone else who knows what they're looking for needs to look at it, (mouser?).

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: IDEA: import/export foobar keyboard shortcuts
« Reply #11 on: May 26, 2015, 06:51 PM »
you guys must be right about the cfg file.  It's weird that nobody has made a keyboard plugin in all these years, and every other little thing has been made.  So there must be something just kind of impossible about it, this community is not one to let something like that go for so long.