real numbers in scaling?!

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
Krazed

real numbers in scaling?!

Post by Krazed »

So I'm making my wife play BG so she can appriciate the perfection that U7 is... But she makes me set things up so she can sit comfortably on the couch and play on the TV with the wireless keyboard & mouse. The problem with this is that the TV output is crummy. 320x200 easily fits, but is impossible to read. Even with a 2x scale it is annoying after a couple minutes. The TV resoulution seems to be 800x600. If I do a 3x scale it's easy to read but it doesn't all fit on the screen. I had it set to a resolution of 264x165 at a scale of 3x so it fit on the TV but she just got her 7th companion and he doesn't fit on the screen at the bottom. Currently exult doesn't seem to support real numbers for scaling. 2.5x would give me a nice 800x500 window at a resolution of 320x200. Not sure what issues that rasises though... who's ever heard of half a pixel!? Would it be possible to do something like this?

Thanks for reviving U7... :)
nadir
Site Admin
Posts: 407
Joined: Thu May 14, 2020 1:34 pm

Re: real numbers in scaling?!

Post by nadir »

While theoretically possible, using floating point (or even fixed point) is very expensive in terms of CPU power.
fliptw

Re: real numbers in scaling?!

Post by fliptw »

get a HDTV. you be much pleased.

but, you have to face up to the fact how crappy tvs are resolution wise

and the resolution is like 640x480 for most tvs. I don't seriously bank on getting any higher than that.
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: real numbers in scaling?!

Post by drcode »

Are you running from Windows? If so, set the desktop to a smaller resolution, like 640x480, and run with 2X scaling.

If in Linux, set your Xserver to 640x480.
Locked