adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-devel] Gentlemen, start your Windows!


From: Alexandre Courbot
Subject: [Adonthell-devel] Gentlemen, start your Windows!
Date: 20 Apr 2002 17:43:12 +0200

Just uploaded (http://www.gnurou.org/adonthell-stuff/wintest.tgz) some
new Windows tests, that will hopefully do more than just image loading!

First, make sure that you run the programs in the wintest directory, as
they'll search for files in the current directory.

In the package you'll find two binaries, the source code and some extra
files. alextest.exe is now the complete 0.4 map engine test, exactly the
same as the one I'm working on. Now that the file loading code has been
fixed, it should work. Control reminder: arrow keys (and optionally
joystick) to move, ctrl/r/joystick button 0/mouse right button to run,
and e/joystick button 1 to jump. You can jump while being in the air -
that's not a bug, but a feature! :) Of course, the map engine itself is
just work in progress. Ah, nearly forgot: there is a bug with the new
image format that displays awfull pink noise instead of transparency
when running in 24bpp. So if you run in 24bpp, you'll notice it. In
16bpp everything should be fine, I'd be gratefull if you could test in
this mode too. I'm fixing the bug right now, but that's no problem for
our testing purposes.

The second program is pytest.exe. It includes everything alextest.exe
has, plus Python scripting capabilities. It also includes the base and
gfx modules. All it will do when you run it is lauching the "proggy.py"
file, which is a little Python program that will load an image and make
it zoom while fading out in the end. You can have fun modifying it if
you want to get started with the Adonthell API :)

As you can guess, if these two works, all the rest will follow quite
easily. If you report success I'll adapt the building process to support
cross compiling, and we (errr you ^_^) should soon be able to play
Waste's Edge under Windows! :)

Now on my own tests: I've downloaded/compiled Transgaming's WineX and
tested my binaries with it. While WineX success reports are very
impressive (Max Payne, Jedi Knight II, Half Life, etc... perfectly
working!), my binaries seems to crash as soon as I set the screen mode.
DirectDrawSurface::Release is not happy and crash immediatly, returning
a 0x1 error code. This is very strange because Half-Life is almost
working on my machine - it can't find the stupid CD but no problems
regarding gfxs. Well, whatever. I've been able to test all the Python
stuff in text mode, with the provided DLL (someone on the Python list
has been kind enough to provide me with to cross-compiled import
libraires and DLLs), and it worked just flawlessly. All the modules
Python needs at initialisation (site.py, os.py, etc...) are provided
with this package, and I think we should do the same with our binary
releases. To make sure everything's ok, please send me the stderr.txt
and stdout.txt files created by pytest.exe. 

As the Python stuff is known to work, and the file loading bug is fixed,
I *believe* it will work this time.

Hope I am not making false assumptions - cross (compil)ing my fingers
waiting for your reports... :)

Have fun!
Alex.
-- 
http://www.gnurou.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]