Page 2 of 2

Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Wed Mar 02, 2022 6:01 am
by limi
dfilskov wrote: Tue Mar 01, 2022 8:24 pm I hope cropping (with Integer) gets implemented as an OSD setting too for games run outside MegaAGS - since it's hard or expensive to get your hands on the MegaAGS release
“Expensive”, how? It’s not a product that is for sale.
since it doesn't work for users without a 1080p monitor and many users haven' set up a shared storage space (that MegaAGS Workbench can access in the MiSTer filesystem).
MegaAGS takes care of all of that for you, and 5× scale doesn’t make much sense in any other resolution than 1080p — I don’t think any of the other cores on the MiSTer support the 5× scale/crop in any other resolution either? In any case, this is pretty trivial to set up even if you’re not using MegaAGS, so other setups are free to use it — there’s nothing MegaAGS-specific about it.

Amiga has such wildly varying offsets that you really need hand-tuned settings per-game. It’s not like e.g. SNES where a couple of pixels nudging the image up or down will do it, its range is 0-60 pixels, depending. We didn’t implement it like this just to be non-standard 😊

Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Wed Mar 02, 2022 7:05 am
by dfilskov
I've only seen MegaAGS available at places like ebay where they sell sd cards (expensive is perhaps an exaggeration).

Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Wed Mar 02, 2022 7:06 am
by limi
dfilskov wrote: Wed Mar 02, 2022 7:05 am I've only seen MegaAGS available at places like this (expensive is perhaps an exaggeration) :

https://www.ebay.com/itm/373911746205
That’s ridiculous. Those people are selling copyrighted software, please report them.

Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Wed Mar 02, 2022 7:36 am
by dfilskov
limi wrote: Wed Mar 02, 2022 6:01 am 5× scale doesn’t make much sense in any other resolution than 1080p
I do appreciate your effort - definitely! - but aren't there any other resolutions than 1920x1080 where cropping would make the integer scaled image larger?

Perhaps on some of these more or less common display types:

1280x1024
1366x768
1400x1050
1440x1080
1680x1050
1600x1200
2560×1440
2048x1536 iPad 3 display
1920x1920 (I have two of those :) )

Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Wed Mar 02, 2022 7:40 am
by limi
dfilskov wrote: Wed Mar 02, 2022 7:36 am I do appreciate your effort - definitely! - but aren't there any other resolutions that 1920x1080 where cropping would make the integer scaled image larger?
Do any of those support 5× crop with the other cores, e.g. SNES?

Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Wed Mar 02, 2022 7:46 am
by dfilskov
I don't know - to me Amiga is more important :) - but I would very much appreciate cropping (or simply over-scaling) and positioning on any core to make integer-scaling even better :)

Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Wed Mar 02, 2022 7:48 am
by limi
Of course. But we are limited to what the framework supports. 😊

(also, not sure I’m up for doing 1200+ manually tweaked 5×PAL settings for 8 more resolution variants) 😅

Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Wed Mar 02, 2022 11:43 am
by Optiroc
I don't see any good integer scaling options besides 1080 currently. We want an integer ratio for incoming vertical resolutions in the 200-224 range. 200 lines was very common (probably the most common), but Amiga video output is very configurable so you see 216, 220, 224 and most everything in between (and beyond). 5X on 1080 gives 216 lines which fills most of the screen nicely for the vast majority of the library. When needing to drop down to 4X you get a viewport that is a bit too big (270 lines, which Amiga supports in overscan but no games went that far), but most titles can be framed nicely at 5X.

For 1440p (which many TVs don't support, and crucially mine doesn't :) ) you end up with 240 lines at 6X and no integer ratio for 7X, so you can't fill up the screen as nicely. Some PAL titles utilizing a large viewport would be framed better, certainly, but it would not be an overall win. Also, as limi says, this would require a separate build with lots of QA work.

Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Fri Oct 06, 2023 4:06 pm
by cobhc

Hi, I've been trying to make use of this. When I disable dynamic crop in the options menu, WHDLoad shows an error saying "setvadjust: unknown command" when booting a game. Is that normal?


Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Sat Oct 07, 2023 1:32 pm
by Optiroc
cobhc wrote: Fri Oct 06, 2023 4:06 pm

Hi, I've been trying to make use of this. When I disable dynamic crop in the options menu, WHDLoad shows an error saying "setvadjust: unknown command" when booting a game. Is that normal?

The “disable dynamic crop” setting is broken in one release, and removed after that one.


Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Sat Oct 07, 2023 7:48 pm
by cobhc

Ah, I see. I hadn't updated in a while!


Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Thu Nov 02, 2023 4:44 am
by ransom

Hi,

When I Force PAL in MegaAGS, I lose the 5x Vertical Per-Game integer Scaling.

Force Default/NTSC

20231102-154017-resized.jpg
20231102-154017-resized.jpg (73.29 KiB) Viewed 2164 times

Force PAL

20231102-153837-resized.jpg
20231102-153837-resized.jpg (63.06 KiB) Viewed 2164 times

It looks like it shrinks from the bottom, and laso squishing inwards left/right...

Tests above were done with a 1080P TV ^ Mister FPGA using MegaAGS-2023.07.17.7z

Is there a way to make the "Force PAL" option display in Full Screen with 5x Vertical Per-Game integer Scaling?

Also many games Speeds are way too fast in NTSC mode and I much prefer the PAL speeds resembling the A500 Speeds for Amiga games.

Thanks


Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Thu Nov 02, 2023 7:40 am
by limi
ransom wrote: Thu Nov 02, 2023 4:44 am

When I Force PAL in MegaAGS, I lose the 5x Vertical Per-Game integer Scaling.

Yes, this is intentional.

It looks like it shrinks from the bottom, and laso squishing inwards left/right...

Welcome to how PAL works 😉

Is there a way to make the "Force PAL" option display in Full Screen with 5x Vertical Per-Game integer Scaling?

If it’s not listed as a 5×PAL game, it wouldn’t have any offset values available, so no.

Also many games Speeds are way too fast in NTSC mode and I much prefer the PAL speeds resembling the A500 Speeds for Amiga games.

If you find any games which are erroneously configured as NTSC when they should be PAL, let us know in the issue tracker: https://github.com/amigavision/AmigaVision/issues


Re: 5× Vertical *Per-Game* Integer Scaling for Amiga Is Here

Posted: Thu Nov 02, 2023 8:34 am
by ransom

Ahh OK. Understood, So best keep it set as Video Mode = Default and look at teh description in the Hardware list of the game..

Example, New Zealand Story, OCS 5xPAL... that plays full screen in PAL mode

So If I want to Play Xenon 2 (OCS 5*NTSC) in PAL I force region to PAL and play in PAL Speed with a restricted window instead of full

One other thing ive noticed is that the in-game sound has waves of fading in and out, try the music intro of xenon 2 let it roll and listen.. it doesnt stay at the same volume?