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

  • Thread starter Sono
  • Start date
  • Views 760,662
  • Replies 2,430
  • Likes 102

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 .

rxwaan

Member
Newcomer
Joined
Jul 29, 2023
Messages
6
Trophies
0
XP
123
Country
United States
It's the latter. Redshift code runs once before that section of memory is completely unmapped and mapped to the DS/GBA side.

The more surprising thing is that it doesn't crash when waking up from sleep mode, as sleep mode always crashes for me...
Good to know it wasn't just user error on my part.

I will note after some playing around I think I have discovered at least a workaround for this, however, since my 3DS is almost always on charge when I'm not using it, I can't validate its effectiveness as far as battery goes.

Basically, before closing the lid/putting the game in sleep mode I have been using the Select + Down + L shortcut to open the .nds/ROM menu and leaving it on-screen and the game suspended. It seems that as long as this menu is open, when I return to the game later it will retain my Redshift adjustments and I can simply close the menu and continue playing.

Again, I can't speak for the effectiveness of this workaround where battery is concerned since I'm not sure if this puts it into actual sleep mode or just turns off the backlight the same way it does when you close the screen running the built-in GBA VC.
 

Attachments

  • PXL_20230806_191718528.jpg
    PXL_20230806_191718528.jpg
    4.4 MB · Views: 64
  • Like
Reactions: csandrade87

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,649
Trophies
3
Age
24
XP
21,121
Country
United States
Good to know it wasn't just user error on my part.

I will note after some playing around I think I have discovered at least a workaround for this, however, since my 3DS is almost always on charge when I'm not using it, I can't validate its effectiveness as far as battery goes.

Basically, before closing the lid/putting the game in sleep mode I have been using the Select + Down + L shortcut to open the .nds/ROM menu and leaving it on-screen and the game suspended. It seems that as long as this menu is open, when I return to the game later it will retain my Redshift adjustments and I can simply close the menu and continue playing.

Again, I can't speak for the effectiveness of this workaround where battery is concerned since I'm not sure if this puts it into actual sleep mode or just turns off the backlight the same way it does when you close the screen running the built-in GBA VC.
Yeah, in the nds-bootstrap in-game menu, it does not go into sleep mode, and the backlight simply turns off.
 

rxwaan

Member
Newcomer
Joined
Jul 29, 2023
Messages
6
Trophies
0
XP
123
Country
United States
Yeah, in the nds-bootstrap in-game menu, it does not go into sleep mode, and the backlight simply turns off.
I thought this may be the case. I'm also not sure if the bootstrap menu has an automatic timeout but from what I've tested this workaround has been fine as a short term solution when I'm closing the screen for a couple mins at a time. I can't confirm the efficacy long-term.
 
  • Like
Reactions: csandrade87

Kiichin

Member
Newcomer
Joined
Oct 9, 2013
Messages
11
Trophies
0
Age
31
XP
151
Country
Brazil
Hey friends.
Haven't used my 3DS to play DS much these past few years and I wanted to do so.

I had installed this patch and TWMenu++ a couple of years ago. Now, when I open the TWPatcher and choose my option (say, Sono's Crisp") everything seems to work as intended but when I open the game (a Pokémon hackrom) through TWMenu++ it doesn't look different. It could be just me not being able to see a huge difference but a funny behaviour is that when I open TWMenu++ the "cursor" seems to be selecting the sharpen filter, instead of the previously selected one (Sono's Crisp at this example). Is this the expected behaviour? If it is not how could I go around updating? Thanks in advance.
 

verypedro

Well-Known Member
Newcomer
Joined
Jul 28, 2019
Messages
53
Trophies
0
Age
29
XP
292
Country
Brazil
Hey friends.
Haven't used my 3DS to play DS much these past few years and I wanted to do so.

I had installed this patch and TWMenu++ a couple of years ago. Now, when I open the TWPatcher and choose my option (say, Sono's Crisp") everything seems to work as intended but when I open the game (a Pokémon hackrom) through TWMenu++ it doesn't look different. It could be just me not being able to see a huge difference but a funny behaviour is that when I open TWMenu++ the "cursor" seems to be selecting the sharpen filter, instead of the previously selected one (Sono's Crisp at this example). Is this the expected behaviour? If it is not how could I go around updating? Thanks in advance.
Did you enable external FIRMS in the Luma menu (holding Select while powering on the 3DS)? It won't work if you haven't.

But yeah, the app always default to Linear Sharpen when you launch it. That is expected.


While I am at it I was wondering it is possible to have game specific patches. I use YANBF to launch my games from the 3DS Menu and it would be super cool to have a specific patch to a specific game, like Sharpen Crisp to Pokémon, or Linear Sharpen for Super Mario 64 DS.
I know it's probably not possible, but I was wondering about it
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,829
Trophies
2
Location
home
XP
9,422
Country
Hungary
While I am at it I was wondering it is possible to have game specific patches. I use YANBF to launch my games from the 3DS Menu and it would be super cool to have a specific patch to a specific game, like Sharpen Crisp to Pokémon, or Linear Sharpen for Super Mario 64 DS.
I know it's probably not possible, but I was wondering about it

Not possible with the default TWL_FIRM / AGB_FIRM.

With a custom replacement, it is possible to read settings from SDCard for each specific game. It's not ready to be released though, especially since I don't have raw SD access, as Nintendo didn't add it to Process9.
 
  • Like
Reactions: verypedro

verypedro

Well-Known Member
Newcomer
Joined
Jul 28, 2019
Messages
53
Trophies
0
Age
29
XP
292
Country
Brazil
Not possible with the default TWL_FIRM / AGB_FIRM.

With a custom replacement, it is possible to read settings from SDCard for each specific game. It's not ready to be released though, especially since I don't have raw SD access, as Nintendo didn't add it to Process9.
Yeah, I was guessing that it wouldn't be possible.

But don't mind this specific use and keep doing your best with the open_twl_firm (or whatever you decide to name it lol), you are doing what Nintendind't. Thank you!
 
  • Like
Reactions: Sono

Altphere

New Member
Newbie
Joined
Aug 8, 2023
Messages
2
Trophies
0
Age
20
XP
19
Country
Spain
Don't know why, but everytime i try to apply some upscaling patches it just refuses to work. I've been trying for days now, but it doesn't want to change the upscaling method. Is TWPatcher working on the latest luma version?
 

verypedro

Well-Known Member
Newcomer
Joined
Jul 28, 2019
Messages
53
Trophies
0
Age
29
XP
292
Country
Brazil
Don't know why, but everytime i try to apply some upscaling patches it just refuses to work. I've been trying for days now, but it doesn't want to change the upscaling method. Is TWPatcher working on the latest luma version?
Luma 13 broke some things but 13.0.1 fixed it back.

Be sure to Enable loading external FIRMs and modules in the Luma start up menu by holding Select while powering up the console. After applying a filter with TWPatch it should create a file named TwlBg.cxi on /luma/sysmodules. Please check if that is the case
 
  • Like
Reactions: Altphere

Altphere

New Member
Newbie
Joined
Aug 8, 2023
Messages
2
Trophies
0
Age
20
XP
19
Country
Spain
Luma 13 broke some things but 13.0.1 fixed it back.

Be sure to Enable loading external FIRMs and modules in the Luma start up menu by holding Select while powering up the console. After applying a filter with TWPatch it should create a file named TwlBg.cxi on /luma/sysmodules. Please check if that is the case
Yeah I had that enabled. What seemed to cause the issue was that i also enabled the option of custom upscaling filters for DSi on the startup menu, because it sounded like i needed that enabled too. Disabling it seems to have fixed the problem.
 
  • Like
Reactions: verypedro

verypedro

Well-Known Member
Newcomer
Joined
Jul 28, 2019
Messages
53
Trophies
0
Age
29
XP
292
Country
Brazil
Yeah I had that enabled. What seemed to cause the issue was that i also enabled the option of custom upscaling filters for DSi on the startup menu, because it sounded like i needed that enabled too. Disabling it seems to have fixed the problem.
Nice that you figured it out! It will help to troubleshoot other people who might come across with the same problem.

By the way, I still have no idea what that feature in Luma does lol
 
  • Like
Reactions: Altphere

Einz

New Member
Newbie
Joined
Dec 8, 2016
Messages
3
Trophies
0
Age
24
XP
51
Country
Canada
Is there a way to use both GPU scaling for widescreen games and scaling filters for non-widescreen games?
Ideally, I'd like to be able to switch between the two by selecting the 4:3 or 16:10 options in the Twilight Menu Game settings.

From what I've read so far, it seems I'll need to have two different "TwlBg.cxi" files to manually rename to "Widescreen.cxi" in the "sd:/_nds/TWiLightMenu/TwlBg/" path?
 
Last edited by Einz,

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,649
Trophies
3
Age
24
XP
21,121
Country
United States
Is there a way to use both GPU scaling for widescreen games and scaling filters for non-widescreen games?
Ideally, I'd like to be able to switch between the two by selecting the 4:3 or 16:10 options in the Twilight Menu Game settings.

From what I've read so far, it seems I'll need to have two different "TwlBg.cxi" files to manually rename to "Widescreen.cxi" in the "sd:/_nds/TWiLightMenu/TwlBg/" path?
Just do the widescreen process like normal, and then when done, re-run TWPatch, and select your scaling filter with widescreen disabled.
 
  • Like
Reactions: Einz

Einz

New Member
Newbie
Joined
Dec 8, 2016
Messages
3
Trophies
0
Age
24
XP
51
Country
Canada
Just do the widescreen process like normal, and then when done, re-run TWPatch, and select your scaling filter with widescreen disabled.
Thanks! So just to check my understanding, the widescreen cxi remains in the "sd:/_nds/TWiLightMenu/TwlBg/" path, and the scaling filter cxi remains in the default location "sd:/_nds/TWiLightMenu/TwlBg/".

Picking the aspect ratio for each game will then utilize the right cxi accordingly?
 

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,649
Trophies
3
Age
24
XP
21,121
Country
United States
Thanks! So just to check my understanding, the widescreen cxi remains in the "sd:/_nds/TWiLightMenu/TwlBg/" path, and the scaling filter cxi remains in the default location "sd:/_nds/TWiLightMenu/TwlBg/".
The default location would actually be "sd:/luma/sysmodules/".
Picking the aspect ratio for each game will then utilize the right cxi accordingly?
Yes, it will.
 
  • Like
Reactions: Einz

CapitanRooster

New Member
Newbie
Joined
Sep 29, 2023
Messages
4
Trophies
0
Age
26
XP
21
Country
United States
I've used the patcher for installing the blue light filter specifically but I don't really know how to toggle between regular light mode and my filter configuration while I'm playing DS games. I've looked everywhere but does anyone know how to go between them? Specifically I'm using Twilight Menu to play ds games. I don't really want to be using the filter during the day.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,829
Trophies
2
Location
home
XP
9,422
Country
Hungary
I've used the patcher for installing the blue light filter specifically but I don't really know how to toggle between regular light mode and my filter configuration while I'm playing DS games. I've looked everywhere but does anyone know how to go between them? Specifically I'm using Twilight Menu to play ds games. I don't really want to be using the filter during the day.

You can't, it's not a feature anyone asked for yet.

The best I can do is add button held detection to disable. Which button? Can't make it configurable, so it must be decided.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    cearp @ cearp: still, I agree physical media is nice to have. just pointing out the issue is drm