[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Windows 95
Here are results of my tests.
>>>import pygame
>>>pygame.init()
(2, 0)
>>>pygame.display.init()
>>>
No errors in that test.
Errors I got in the examples folder...
**Theese only worked with dos window at fullscreen and not in small window
form(otherwise video init error as I said in my last E-mail)**
font.py
oldaliens.py
stars.py
zipshow.py
**aliens.py**
Warning, unable to load, data\boom.wav...
...\car_door.wav
error line...
pygame.music.load(music)
pygame.error: mixer system not initialized
**sound.py**
...mixer.init(11025)
pygame.error: DirectSound CreateSoundBuffer: Invalid Parameter
I've got DirectX 6.0 installed, I've tried 7.0+ many times in the past but had trouble
with it conflicting with some hardware. If I install 7.0 again I'll need to get a
patch I once found on the Microsoft website. And I think I remember 7.0's
installation requires 50mb to install on the C:\ drive and my C:\ drive is only 250mb
with 38mb free. So if you think that's the case (which sound.py probably proves),
then let me know
ShredWheat wrote:
> > I have python 1.5.2 and after looking over pygame I installed 2.0 so I could
> > use pygame, so I have 2 versions of python now. {cut}
>
> hi daniel. it sounds like everything is installed ok. the fact that
> everything is importing ok should mean the python installation is ok.
> it looks like it is unable to initialize the video driver (perhaps all drivers).
>
> pygame does attempt to doublecheck the SDL.dll library to make sure it's
> the same version it was compiled with, so i don't believe it's mismatched
> SDL libraries.
>
> in an interactive python shell, try the following commands
>
> >>> import pygame
> >>> pygame.display.init()
>
> both these commands should return with None, and raise no exceptions.
> my guess is that the pygame.display.init() routine will report an error?
> if pygame (SDL) has trouble initializing directx, it should fall back to
> windows GDI. GDI should never fail on windows.
>
> i'm not sure what the problem is yet, try running these commands and
> we can see what the result is. you might want to doublecheck that your
> directx 5 (or greater) installation is ok?
>
> you can go ahead and send me mail directly (or use the list). i'll
> be glad to get you going on this.
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org