Author Topic: Widescreen mod  (Read 13070 times)

Widescreen mod
« on: August 05, 2009, 11:53:04 PM »
I don't know how to do it or if it's even possible and that's what I'm here to find out.

I'm thinking of making (requesting someone else to make) a widescreen mod so Touhou looks good fullscreen on widescreen moniters.

I think it would be easy to do by keeping the ratio of the playing area the same but making the border where the score and stats are bigger to keep with the ratio of the moniter.

Drake

  • *
Re: Widescreen mod
« Reply #1 on: August 06, 2009, 12:37:51 AM »
No, you would have to alter a hell of a lot in the code to be able to stretch the sides.

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

Re: Widescreen mod
« Reply #2 on: August 06, 2009, 12:55:46 AM »
I don't know how to do it or if it's even possible and that's what I'm here to find out.

I'm thinking of making (requesting someone else to make) a widescreen mod so Touhou looks good fullscreen on widescreen moniters.

I think it would be easy to do by keeping the ratio of the playing area the same but making the border where the score and stats are bigger to keep with the ratio of the moniter.

Do you not have fixed aspect-ratio scaling? Or are you just trying to put more of your screen area to use?

Re: Widescreen mod
« Reply #3 on: August 06, 2009, 01:16:21 AM »
No, you would have to alter a hell of a lot in the code to be able to stretch the sides.
How about altering the main ratio to 16:9 and redrawing the sides to fit that without changing the playing area? Like instead of 640x480 make the game 853x480 without changing the playing area and redrawing the other area.

So the screen will be drawn like this: http://s958.photobucket.com/albums/ae68/z121231211/?action=view&current=th853x480.jpg

Or is that still too much work?

@chowell
Since my screen is a different aspect ratio than the game, it wouldn't look as good.

Drake

  • *
Re: Widescreen mod
« Reply #4 on: August 06, 2009, 01:20:15 AM »
It's the fact that you actually have to edit the window in so it's always there. Changing the graphic and plopping it back in is easy, but the game is still constantly stuck on the same window.

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

DarkslimeZ

  • A REIMU SLIME APPEARED.
  • COMMAND?
    • Eternal Temporality
Re: Widescreen mod
« Reply #5 on: August 06, 2009, 03:46:27 AM »
Fixed-aspect ratio scaling is what's needed; I use a widescreen, too, and wouldn't mind at all if there were black bars down the sides, rather than a lame extension of the background. Is there a way to have it scale properly?

[14:12] <~BoredTSO> you need to have enough fissile material in a certain density to reach supercriticality

Drake

  • *
Re: Widescreen mod
« Reply #6 on: August 06, 2009, 03:50:15 AM »
Oh, do any of you care whether or not you can see your desktop or whatever? You can use either Sizer or the VSync patch to scale the window. Just take the height of your resolution and multiply by 1.333etc for the width.

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

Re: Widescreen mod
« Reply #7 on: August 06, 2009, 04:03:57 AM »
It would be interesting if we could change the screen in widescreen monitors. When games are fullscreen only, I'm stuck with stretched graphics, and they might look bad sometimes (like in Kioh Gyoku) while for some other games the problem is minimal.

Re: Widescreen mod
« Reply #8 on: August 06, 2009, 07:53:10 AM »
The reason I asked about fixed aspect-ratio scaling is because it's the best solution to running fullscreen apps designed for a 4:3 aspect ratio on a widescreen display, assuming you don't mind the black bars on the screen edges.

Unfortunately, a lot of widescreen displays are stupid and won't do this sort of scaling; they'll just blindly stretch the image to cover the whole screen.  However, your graphics driver may have an option to do this scaling itself; check the display section of its control panel.  For example, I know NVIDIA drivers have this ability, since I use it with my laptop's 1280x800 display. The driver simply uses the GPU's scaling hardware to do this, so there's little or no performance cost.

Re: Widescreen mod
« Reply #9 on: August 06, 2009, 06:00:19 PM »
The reason I asked about fixed aspect-ratio scaling is because it's the best solution to running fullscreen apps designed for a 4:3 aspect ratio on a widescreen display, assuming you don't mind the black bars on the screen edges.

Unfortunately, a lot of widescreen displays are stupid and won't do this sort of scaling; they'll just blindly stretch the image to cover the whole screen.  However, your graphics driver may have an option to do this scaling itself; check the display section of its control panel.  For example, I know NVIDIA drivers have this ability, since I use it with my laptop's 1280x800 display. The driver simply uses the GPU's scaling hardware to do this, so there's little or no performance cost.
I'm using an ATI card and can't find the option to do that.

Re: Widescreen mod
« Reply #10 on: August 06, 2009, 07:22:40 PM »
However, your graphics driver may have an option to do this scaling itself; check the display section of its control panel.  For example, I know NVIDIA drivers have this ability, since I use it with my laptop's 1280x800 display.
I'm using an ATI card and can't find the option to do that.

Hmm, doing a Google search on the issue reveals that ATI has been somewhat slower to support this ability, which I hadn't realized, and that many users have complained about this.  However, from a cursory glance, it looks like they've fixed this in their newest desktop drivers, and that their laptop drivers have supported it for quite a while.  Maybe a driver update will work for you.

Re: Widescreen mod
« Reply #11 on: August 13, 2009, 10:08:32 AM »
It's the fact that you actually have to edit the window in so it's always there. Changing the graphic and plopping it back in is easy, but the game is still constantly stuck on the same window.
I still don't understand how that's harder than create_window(857,480) [psuedocode, btw, don't know what it's programmed in] but I know next to nothing (I created a game in Java before, so I think that counts as something) so can you please elaborate? Not trying to call you out on anything, I just want to know.