Page 1 of 1

SDL in SVGALIB mode

Posted: Tue Feb 19, 2002 1:56 am
by Sty
I've tried to play Exult under linux/svgalib
(with the proper svgalib mode of SDL).

I would like to enjoy the game in fullscreen
with original resolution, but when i do
'Journey Onward', after the red lava effect
svgalib crashes with signal 11, whithout seeing
any frame of the main game engine.

The introduction movies, and the game main menu
works without problems.

Please, can you take a look at it?

maybe introduction and game
have different blitting/clipping routines ?

seeya guys,
keep up the good work, you rules!

Re: SDL in SVGALIB mode

Posted: Tue Feb 19, 2002 1:59 am
by wjp
Exult uses X-specific code for the drag'n'drop functionality. You could try configuring with --disable-exult-studio-support

(No guarentees this'll work, though. We might have assumed X would be available in other code sections)

If you still run into problems with the --disable-exult-studio-support version, we should be able to pinpoint them if you can provide a gdb stacktrace.

Re: SDL in SVGALIB mode

Posted: Tue Feb 19, 2002 2:07 am
by Sty
Ok, ill'try this at home, thanx.


But i was wondering: why develop SDL applications
that still need Xwindows specific routines ?

It's a bit pointless, ofcoz :)


bye

Re: SDL in SVGALIB mode

Posted: Tue Feb 19, 2002 3:18 am
by wjp
Mainly because SDL doesn't support some functionality we need. (drag'n'drop, for instance)

Re: SDL in SVGALIB mode

Posted: Tue Feb 19, 2002 4:37 am
by nadir
Wjp is right. For ExultStudio we need the ability to drag objects from the Studio window to Exult's window. That is why X11 is a requirement under U*ix.
Disabling ExultStudio support should work, but it hasn't been tested really...

Re: SDL in SVGALIB mode

Posted: Tue Feb 19, 2002 5:34 am
by Karl Garrison
You shouldn't need to use SVGAlib to play Exult fullscreen in the original resolution. Exult has an option for fullscreen, and you should be able to play in 320x200 mode if you have your X server configured to use that as a possible resolution.


-Karl

Re: SDL in SVGALIB mode

Posted: Tue Feb 19, 2002 6:19 am
by nadir
640x400 with pixel doubling is also good and looks the same

Re: SDL in SVGALIB mode

Posted: Tue Feb 19, 2002 8:23 am
by drcode
Exult's main event loop uses 'select' on the X socket to see when there's something to do.

Obviously, this could have an alternative for non-X versions, since it already does for the Win32 and Mac ports. So an SVGALIB version wouldn't be that hard; most of the work would be fiddling with the configuration.

Re: SDL in SVGALIB mode

Posted: Tue Feb 19, 2002 3:44 pm
by co
since sdl can also run on the framebuffer device, imho a general linux/unix solution would be better.

Re: SDL in SVGALIB mode

Posted: Tue Feb 19, 2002 4:11 pm
by SB-X
How about an AAlib version of Exult?


No, I'm not joking.


Yes, you may ignore this message.

Re: SDL in SVGALIB mode

Posted: Wed Feb 20, 2002 9:14 am
by drcode
I know you're joking... but thinking about it, it should be possible!

U7Rogue.