Advertisement

New Winamp GL Mini Contest

Started by December 16, 2004 12:41 PM
138 comments, last by esolem 19 years, 10 months ago
Quote: Original post by FluxCapacitor
Please let me know what you think, and if you have any last minute suggestions before I send the demo off to ||v||atrix.


I'll check it out at home tonight (its a bit large for me to download at work).
'Lo,

The solution for fullscreen is in the code of this plugin, i've found on winamp.com

[LINK]http://forums.winamp.com/showthread.php?s=e326adcfdb9bd63a00da3c465d7b5ecf&threadid=137905&highlight=glvis[/LINK]

It seems that you musn't use an embedded window for fullscreen. It works for me.
Now I have a new problem with windowed mode.

Sorry, i have no time to develop, I'm at work :).

Cheers.
Bourricot.

Advertisement
Quote:
Please let me know what you think, and if you have any last minute suggestions before I send the demo off to ||v||atrix.

Winamp doesn't seem to recognize it.
From my looking into the fullscreen issue:

It seems that the wamp_setup_wnd_state() method in wamp_module_functions.cpp file tries to get a function pointer to an "embedded window function" (whatever that is). This function changes the wamp_wnd_state variable which is where the width and height are stored . As fullscreen mode requires very specific resolutions that are supported by the driver/monitor (e.g. 800x600), the ChangeDisplaySettings() call fails as it tries to go into an unusable fullscreen mode (e.g. 800x580).

I've had a little success in saving the width and height before the wamp_setup_wnd_state() call in wamp_module_init() and restoring the values in the wamp_wnd_state variable afterwards (pretty much a hack): I've been able to get fullscreen working but the viewport settings are off (e.g. fullscreen 320x200 with a 1024x768 viewport - obviously using some other values from somewhere).

Hopefully I'll get it working tonight. I'll post code if I get it going [smile]
Quote: Original post by tgraupmann
Shoot I can't get it to load because I don't have:
MSVCRTD.DLL
msvcp60d.dll


Whoops; looks like I built it in Debug mode. Try again and see if it works now. (I uploaded a Release version.)


Quote: Original post by lazork357
Winamp doesn't seem to recognize it.


Does it give you an error of some kind? It works fine for me.
Quote: Original post by FluxCapacitor
Quote: Original post by tgraupmann
Shoot I can't get it to load because I don't have:
MSVCRTD.DLL
msvcp60d.dll


Whoops; looks like I built it in Debug mode. Try again and see if it works now. (I uploaded a Release version.)


Quote: Original post by lazork357
Winamp doesn't seem to recognize it.


Does it give you an error of some kind? It works fine for me.


I'm noticing that the dlls need to be in the winamp directory and not the plugin directory... EternalPool.dll does need to be in the Plugins directory.

I get an error too.

Plug-in executed illegal operation.
Restart of Winamp is recommended (1)

and

Could not register window
*News tagenigma.com is my new domain.
Advertisement
EDIT: Seems like tgraupmann and I were typing at the same time...

@FluxCapacitor & lazork357
I got Eternal Pool to run. Very cool. I like it [smile]. I think I know what lazork357's problem was. When I first copied it to the plugins directory and went to the 'configure plugins' section, winamp complained about missing SDL.dll and the rest that you provided. Your plugin didn't appear in the list and no matter where I copied the DLLs it was missing from the list. I needed to reinstall winamp (it seems it has a list somewhere that blacklisted your plugin as it didn't work the first time, hence the reinstall). Then you need the DLLs in the directory where winamp.exe is (usually c:\program files\winamp), not the plugins dir. This then worked for me. I assume you have SDK.dll etc. in your system path so you wouldn't have noticed the problem, so just ammend your install instructions a bit.
FluxCapacitor, the screen shot of your visualization looks beautiful :D

Quote:
It seems that the wamp_setup_wnd_state() method in wamp_module_functions.cpp file tries to get a function pointer to an "embedded window function" (whatever that is). This function changes the wamp_wnd_state variable which is where the width and height are stored . As fullscreen mode requires very specific resolutions that are supported by the driver/monitor (e.g. 800x600), the ChangeDisplaySettings() call fails as it tries to go into an unusable fullscreen mode (e.g. 800x580).


You might be able to find something in wa_ipc.h. It seems to be the main interface between winamp it's plugins and the best place for documentation (which isnt saying much). Unfortnately they are all windows commands, which is kinda frustrating. Thx for your help :)

Cheers,
- llvllatrix
Quote: Original post by Custard Slice
@FluxCapacitor & lazork357
I got Eternal Pool to run. Very cool. I like it [smile]. I think I know what lazork357's problem was. When I first copied it to the plugins directory and went to the 'configure plugins' section, winamp complained about missing SDL.dll and the rest that you provided. Your plugin didn't appear in the list and no matter where I copied the DLLs it was missing from the list. I needed to reinstall winamp (it seems it has a list somewhere that blacklisted your plugin as it didn't work the first time, hence the reinstall). Then you need the DLLs in the directory where winamp.exe is (usually c:\program files\winamp), not the plugins dir. This then worked for me. I assume you have SDK.dll etc. in your system path so you wouldn't have noticed the problem, so just ammend your install instructions a bit.


I can't get it to work. What kind of graphics card do you have?
*News tagenigma.com is my new domain.
Quote: Original post by tgraupmann
I can't get it to work. What kind of graphics card do you have?


Creative GeForce FX 5900 (128MB) using 66.93 Forceware drivers.

This topic is closed to new replies.

Advertisement