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

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

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,829
Trophies
2
Location
home
XP
9,422
Country
Hungary
The D-pad filter one.

In this case, it means that the buttons can't be remapped without introducing latency.

How much latency are we talking about?

I'll look at the code for bugs, and try if it's still enabled, but it shouldn't be.

Button remapping is possible with *low* latency, but it requires a lot of CPU power, and button releasing can't be detected, so releasing the button still has high latency.

In Nintendo's bad code, there is an approximate 1-3frame latency. As for real-life actual latency, I lack the tools to measure it, but it's definitely bad.
It is possible to get down to ~8-24 GBA scanline latency with custom code, but you'll either have screen tearing in a fix pattern, or you'll have to hold the 3DS sideways. If none of those sound great, then it is possible to get slightly less than a single frame latency if you're fine with image quality compromises (no scaling, and/or no filters), but you can't get any lower than that without compromises.
If you need filters, you'll need at least ~0.8-1.5 frames of latency to be able to process the filters with the limited harware.
 

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
34
XP
268
Country
TWPatch works patching Nintendo's code, which you can access via GBA's Virtual Console games, or in DS/DSi mode with cartridges or DSiWare. OPEN_AGB_FIRM is a completely different piece of software.
the gba patch works with open_agb_firm. just confirmed
 

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
34
XP
268
Country
does the c-pad emulation only work with certain games or is there something else I need to do to enable it? I have a N3DSLL and the c-pad never seems to work
 

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
34
XP
268
Country
Did it never work, or did patching cause it? Try deleting (or backing up) /luma/sysmodules/TwlBg.cxi and AgbBg.cxi and try again.
by cpad emulation do we also mean c-stick from the N series or is it exclusive to the c-pad?
 

asboy

Well-Known Member
Newcomer
Joined
Apr 19, 2007
Messages
57
Trophies
1
XP
429
Country
United States
I’m not sure if this is the right thread to ask this but googling lead me here, is possible to play games like Warioware Twisted and Yoshi Topsy Turvy natively using the 3DS gyro? I know it works with mgba but I’d like a better native experience if possible.
 

BETA215

Member not found
Member
Joined
Dec 30, 2014
Messages
359
Trophies
0
Location
they/them | 0xDEAD brain
XP
1,729
Country
Argentina
I’m not sure if this is the right thread to ask this but googling lead me here, is possible to play games like Warioware Twisted and Yoshi Topsy Turvy natively using the 3DS gyro? I know it works with mgba but I’d like a better native experience if possible.
Yoshi Topsy Turvy is a pointless game to play with gyro. Movement is just a gimmick with two possible directions instead of 180°/360° movement. It's better played just with the hack that replaces *motion like input* with L and R.

About WW: Twisted which is the game that actually uses such features, I think it *could* be implemented in OPEN_AGB_FIRM. It's just, there's so much a single guy with his own life can do.

The project is open source, so anyone can contribute and help making it possible if they're interested. Any kind of pull request is highly welcomed!
 
  • Sad
Reactions: PopcornSweetie

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,829
Trophies
2
Location
home
XP
9,422
Country
Hungary
I’m not sure if this is the right thread to ask this but googling lead me here, is possible to play games like Warioware Twisted and Yoshi Topsy Turvy natively using the 3DS gyro? I know it works with mgba but I’d like a better native experience if possible.

Not possible yet, especially not natively.

We need to find a way to communicate between the ARM11 and the GBA in such a way, so it doesn't destroy your savefile in the process.

After that, the games need to be patched to use the new method to read the gyro.
 
  • Like
Reactions: asboy

N7Kopper

Lest we forget... what Nazi stood for.
Member
Joined
Aug 24, 2014
Messages
977
Trophies
0
Age
30
XP
1,301
Country
United Kingdom
C-stick doesn't has anything to do with the C-Pad.
The only similarity is that the N3DS (in NATIVE_FIRM) traps all calls to use the C-Stick and maps them to the C-Pad. Interestingly enough, Smash 3DS actually uses the C-Stick, not the C-Pad... but it only works with the pad because the O3DS can't fit the IR drivers in RAM during a match.
 

sneffel

Member
Newcomer
Joined
Aug 27, 2022
Messages
8
Trophies
0
Age
23
Location
Monza
XP
47
Country
Italy
Why doesn't it work? I enabled the features I want (especially the blue shift feature), applied the patch, waited an eternity (twice), opened twilight, launched Pokémon black but I never saw any change to the colours.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,829
Trophies
2
Location
home
XP
9,422
Country
Hungary
Why doesn't it work? I enabled the features I want (especially the blue shift feature), applied the patch, waited an eternity (twice), opened twilight, launched Pokémon black but I never saw any change to the colours.

Did you configure the redshift strength? I think the default redshift config is no change at all.

Did you also modify Luma settings (hold SELECT on startup)?
 

sneffel

Member
Newcomer
Joined
Aug 27, 2022
Messages
8
Trophies
0
Age
23
Location
Monza
XP
47
Country
Italy
Thanks. It worked. But yesterday night I applied too strong of a filter. I wish
1) it was quicker to switch from a config to the other (have multiple presets saved and ready?)
2) the patcher memorized the last settings and you didn't have to re-check everything
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: lol