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

  • Thread starter Sono
  • Start date
  • Views 734,479
  • Replies 2,420
  • Likes 100

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 .

Nicota

Member
Newcomer
Joined
Feb 13, 2019
Messages
11
Trophies
0
Age
21
Location
Luxemburg
XP
146
Country
Luxembourg
don't really wanna install home-brew on such a expensive machine tho. im just gonna ask a friend that has windows if theres no other option
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,800
Trophies
2
Location
home
XP
9,221
Country
Hungary
don't really wanna install home-brew on such a expensive machine tho. im just gonna ask a friend that has windows if theres no other option

It installs in a location which doesn't affect the system. You can do some research.

Alternatively, you can get a free version of a virtual machine software, and just use a Windows VM.
 

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,178
Trophies
1
Age
42
XP
3,248
Country
United States
Dunno if this can ever be implemented in TWPatch but I have to say I've been pretty impressed with Retroarch scale2x video filter + bilinear interpolation on 3DS. Gameboy/ Gear, GBA and even Master System, which has a similar resolution to NDS, look pretty good. Sometimes there's a bit of curvey distortion but shapes tend to be very well defined without appearing either pixelalted or blurry, and the algorithm is very light on processing power. I don't know whether this RTC research can open up things like this that go well beyond the existing scaling matricies but I thought I'd mention it.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,800
Trophies
2
Location
home
XP
9,221
Country
Hungary
Dunno if this can ever be implemented in TWPatch but I have to say I've been pretty impressed with Retroarch scale2x video filter + bilinear interpolation on 3DS. Gameboy/ Gear, GBA and even Master System, which has a similar resolution to NDS, look pretty good. Sometimes there's a bit of curvey distortion but shapes tend to be very well defined without appearing either pixelalted or blurry, and the algorithm is very light on processing power. I don't know whether this RTC research can open up things like this that go well beyond the existing scaling matricies but I thought I'd mention it.

I looked at scale2x, and it seems to be possible, but only if ARM11 is constantly calculating each pixel, which definitely creates a lot of graphical glitches (it makes the screen scroll upwards like a badly synchronized CRT TV).

If you're willing to ditch EVERYTHING just to have scale2x then it's possible. It would just take a lot of time to disable DMPGL (it's littered all over the code, thus it's hard to get rid of or patch), and make sure to only calculate pixels when it has fully arrived to prevent black pixels from appearing and causing screen tear.
 

EduAAA

Well-Known Member
Member
Joined
Sep 3, 2017
Messages
104
Trophies
0
Age
38
XP
261
Country
Spain
Dunno if this can ever be implemented in TWPatch but I have to say I've been pretty impressed with Retroarch scale2x video filter + bilinear interpolation on 3DS. Gameboy/ Gear, GBA and even Master System, which has a similar resolution to NDS, look pretty good. Sometimes there's a bit of curvey distortion but shapes tend to be very well defined without appearing either pixelalted or blurry, and the algorithm is very light on processing power. I don't know whether this RTC research can open up things like this that go well beyond the existing scaling matricies but I thought I'd mention it.

Try Normal2x.filt, it makes gbc games look sharp without those glitches you are describing.
 

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,178
Trophies
1
Age
42
XP
3,248
Country
United States
Normal2x is more like the default "crispy" GBA scaling in that its kind of pixellated. Its not bad for GB/GBA but it doesn't seem to help much for Master System and therefore theoretically NDS. The other issue is that its more CPU intensive and under pressure it can't keep up with vsync, but that's mostly a Retroarch issue.
 

plug313

Well-Known Member
Member
Joined
Jun 27, 2016
Messages
163
Trophies
0
Age
29
XP
622
Country
is there a way to do this on the 3DS itself without a computer? I can transfer files to it with my phone via ftp but I don't have a computer. (I may have asked this before but I can't remember if I did so I don't think I got an answer, thanks in advance!)
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,228
Country
Brazil
is there a way to do this on the 3DS itself without a computer? I can transfer files to it with my phone via ftp but I don't have a computer. (I may have asked this before but I can't remember if I did so I don't think I got an answer, thanks in advance!)
you can ask someone with a computer to do it and send you the files
 

PokemonTotalWar

Member
Newcomer
Joined
Oct 9, 2018
Messages
13
Trophies
0
Age
24
Location
Meadville, PA
XP
102
Country
United States
Welp... it turns out I triggered some anti- buffer-overflow code in the kernel, which caused it to intentionally crash to prevent any "accidental" attacks against its code loader. And I tested, and the patcher works, yay!

Code compression takes a whopping 6minutes on old3DS, so make sure you only press START when you're really sure you selected the right kernel. On new3DS it should be slightly faster.

The code uses pure CPU rendering due to full-blown matrix hardware emulation, so it's going to be awfully slow, and thus unresponsive. YOU HAVE TO HOLD THE BUTTONS INSTEAD OF JUST TAPPING THEM.

The menu disappears after a few seconds if you don't press any buttons. This is intentional, so you can see the result on BOTH the top AND bottom screens.
You can keep the menu up by holding LEFT or RIGHT.

Keep holding X to temporarily switch to Nintendo's default filter. Releasing X will switch it back to the highlighted one. You can use this to check the scaling mode back and forth for visible comparison before applying.

I accidently broke the ability to switch out test images with the Y button, so I removed it for this release, because I already wasted a lot of time with the compressor. If I won't forget to fix it then the next release will allow you to switch test images with Y.

Once you press START there is no going back. You can only cancel the compression by holding down the power button. DO NOT CANCEL WHEN THERE IS A SMALL AMOUNT LEFT!

Hold SELECT to exit.

Actually not. I hope you read the above, because it contains important information!

If you read it all then congrats, you can click here to download the cia :)
You didn't read, did you?

I haven't touched my 3DS in months, I see that there's a computer-based version of this now. What is the benefit of that, if I don't particularly care for Widescreen hacks? Should I just continue to use this patcher for sharpening, or should I update to the computer-based version?
 

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,178
Trophies
1
Age
42
XP
3,248
Country
United States
The computer patcher is only for widescreen at this time. In fact it makes the scaling otherwise somewhat worse. Only use if you want widescreen, stick to the 3DS patcher if you just want different scaling options within the usual 4:3 aspect ratio.
 
  • Like
Reactions: PokemonTotalWar

win8x

New Member
Newbie
Joined
Nov 2, 2019
Messages
2
Trophies
0
Age
38
XP
56
Country
Germany
Hey guys. I got it to work in 16:10, but... There is a bunch of hex on the right side of the top screen. The asd was 1010, I ran it from the wide.bat, I tried everything but it just doesn't seem to work. Can anyone please help??? :(
 

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,515
Trophies
3
Age
24
XP
20,845
Country
United States
Hey guys. I got it to work in 16:10, but... There is a bunch of hex on the right side of the top screen. The asd was 1010, I ran it from the wide.bat, I tried everything but it just doesn't seem to work. Can anyone please help??? :(
Re-download the patcher.
 
  • Like
Reactions: win8x

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,800
Trophies
2
Location
home
XP
9,221
Country
Hungary
Hey guys. I got it to work in 16:10, but... There is a bunch of hex on the right side of the top screen. The asd was 1010, I ran it from the wide.bat, I tried everything but it just doesn't seem to work. Can anyone please help??? :(

If you only need widescreen then use 1100, or if you also want it to be tinted red (for blue light filter) then use 1101.
 

Zero_hack_One

New Member
Newbie
Joined
Nov 3, 2019
Messages
4
Trophies
0
Age
35
XP
46
Country
Italy
hi everyone i'm new, forgive me for my poor english, i wanted to know if it was possible to apply the twlpatch special filters with widescreen effects, because every time i do the widescreen procedure it resets the setting to the original ones. Thanks for everything
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,800
Trophies
2
Location
home
XP
9,221
Country
Hungary
hi everyone i'm new, forgive me for my poor english, i wanted to know if it was possible to apply the twlpatch special filters with widescreen effects, because every time i do the widescreen procedure it resets the setting to the original ones. Thanks for everything

It's not possible yet. The matrix on the X axis is cleared because I didn't implement widescreen scale matrixes yet, and also because it requires extra patching due to the different scale divisors for the X and Y axises.
 
  • Like
Reactions: Zero_hack_One

Zero_hack_One

New Member
Newbie
Joined
Nov 3, 2019
Messages
4
Trophies
0
Age
35
XP
46
Country
Italy
It's not possible yet. The matrix on the X axis is cleared because I didn't implement widescreen scale matrixes yet, and also because it requires extra patching due to the different scale divisors for the X and Y axises.
in Italy it is said "Either it is soup or wet bread" everything cannot be had. thanks a lot
 
  • Like
Reactions: Sono and Raylight

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    LeoTCK @ LeoTCK: yes for nearly a month i was officially a wanted fugitive, until yesterday when it ended