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:

- Pixel: aspect ratio of the framebuffer is retained
- 4∶3: aspect ratio is forced to 4∶3
- 16∶9: aspect ratio is forced to 16∶9

Scaling algorithm:

- Point: nearest neighbour
- Bilinear: bilinear interpolation (system default)

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

Unlock framebuffer size:

- On: allow framebuffers of sizes 1280x720, 1440x1080, and 1920x1080 to be used
- Off: system default

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.

(https://git.shotatoshounenwachigau.moe/vita/sharpscale/plain/preview-config-app.png?h=assets)

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

Preview video from Zodasaur:



Source code (https://git.shotatoshounenwachigau.moe/vita/sharpscale)
Report bugs (https://github.com/cuevavirus/Sharpscale/issues)

Changelog

2020-06-13 v1.5.0

- Texts in the configuration app has been changed for clarity
- Configuration app has a manual that can be opened from the LiveArea
- kernel plugin does not need to be updated

2020-06-09 v1.4.0

- Allow enable HD framebuffer sizes on the Vita
- Add HD resolutions to scaling test
- Fixed crashes in config app
- Bilinear filtering reverts to system default whenever scaling is not applied

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.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: kimbapslice on May 26, 2020, 06:15:34 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.

Would this remove the bad scaling/filtering on 2D PSP games like Street Figher Alpha 3 via Adrenaline?

CruelTott, would you be able to build this custom Adrenaline module please?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: CruelTott on May 27, 2020, 07:29:22 PM
Unless I'm reading the patch wrong, all it does is remove the scaling options from the menu and hard code them to 1.0.
So you should get the same effect just setting those options to 1.0 in the menu.

And the result is that PSX games are still blurry when not using the "Original" mode.
I think the blurring happens earlier internally in POPS.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: kimbapslice on May 28, 2020, 04:13:39 AM
Unless I'm reading the patch wrong, all it does is remove the scaling options from the menu and hard code them to 1.0.
So you should get the same effect just setting those options to 1.0 in the menu.

And the result is that PSX games are still blurry when not using the "Original" mode.
I think the blurring happens earlier internally in POPS.

Thanks for the info CruelTott. Just throwing this out there, 2D only PSP games like Street Fighter Alpha 3, Darkstalkers, etc their pixels seem filtered somehow. I am wondering if this is just internal to the Vita PSP emulator and that there's nothing we can do about it.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: teakhanirons on May 28, 2020, 02:22:46 PM
Unless I'm reading the patch wrong, all it does is remove the scaling options from the menu and hard code them to 1.0.
So you should get the same effect just setting those options to 1.0 in the menu.

And the result is that PSX games are still blurry when not using the "Original" mode.
I think the blurring happens earlier internally in POPS.

Thanks for the info CruelTott. Just throwing this out there, 2D only PSP games like Street Fighter Alpha 3, Darkstalkers, etc their pixels seem filtered somehow. I am wondering if this is just internal to the Vita PSP emulator and that there's nothing we can do about it.

Do you mean a sort of blurry/anti-aliasing effect? More specifically, bilinear?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: kimbapslice on May 28, 2020, 04:51:07 PM
It appears to be some sort of anti-aliasing effect because I have bilinear disabled for everything. PSX games from Adrenaline displays pixel sharp without this blurriness. I will try to take some screenshots later.

1080i vita config, adrenaline set to original
(https://i.ibb.co/dMKDVh9/1080iconfig.jpg) (https://ibb.co/C80QYrd)

PSP Darkstalker 3 anti-aliasing or interpolation?
(https://i.ibb.co/0fsr8BX/ds3psp1.jpg) (https://ibb.co/7GkK8gz)

(https://i.ibb.co/KctzZDC/ds3psp2.jpg) (https://ibb.co/Myz5Tfq)

(https://i.ibb.co/25cNRvn/ds3psp3.jpg) (https://ibb.co/kMq1z4H)


PSX Darkstalker 3 sharp
(https://i.ibb.co/VBktbMN/ds3psx1.jpg) (https://ibb.co/2KpyRc6)

(https://i.ibb.co/tmWDbp4/ds3psx2.jpg) (https://ibb.co/0Ddrfyc)



PSP Street Fighter Alpha 3 anti-aliasing or interpolation?

(https://i.ibb.co/pd8KGqM/sfa3psp2.jpg) (https://ibb.co/HqsP1Zb)

(https://i.ibb.co/Ldks1br/sfa3psp3.jpg) (https://ibb.co/DfVjQsY)

(https://i.ibb.co/5RmMrQV/sfa3psp1.jpg) (https://ibb.co/RDfv3XW)

PSX Street Fighter Alpha 3 sharp

(https://i.ibb.co/k256RSb/sfa3psx1.jpg) (https://ibb.co/GQn3K5Y)

(https://i.ibb.co/Yb5BvFp/sfa3psx2.jpg) (https://ibb.co/g60ZsLz)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on May 28, 2020, 06:27:38 PM
Unless I'm reading the patch wrong, all it does is remove the scaling options from the menu and hard code them to 1.0.
So you should get the same effect just setting those options to 1.0 in the menu.

And the result is that PSX games are still blurry when not using the "Original" mode.
I think the blurring happens earlier internally in POPS.

Youre right it will still use a 960x544 framebuffer because of vita2d. To do this then vita2d has to be patched to set variable framebuffer sizes through sceDisplaySetFrameBufForCompat. I don't know how pops_data gets the framebuffer but it looks like vita_pops.h has the address for pops framebuffer info.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on June 09, 2020, 11:24:10 PM
Sharpscale version 1.4.0

- Allow enable HD framebuffer sizes on the Vita
- Add HD resolutions to scaling test
- Fixed crashes in config app
- Bilinear filtering reverts to system default whenever scaling is not applied

See OP for download.

Please see also the Persona 4 Golden HD patch (https://forum.devchroma.nl/index.php/topic,193.0.html) and Catherine Full Body HD patch (https://forum.devchroma.nl/index.php/topic,154.0.html) which can be now used on both Vitas and PSTVs.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on June 13, 2020, 06:57:05 AM
Sharpscale version 1.5.0

- Texts in the configuration app has been changed for clarity
- Configuration app has a manual that can be opened from the LiveArea
- kernel plugin does not need to be updated

See OP for download.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: capsilver on June 19, 2020, 12:08:57 AM
Look cuevavirus. Your plugin is famous!

https://www.youtube.com/watch?v=EyNqB6_fsDM (https://www.youtube.com/watch?v=EyNqB6_fsDM)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: mic on June 20, 2020, 03:38:01 AM
Sharpscale version 1.5.0

- Texts in the configuration app has been changed for clarity
- Configuration app has a manual that can be opened from the LiveArea
- kernel plugin does not need to be updated

See OP for download.
Hey i have an issue with the release, i installed it through autopluginii, now the vitatv doesnt work in any of my tvs, i try to boot without plugins (l1) but then no app wants to open, they get stuck , what do i do, nothing seems to work right now
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: Alduin3000 on June 20, 2020, 01:55:51 PM
Hi!
I have a problem with my Vita TV output. After I have configurated sharpscale the 1080i option is disappared, and now my VitaTV can only output 480p and 720p.
I deactivated the plugin, but the 1080i option is still missing. What's happening here?

My goal is to set 1080i with integer scaling. I have 4K monitor.

Thanks in advance.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on June 20, 2020, 08:37:31 PM
Hey i have an issue with the release, i installed it through autopluginii, now the vitatv doesnt work in any of my tvs, i try to boot without plugins (l1) but then no app wants to open, they get stuck , what do i do, nothing seems to work right now

Please install Sharpscale using the files attached to the OP. We're unable to provide support for problems related to Autoplugin.

Hi!
I have a problem with my Vita TV output. After I have configurated sharpscale the 1080i option is disappared, and now my VitaTV can only output 480p and 720p.
I deactivated the plugin, but the 1080i option is still missing. What's happening here?

My goal is to set 1080i with integer scaling. I have 4K monitor.

Thanks in advance.

If the 1080i option is not available, your monitor may be sending incorrect EDID to the PSTV.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: zy on June 21, 2020, 07:59:53 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.

Incredible.

Also thank you cuevavirus , this an amazing App and incredible work.

AS I continue to test this using 720P, fitted, and using point I'm unsure of why double dragon on retroarch is having some sorta of pixel wobble as I move my character up or down of you look at his eyes they sorta shrink or expand . It's really hard to photograph or tell but yeah the problem is also there even without the sharpscale app.

I'm wondering if anyone has any clue of what I'm talking about and if anyone can give me any pointers.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: zy on June 24, 2020, 08:38:42 PM
Follow up question.
Does this app disable the ability to shrink or enlarge the screen size via the display and settings on the Vita TV settings?

I'm no longer unable to shrink it or enlarge the screen unless I delete sharpscale .

Could anyone test this and see if you are able to use that menu feature with sharpscale installed?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: mantixero on June 25, 2020, 05:08:17 AM
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.

Is this the tearing you're talking about? It only occurs for me in Adrenaline's PSP menu and PSP games, not in PS1 or Vita games or the Vita menu. It's very noticeable in sharpscale's "real" mode, but it's still there in "integer" mode as well, albeit at the bottom of the screen. I've tried CruelTott's modified module as well, but the tearing is unaffected. Thank you for making flawless 1:1 Vita captures a reality cuevavirus. PSP is nearly there!

(https://i.ibb.co/cbfvTHG/Tactics-Ogre-real-20200624-2057-avi-snapshot-00-00-2020-06-24-21-16-26-circle.png) (https://imgbb.com/)

(https://i.ibb.co/MVdNMdh/Tactics-Ogre-integer-20200624-2107-avi-snapshot-00-00-2020-06-24-21-15-40-circle.png) (https://ibb.co/bBtdzt3)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: ribald_om on June 25, 2020, 08:59:34 PM
Follow up question.
Does this app disable the ability to shrink or enlarge the screen size via the display and settings on the Vita TV settings?

I'm no longer unable to shrink it or enlarge the screen unless I delete sharpscale .

Could anyone test this and see if you are able to use that menu feature with sharpscale installed?

Allowing you to change the screen size would entirely defeat the purpose of this plugin. In order to preserve the integrity of the pixels they can only be multiplied evenly. This means the most it can fill your screen is determined by a combination of the resolution of the game combined with the resolution you have the Vita TV set to. You should watch this video to get an idea of what's possible. Some games can fill the entire screen but again that's determined by the resolution of the content and if multiples evenly into 720 or 1080:

https://youtu.be/EyNqB6_fsDM

As for retroarch I'd go into the retroarch video settings and turn off bilinear filtering. If that doesn't work, I'd ask at either the wololo.net or gba.temp forum threads dedicated to the Vita retroarch port, and if that doesn't help the github page of the specific retroarch core you're using to run Double Dragon.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on June 25, 2020, 10:42:17 PM
Is this the tearing you're talking about? It only occurs for me in Adrenaline's PSP menu and PSP games, not in PS1 or Vita games or the Vita menu. It's very noticeable in sharpscale's "real" mode, but it's still there in "integer" mode as well, albeit at the bottom of the screen. I've tried CruelTott's modified module as well, but the tearing is unaffected. Thank you for making flawless 1:1 Vita captures a reality cuevavirus. PSP is nearly there!

(https://i.ibb.co/cbfvTHG/Tactics-Ogre-real-20200624-2057-avi-snapshot-00-00-2020-06-24-21-16-26-circle.png) (https://imgbb.com/)

(https://i.ibb.co/MVdNMdh/Tactics-Ogre-integer-20200624-2107-avi-snapshot-00-00-2020-06-24-21-15-40-circle.png) (https://ibb.co/bBtdzt3)

Yes that is exactly the problem. Happens to PSP games when bilinear filtering is turned off. Still don't know why.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: kristianity77 on June 26, 2020, 12:36:30 PM
Ive installed this plugin and the configuration app in order to try and get rid of ps1 stutter I was getting in adrenaline, more obvious in 2d sidescrolling games.

The plugin I've installed correctly and the conguration app appears to start with no issues, and I replaced the adrenaline_user.skrpx file that is linked here also.

problem is, im still getting frame pacing issues in games like Alundra, Castlevania, Rayman etc . 

Im using a Vita Slim, using the latest Adrenaline 6.9. Can someone who is not having these issues let me know what settings they are choosing etc in order for this to work?  I'm not too fussed about the overall image quality on the screen, I just want rid of the frame pacing issues which have plagued Adrenaline since it was first released if possible.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: zy on June 26, 2020, 11:54:21 PM
Anyone know why castlevania sotn (psp version, the one that unlocks after you beat rondo) still manages to look blurry as if the bilinear filters couldn't be removed?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: Yosamite on June 28, 2020, 04:21:29 PM
I have a PAL PSTV and am trying to get this plugin working with no joy. It has been a long time since I messed about with it and so am no expert. Running Henkaku 3.65. I know installing this with Auto Plugin is not recommended but I tried only for it to crash when I run the config app. When I try to manually install from here then I get the plugin is not loaded or an incompatible version when trying to run the config. What I did notice is the auto plugin *.skprx file is 12.88kB (v 1.3.0) whereas the latest version here is 4.88kB. Is there a problem with the file from here? I simply cannot get the file to load from here and the one in Auto Plugin simply crashes.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: ceevee on June 29, 2020, 12:49:29 AM
Thank you so much for this plugin! I did not enjoy various PS1 emulation methods (default PSTV, PS Classic, GPUs without integer scaling, etc.). But this plugin with my PSTV looks great for PS1 games.

Perhaps this is intended behavior, but my PSTV set to 1080i has larger black borders in PS1 games (Adrenaline) than set to 720p on a 1080p TV (plugin settings: integer, point, 4:3). I set the PSTV to 720p to get a bigger picture. The opposite happens in Retroarch. I have to set the PSTV to 1080i to get a bigger picture (smaller black borders).
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: rmatheso on June 29, 2020, 02:24:30 AM
Anyone know why castlevania sotn (psp version, the one that unlocks after you beat rondo) still manages to look blurry as if the bilinear filters couldn't be removed?

There is a setting for changing the video aspect ratio to original. Sprites look better but the game is framed in a weird double box.

BTW, sharpscale is a revelation on PSP and PS1 games. Really nice! I compared Metal Slug 3 Vita vs. PSP and when video is set to original, the PSP version actually looks better with sharpscale. Just crazy.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on June 29, 2020, 07:23:05 PM
Perhaps this is intended behavior, but my PSTV set to 1080i has larger black borders in PS1 games (Adrenaline) than set to 720p on a 1080p TV (plugin settings: integer, point, 4:3). I set the PSTV to 720p to get a bigger picture. The opposite happens in Retroarch. I have to set the PSTV to 1080i to get a bigger picture (smaller black borders).

Sharpscale can perform up to a 4x scaling. For example, a PS1 game with a 320x240 framebuffer can be scaled up to 1280x960. This is a hardware limitation. Outside of Adrenaline, PS1 games cannot even be opened when HDMI output is set to 1080i.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cybercylon on August 03, 2020, 12:56:59 AM
I am relatively new to installing home brew on the PS TV, so apologies in advance if I might have missed something on installing sharpscale.

I can't get the plugin to load or the configuration program to recognize that it is installed (Fatal Error: Sharpscale kernel module not loaded or incompatible version). I have the sharpscale.skprx file inside ur0:tai/, and in the config.txt file has ur0:tia/sharpscale.skprx line under *Kernel. Yes, I did reboot the PS TV :-)

So either I am missing some small detail, or the version number of my OS is a problem. My PSTV is at version 3.73, so I have to load the h-encore 2 exploit to run and home brew (perhaps plugins can't load in this way).

I know one suggestion would likely be to downgrade my OS, but I have read that isn't such a good idea once the OS is up to 3.72 and 3.73.

Any pointers would be appreciated. Thanks.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cybercylon on August 03, 2020, 04:33:15 AM
Looks like I found an answer. On hunch, I installed auto plugin, and when I ran that, a pop up window opened saying an error was fixed. Now I am in business, but I wish I knew what was wrong.

I am relatively new to installing home brew on the PS TV, so apologies in advance if I might have missed something on installing sharpscale.

I can't get the plugin to load or the configuration program to recognize that it is installed (Fatal Error: Sharpscale kernel module not loaded or incompatible version). I have the sharpscale.skprx file inside ur0:tai/, and in the config.txt file has ur0:tia/sharpscale.skprx line under *Kernel. Yes, I did reboot the PS TV :-)

So either I am missing some small detail, or the version number of my OS is a problem. My PSTV is at version 3.73, so I have to load the h-encore 2 exploit to run and home brew (perhaps plugins can't load in this way).

I know one suggestion would likely be to downgrade my OS, but I have read that isn't such a good idea once the OS is up to 3.72 and 3.73.

Any pointers would be appreciated. Thanks.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: Brian2a on August 06, 2020, 01:51:42 AM
I am having the same issue you described. Tried to use your fix of installing autoplugin, but issue persists. I haven't messed with my PlayStation TV in years, so maybe I've done something wrong, but I've double checked through everything and I can't stop my mistake.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on August 09, 2020, 09:46:55 PM
Please try this debug build and upload the log files at ur0:/sharpscale.log and ux0:/sharpscale-config.log
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: Brian2a on August 10, 2020, 02:05:00 AM
Please try this debug build and upload the log files at ur0:/sharpscale.log and ux0:/sharpscale-config.log
No debugging necessary, I figured out my error and apologize for wasting your time! I hadn't used this thing in a while and got confused with the file locations, since I've been using a USB to store all my files. Thank you very much for helping.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: Eiji on August 16, 2020, 08:26:11 PM
This is an awesome app and has given a new lease of life to my PSTV.

Is it possible to add scanline settings to Sharpscale in a future release?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on August 16, 2020, 10:10:10 PM
This is an awesome app and has given a new lease of life to my PSTV.

Is it possible to add scanline settings to Sharpscale in a future release?

It may be possible to perform scanline overlay in the same way as shell framebuffer overlays.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: Eiji on August 18, 2020, 01:35:47 AM
It may be possible to perform scanline overlay in the same way as shell framebuffer overlays.

Great to hear. How about the GTE widescreen hack that is in PCSXR, ePSXe and Beetle PSX emulators? It gives true widescreen in all 3D PS1 games.

Is this possible via Sharpscale or would a direct modification be necessary to Adrenaline instead?
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on August 18, 2020, 01:42:43 AM
Great to hear. How about the GTE widescreen hack that is in PCSXR, ePSXe and Beetle PSX emulators? It gives true widescreen in all 3D PS1 games.

Is this possible via Sharpscale or would a direct modification be necessary to Adrenaline instead?

Sharpscale cannot change the way in which games are rendered, so it will have to be done in emulators.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: valiantiumblade on August 28, 2020, 02:33:24 AM
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 has been working great for me, though I'm still noticing the odd stutter for PS1 games. The game will, in regular intervals (think once every thirty seconds or so,) skip a single frame. Sometimes this happens twice in quick succession. It's most easily noticeable when you scroll the screen back and forth in a 2D game - I haven't actually timed it but again, it seems to manifest with very regular frequency.

My suspicion is that this issue has something to do with how the PS1's original refresh rate is converted to 60hz - it's very reminiscent of how games run at 60hz on the Game Boy Player, for instance. Does anyone have ideas? All the games I've tested were within Adrenaline and it affected all of them (I'm from Germany but have a bunch of PS1 Classics downloaded from the American store and play them via Adrenaline because switching accounts is pain, so I haven't tested if the games perform any different without Adrenaline.)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on August 28, 2020, 02:44:02 AM
There is another thread about PS1 stuttering in Adrenaline: https://forum.devchroma.nl/index.php/topic,215.0.html

This is an issue specific to Adrenaline.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: valiantiumblade on August 28, 2020, 11:12:10 AM
Oh that's good to know, gonna bump that thread then, thank you!
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: as905 on September 03, 2020, 08:17:20 AM
This has been working great for me, though I'm still noticing the odd stutter for PS1 games. The game will, in regular intervals (think once every thirty seconds or so,) skip a single frame. Sometimes this happens twice in quick succession. It's most easily noticeable when you scroll the screen back and forth in a 2D game - I haven't actually timed it but again, it seems to manifest with very regular frequency.

My suspicion is that this issue has something to do with how the PS1's original refresh rate is converted to 60hz - it's very reminiscent of how games run at 60hz on the Game Boy Player, for instance. Does anyone have ideas? All the games I've tested were within Adrenaline and it affected all of them (I'm from Germany but have a bunch of PS1 Classics downloaded from the American store and play them via Adrenaline because switching accounts is pain, so I haven't tested if the games perform any different without Adrenaline.)

i'm not 100% sure as it's been months but i think someone posted a fix for this issue on this forum,could even be in this very thread !
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: valiantiumblade on September 03, 2020, 01:47:09 PM
i'm not 100% sure as it's been months but i think someone posted a fix for this issue on this forum,could even be in this very thread !
I did mention the CruelTott patch in my initial post; is the fix you're talking about separate from that one? https://forum.devchroma.nl/index.php?topic=112.msg293#msg293
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: as905 on September 05, 2020, 05:57:53 AM
I did mention the CruelTott patch in my initial post; is the fix you're talking about separate from that one? https://forum.devchroma.nl/index.php?topic=112.msg293#msg293

yes this is the one
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: Keiyuu on September 06, 2020, 06:13:16 AM
First of all, thanks a lot for your great work! It made PS1 games on my PSTV actually playable. ;D
I have a question/request. Would it be possible to add some kind of interpolated scaling which isn't bilinear?
Something that adds only an unnoticeable amount of blur to keep pixels sharp enough, but remove scaling artifacts like shimmering during screen scrolling in 2D games.
Bilinear is far to blurry for my taste.  :(
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on September 06, 2020, 10:27:13 PM
Bilinear scaling is performed in hardware. There are no other scaling methods available and it's not feasible to do with software.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: xxx256 on September 14, 2020, 08:55:36 PM
I have a problem with the latest Sharpscale plugin. I have an 21:9 monitor. And in order to get a 16:9 picture on my PSTV, i need to set the resolution to "automatic" in the vita display settings. However after installing the sharpscale thingie the picture now is ALWAYS either 21:9 stretched, which is kind of nasty for playing vita games, or windowed. Could you please add an option to force 16:9 to the next update? Thank you so much and keep up the great work! Love the plugin.

(https://i.ibb.co/DtqqShT/424324322.jpg) (https://ibb.co/5677fmw)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: cuevavirus on September 15, 2020, 12:00:03 AM
Looks like you need to adjust the scaling options on your monitor. Sharpscale does not affect the HDMI output resolution.
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: xxx256 on September 15, 2020, 01:24:20 AM
You are right about that. I did that earlier and i am back to 16:9. Thanks anyway.  :)
Title: Re: [Release] Sharpscale - native 960x544 HDMI output for PSTV
Post by: omghelpmee on October 15, 2020, 08:52:52 AM
Hopefully someone here can help..

I recently tried out this plugin, installing through autoplugin II, and i noticed my PSP games would show either a black screen or colorful static, with the sounds and game buttons working.

i tried to remove the plugins, but everytime i open up adrenaline, its as if the plugin is still active.

if anyone can help me figure this out and completely remove all trace of this plugin so that i can play my PSP games again.

i'd like to avoid formatting everything and restarting from the beginning if possible.