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

  • Thread starter Sono
  • Start date
  • Views 552,191
  • Replies 2,146
  • Likes 93

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

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

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

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

    Votes: 10 6.2%
  • No, because I only use DS and DSi mode

    Votes: 10 6.2%

  • Total voters
    162

Dartz150

Yet another Onii-chan
Member
Joined
May 5, 2010
Messages
2,237
Trophies
1
Age
30
Location
Over your head
XP
3,933
Country
Mexico
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?

Just tried the patcher, and for some reason any patching method stopped to work for me, I suspect that the culprit is the new config in TWiLightMenu ++ conflicting with the patches, because it now appears a filtering option, do yo know @Robz8 if that may be the cause?. I will roll back to earlier version so I can test properly, and thank you very much for this @Sono !:D
 
  • Like
Reactions: Sono

PokeNas

Well-Known Member
Member
Joined
Jul 31, 2012
Messages
159
Trophies
0
Location
Best place on Earth
XP
1,443
Country
Saudi Arabia
Thank you Sono!

So far my favorite two are "Sharpen test 1" and "Linear Sharpen 1"

Any suggestions from people who've tried it?

Edit: One suggestion would be to have an indicator to know if holding X registered your selection or not. I held it several times to be safe.
 
Last edited by PokeNas,

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,554
Trophies
2
Location
rehabilitation center
XP
6,992
Country
Hungary
The download link seems to be down. Anybody got a mirror?

It should not be down. Did you try a few times? Sometimes you have to try a few times.

One suggestion would be to have an indicator to know if holding X registered your selection or not. I held it several times to be safe.

Even on old3DS you don't have to hold it for more than one second. On new3DS it's almost instant.

Also, I'm bad at UI design, so I don't know where I would put the indicator.
 

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
15,391
Trophies
2
Age
23
XP
18,404
Country
United States
so do you plan to integrate this into TWiLightMenu++ or should we all just use this?
Yeah, just use this.

For TWLMenu++, I plan on having widescreen used for certain games with a widescreen cheat from here:
https://gbatemp.net/threads/widescreen-cheats-for-ds-games-on-3ds.543212/

@Sono Speaking of widescreen, once you get that working, I would like to request something.
After selecting the scaling filter from the list, after the "TwlBg.cxi" is made in "sysmodules" folder, have a widescreen version with the same filter selected, made at "sd:/_nds/TWiLightMenu/TwlBg" and call it "Widescreen.cxi", so TWiLight Menu++ can switch between the regular and widescreen versions at anytime, for games that have a widescreen cheat.
 
  • Like
Reactions: ElderC and Raylight

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,554
Trophies
2
Location
rehabilitation center
XP
6,992
Country
Hungary
Yeah, just use this.

For TWLMenu++, I plan on having widescreen used for certain games with a widescreen cheat from here:
https://gbatemp.net/threads/widescreen-cheats-for-ds-games-on-3ds.543212/

@Sono Speaking of widescreen, once you get that working, I would like to request something.
After selecting the scaling filter from the list, after the "TwlBg.cxi" is made in "sysmodules" folder, have a widescreen version with the same filter selected, made at "sd:/_nds/TWiLightMenu/TwlBg" and call it "Widescreen.cxi", so TWiLight Menu++ can switch between the regular and widescreen versions at anytime, for games that have a widescreen cheat.

I could try somehow integrating it, but then old3DS users would have to wait 12minutes :/
 

Skidd

New Member
Newbie
Joined
Jul 12, 2019
Messages
4
Trophies
0
Location
Funland
XP
215
Country
Finland
It should not be down. Did you try a few times? Sometimes you have to try a few times.



Even on old3DS you don't have to hold it for more than one second. On new3DS it's almost instant.

Also, I'm bad at UI design, so I don't know where I would put the indicator.

My connection times out regardless of how many times I try to download it. Doesn't work with other browsers or download managers either.
 
D

Deleted User

Guest
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?
Here is a QR code to scan with FBI in case anyone would prefer it
 

Attachments

  • Screenshot_20190712-135512_Chrome.jpg
    Screenshot_20190712-135512_Chrome.jpg
    119.4 KB · Views: 933
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Boobs in iMax
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    I would watch that....
    Gift
  • FAST6191 @ FAST6191:
    You say that but isn't imax just high rest?
    Gift
  • FAST6191 @ FAST6191:
    Tits in high res, along with many the actresses having them, do not look so great
    +1
    Gift
  • FAST6191 @ FAST6191:
    It was a noted problem even in the shift to HD according to various purveyors of such films
    Gift
  • Dark_Phoras @ Dark_Phoras:
    The more resolution, the better
    Gift
  • Dark_Phoras @ Dark_Phoras:
    And framerate. I know people are against a framerate above 24fps in movies, because it betrays that it's fictional, but I prefer high framerate
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Of course, higher resolution only betrays the false boobs - which could lead to a revolution in the acceptance of the unadulterated bodies
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I know this falls somewhat into the realm of porn - but I'm encompassing the overarching scope of all movies
    Gift
  • KenniesNewName @ KenniesNewName:
    Got free food cause they messed up the order
    +1
    Gift
  • FAST6191 @ FAST6191:
    Always found that bizarre in the US
    Gift
  • FAST6191 @ FAST6191:
    One time was there and they had forgotten to get it out of the freezer. Manager came over, said that and gave it to us for free still frozen to take home and eat later
    Gift
  • FAST6191 @ FAST6191:
    In the UK they would be all nah mate we don't have it, do you want something else?
    Gift
  • KenniesNewName @ KenniesNewName:
    Well in some places we aren't total dicks to each other
    Gift
  • KenniesNewName @ KenniesNewName:
    Order gets messed up they make up for it without fuss
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I found a great subreddit for memes yesterday... and I forgot the name
    Gift
  • FAST6191 @ FAST6191:
    great subreddit? Is that not a contradiction in terms? Bit like pleasant twitter conversation.
    Gift
  • FAST6191 @ FAST6191:
    Anyway shilling my own threads. Lord of the Rings (and various related properties) bought by Embracer group
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I don't look for intellectual plenitude on the internet...
    Gift
  • FAST6191 @ FAST6191:
    Pity. There is plenty of it.
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    Mostly it seems literate people on the internet....
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    The pain on the planes, comes mostly from the stains?
    Gift
  • Dark_Phoras @ Dark_Phoras:
    The rain in Spain stays mainly in the plain
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Moses supposes all toeses are roses, Moses supposes erroneously
    +1
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    The chains in bed frames causing mostly pains
    Gift
    Psionic Roshambo @ Psionic Roshambo: The chains in bed frames causing mostly pains