CBPS Forums

Console Hacking => PS Vita => Topic started by: cuevavirus on April 02, 2020, 06:29:27 AM

Title: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 02, 2020, 06:29:27 AM
Sharpscale is a PSTV and PS Vita plugin that changes the framebuffer to display scaling method to provide a cleaner and sharper image.

This plugin is the only method to obtain native resolution video capture with accurate colours at 60fps. A hardware capture kit for the Vita was previously available from Japan for $450 USD, but due to changes in Japanese laws, this is no longer available.

This is the first time in history a Vita nuova bounty organised by Rinnegamante has been filled. I want to thank the donors ScHlAuChii, eleriaqueen, mansjg, TG, as well as the excellent members of CBPS for the support they have provided.

I also want to thank rinne for diligently updating each bounty issue with the bounty total whenever someone else donated.

Usage:

Sharpscale can be configured to different scaling methods.

Scaling Modes:

- Original: system default
- Integer: integer scaling while fitting inside the display, for general use with bilinear filtering off
- Real: no scaling, for video capture
- Fitted: non integer scaling fitting exactly inside the display while preserving aspect ratio, for media use with bilinear filtering on, or PS1 with bilinear filtering off

PS1 aspect ratio modes:

- Pixel: aspect ratio of the framebuffer is retained
- 4:3, 16:9: aspect ratio are forced into those ratios, for PS1 games with widescreen modes or PS1 games that do not have framebuffer at 4:3

Bilinear filtering:

- On: system default
- Off: nearest neighbour

In Adrenaline, set graphics mode to original in Adrenaline settings.

Enable full HD:

This option enables large framebuffers from applications that support using large framebuffers.

Installation:

Code: [Select]
*KERNEL
ur0:tai/sharpscale.skprx

Configuration:

Use the provided configuration app to change settings instantly without needing to close the foreground application or needing to reboot.

If the config app crashes on startup, follow these steps:

1. Use the plugin and config app attached to this post
2. Ensure that the plugin is loaded. It will be immediately noticeable on startup if it is loaded.
3. Disable plugins for the config app by adding the following line

Code: [Select]
*!AKRK00005

before this line in the taihen config.txt

Code: [Select]
*ALL

(https://i.ibb.co/R6kFyxb/2020-05-05-200322-099589.png)

Preview video from Zodasaur:



Report bugs (https://github.com/cuevavirus/Sharpscale/issues)

Changelog

2020-05-05 v1.3.0

- Added an option to enable large framebuffer sizes, when the application uses large framebuffers

2020-04-24 v1.2.0

- Added options for PS1 aspect ratio modes
- Added fitted scaling mode
- Added config application (ur0:/data/sharpscale/config.txt no longer needed)

2020-04-09 v1.1.1

- Fixed a bug where some PS1 games had black screen in 1080i
- Centred the framebuffer when cropping occurs
- Enabled "display area settings" in original mode

2020-04-06 v1.1.0

All framebuffer sizes are now supported and there are now two configurable options, scaling mode, and bilinear filtering. Configuration is provided by a text file at ur0:/data/sharpscale/config.txt.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: hawk1024 on April 02, 2020, 09:27:38 AM
Amazing work @cuevavirus!

Would pstv be capable of outputting 1920x1200? In my (niche) case I have a 16:10 old Dell screen which has exactly that native resolution, but when feeded with 16:9 video it simply stretch it to fill the whole screen, blurring the image and destroying proportions - there are no built-in settings in the monitor to prevent that.

If pstv could serve 1920x1200 with black bars, then even those 8 lost lines would be back  ;D
Cheers!
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 02, 2020, 03:36:30 PM
I don't think 1920x1200 is possible because of hardware limitations.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: dots_tb on April 02, 2020, 07:18:56 PM
https://twitter.com/CBPS9/status/1245758302925062145 (https://twitter.com/CBPS9/status/1245758302925062145)
(https://i.ibb.co/b7Cv6w6/EUn-Sd2-YWo-AEQu-VE.png) (https://ibb.co/XVK5W0W)

Regardless, very nice work cuevavirus!
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: bitfan2011 on April 05, 2020, 02:59:32 AM
Thank you so much for this  8)

How do I get Adrenaline to obey the rules? It seems to do 2x on PSP games no matter what I try, even tho you can see it scaled down when you have the PS menu open? Weirdness
Would be awesome to have SS as well as 1x and 2x for PSP and PSX

Cheerz
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 05, 2020, 03:32:52 AM
adrenaline has a different sized framebuffer so it's not working at the moment, but I'll have that fixed soon
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: hexcode99 on April 05, 2020, 07:14:41 AM
adrenaline has a different sized framebuffer so it's not working at the moment, but I'll have that fixed soon

Just wanted to say thank you for your work with Sharpscale cuevavirus.  :)

So you are saying we will soon also be able to get native 480x272 output for PSP games (with black borders) from Adrenaline using Vita's 720p mode or will we need to switch Vita to 480p mode?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 05, 2020, 08:08:53 AM
No need to switch video modes. Either 480x272 or doubled 960x544 in 720p with black bars.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: hexcode99 on April 05, 2020, 08:46:01 AM
No need to switch video modes. Either 480x272 or doubled 960x544 in 720p with black bars.

Oh, so native PSP resolution now working in Adrenaline because of your plugin? How do you cycle/change between the 480x272 or 960x544 outputs?

You might be able to claim this bounty:
https://github.com/vita-nuova/bounties/issues/5
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 05, 2020, 08:59:22 AM
Either a config text file or a config app.

The other bounty is for rendering at 960x544, while this plugin changes how a rendered frame is scaled to the display output. For example if you are using 720p mode on PSTV, PSP games will render at 480x272 but will output 480x272 or 960x544 to the display, instead of 1280x720.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: hexcode99 on April 06, 2020, 04:03:48 AM
Either a config text file or a config app.

The other bounty is for rendering at 960x544, while this plugin changes how a rendered frame is scaled to the display output. For example if you are using 720p mode on PSTV, PSP games will render at 480x272 but will output 480x272 or 960x544 to the display, instead of 1280x720.

Will have to look into how to setup a config text file or find a config app. But is 480x272 with the black borders the default output option for PSP games when Vita is set to 720p?
And is this the thread to watch for "updated" versions of your plugin to download?

Thank you again.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 06, 2020, 04:12:52 AM
Yes please watch this thread for the latest updates. I will also provide information here on how to configure the next version of sharpscale. The default configuration is not yet decided.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 06, 2020, 11:25:53 PM
Sharpscale has been update with new features:

All framebuffer sizes are now supported and there are now two configurable options.

Scaling modes
    Original: system default
    Integer: integer scaling up to the largest size that fits inside the display resolution
    Real: no scaling is performed

Bilinear filtering
    On: system default
    Off: nearest neighbour

Here are some recommended configurations for different cases:

Games: integer bilinear off
Games with variable framebuffer size: original bilinear on
HDMI capture: real
Media: original bilinear on

For Adrenaline and PS1 games, disable any built-in scaling via the adrenaline options or quick menu (official) options.

Configuration is provided by a text file at ur0:/data/sharpscale/config.txt containing two numbers separated by a space.

    Scaling mode
        0 original
        1 integer
        2 real
    Bilinear filtering
        0 off
        1 on

For example, to use integer mode and turn off bilinear filtering, write "1 0" in the text file.

For source code and bug reports see https://github.com/cuevavirus/Sharpscale

Example: game with a framebuffer smaller than 960x544 outputting the unscaled framebuffer on the Vita

(https://i.ibb.co/nPGS3Pk/IMG-20200406-174811.jpg)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: hexcode99 on April 06, 2020, 11:53:53 PM
Looks great! ;D How do you configure the "Media: original bilinear" on/off setting though?
Your recommended configuration has three different settings but your example config file only has two settings. ???
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 07, 2020, 12:00:01 AM
That's two settings, original and bilinear on, for media playback.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: hexcode99 on April 07, 2020, 12:02:40 AM
Oh, I see now. ;D
Thanks!
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: ribald_om on April 07, 2020, 04:13:07 AM
Playing some PS1 games and this mod is making it real clear which games used variable resolutions, and for what.

Check out SotN or Chrono Cross, for example.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: kooliokool on April 08, 2020, 08:13:05 AM
So how do the configuration options work now with the video output in the settings?

How do the scaling mode and bilinear filter work with the 720p and 1080i options?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: capsilver on April 09, 2020, 06:44:21 AM
Interesting! I will try what it can do on my Vita Slim.

Thanks!
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: DaveGeorge on April 09, 2020, 12:23:50 PM
This is so great, been waiting for something like this since 2016 when I bought my PSTV! Thank you!

Would it be possible in the future to have different settings for different hdmi-output modes?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 09, 2020, 05:02:26 PM
Playing some PS1 games and this mod is making it real clear which games used variable resolutions, and for what.

Check out SotN or Chrono Cross, for example.

played both of these for like 5 min. while the resolution changes it doesnt change during actual gameplay.

This is so great, been waiting for something like this since 2016 when I bought my PSTV! Thank you!

Would it be possible in the future to have different settings for different hdmi-output modes?


stay tuned for 1080p30Hz
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 09, 2020, 06:05:41 PM
New version:

- Fixed a bug where some PS1 games had black screen in 1080i
- Centred the framebuffer when cropping occurs
- Enabled "display area settings" in original mode
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: yuuna on April 17, 2020, 04:19:05 AM
Trying PS1 widescreen patches.

Alundra - iso patch working (16:10)
Diablo - iso patch working, though this is extra wide screen (32:15)
Vagrant Story - patch (hex code) working, but image is still 4:3, so its squished.
Crash Team Racing - patch works, getting a squished image vertically though. (Seems to affect other Crash games too)
Ghost in the Shell - Game has native Widescreen mode, but image is still 4:3.

I think most widescreen mode/patch requires the emulator/device to output to fill the screen, and the AR/GS codes for widescreen don't work.
You need to apply an ISO patch if there is one.

Too bad I can't use the screenshot plugin to take a SS, as it resizes it to 3:4 (640x480)

@cuevavirus Is there a way to force the image to 16:9 or 4:3?

I will test out more and see what works and what doesn't.

Sorry for the shitty SS, using a phone.
Alundra ISO patched (16:10)
(https://i.imgur.com/F3ebokW.jpg?1)
Diablo ISO patched (32:15)
(https://i.imgur.com/qTklMK9.jpg?1)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: capsilver on April 20, 2020, 04:22:33 AM
Hi! I'm testing this amazing plugin on my Vita Slim, and when i tried Crash Bandicoot games (the trilogy) they look so tiny and with a forced 16:9 widscreen format compared with other games.
I've tested +30 other games and the only ones that look like that are the Crash Bandicoot games. Maybe there's more game that look like this. Any reason why? I've tested it with all modes 0 0, 1 0 and 2 0.

Crash 1
(https://i.imgur.com/Ph3aGxjl.jpg)

Dino Crisis
(https://i.imgur.com/QCDgGMml.jpg)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: yuuna on April 20, 2020, 03:40:54 PM
Hi! I'm testing this amazing plugin on my Vita Slim, and when i tried Crash Bandicoot games (the trilogy) they look so tiny and with a forced 16:9 widscreen format compared with other games.
Crash 1

I get the same with Crash Team Racing.

Also.. I don't think this plugin has any benefit for PS1 games on the Vita... the Vita should already accomplish this with the Screen Mode set to Original in official and adrenaline settings.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: capsilver on April 23, 2020, 05:01:43 PM
It would be possible to force PSX games to cover the top and bottom of the screen by keeping their 4:3 aspect ratio?

Example:
(https://i.imgur.com/P8F6lr2.jpg)

Now they look like this:
(https://i.imgur.com/QihGUAO.jpg)


Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 23, 2020, 06:25:16 PM
It would be possible to force PSX games to cover the top and bottom of the screen by keeping their 4:3 aspect ratio?

I had thought of this too. Here's Castlevania with aspect ratio forced to 4:3 and scaled to fit the screen exactly.

(https://i.ibb.co/cC73Xrc/IMG-20200423-121006.jpg)

Some games may have black bars on the top and bottom because they're part of the framebuffer.

(https://i.ibb.co/HXZG4P4/IMG-20200423-120729.jpg)

In 1080i mode some games will have a framebuffer too small to be scaled up to the full size of the display. Scaling is limited to 4x the original framebuffer size.

(https://i.ibb.co/MNfm52k/IMG-20200423-121417.jpg)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 23, 2020, 06:35:13 PM
Also.. I don't think this plugin has any benefit for PS1 games on the Vita... the Vita should already accomplish this with the Screen Mode set to Original in official and adrenaline settings.

I think original outputs a fixed 640x480. Maybe sometimes the integer mode will work better depending on the dimensions of the original framebuffer. But the Vita's screen is quiet good so it's not a big difference.

@cuevavirus Is there a way to force the image to 16:9 or 4:3?

I added options for those and a config app that let's you change it without having to restart or even close adrenaline. If other common ratios are used for widescreen patches I can add those too.

(https://i.ibb.co/pwLgGBc/2020-04-22-214811-477644.png)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: yuuna on April 23, 2020, 06:44:10 PM
It would be possible to force PSX games to cover the top and bottom of the screen by keeping their 4:3 aspect ratio?

The purpose of this plugin, is to output the image with correct scaling, without stretching the image,which can cause pixels to look blurry.

If you want the image to fit the PSVita screen, then you should use the VITA's official scaling options.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: yuuna on April 23, 2020, 06:47:36 PM
I added options for those and a config app that let's you change it without having to restart or even close adrenaline. If other common ratios are used for widescreen patches I can add those too.

(https://i.ibb.co/pwLgGBc/2020-04-22-214811-477644.png)

This looks good, other than 4:3, 16:9 ratio... Alundra is 16:10 and the odd Diablo one which is 32:15 ultrawide.

I'm assuming the 'Pixel' option is force ratio off?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: capsilver on April 23, 2020, 10:30:35 PM
I added options for those and a config app that let's you change it without having to restart or even close adrenaline. If other common ratios are used for widescreen patches I can add those too.

(https://i.ibb.co/pwLgGBc/2020-04-22-214811-477644.png)

That's look dope! Can't wait to try it. Great work!

The purpose of this plugin, is to output the image with correct scaling, without stretching the image,which can cause pixels to look blurry.

If you want the image to fit the PSVita screen, then you should use the VITA's official scaling options.

But you can't get that result with Adrenalin/PSP scaling options.

Also my question is why on my phone that is a 5" Full HD display, when i run Symphony of the Night in the correct scale at full screen it look pixel perfect and when i force it with Custom scalin on Adrenaline pixels look distorted?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: yuuna on April 24, 2020, 02:24:17 AM
Also my question is why on my phone that is a 5" Full HD display, when i run Symphony of the Night in the correct scale at full screen it look pixel perfect and when i force it with Custom scalin on Adrenaline pixels look distorted?

What this plugin is accomplishing, is getting a pixel perfect image. (Integer scaling or at native resolution)
In order to get that, you need to multiply the amount of pixel in factors of whole numbers. (2/3/4 etc).
I think this picture is the perfect example to describe integer scaling.
(https://www.nomachetejuggling.com/assets/retro_2xscale.png)

If the resolution is smaller than the screen's resolution, and you want to fill it.. you will have to stretch the image..

If you look at the Vita resolution 960x544, and PSP/Adrenaline runs at 480x272.. it's exactly half amount of pixels.. so technically the Vita is upscaling PSP image by 2, since it fits perfectly.
Which is why the image looks so clear.

Now, does your phone screen have enough pixels to multiply in whole numbers? if not, then it's not pixel perfect...
So when you stretch a resolution to fit, you are multiplying the pixel by fractions/decimals, then it no longer becomes integer.
Emulators will use filters to smooth the image, so it doesn't look bad. and some use scan line filter to mimic the pixel effect.
(https://camo.githubusercontent.com/b63f3cbd66bb41aa8e995d2a56baf7e0469967a8/68747470733a2f2f726574726f7069652e6f72672e756b2f666f72756d2f75706c6f6164732f66696c65732f313437383631333031383436392d75706c6f61642d35313465313930652d313632642d343931372d623332642d6139653538343039343033392d726573697a65642e706e67)

Check this image, basically compares integer scaling vs bilinear scaling (which is what emulators use for up-scaling)
https://www.techpowerup.com/img/kLGzbamqwTe0uFMb.jpg (https://www.techpowerup.com/img/kLGzbamqwTe0uFMb.jpg)
To most people this is tolerable, or some might not even notice, since they probably played these games on a CRT back in the days..

I hope this is not too difficult to understand, I'm having a little trouble trying to explain this lol..
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: capsilver on April 24, 2020, 04:01:04 AM
Very detailed explanation. And I get it. I can't stand play classic games with a distorted or blurry pixel ratio. And there's a lot of great 2D games on the PSX.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: yuuna on April 24, 2020, 07:25:19 PM
Installed dolcesdk, tried to compile it and failed, I'll just wait  :P

plugin compiled, but the config app failed... I believe it's most likely due to libvita2d_sys

Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: capsilver on April 24, 2020, 09:33:48 PM
Installed dolcesdk, tried to compile it and failed, I'll just wait  :P

plugin compiled, but the config app failed... I believe it's most likely due to libvita2d_sys
Did cuevavirus posted the latest version? I don't see it on the main post.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 24, 2020, 09:39:13 PM
Here it is lads

New version 2020-04-24

- Added options for PS1 aspect ratio modes
- Added fitted scaling mode
- Added config application (ur0:/data/sharpscale/config.txt no longer needed)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: yuuna on April 24, 2020, 09:40:24 PM
Thank you very much!  ;D
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 24, 2020, 09:44:52 PM
This looks good, other than 4:3, 16:9 ratio... Alundra is 16:10 and the odd Diablo one which is 32:15 ultrawide.

I'm assuming the 'Pixel' option is force ratio off?

Yeah pixel just uses the ratio of the framebuffer. I think Alundra and Diablo looks fine using the pixel ratio, maybe just games like Ghost in the Shell with a built-in widescreen mode needs to be forced to 16:9.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: yuuna on April 24, 2020, 10:10:34 PM
This looks good, other than 4:3, 16:9 ratio... Alundra is 16:10 and the odd Diablo one which is 32:15 ultrawide.

I'm assuming the 'Pixel' option is force ratio off?

Yeah pixel just uses the ratio of the framebuffer. I think Alundra and Diablo looks fine using the pixel ratio, maybe just games like Ghost in the Shell with a built-in widescreen mode needs to be forced to 16:9.

It's working great!! Tried on Crash Team Racing (widescreen patched), Vagrant Story (widescreen patched), Legend of Dragoon (original image is actually larger than 4:3), Fear Effect (widescreen patched).

Ghost in the shell seems to have a low resolution, but now widescreen works correctly..

720p btw.

Thanks!

(https://i.imgur.com/lmyQKOS.jpg?1)
(https://i.imgur.com/AHh0g1C.jpg?1)
(https://i.imgur.com/Pl262SF.jpg?1)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: W00fer on April 24, 2020, 10:20:44 PM
Here it is lads

New version 2020-04-24

- Added options for PS1 aspect ratio modes
- Added fitted scaling mode
- Added config application

Would it be possible to integrate the resolution options into Henkaku menu on PSTV?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: capsilver on April 25, 2020, 03:52:25 AM
Thank you! @cuevavirus!

It's working great!! Tried on Crash Team Racing (widescreen patched), Vagrant Story (widescreen patched), Legend of Dragoon (original image is actually larger than 4:3), Fear Effect (widescreen patched).

How do you apply widescreen patches?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 25, 2020, 04:15:03 AM
that's right you can delete config.txt. double tap the ps button to return to the main menu from adrenaline.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: yuuna on April 25, 2020, 12:08:20 PM
How do you apply widescreen patches?

There's an PSOne widescreen archive you can download from the PCSX2 forums.. some are cheat codes, some are ppf patches, and some require you to hex edit a game file.

https://forums.pcsx2.net/Thread-PSOne-Widescreen-Patches
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: arcadekidflo on April 25, 2020, 01:47:29 PM
Any chance for a PS3 port ? :)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: kimbapslice on April 26, 2020, 03:49:37 AM
I just wanted to say thank you Cuevavirus for making this plugin. It is so amazing to be able to play Vita, PSP, and PSX games on the VITA TV in correct pixel, correct aspect ratio, and without bilinear filtering. It's a dream come true. On the regular vita, disabling bilinear filtering is a giant leap for PSP games, night and day. Everything is so sharp.

Thank you thank you for putting together one of the last puzzle pieces for vita homebrew.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: yuuna on April 26, 2020, 05:35:19 AM
Works well with Retroarch. (set integer scaling within retroarch as well  8) )
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: ribald_om on April 26, 2020, 06:40:54 AM
Do sharpscale's aspect ratio settings conflict with Adrenaline's scaling settings? Should I set them back to 1 for ps1 games if I had it adjusted it to get 4:3?

What is the advantage of Fitted over Original?

I may be crazy and this may not actually have anything to do with this plugin, but there's something about playing SotN without filters in 1080i and 720p . The pixels look sharp and amazing, but the screen scrolling looks bad, like there's tearing or something.

After some experimenting with 480p I think I've found the best compromise I can for making ps1 game look sharp as possible while also filling the screen as much as possible, and also keeping the aspect ratio from changing on variable resolution ps1 games:

Manually set my display to 4:3

Set Vita TV to 480p

Set Shapscale to

Ignteger
4:3
Billinear off (obviously)

I'm guessing to also accomplish this for psp games, I'd just change the aspect settings on my tv and leave everything else the same?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 26, 2020, 06:59:18 AM
Do sharpscale's aspect ratio settings conflict with Adrenaline's scaling settings? Should I set them back to 1 for ps1 games if I had it adjusted it to get 4:3?

What is the advantage of Fitted over Original?

I may be crazy and this may not actually have anything to do with this plugin, but there's something about playing SotN without filters in 1080i and 720p . The pixels look sharp and amazing, but the screen scrolling looks bad, like there's tearing or something.

If you have the graphics mode in Adrenaline set to anything besides original, adrenaline will perform GPU scaling to 960x544, so just leave it at original. Fitted is for if you want to watch a video or have a PS1 game fit the whole screen. I've also noticed tearing with bilinear filtering off in a PSP game but not in SotN. Maybe turning it off causes something to go out of sync and that's why without this plugin bilinear filtering is enforced in Pspemu.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: ribald_om on April 26, 2020, 07:30:09 AM
fwiw I'm digging how 480p is looking with those settings. Things looks sharp, image is constantly 4:3 and fills the screen no matter the ps1 game resolution. Tested with SotN, Chrono Cross and Vagrant Story.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: as905 on April 26, 2020, 08:00:50 AM
i'm having issue with Ps Vita TV which is set to 720p while i can notice improvement in Vita games the image quality is really poor & very pixelated in adrenaline,any help would be greatly appreciated as i really want this to work just as well as it does on my Ps Vita console. also i noticed on the PS TV the official settings are missing all the options apart from ( Disc Speed ) but on Vita Console all of the original options are present !!
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 26, 2020, 08:05:35 AM
You can try turning on bilinear filtering, that will make it look less pixelated but more blurry. PSP's framebuffer is very small (480x272) so either it will look pixelated or blurry.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: as905 on April 26, 2020, 08:16:28 AM
what i don't understand is why this tool works for Vita console in all modes,Vita,PSP,PS1 but only works in Vita mode on PS TV !!! why are the Adrenaline official settings missing from Ps TV but are present on PS Vita console !! something isn't right & i can't figure out what it is !! any help is really appreciated.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on April 26, 2020, 08:29:53 AM
It works identically on both the vita and pstv. If your concern is that things look pixelated without bilinear filtering on the pstv, then it's because the vita's screen has a higher pixel density, so you don't notice it as clearly. In fact bilinear filtering is otherwise not possible to disable on the pstv without this plugin. On the vita there are built-in scaling options for PS1 games so it's not necessary to use this plugin.

Official settings are unrelated.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: as905 on April 26, 2020, 08:56:03 AM
is the scaling options for PS1 games also available on PS TV ? or just Vita Handheld ?

the reason why i'm asking this is because when i click on other settings in Vita i can change PS1 games to Full screen but on PS TV this option is missing,the only option available is changing disc speed !! any idea why ?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: yuuna on April 26, 2020, 12:03:04 PM
is the scaling options for PS1 games also available on PS TV ? or just Vita Handheld ?

the reason why i'm asking this is because when i click on other settings in Vita i can change PS1 games to Full screen but on PS TV this option is missing,the only option available is changing disc speed !! any idea why ?

Only Sony can answer that question.  ::)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: as905 on April 26, 2020, 05:13:06 PM
Only Sony can answer that question.  ::)

ok can you please tell me how did you manage to get Crash Team Racing looking sharp on widescreen setting on PstV @720p ? on my PsTV it doesn't look anywhere near as good !! actually it looks bad
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: yuuna on April 26, 2020, 06:15:01 PM
Only Sony can answer that question.  ::)

ok can you please tell me how did you manage to get Crash Team Racing looking sharp on widescreen setting on PstV @720p ? on my PsTV it doesn't look anywhere near as good !! actually it looks bad

not doing anything special, other than doing a widescreen patch on the game.. you can do this with cheat code or patching the game directly.. check my earlier post, I linked the thread that has the widescreen codes/patches. 720p integer scaling, 16:9 and bilinear off
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: ribald_om on April 26, 2020, 07:45:03 PM
Only Sony can answer that question.  ::)

ok can you please tell me how did you manage to get Crash Team Racing looking sharp on widescreen setting on PstV @720p ? on my PsTV it doesn't look anywhere near as good !! actually it looks bad

Can you define what "looks bad" means?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: CruelTott on April 26, 2020, 08:14:04 PM
I also ran across the problem of the scrolling not being smooth in SOTN and other 2D games when running with "Original" graphics in 720p.
So I messed around in the Adrenaline code and found a way to make it run better.

This is the change I made:
https://github.com/CruelTott/Adrenaline/commit/3e05688e178b082c8353a38ae382aeb1f15aac62

Maybe it will be useful to some of you.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: yuuna on April 26, 2020, 08:38:55 PM
I also ran across the problem of the scrolling not being smooth in SOTN and other 2D games when running with "Original" graphics in 720p.
So I messed around in the Adrenaline code and found a way to make it run better.

This is the change I made:
https://github.com/CruelTott/Adrenaline/commit/3e05688e178b082c8353a38ae382aeb1f15aac62

Maybe it will be useful to some of you.

Nice!
Edit: I mean replace this module in the install folder?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: CruelTott on April 26, 2020, 08:49:29 PM
Nice!
Edit: I mean replace this module in the install folder?

Yes. Just replace the file in app/PSPEMUCFW/sce_module/.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: as905 on April 26, 2020, 09:19:57 PM
Can you define what "looks bad" means?

worse than original ps1 graphics
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: ribald_om on April 26, 2020, 09:22:05 PM
I also ran across the problem of the scrolling not being smooth in SOTN and other 2D games when running with "Original" graphics in 720p.
So I messed around in the Adrenaline code and found a way to make it run better.

This is the change I made:
https://github.com/CruelTott/Adrenaline/commit/3e05688e178b082c8353a38ae382aeb1f15aac62

Maybe it will be useful to some of you.

This works fantastic, thank you!
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: teakhanirons on April 26, 2020, 09:28:34 PM
I also ran across the problem of the scrolling not being smooth in SOTN and other 2D games when running with "Original" graphics in 720p.
So I messed around in the Adrenaline code and found a way to make it run better.

This is the change I made:
https://github.com/CruelTott/Adrenaline/commit/3e05688e178b082c8353a38ae382aeb1f15aac62

Maybe it will be useful to some of you.

Maybe a pull request to Flow's Adrenaline repo so this is official?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: ribald_om on April 26, 2020, 09:35:04 PM
Can you define what "looks bad" means?

worse than original ps1 graphics

Someone correct me if I'm wrong, but if your complaint is that it "looks pixelated" that's kind of the whole point of this plugin. It keeps the pixels sharp by not letting them get warped by filtering or stretching. You might think that looks bad, and it's not what the original game looked liked because it would have been blurred on a crt.

I think what you are actually looking for is a box that will run a ps1 emulator so you can do things like increase the game's internal resolution and use antialiasing so the polygons of 3d games will look sharp.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on May 06, 2020, 02:07:52 AM
New version

2020-05-05 v1.3.0

- Added an option to enable large framebuffer sizes, when the application uses large framebuffers

See OP for download.

As an example of a retail game running at a size larger than 960x544, we have release a 720p patch for Catherine Full Body (https://forum.devchroma.nl/index.php/topic,154.0.html).
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: capsilver on May 22, 2020, 05:07:38 AM
Thank you @cuevavirus
I wonder if its possible to add an scanline (or crt) filter to the sharpscale options since this plugin only work when you use "Original" settings on Adrenaline options.
I think scanlines will really helps games to look better when bilinear filter is activated using Fitted + 4:3 combo.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on May 22, 2020, 04:40:20 PM
This patch removes GPU scaling in all graphics modes. But adrenaline requires many steps to build so I don't want to do it.