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

  • Thread starter Sono
  • Start date
  • Views 748,381
  • 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 .

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,821
Trophies
2
Location
home
XP
9,319
Country
Hungary
Thanks for the explanation! About rtcom it still amazes me to think the 3ds circle pad was possible to use in DS mode, regarding the vid you posted a while ago.

I've been playing around with the darkned filter in twpatcher and it's pretty nice. It makes me wonder if similar filters like a black and white and maybe a blue filter are possible or if that's more like a shader and requires more processing?

It's actually @Gericom who discovered rtcom, both on the ARM7 and on the ARM11. I just drafted the protocoll, and slightly modified Nintendo's code so it works better.


As for the filters, only 1D matrix-based filters work. Blur, sharpen, edge detect, etc. Although it's possible to assign different matrixes to pixels in a repeating pattern, I see no fancy use other than for upscaling purposes (that's actually how upscaling works).

As for shaders, the PICA200 has a fixed pixel shading stage, meaning you can't reprogram it, and thus no fancy filters. This also means no color correction (4x4 matrixes). The LUT is however reprogrammable, and that's actually how CTR_Redshift works!

The only feasible thing would be using the CPU to modify the framebuffer, but considering how little CPU time I have available, it wouldn't be possible without performance degradation in rendering.
 
Last edited by Sono, , Reason: corrected wording

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,178
Trophies
1
Age
42
XP
3,261
Country
United States
Can the LUT be altered to make saturation/desaturation possible? Like for GBA purists (not really me), the current dark filters options don't really have the right effect, they feel more like simply darkening the image rather than desaturating it. Important for making some of those early GBA games with super bright palletes look more natural.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,821
Trophies
2
Location
home
XP
9,319
Country
Hungary
Does this mean we are close to being able to use the Circle Pad to simulate stylus movements? What remains before we can play, for example, Super Mario 64 using the Circle Pad to simulate the stylus?

No idea, as I didn't try that yet.

Can the LUT be altered to make saturation/desaturation possible? Like for GBA purists (not really me), the current dark filters options don't really have the right effect, they feel more like simply darkening the image rather than desaturating it. Important for making some of those early GBA games with super bright palletes look more natural.

The reason it's just darkened is because of what I explained a few posts before, talking about the lack of pixel shaders and 4x4 matrixes. Desaturation is not possible with a LUT, because a color component can't affect the other color components, meaning red can't become white, etc.
However, Nintendo DOES use a LUT for GBA, but I haven't looked at what it does yet.
 

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
33
XP
256
Country
heeey I'm baaaack.. so I want to update the twpatch.cia ok cool. but you see my twlbg.cxi inside of /luma/sysfiles folder is already patched witha nice filter and widescreen. is there any reason to update to the latest patcher aside from rtcom? (which is amazing btw)

--------------------- MERGED ---------------------------

Should I include a widescreen switcher trainer with TWPatcher?



MY GOD YES! THIS IS SO HELPFUL. I don't like how some games work in strecthed wide screen so if you can make the dynamic changer work in flashcards I would worship you
 
  • Like
Reactions: Sono

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,821
Trophies
2
Location
home
XP
9,319
Country
Hungary
heeey I'm baaaack.. so I want to update the twpatch.cia ok cool. but you see my twlbg.cxi inside of /luma/sysfiles folder is already patched witha nice filter and widescreen. is there any reason to update to the latest patcher aside from rtcom? (which is amazing btw)

Not yet, but very soon. This new version is really geared towards those who can't/don't want to use the PC patcher, and/or are expecting more what the original patcher was supposed to be in the first place.
 

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
33
XP
256
Country
Not yet, but very soon. This new version is really geared towards those who can't/don't want to use the PC patcher, and/or are expecting more what the original patcher was supposed to be in the first place.
ok so to use the new patcher I just have to delete the old twlbg.cxi and use the patcher normally correct?

--------------------- MERGED ---------------------------

btw the new patcher does make ds widescreen right?
 

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,977
Trophies
2
XP
4,306
Country
Italy
ok so to use the new patcher I just have to delete the old twlbg.cxi and use the patcher normally correct?

--------------------- MERGED ---------------------------

btw the new patcher does make ds widescreen right?
Yes it does. I just installed the .cia and didn't delete anything I had from using widescreen before.
 
  • Like
Reactions: Sono

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,821
Trophies
2
Location
home
XP
9,319
Country
Hungary
ok so to use the new patcher I just have to delete the old twlbg.cxi and use the patcher normally correct?

--------------------- MERGED ---------------------------

btw the new patcher does make ds widescreen right?

You don't need to delete it, it'll be overwritten automatically when the compression ends after 6minutes.

And yeah, but you need to hold X while pressing and releasing START.
 
  • Like
Reactions: iGom

Nach18

Member
Newcomer
Joined
Feb 22, 2020
Messages
7
Trophies
0
Age
29
Location
Hyrule
XP
94
Country
Spain
Thanks you for this awesome tool!

But please, i would like to play my ds games on night.
Can you tell me how can I use CTR_Redshift with Twilight Menu++?

(I'm sorry if you already wrote how to do it, it's just that I can't find a way to do it.)
 
Last edited by Nach18,

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,821
Trophies
2
Location
home
XP
9,319
Country
Hungary
Thanks you for this awesome tool!

But please, i would like to play my ds games on night.
Can you tell me how can I use CTR_Redshift with Twilight Menu++?

(I'm sorry if you already wrote how to do it, it's just that I can't find a way to do it.)

Sadly that's not yet accessible from TWPatch itself, but it's accessible from the exe patcher. Use "mkpatch asd 1" for 3200k redshift, or "mkpatch asd 1001" if you also want widescreen.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,821
Trophies
2
Location
home
XP
9,319
Country
Hungary
Where can we find the exe patcher? Not familiar with this site, also trying to play DS with Redshift.

It's a few pages back. I can't login on my laptop for a few days, so I won't be able to reupload the exe if you can't find it.

If you can wait, then the next feature planned is actually CTR_Redshift, it'll come with the next release.
 
D

Deleted User

Guest
heeey I'm baaaack.. so I want to update the twpatch.cia ok cool. but you see my twlbg.cxi inside of /luma/sysfiles folder is already patched witha nice filter and widescreen. is there any reason to update to the latest patcher aside from rtcom? (which is amazing btw)

--------------------- MERGED ---------------------------



MY GOD YES! THIS IS SO HELPFUL. I don't like how some games work in strecthed wide screen so if you can make the dynamic changer work in flashcards I would worship you

How did you have the Filter, and the Wide-screen patch together before the new TWPatch was released? Did you use my tutorial? Was it a success, if it was tell other people. It is a lengthy process.
 

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
33
XP
256
Country
How did you have the Filter, and the Wide-screen patch together before the new TWPatch was released? Did you use my tutorial? Was it a success, if it was tell other people. It is a lengthy process.
nah. your tutorial was too complicated. I used the normal cia patcher to add filters to it then I took the created TwlBg.cxi and patched it to widescreen using the exe patcher as simple as that lol
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: Have a nice day. Life. Week. Month. year.