devilutionX icon indicating copy to clipboard operation
devilutionX copied to clipboard

[Feature Request]: Selectable Resolution at original XBox Port

Open Gunnar-GO opened this issue 1 year ago • 5 comments

Feature Type

Quality of Life

Describe

At the actual release (1.5.2) the ini modification to 1280x720 works flawless, just kinda slow. Gives the feeling nearly 30 years ago on an old PC. (9ish FPS)

The ingame menu gives as resolution option 480 and 0. so it is not directly selectable, also 0 just gives an empty image if restarted with this selection.

Gunnar-GO avatar Jul 10 '24 03:07 Gunnar-GO

We don't have a way to detect if the system is able to run 1280x720, is there a way you know to check this?

0 should of cause be filtered out, are you able to see where it is coming from?

AJenbo avatar Jul 10 '24 10:07 AJenbo

Since every xbox is capable of 480 i/p , 720p and 1080i, is it needed to be filtered? 480p and 720p should be a safe option.

(since 480p is the default) i assume the option 0 is a return message of avaible resolutions? maybe an SDL-Test fails.

Gunnar-GO avatar Jul 10 '24 22:07 Gunnar-GO

Not every connection or TV is able to display more then 480p, or is there some scaling magic that will then down scale the upscaled image?

AJenbo avatar Jul 11 '24 04:07 AJenbo

The original XBox knows two states: PAL or NTSC. At NTSC and combined with component-cables (YPbPr) you can get 480p, 720p or 1080i .. at every other standard-connection (Composite, S-Video, RGB over SCART/JP-21) you only reach 480i .. so if you can use 480p you should also can use 720p. Since it is only an entry in the config every xbox is theoretical capable. Only a few crt can work with 480p, so it is a safe bet.

I didn't tried if DevilutionX can run at 480i, since my beamer can't use this at component/hdmi.

Gunnar-GO avatar Jul 12 '24 06:07 Gunnar-GO

maybe an check if 720p is valid like lithiumX can be implemented, since it depends also on nxdk:

https://github.com/Ryzee119/LithiumX/commit/f441c883a730bb52de11b16e9ad91c65af208c18

Gunnar-GO avatar Jul 12 '24 06:07 Gunnar-GO