SDL in SVGALIB mode

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Sty

SDL in SVGALIB mode

Post 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!
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: SDL in SVGALIB mode

Post 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.
Sty

Re: SDL in SVGALIB mode

Post 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
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: SDL in SVGALIB mode

Post by wjp »

Mainly because SDL doesn't support some functionality we need. (drag'n'drop, for instance)
nadir
Site Admin
Posts: 407
Joined: Thu May 14, 2020 1:34 pm

Re: SDL in SVGALIB mode

Post 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...
Karl Garrison

Re: SDL in SVGALIB mode

Post 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
nadir
Site Admin
Posts: 407
Joined: Thu May 14, 2020 1:34 pm

Re: SDL in SVGALIB mode

Post by nadir »

640x400 with pixel doubling is also good and looks the same
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: SDL in SVGALIB mode

Post 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.
co

Re: SDL in SVGALIB mode

Post by co »

since sdl can also run on the framebuffer device, imho a general linux/unix solution would be better.
SB-X
Posts: 980
Joined: Thu May 14, 2020 1:34 pm

Re: SDL in SVGALIB mode

Post by SB-X »

How about an AAlib version of Exult?


No, I'm not joking.


Yes, you may ignore this message.
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: SDL in SVGALIB mode

Post by drcode »

I know you're joking... but thinking about it, it should be possible!

U7Rogue.
Locked