Skip to main content

Topic: Adding Xfire Fb2k support (Read 4228 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
Adding Xfire Fb2k support
Hello foobar community!
I am an official Xfire Helper, and I am working (UNOFFICIALLY) on adding Foobar support. I am currently unable to install foobar. If someone can give me the location path of the foobar registry entry, It would help alot!

Please note, this in no way says Xfire will support fb2k.

Edit: If anyone wants to help, or test, add me on Xfire, my username is no1seriouslly, include that you are from foobar, otherwise I will reject your request.
  • Last Edit: 02 May, 2011, 12:35:10 AM by Atotalnoob

  • tpijag
  • [*][*][*][*][*]
Adding Xfire Fb2k support
Reply #1
Depending on installation type, there may be no registry entries. You might want to state what os you are using. Foobar has a pretty much trouble free installer package. Where did you have trouble. Any error messages?

By the way, everyone is not a part of one homogeneous peer group. You might not want to assume all know what Xfire is. I had to Google it.
  • Last Edit: 02 May, 2011, 12:33:07 AM by tpijag

Adding Xfire Fb2k support
Reply #2
Sorry on not explaining Xfire.

It is a gaming IM, allowing you to voice chat, IM in-game, add friends from other social networks, have the music you are listeningto be your status, live broadcasting, recording and screenshots, to name a few.

The reason I didn't install it is because I am on a business trip.

What are the possible entries? I can support those, but the ones without the entry I can't do anything about.
  • Last Edit: 02 May, 2011, 01:03:25 AM by Atotalnoob

  • tpijag
  • [*][*][*][*][*]
Adding Xfire Fb2k support
Reply #3
Sorry, I did not see that this is in development. I took your message as a request for assistance because of a failed install attempt.

I am sure others will be by and offer actual help. ;-)

regards



Adding Xfire Fb2k support
Reply #4
No problems, it is probably my fault, writing isn't my greatest skill.

  • mudlord
  • [*][*][*][*][*]
  • Developer (Donating)
Adding Xfire Fb2k support
Reply #5
There is no install entry apart from the uninstaller entry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\foobar2000

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\foobar2000 is for x64 machines. Querying the DisplayIcon entry will yieid the install path.

Adding Xfire Fb2k support
Reply #6
Forget it, this is ridiculous.

  • mudlord
  • [*][*][*][*][*]
  • Developer (Donating)
Adding Xfire Fb2k support
Reply #7
Ridicilous?
How. Just because you can't enumerate a key to find the install location of a application?

  • mudlord
  • [*][*][*][*][*]
  • Developer (Donating)
Adding Xfire Fb2k support
Reply #8
Furthermore, what needs to be added for said support.

Adding Xfire Fb2k support
Reply #9
Where does it say I need the install key? I want the plain key, for goodness sake, read my post?

I will just scrap this project, and move onto my next, Zune support!
  • Last Edit: 02 May, 2011, 03:02:03 AM by Atotalnoob

  • Andreasvb
  • [*][*][*][*][*]
Adding Xfire Fb2k support
Reply #10
Haha funny guy. Why not just enter the filepath for the .exe?
Or if your users aren't that clever, make it search for foobar2000.exe

And if you're good programming you can write a component that connects foobar2000 with Xfire.

Using registry is inferior today, portable is where it's at.
Relying of the uninstaller path only works if you installed in normal mode, as said.

Now, I'm not a C++ programmer, but can't you take the process ID and query the path from there, like Task Manager can?
Windows 10 Pro x64 // foobar2000 1.3.10

  • Zao
  • [*][*][*][*][*]
  • Developer (Donating)
Adding Xfire Fb2k support
Reply #11
There is no "plain key".
Foobar2000 has two ways of storing configuration: it's either stored in the application install directory or in Application Data.

If you want to detect the latter, SHGetSpecialFolderPath to Application Data (can't remember if it's Roaming or Local) and see if there's a foobar2000 directory there.

If you want to detect a portable install, it is impossible. Of course, you could write a small foobar2000 component that advertises the location of any currently running foobar2000 installation as suggested in the thread.

Please try to be civil and behave. Not all software behaves the way you think. I, for one, am even less interested in using XFire after your tantrums.
Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.

  • mudlord
  • [*][*][*][*][*]
  • Developer (Donating)
Adding Xfire Fb2k support
Reply #12
Quote
I will just scrap this project, and move onto my next, Zune support!

...You are very lucky I am not in a bad mood. I gave you a *explicit* method of how to detect the FB2K install directory, on a normal install.
And you ignored it. And yelled at others.

Sheesh.
  • Last Edit: 02 May, 2011, 07:13:08 AM by mudlord

Adding Xfire Fb2k support
Reply #13
I am trying to be civil

But SERIOUSLY? I said I DO NOT WANT THE INSTALL KEY FOR GOODNESS SAKE!


just change the stuff from winamp, to Foobar, do I need to explain it more?

[50_1]
LongName=Winamp
ShortName=winamp
LauncherDirKey=HKEY_CLASSES_ROOT\Winamp.File\shell\open\command\
LauncherDirTruncAt=winamp.exe
LauncherExe=winamp.exe
Launch=%UA_LAUNCHER_EXE_PATH% %UA_LAUNCHER_EXTRA_ARGS%
SoftwareType=Music


[50_2]
LongName=Winamp
ShortName=winamp
LauncherDirDefault=C:\Program Files\Winamp
LauncherDirTruncAt=winamp.exe
LauncherExe=winamp.exe
Launch=%UA_LAUNCHER_EXE_PATH% %UA_LAUNCHER_EXTRA_ARGS%
SoftwareType=Music


[50_3]
LongName=Winamp
ShortName=winamp
LauncherDirKey=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\winamp.exe\Path
LauncherExe=winamp.exe
Launch=%UA_LAUNCHER_EXE_PATH% %UA_LAUNCHER_EXTRA_ARGS%
SoftwareType=Music

  • Andreasvb
  • [*][*][*][*][*]
Adding Xfire Fb2k support
Reply #14
Yea, that will work...

Seriously, read the advises you've got.

foobar2000 doesn't use the registry, at all, in portable mode.

However, the above could work as Windows uses shell commands, but it's not sure someone uses that, especially with a portable foobar2000.

Best way is to query it somehow, e.g. with a component.

The FAQ explains about the portable mode a bit, http://www.foobar2000.org/FAQ
Also, the release notes for 0.9.6 tells the differences between standard and portable, http://www.foobar2000.org/?page=ReleaseNotes&version=096

I wish you good luck with adding it to Xfire, some way or another.
Windows 10 Pro x64 // foobar2000 1.3.10

  • foosion
  • [*][*][*][*][*]
  • Moderator
Adding Xfire Fb2k support
Reply #15
just change the stuff from winamp, to Foobar, do I need to explain it more?
Yes, a proper description of what you need would be extremely useful, so the people who want to help you can stop guessing what you want. Which so far has only resulted in frustration on both sides.

You originally said you wanted "the location path of the foobar registry entry". The Windows registry is a big place and it contains registry keys for a lot of different purposes. How should people around here know which kind of registry key you need? Please provide an explanation if you are still looking for help. And please do not throw a fragment of some file at us and expect people to figure out the file format for you.
http://foosion.foobar2000.org/ - my components for foobar2000