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

  • Thread starter Sono
  • Start date
  • Views 754,348
  • 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 .
D

Deleted User

Guest
Very cool thing, although, honestly, after examining all the filters for myself, I find that Nintendo's default seems to look the best anyway.
Its a give take

After messing around with the filters a bit. Battle sprites in Pokemon seem to be a lot more crisp

On the other hand though text seems to get a bit blurry
 
  • Like
Reactions: Sono

kai98yoshi

Well-Known Member
Member
Joined
Sep 25, 2016
Messages
153
Trophies
0
Age
26
XP
1,461
Country
Germany
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?

Maybe there is also the possibility of enabling this for GBA games?
 

Feffe

Well-Known Member
Member
Joined
Oct 12, 2008
Messages
225
Trophies
1
XP
2,125
Country
Italy
Great work, I'm testing the different options now.

@Sono Unrelated to this, but would it be possible to hack TWL_Firm to remap 3DS buttons? (Would be usefull to have a dual analog setup for Metroid Hunters on New 3DS). (Also man, get some sleep, really - I have been lots of sleep problems in the last months and it's awful. Be careful)
 
  • Like
Reactions: Sono

PrincessLillie

(Future) VTuber
Member
Joined
Nov 28, 2013
Messages
2,921
Trophies
3
Age
21
Location
Virtual Earth
Website
lillie2523.carrd.co
XP
4,805
Country
United States
Just around the corner™
581.jpg
™️
 

xXPVTSnowBallXx

New Member
Newbie
Joined
Jul 12, 2019
Messages
2
Trophies
0
Age
27
XP
137
Country
United States
So far so good, loving that my n3dsxl doesnt look so bad for ds games now! I couldnt be more thankful, only issue im having is with pokemon soul silver and platinum have this weird mirroring/ tearing on the bottom and side if the screen, anyone else experiencing that?
 

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,464
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,316
Country
With apologies for yet another feature request, @Sono, do you think it would be possible to re-enable the third scaling setting (the 1.5x scaling) and put that on another button, e.g. hold R while DS mode starts? I don't actually think anybody would want to use it for the 1.5x scale, but it would allow users to have three scaling settings in a single TwlBg, e.g. Linear sharp 1 (default), Pixel Perfect (Start or Select), Linear sharp 1 widescreen (R button).

Paging Robz8 also: would TWiLight Menu++ be able to programmatically trigger a specific filter in this way, or is switching to another TwlBg.cxi the only way that can be done?
 
Last edited by Vague Rant,

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,353
Country
Hungary
With apologies for yet another feature request, @Sono, do you think it would be possible to re-enable the third scaling setting (the 1.5x scaling) and put that on another button, e.g. hold R while DS mode starts? I don't actually think anybody would want to use it for the 1.5x scale, but it would allow users to have three scaling settings in a single TwlBg, e.g. Linear sharp 1 (default), Pixel Perfect (Start or Select), Linear sharp 1 widescreen (R button).

Not enough code space, sorry.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users