Homebrew TWPatcher - DS(i) mode screen filters and patches

  • Thread starter Sono
  • Start date
  • Views 745,790
  • Replies 2,428
  • Likes 101

Are you interested in a complete replacement of TwlBg which includes all patches?

  • Yes, I don't care how broken it will be!

    Votes: 188 79.3%
  • No, I don't want to use even more broken stuff

    Votes: 20 8.4%
  • Yes, but only in GBA mode, because I play DSi exclusives

    Votes: 12 5.1%
  • No, because I only use DS and DSi mode

    Votes: 17 7.2%

  • Total voters
    237
  • Poll closed .

maxolina

Member
Newcomer
Joined
May 2, 2022
Messages
7
Trophies
0
Age
29
Location
italy
XP
44
Country
Italy
Yup, Redshift is available for both DS/DSi and GBA. Just select the Redshift option whenever you build a .cxi for each mode (that thing that's built when you press start).

Thanks, it works perfectly!

Weird how I now have automatic redshift on boot for DS and GBA games, but not for the 3DS itself. For that I have to use the rosalina menu every time I reboot the console.
 

BETA215

Member not found
Member
Joined
Dec 30, 2014
Messages
333
Trophies
0
Location
they/them | 0xDEAD brain
XP
1,674
Country
Argentina

PiperPlays

New Member
Newbie
Joined
May 25, 2022
Messages
1
Trophies
0
Age
36
Location
Bay Area, CA
XP
23
Country
United States
HELP! My TWPatcher application is stuck in Linear and I cant change the filter back to the normal default 3ds filter.

Every time I press start and allow compression to complete, nothing changes and the filter stays stuck on LINEAR. I press select to end the program after compression and nothing changes at all. Even after a system restart. I've reinstalled CWPatcher and used a QR to reinstall it without any success in changing my filter back. Also, it won't let me use widescreen.

I'd would like to go from laying a ds game back to a 3ds game, so would like to apply the original filter.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,820
Trophies
2
Location
home
XP
9,310
Country
Hungary
HELP! My TWPatcher application is stuck in Linear and I cant change the filter back to the normal default 3ds filter.

Every time I press start and allow compression to complete, nothing changes and the filter stays stuck on LINEAR. I press select to end the program after compression and nothing changes at all. Even after a system restart. I've reinstalled CWPatcher and used a QR to reinstall it without any success in changing my filter back. Also, it won't let me use widescreen.

I'd would like to go from laying a ds game back to a 3ds game, so would like to apply the original filter.

Delete /luma/sysmodules/TwlBg.cxi
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,820
Trophies
2
Location
home
XP
9,310
Country
Hungary
Oh so you can’t use sono’s crisp and gpu scaling together
Well, you can only use one specific scaling method on stock TWL_FIRM... doesn't matters if it's GPU scaling or any other scaling method.

Yeah, I just realized that this isn't actually mentioned anywhere:
The filters in the "main menu" are done by the capture card.
The GPU scaling is done by the GPU. GPU scaling *has to* disable capture card scaling, otherwise you would be upscaling already upscaled image, which would ruin the image quality even more than it already does.
 

Tatti

New Member
Newbie
Joined
Jun 18, 2022
Messages
4
Trophies
0
Age
19
Location
Home
XP
33
Country
Finland
Yeah, I just realized that this isn't actually mentioned anywhere:
The filters in the "main menu" are done by the capture card.
The GPU scaling is done by the GPU. GPU scaling *has to* disable capture card scaling, otherwise you would be upscaling already upscaled image, which would ruin the image quality even more than it already does.
What exactly does the the capture card mean when you speak about the filters?
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,820
Trophies
2
Location
home
XP
9,310
Country
Hungary
What exactly does the the capture card mean when you speak about the filters?

Oh, that's just technical detail.

The DS(i)/GBA aren't connected directly to the LCD, instead they are captured using an internal capture card, and then that captured image is displayed to the screen.
 

Tatti

New Member
Newbie
Joined
Jun 18, 2022
Messages
4
Trophies
0
Age
19
Location
Home
XP
33
Country
Finland
Oh, that's just technical detail.

The DS(i)/GBA aren't connected directly to the LCD, instead they are captured using an internal capture card, and then that captured image is displayed to the screen.
I see, may i ask how does the gpu scaling work, like it does not add any sharpening to image, but it does in my opinion improve the image, so what is it doing to make image better?
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,820
Trophies
2
Location
home
XP
9,310
Country
Hungary
I see, may i ask how does the gpu scaling work, like it does not add any sharpening to image, but it does in my opinion improve the image, so what is it doing to make image better?

This is something I sadly have no proven explaination for.

The GPU is simply just better at upscaling than the matrix found in the capture card, even if I use mathematically identical upscaling matrix. There is some "magic" the GPU does to make the image look much better, and I simply just don't know why.

Although one reason I could think of, is that the upscaler in the capture card works in two stages: horizontal stretching, and scanline multiplying. This does a double upscaling (that is, upscaling the upscaled image), which introduces errors into the image, as taking the average of an average might not be the same as just averaging the entire thing all at once.

The GPU is able to take multiple samples for a single pixel, and take a perfect average of it, meaning it does true averaging, which means it looks better because it IS better, because it is correct.
 
Last edited by Sono,

Kyoka

Active Member
Newcomer
Joined
Jan 11, 2022
Messages
36
Trophies
0
Age
27
XP
474
Country
Morocco
Help : Okay so I choose sono's crisp and press X+start but in game the scale doesn't apply, and when I check the TWL patcher, it's always on linear sharpen 1, what should I do to apply other filters?
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,820
Trophies
2
Location
home
XP
9,310
Country
Hungary
Help : Okay so I choose sono's crisp and press X+start but in game the scale doesn't apply, and when I check the TWL patcher, it's always on linear sharpen 1, what should I do to apply other filters?

Don't use X+START, it doesn't work anymore. Just enable widescreen manually from the patch menu.
Opening TWPatcher always starts at the same scale filter, and it's not indicative of what was actually written to file.
You simply just put the cursor at the filter you want, and press START.
 
  • Like
Reactions: Kyoka

Tatti

New Member
Newbie
Joined
Jun 18, 2022
Messages
4
Trophies
0
Age
19
Location
Home
XP
33
Country
Finland
This is something I sadly have no proven explaination for.

The GPU is simply just better at upscaling than the matrix found in the capture card, even if I use mathematically identical upscaling matrix. There is some "magic" the GPU does to make the image look much better, and I simply just don't know why.

Although one reason I could think of, is that the upscaler in the capture card works in two stages: horizontal stretching, and scanline multiplying. This does a double upscaling (that is, upscaling the upscaled image), which introduces errors into the image, as taking the average of an average might not be the same as just averaging the entire thing all at once.

The GPU is able to take multiple samples for a single pixel, and take a perfect average of it, meaning it does true averaging, which means it looks better because it IS better, because it is correct.
I see, that is very interesting, thank you for explaining this, so if i want better image than Nintendo's default but not have any possible errors on image GPU upscale is the best option
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    realtimesave @ realtimesave: @Xdqwerty hello