Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foobar2000 under linux (wine) (Read 6756 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foobar2000 under linux (wine)

I got foobar2000 to work with wine under xfree, I had to use case's installer, because the stock one kept complaining about not finding a plugin directory...but besides that it runs just fine, no transperency though, and it has trouble redrawing sometimes...

http://web.pdx.edu/~patm/shot.jpeg

foobar2000 under linux (wine)

Reply #1
Interesting stuff, thanks!

What distro?

Ruairi
rc55.com - nothing going on

foobar2000 under linux (wine)

Reply #2
Quote
Interesting stuff, thanks!

What distro?

Ruairi

I'm guessing Gentoo.

Just a hunch.

foobar2000 under linux (wine)

Reply #3
It has been done before
(scroll down a bit on this page. There are other threads as wel.)

To summarize from the other thread:

- The main foobar installer works if you put wine's "TEMP" directory on a normal (not networked) disk.
- Setting "WineLook" = "Win31" in wine's config solves the playlist redraw problems, but makes other widgets look like they did in windows 3.1.
- Setting "Windows" = "Win2k" gives unicode capabilities, however the installer doesn't detect this correctly (at least not on my system). Foobar reports I'm running the ANSI version on a unicode enabled system, but I haven't managed to install the unicode version without using windows.
- Some native dll's that might be useful: comctl32.dll and msvcrt.dll. This fixes the scrolling treeview in the preferences window, and possibly some other stuff.

Now if someone could just figure out how to get the unicode version installed...

foobar2000 under linux (wine)

Reply #4
It is Gentoo, and I have wine configured for the temp thing, the temp dir is on the same partition/fake windows system (C:\Temp ) hmm.....

I'll try that winelook thing right now!

foobar2000 under linux (wine)

Reply #5
Another gentoo user here...

The relevant bits from my config:
Code: [Select]
[Drive D]
"Path" = "/home/marienz/wine"
"Type" = "hd"
"Label" = "windisk"
"Filesystem" = "win95"

and
Code: [Select]
"Temp" = "d:\\temp"


/home/marienz/wine/temp/ exists. I'm not entirely sure but I think gentoo's default had "temp" set to the /tmp directory, and that didn't work for me.

foobar2000 under linux (wine)

Reply #6
Please don't post images that big directly. There ARE people without broadband connections, you know.

foobar2000 under linux (wine)

Reply #7
Quote
Now if someone could just figure out how to get the unicode version installed...

Windows version is read from registry. If wine supports Unicode they should add string 'CurrentVersion' with proper NT version (like '5.1') into key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion'.

foobar2000 under linux (wine)

Reply #8
That worked! Thanks!

(and in case anyone else wants to try this: I didn't manage to edit wine's registry files manually. So I copied over regedit.exe from my win2k partition and used that. I had to use the native msvcrt.dll and comctl32.dll to make regedit work correctly)

foobar2000 under linux (wine)

Reply #9
Really sorry to bump this thread, but i just installed the latest wine release and have configured my config, and when running the installer, i get the "no plugins found" message. At the top of the thread, it states case's installer works but www.ca5e.tk is down, or at least i can't access it.

Is there another copy avaliable? What is the difference between the installers, i thought the only diference was the content, ie. newer plugins, etc.
If there is a difference, can't the official installers incorporate the change??

Cheers for any help,

Kristian


foobar2000 under linux (wine)

Reply #11
Great!

I was just going to ask how foobar checks the Windows-version. For some reason I didn't find this thread yesterday. Strange that winesetup doesn't write the CurrentVersion string?

Foobar is running very well under Linux I must say - everything that I've tried works, and I can't see that it's using any more system resources than under windows (<1%). The only problem is window behaviour, like the "update file?" window that is covered by the file info window if I try to just close it after changing tags. Also, some text fields melts into the background with the win31 look that is needed for playlist redrawing.

Well, one issue I've had one time was that some changed tags weren't beeing read after I reloaded the files, I had to re-read info from them manually. Don't know if that was because of emulation though.

/Johan

foobar2000 under linux (wine)

Reply #12
Cheers, for that, im dowloading it now to give it a try, hopefully wine works with alsa! Seems like cases site worked all along just the link i had doesn't resolv to his actual url, im sure it used to ce www.ca5e.tk ??


Fingers crossed it works, else im back here asking for some tips

Cheers,

Kristian

foobar2000 under linux (wine)

Reply #13
Well, i still get the same message with this installer. Plugins directory not found.

Here are my relevant wine entries i think, pretty much as default:

Code: [Select]
[Drive C]
"Path" = "fake_windows"
"Type" = "hd"
"Label" = "MS-DOS"
"Filesystem" = "win95"

[Drive F]
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"

[Drive H]
"Path" = "../"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"

[Drive Z]
"Path" = "/"
"Type" = "network"
"Label" = "Root"
"Filesystem" = "win95"


Here is my windows version to report ( I want the Unicode version to install)

Code: [Select]
"Windows" = "win2k"


And here is my style (to prevent the glitches people have mentioned)

Code: [Select]
"WineLook" = "Win31"




I am installing direct from wine/Linux and don't have any real windows directory.


Any hints guys and gals???


Cheers,

Kristian

foobar2000 under linux (wine)

Reply #14
I presume it has to do with my temp directory as when i run the installer, it creates two files of 0 Bytes and then comlains about the plugin directory.

The two files it creates are listed below:

Code: [Select]
bash-2.05b$ ls -la tmp/
total 1
drwsr-xr-x    2 kritip   users         112 Jan  8 19:06 .
drwxr-xr-x    5 kritip   users         152 Jan  8 18:56 ..
-rw-r--r--    1 kritip   users           0 Jan  8 19:05 nsa0548.tmp
-rw-r--r--    1 kritip   users           0 Jan  8 19:06 nsb0375.tmp
bash-2.05b$


I pressume it must be some permission error, but i user kritip, in group users, has full read write and execute prilages in that folder!!??

Kristian

foobar2000 under linux (wine)

Reply #15
Hi!

Read the other thread(s) on this subject, mentioned in this post. You have to change wine's temp directory into something like C:\Temp.

The "special" installer is the same on foobar2000 and Case's site, at least some versions back up until now.

I discovered some things that don't work unfortunately - external encoding with lame or musepack. These are the external encoders I've tried. (Internal, via .dll, vorbis encoding works fine.)

The filename gets written, so I think the paths get sent around correctly (something that is known to not work perfectly), but the encoding process doesn't start, and I have to abort it. Anyone, any ideas? Encoding in EAC under wine works great, but I guess there are many ways of passing commands to other programs, and unfortunately foobar uses something that wine don't like...

/Johan