in_opus err -129 Offline
Closed this issue · 6 comments
I guess you are using version 2.x of Winamp that does not support Unicode..
I see interrogation marks ?
in the filename, it means that the Japanese characters are not available in the current local.
The issue here is that Winamp2.x is limited to non Unicode characters. This mean that the plugins cannot retrieve the real file name and only gets a file name that was converted from the original unicode file name to the current local character encoding and thus you get ?
instead of kanjis. Then the plugin tryes to open the given file name and actually it does not exist in its form with ?
inside.
So there is not much in_opus can do. You can try to add a Japanese character also to an MP3 file and you will have the same problem.
I also use Winamp 2.x and this is a limitation. you must ensure that all audio files are not containing any characters that are not in you local code-page.
Under Winamp 5 in_opus.dll is no longer limited to local code page and can handle any Unicode character. The same rule applies to all other default plugins.
For now the only option is renaming the files.
I am working on a workaround that consists in guessing the real path name from the local-converted one. This would not be 100% reliable however.
thank you that makes sense, removing the kanjis worked!
I thought I was using winamp 5.05 (see screenshot) but since I am playing it via PlayOnMac on Mac Os X and the opus files are on a mounted folder pointing to a NAS drive, the problem is probably on my side somewhere along the chain :)
Thanks for this excellent plugin 👍
Actually I think Winamp supports Unicode only since version 5.3
EDIT: Yes I double checked Unicode file names is only possible since Winamp 5.3
I was able to make a somewhat reliable routine to resolve file names.
Have a try with this build:
It should work as long as turning special characters to ? will not create file name collision and as long as the directory contains only ANSI characters.
So the idea is:
x:\Path\Without\non\ANSI\characters
* file1日.opus
* file2本.opus
* file1語.opus
In this case you will be able to play files file2本.opus
but not file1日.opus
or file1語.opus
because I cannot know from file1?.opus
which one it is.
This is strange however, I did not write any MacOS support, So I do not know how you can run a Win32 plugin on MasOS?
PlayOnMac creates a virtual C drive on the Mac hard drive, namely in:
/Users/mac/Library/PlayOnMac/wineprefix/Winamp/drive_c/Program Files/Winamp/Plugins
I saved your plugin in there and it worked right away.