Help - Search - Members - Calendar
Full Version: introducing foo_syfm
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2
anza
You should check other threads also:
http://www.hydrogenaudio.org/forums/index....howtopic=13144&
billcow
QUOTE
hmm, can't get download page for foo_syfm : just a blank page.


Sorry 'bout that. Cable's been out for two days. Back now. Site should be back up.

@upNorth - Sounds like a good idea, although I'd have to figure out a better way to generate the list. But aside from that it should be easy.

On the other hand, I'm not quite in the mood for programming at the moment - my computer's pissing me off, my car's gone kaput, all in all, me=not happy. But when that passes I'll get cracking on it probably.
gusdabo
Just in case i'm not the only bling/bad searcher wink.gif , when the official link does not work (the file is hosted on the personnal computer of the creator, not always online...), the dll can be found
here
kwanbis
sorry guys, maybe i'm dumber than i think ... but how dows foo_syfm works? i have copied it allready to the componets folder, with the msvcrt70.dll ... but what do i have to do with the fileS?
amppa
QUOTE(kwanbis @ Nov 7 2003, 09:36 PM)
sorry guys, maybe i'm dumber than i think ... but how dows foo_syfm works? i have copied it allready to the componets folder, with the msvcrt70.dll ... but what do i have to do with the fileS?

You'll have to create a "configs" directory, and save the .fb2k files there.
juglesh
syfm no worky. foobar errors trying to load it.
failed to load dll reason: unable to load dll (duhhh.)

latest foobar, win98.

same thing with minibar. most other pluggins ive tried work (great, thanks ppl)

juglesh
foosion
QUOTE(juglesh @ Nov 8 2003, 02:44 AM)
syfm no worky.  foobar errors trying to load it.
failed to load dll reason: unable to load dll  (duhhh.)

latest foobar, win98.

same thing with minibar.  most other pluggins ive tried work (great, thanks ppl)

juglesh

Read this (yes, that's still in this thread): http://www.hydrogenaudio.org/forums/index....ndpost&p=127222
3lvis
Am I really stupid or what!? Ive copied foo_syfm.dll dll to the components folder, created fb2k/components/configs, put all configs in there and when im trying to load config by just pressing "Load Selected Config" button, but it shows me only "WARNING (foo_syfm) : Cannot load config: selection invalid/no selection" . It's 2:38 pm and it IS REALLY f@#%ng up my mind smile.gif Could anyone help me please?
nyarlathotep
QUOTE(3lvis @ Nov 9 2003, 01:40 AM)
Am I really stupid or what!? Ive copied foo_syfm.dll dll to the components folder, created fb2k/components/configs, put all configs in there and when im trying to load config by just pressing "Load Selected Config" button, but it shows me only "WARNING (foo_syfm) : Cannot load config: selection invalid/no selection" . It's 2:38 pm and it IS REALLY f@#%ng up my mind smile.gif Could anyone help me please?

Correct path is .../foobar2000/configs
3lvis
Still same error sad.gif
3lvis
NAh, got it! Nevermind, just me biggrin.gif
aron
i cant figure out, for the love of jesus our holy savior, why it is that foo_syfm mixes up its display of config names. what i mean is, i have a config file named "man" as well as one that ive edited, named "man edited"

but for some reason, the other day i loaded 'man edited' and, to my surprise, it loaded "man"

i worried that i'd accidentally overwritten one or something, but then i loaded 'man' and realized the two were mixed up, vice-versa. i checked the actual config files in notepad to make sure things were the way they're supposed to be, and so it seems either the LOAD function, or the way it displays names, gets confused. anyone else had this happen?
mazy
yeah that's what i'm getting too ...

i think this problem arises when changing number of config files

so what i do is:

1) go through all configs and save them under right name to new folder
2) erase all old configs and copy over the ones from that new folder

this is serious bug, but one can live with it
billcow
Whoa. Far-out. Someone mentioned this in a context other than adding color and font changing to the SDK so this thing could do it.

But then again, it's a bug problem, so maybe it's not too weird. It's 3 o'clock here and I've gotta be in bed by the time my mom gets up for work (between the way I sleep and her getting up at 4:30 (on a sunday you say? she works at a hospital. 'nuff said.) that's going to be plenty tough already), plus I'm tired of computing (read my extremely long post in the General Audio forum and you'll understand why) so I can't really work on this now, but I can tell you that it's probably a result of a relatively obvious mistake on my part, and hopefully tomorrow i'll remember to look at it.

Sorry. Just in case it matters, (a) you are talking about the list box and not the menu, correct? And (b) i'm guessing you have already tried clicking "Refresh" or have re-started foobar since the first time you noticed. The first would be a small matter in terms of me finding the probable bug and the second would take both an extreme case of "leaveyourcomputeron-itis" as well as the fact that I think you'd also have to have never closed or switched away from the config selector page in the config dialog too (can't remember if it refreshes on loading the dialog - I think it does).
mazy
take whatever time you need wink.gif

i did (a) and (b) ... i haven't tested it more than that, that is

- add new config, hit refresh, restart foobar

all i did was hiting refresh and restarting when i noticed that names were incorrect
rage-
Does anyone have a mirror for this plugin? The download page seems to be down atm.
Mike Giacomelli
First bitching of the new year: link is down

biggrin.gif

If some one emails a copy of the file to me at mikeg at myschool's.emailserver: email.arizona.edu I'll gladly mirror the file.
Mike Giacomelli
Alright thanks to Aron Rivin for sending me a copy of the dll!

Get it here:
www.u.arizona.edu/~mikeg/foo_syfm.dll
Fandango
foo_syfm.dll is that old?

I mean setting the font and background feature is still missing and obviuously it has been removed from its official location.

What's this? No-one's working on it anymore? Or is there a better one out since a yeat now, and I didn't notice?
anza
QUOTE(Fandango @ Jan 3 2004, 12:27 AM)
foo_syfm.dll is that old?

I mean setting the font and background feature is still missing and obviuously it has been removed from its official location.

What's this? No-one's working on it anymore? Or is there a better one out since a yeat now, and I didn't notice?

It's still impossible for a plugin to change the fonts and colors.
The server has always been unstable IIRC.
Billcow is still working on a new version with some new options.
Fandango
Thanks for the answers. biggrin.gif
billcow
First of all - I've decided to release the new version. It's been working quite well for me, and all the new additions are de-activated if their corrosponding options are not turned on, so any bugs that come up either already existed or can be bypassed by not using these new features. Grab it at the same place (which should be back up).

New features include various color-related operations - desaturate (aka greyscale), hue shift (aka recoloring) and brightness inversion. It still has issues with any script that dynamically generates color values (i.e. a call to $rgb(...) or using raw color codes with anything besides numbers) but shouldn't cause any more than color corruption, which can be fixed by simply not using the operation. The code is a huge un-commented mess, and it's probably a terrible way of doing it. If you have the patience to try and read it and a suggestion on changing it, please tell me. I don't like code this ugly - even I have my limits.

As for that bug thingy with mis-ordered configs, I really can't figure that one out. Maybe I changed something since the last release that fixed it. I dunno, but try this out and see if you still have problems.
foosion
I guess you still have to store configs in the 'configs' subfolder of the foobar2000 installation folder? Could this be changed to a subfolder of foobar's profile folder, if user profiles are enabled? You can use core_api::get_profile_path() to get foobar's profile path regardless whether user profiles are enabled or not (available since 0.7.5 or so).
billcow
That ain't a bad idea. And it's easy. So easy that I did it before I posted this. Grab the new version, and make sure to move your configs folder to your profile directory if you have 'em enabled.

Next on my list is custom translation of special characters. I'm not sure which way to do it though...
1) Have a file that defines a translation table; i.e. char "a" becomes "b", "c" becomes "d" and so on that is used the same way as the existing method. This would require a seperate mapping for each conversion - unicode->ansi, ansi->unicode, unicode->profont, ansi->profont, profont->ansi, profont->unicode, as well as some way of deciding which to use. This would be easiest to implement, but the hardest to make easily usable by most people. It would probably end up using a seperate table stored within the config file which would define the mapping from the config to a standard set (like unicode) and then the user's machine would define a set of mappings from there to somewhere else, and use the two combined when loading.
2) Have all files stored in a standard space - this would be different from the above in that it translates to unicode on saving not loading. There would then be a set of files defining the mapping from unicode to whatever of which one is used based on either a user choice or an automatic detection. This file could, for instance, have a set of conditions which determine when it should be used - such as a list of fonts it works for. This same file could change mappings between extended character sets too - such as the extended windows set with all the accented characters and such, and would not be limited to translation of line drawing characters.

There are probably other options too, so pipe up with your suggestions.

The other question is what format to have the translation table in. The following options seem the most obvious:
1) A binary file. Each item in the table would consist of 8 bytes, 4 defining the UTF-32 character to translate, and then 4 defining the UTF-32 character to translate it too. The downside of this is that making a custom file would be difficult at best to do by hand, and would require a seperate tool. However, loading of the table would be very fast.
2) A text file. Each line defines the character code (i.e. it's number) of the source and destination character. This would be slower to load, but would be less tedious to edit.
3) A text file. Each line has the literal characters to be translated to and from. This would be slightly faster to load that #2 (no need to do a string->number conversion for each character) but slower than #1.

#3 would be advantageous in that you could see exactly what was going on - but you'd have to switch fonts in your editor to see both the incoming and outgoing characters. #2 would be better in that way in that you could interpret both parts at once, but it would be less visual. But with the aid of the windows character map utility (or two, one for each font), it wouldn't be too hard. #1 would be ideal for use by the program, but would be hard to read. It would, however, lend itself easily to a visual tool for editing. The tool would have two character maps, you select the input and output characters visually, then add them to a list. The tool would show this list visually too. I probably wouldn't do that though, and would end up just making some files by hand, so that idea probably isn't the best. #1 would also be difficult to add additional options to, like a list of fonts.

So I'm thinking #2 is probably the best. But if you have a good argument for one of the other options, or another possibility, speak up. I'm only so good ad coming up with ideas.
nyarlathotep
User profiles are not enabled on my foobar2000 config.
With the new version of foo_syfm, I had to move all my config files to C :\Program Files\configs in order to load the config files.
Is it intended behaviour?
IMO, if user profiles are not enabled it would more convenient to leave the config files at the same location as with the previous versions of foo_sym, i.e. in the 'configs' subfolder of the foobar2000 installation folder.
billcow
Yeah, I just noticed that as I started to read your post. What's happening is that the old method of getting the path gave me the location of the plugin dll. Which was in the foobar\components directory. So I had to go up a level before going into the config directory. Didn't remember that so now that the method gives me the foobar2000.exe location (or the profile dir) instead of a subdirectory, it went up into the parent folder of foobar or the profile. It's fixed now. Along with the word-wrap bug that I never noticed til today.
aron
loading incorrect config (reported previously, confirmed by mazy) bug still exists.
mazy
aron, could you take your time and give billcow step-by-step instructions to duplicate it? so he could look into it ...
thoresson
I've got foo_syfm.dll loaded and put my .fb2k-files in c:\Program\audio\foobar2000\configs. Still, Preferences->Display->Title Formatting->Config Selector shows just an empty listbox. Pressing Refresh Listing doesn't change a thing.

What might be wrong?

//Anders
thoresson
QUOTE(thoresson @ Jan 13 2004, 10:31 AM)
What might be wrong?

Since I've foobar2000 installed on a WinXP, and had enabled separate configurations for each user, the configs directory should go into Documents and Settings.
aron
QUOTE(mazy @ Jan 10 2004, 07:18 AM)
aron, could you take your time and give billcow step-by-step instructions to duplicate it? so he could look into it ...

yep.

it's a somewhat tough bug to describe, however. basically....

- originally, i copy-pasted someone's formatting into my player and saved it using foo_syfm's save feature. i titled the file "man.fb2k"

- then, over time, i modified the formatting in foobar's title formatting area. i saved the modified strings again using foo_syfm, and titled it "man edited.fb2k"

at this point:

i continued to make changes to the formatting that foobar was using. each time i made a change, i would save my settings to the same "man edited" file. (when prompted that it already existed, and asked whether i wanted to replace it, i would select YES).

HOWEVER. if i saved the new settings to the same file and then double clicked (or clicked "load") on "man edited," it would load the original "man" theme.

now, upon further saving settings to "man edited 2.fb2k", "man edited 3.fb2k", etc., the process is even more screwy. my NEWEST formatting loads when i double-click "man edited". the ORIGINAL man formatting loads when i click "man edited 3"....

in other words, if i were to assign numbers to each of the formattings:
1: man <---- ORIGINAL
2: man edited
3: man edited2
4: man edited3 <---- NEWEST

when i double click 4, it loads 1. when i double click 2, it loads 4.

there is really no clearer way i can explain this, as its incredibly weird in and of itself. hopefully you can understand now, though.
-aron
mazy
yep aron, that's exactly what i'm getting (that kind of mix-up)
anza
aron, I noticed this thing also, but only when there's uneven number of configs. Ie when I have 3 configs it loads them weirdly, but if I add fourth there, it works like a charm again.
vip
hrm with 0.8b6 i just got this plugin ..

INFO (CORE) : startup time: 5849 ms
ERROR (CORE) : Failed to load DLL: foo_syfm.dll, reason: Unable to load dll.


thats the error im getting sad.gif
rejj
QUOTE(vip @ Feb 6 2004, 06:32 PM)
hrm with 0.8b6 i just got this plugin ..

INFO (CORE) : startup time: 5849 ms
ERROR (CORE) : Failed to load DLL: foo_syfm.dll, reason: Unable to load dll.


thats the error im getting sad.gif

You need msvcr70.dll, like mentioned earlier in this thread. Read back about a page or so.
billcow
Long time no see smile.gif .

I haven't worked on foo_syfm for a while - in fact, I only realized yesterday that 0.8 was already in beta. I'm sorry about that - I've been distracted - mainly by a few racing "games" (really more sim-like - specifically EA's F1 Challenge '99-'02 and Papyrus' (famous for their NASCAR games) Grand Prix Legends (1967 formula one - made in 1998, it still manages to be amazing, both in terms of physics and, if you install a few user-made add-ons, graphics)- go to http://www.racesimcentral.com/ if ya wanna find out more.). Other stuff too, but mainly just the fact that I'm not really in the mood for any work on it. And that isn't looking too likely to change any time soon. Sorry.

And I still haven't so much as figured out even a possible reason for that bug - not that I've tried to figure it out lately, but last time I did I got nowhere.

If someone else is able to read my source code go ahead and work on it - I haven't added anything new since the version on my site (I'm not sure if I uploaded the version that fixed the config location bug, but if I didn't it's just a matter of changing one of the truncate calls for the path string. And the word-wrap was just a matter of disabling auto horizontal scroll-bars.) so you'll be starting from the newest code. I'm not going to be working on it for a while at least.
mazy
sorry to hear that billcow ... anyway, i understand

thanks for what you have done
filon
New release based upon the last version released by billcow and following changes:

- rearanged config page
- fixed wrong file loading/saving issues
- fixed refreshing of config list (entries in menu are always fresh)
- compile with VC 6 (no mscrt70.dll dependency)

Get version 2.6.0 from foo_syfm.zip

Cheers!
mazy
great news filon, thanks a lot!

btw may i know where / what was the loading / saving error?
filon
QUOTE(mazy @ Apr 5 2004, 01:39 AM)
great news filon, thanks a lot!

btw may i know where / what was the loading / saving error?

That was quite simple ;-) Config list had property "sort" turned on, so the names were sorted, but plugin wasn't aware about it and was using item indices in order of adding to the list, not in sorted order.
nyarlathotep
Thanks!
Tang
QUOTE(filon @ Apr 4 2004, 09:41 AM)
New release based upon the last version released by billcow and following changes:

- rearanged config page
- fixed wrong file loading/saving issues
- fixed refreshing of config list (entries in menu are always fresh)
- compile with VC 6 (no mscrt70.dll dependency)

Get version 2.6.0 from foo_syfm.zip

Cheers!

hanks a lot Filon (you're a good one, hin hin hin)... I didn't know that there were a foo_syfm compatible with foobar 0.8...
i'm gald to use this plugin again... Thanks to billycow and you...
Bye
Aphex Kid
ok, forgive me if this has been asked before, but i searched around and couldn't find an answer. i'm sure it's something really obvious, but whenever i attempt to change the look and feel of foobar2000 (either manually, using the playlist codes from other sites or with syfm files), i get all these f&*ed up characters in foobar that don't look anything like the screen grabs. am i doing something wrong?

(using v.82 with win-xp/sp1)

thanks!

ak
anza
Well, first off, do you use the correct fonts?
jako
it can't work properly with foobar2000 special (published on 2.12.2005) when per-user settings enabled dry.gif


sorry,it's my problem. solved. blink.gif tongue.gif
just put the "configs" into "C:\Documents and Settings\xxx\Application Data\foobar2000".
4nt1
this may sound very ignorant, but these configs needed are the ones that end in .fcs normally and need to be renamed to .fb2k?

im guessing these are column ui configs...
DreamerHxC
I have problems with this:
I try to select different configs but nothing happens, even if I restart foobar2000 sad.gif
poiuytr
May be someone could adopt this plugin for foobar 0.9?
That would be cool!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.