VSCALE_BORDER not taken into consideration ?

mahen
Posts: 185
Joined: Sun May 24, 2020 8:25 pm
Has thanked: 19 times
Been thanked: 6 times

VSCALE_BORDER not taken into consideration ?

Unread post by mahen »

Hi !

I'm using this aforementioned setting to reduce the picture size (along with integer scales) in some cores, depending on how "fine" (less blocky) I want the picture to be.

It seems the setting is not applied in the GBA core. I tried several values, I tried to set it as global, or just for the core (after [GBA]), to no avail.
The setting is applied properly in the GAMEBOY core for instance.

Any idea ?
Cheers !

EDIT : it seems the value is not applied anywhere anymore actually. Gonna check what is wrong.
User avatar
JBeau
Posts: 19
Joined: Sun May 24, 2020 8:00 pm
Has thanked: 1 time
Been thanked: 1 time

Re: VSCALE_BORDER not taken into consideration ?

Unread post by JBeau »

Hey! I tried this too the other day. Didn’t work for me either. If you’ve found a solution I’m all ears :)
mahen
Posts: 185
Joined: Sun May 24, 2020 8:25 pm
Has thanked: 19 times
Been thanked: 6 times

Re: VSCALE_BORDER not taken into consideration ?

Unread post by mahen »

It used to work actually !
12characters
Posts: 125
Joined: Wed Jun 03, 2020 5:39 pm
Has thanked: 8 times
Been thanked: 36 times

Re: VSCALE_BORDER not taken into consideration ?

Unread post by 12characters »

I noticed some months ago that vscale_mode and vscale_border no longer work together. Only by setting vscale_mode=0 would the latter setting work. I chose to sacrifice this in order to keep the integer scaling.

And yes, it is not core specific.
User avatar
Sorgelig
Site Admin
Posts: 890
Joined: Thu May 21, 2020 9:49 pm
Has thanked: 2 times
Been thanked: 214 times

Re: VSCALE_BORDER not taken into consideration ?

Unread post by Sorgelig »

border is not applied to framebuffer mode. If you use GBA with 2x resolution, then it uses framebuffer.
mahen
Posts: 185
Joined: Sun May 24, 2020 8:25 pm
Has thanked: 19 times
Been thanked: 6 times

Re: VSCALE_BORDER not taken into consideration ?

Unread post by mahen »

Hi Sorge ! Actually, unless I'm mistaken, it's not applied in any core ATM ?

I'm trying to make the DOS (or SNES, Neo Geo, Genesis) core use a smaller form factor -- 5x is too much for me, I want to stick to 4x as the Amiga core, easier on my eyes, less blocky... The picture is closer to what I used to have on my small TV back in my childhood when this scaling factor is applied :)

I'm pretty sure it used to work. I used to apply it on the SNES & Neo Geo cores for instance. 1 year back or so ?

Cheers :)
FoxbatStargazer
Top Contributor
Posts: 1019
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 315 times
Been thanked: 238 times

Re: VSCALE_BORDER not taken into consideration ?

Unread post by FoxbatStargazer »

It seems like vscale_border needs integer scaling disabled (vscale_mode=0). So you pick one or the other. (Not sure how it interacts with some of the newer HUD integer scale options.)

However I'm not sure you need vscale_border to do what you want? vscale_mode=1 is going to yield 4x vertical integer scale for most cores at 1080p (maybe you are using 1200p?)

DOS is a bit tricky because the low res VGA is only 200p... so yeah that is a 5x scale. DOS text however is 400p. In the core video options there's something "low res = native" I think if you flip it to 4x, it will render 640x400 before upscaling, meaning it should end up 1280x800 AKA effectively 4x scale at 1080p.
mahen
Posts: 185
Joined: Sun May 24, 2020 8:25 pm
Has thanked: 19 times
Been thanked: 6 times

Re: VSCALE_BORDER not taken into consideration ?

Unread post by mahen »

Hi ! Thanks for the reply ! Hmm, the behaviour must have changed then, because it used to work along with integer scaling.

Thanks for the suggestion but if I use lowres = 4x I cannot apply the scanlines properly to the base picture but only to the upscaled one !

Tricky one Indeed ! :) Would be awesome if there was some "max scaling Factory option" :) cheers !
mahen
Posts: 185
Joined: Sun May 24, 2020 8:25 pm
Has thanked: 19 times
Been thanked: 6 times

Re: VSCALE_BORDER not taken into consideration ?

Unread post by mahen »

Just to be more accurate : in the past, when enabling both vscale_border and integer scaling, what would happen was :

- for instance, if you used a 1080p mode with a border of 50 and a 240p core
- it would find the biggest possible multiply of 240 in (1080 minus 50)
- in this case : it would make no difference as it would still be a factor of 4. But with other resolutions it would. For instance, compare Amiga NTSC vs Amiga PAL resolution.

- in modes with 200 lines, it would enable to reduce the factor from 5 to 4

I actually think this option made sense if you wanted to prevent overly big pixels ? Also it could be specified on a per core basis.
FoxbatStargazer
Top Contributor
Posts: 1019
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 315 times
Been thanked: 238 times

Re: VSCALE_BORDER not taken into consideration ?

Unread post by FoxbatStargazer »

mahen wrote: Mon May 31, 2021 5:13 am Hi ! Thanks for the reply ! Hmm, the behaviour must have changed then, because it used to work along with integer scaling.

Thanks for the suggestion but if I use lowres = 4x I cannot apply the scanlines properly to the base picture but only to the upscaled one !

Tricky one Indeed ! :) Would be awesome if there was some "max scaling Factory option" :) cheers !
15khz scanlines on DOS games is some real blasphemy :x (I say as I am enjoying consoles at 480p on VGA... :P )
mahen
Posts: 185
Joined: Sun May 24, 2020 8:25 pm
Has thanked: 19 times
Been thanked: 6 times

Re: VSCALE_BORDER not taken into consideration ?

Unread post by mahen »

Hehe, yeah, I'm an ST/Amiga guy and was shocked back then when seeing the same games on my friends' PCs. They looked way blockier ;)
mahen
Posts: 185
Joined: Sun May 24, 2020 8:25 pm
Has thanked: 19 times
Been thanked: 6 times

Re: VSCALE_BORDER not taken into consideration ?

Unread post by mahen »

I temporarily worked around this by specifying a vscale_border of 140 to get a 4x scaling with perfect scanlines on the DOS core. Obviously, it only works if games use a 320x200 resolution. Of the game is in 320x240 (ex. Blackthorne) scanlines look bad :)
Post Reply