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

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

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,800
Trophies
2
Location
home
XP
9,221
Country
Hungary
The patcher doesn't account for CTR NAND.
One way to check if Luma is running from CTR NAND, is to see if "boot.firm" doesn't exist on the SD card.

That's Luma's fault for only loading files from the boot source, and not from SD. Maybe an option to "allow loading from SD" in CTRNAND mode would be useful, but checking the code, I don't think it would be easily done without a rework on how the filesystem code works. Perhaps double-checking if it doesn't exist on CTRNAND then try on SD, but that sounds like hassle.
 
  • Like
Reactions: RocketRobz

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,800
Trophies
2
Location
home
XP
9,221
Country
Hungary
couldnt you just move the cxi and luma folder into the same place as lumas config in CTR?

No, sorry.

@Sono hi I have a question how do I create my custom filter. The one that I want to make is a mix between your sharpen test 1 with a color boost.

It was planned for the original patcher, but due to how slow I am, I didn't have enough time to do it yet. It'll be most likely included in the next version of the patcher, along with some other goodies.
 

Oak

Well-Known Member
Member
Joined
Apr 19, 2014
Messages
179
Trophies
0
Age
30
XP
288
Country
United States
tried the original patch with soul silver. dont like it. these are all welcome additions for those who need them. they might play better with other titles.
 
  • Like
Reactions: RocketRobz

Nimrod-002

Well-Known Member
Member
Joined
Dec 8, 2016
Messages
384
Trophies
0
Age
31
XP
1,184
Country
Morocco
is there a way to use this along with the higher sound frequency mode and higher cpu clock eluded to by a previous reply
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,800
Trophies
2
Location
home
XP
9,221
Country
Hungary
Well uh... I have good and bad news.

The good news is that the 384x240 mode works... kinda.
That's the bad news. I have to patch the OpenGL driver, AND the matrix unit driver, otherwise the 384x240 will be scaled back to 320x240 by the PICA GPU (which btw looks REALLY nice because it's not blurry, other than Mario being a bit squished thin), OR the screen glitches out and flickers like crazy, without actually being stretched to 384px.

I'm trying my best to make the patch as cleanly as possible, but the more I look, the more it seems like I have to make compromises by either slowing the FPS down to 30FPS (the game is unaffected), or the game will slow down due to the RAM bandwidth being strained.

I want to hear opinions, because I'm curious what y'all think about these compromises.

Edit: accidently discovered a screen swap patch
30dbf7007b.jpg
 
Last edited by Sono,

ElderC

Member
Newcomer
Joined
Feb 25, 2018
Messages
11
Trophies
0
Age
27
XP
158
Country
Chile
If you say it looks really nice then I would leave it at that rather than taking compromises. This would be one of those things that runs worse on the o3ds right?
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,800
Trophies
2
Location
home
XP
9,221
Country
Hungary
If you say it looks really nice then I would leave it at that rather than taking compromises. This would be one of those things that runs worse on the o3ds right?

Nope, it runs at 30FPS due to hardware timings, and not because of CPU strain. The ARM11 is just there to synchronize the hardware together, the rest of the work is done by the DS hardware embedded into the SoC.
 
  • Like
Reactions: DSoryu and ElderC

emcintosh

On the internet, everyone knows I'm a cat
Member
Joined
Dec 4, 2016
Messages
437
Trophies
0
XP
2,306
Country
United Kingdom
I have never had a problem with games running at 30 FPS. It seems an acceptable compromise for using almost the entire screen. I would be interested in using, or at least trying, such a patch, if you have the time/energy to make it.

Thank you for all your work on this.

The good news is that the 384x240 mode works... kinda.
The bad news... I have to patch the OpenGL driver, AND the matrix unit driver... compromise by either slowing the FPS down to 30FPS, or the game will slow down due to the RAM bandwidth being strained.

I want to hear opinions, because I'm curious what y'all think about these compromises.
 
  • Like
Reactions: Sono

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,463
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,288
Country
I want to hear opinions, because I'm curious what y'all think about these compromises.
Sorry to be a downer, but personally I'd very much prefer to just play games in 4:3 than compromise their performance for a tiny bit of extra width. I don't think either compromise would be enjoyable on my end.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,800
Trophies
2
Location
home
XP
9,221
Country
Hungary
Sorry to be a downer, but personally I'd very much prefer to just play games in 4:3 than compromise their performance for a tiny bit of extra width. I don't think either compromise would be enjoyable on my end.

The game slowdown is only noticable on heavy games; stuff like Mario64DS is unaffected.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Communism lol
  • SylverReZ @ SylverReZ:
    OUR products
  • The Real Jdbye @ The Real Jdbye:
    @LeoTCK actually good quality products are dying out because they can't compete with dropshipped chinese crap
    +2
  • BakerMan @ BakerMan:
    @LeoTCK is your partner the sascrotch or smth?
  • Xdqwerty @ Xdqwerty:
    Good morning
  • Xdqwerty @ Xdqwerty:
    Out of nowhere I got several scars on my forearm and part of my arm and it really itches.
  • AdRoz78 @ AdRoz78:
    Hey, I bought a modchip today and it says "New 2040plus" in the top left corner. Is this a legit chip or was I scammed?
  • Veho @ Veho:
    @AdRoz78 start a thread and post a photo of the chip.
    +2
  • Xdqwerty @ Xdqwerty:
    Yawn
  • S @ salazarcosplay:
    and good morning everyone
    +1
  • K3Nv2 @ K3Nv2:
    @BakerMan, his partner is Luke
  • Sicklyboy @ Sicklyboy:
    Sup nerds
    +1
  • Flame @ Flame:
    oh hi, Sickly
  • K3Nv2 @ K3Nv2:
    Oh hi flame
  • S @ salazarcosplay:
    @K3Nv2 what was your ps4 situation
  • S @ salazarcosplay:
    did you always have a ps4 you never updated
  • S @ salazarcosplay:
    or were you able to get new ps4 tracking it \
    as soon as the hack was announced
  • S @ salazarcosplay:
    or did you have to find a used one with the lower firm ware that was not updated
  • K3Nv2 @ K3Nv2:
    I got this ps4 at launch and never updated since 9.0
  • K3Nv2 @ K3Nv2:
    You got a good chance of buying a used one and asking the seller how often they used or even ask for a Pic of fw and telling them not to update
    K3Nv2 @ K3Nv2: You got a good chance of buying a used one and asking the seller how often they used or even ask...