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

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

ghjfdtg

Well-Known Member
Member
Joined
Jul 13, 2014
Messages
1,350
Trophies
1
XP
3,237
Country
Yeah, that won't be high speed and requires polling which is not perfect but will do the job for low speed stuff like additional HID.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,800
Trophies
2
Location
home
XP
9,222
Country
Hungary
awesome sono! you're a god!

I only did the 3DS side implementation, all other credit goes to @Gericom

Mario 64 with actual analog control? Dear god...

Yeah, we won't need the CPad to touch emulation thingy (which doesn't even work in DSi mode btw), because we have access to the FULL 12bits analog precision of the CPad from the DS side. Sure, SM64DS might not support that high resolution analog input, but it's still higher resolution than its touch input.

wait... if we have access to arm11/communication... Could this mean wireless screen capture for ds mode?

Nope. We can't save it anywhere. And this has just enough bandwidth for input polling at 60FPS, but for large data transfers you need to softlock ARM11 (which freezes the graphics), so this is not viable.
Oh also, you don't even need DS mode for screen capture, you could do that fully from ARM11 without this discovery. The only problem is that we don't have DSi/3DS WiFi drivers in TwlBg.

I think that the new discovery deserves is own thread :P

There is the Widescreen thread. Perhaps add patches there? Or you meant a full-blown thread detailing how stuff works and how to integrate it into a game patch?

so will this allow better screen scaling?

Nope. The DS GPU's resolution is fixed in hardware, and we can't change that. Sadly this only allows extra hardware access, but pushing video data to the 3DS is just too much bandwidth.
 

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,977
Trophies
2
XP
4,281
Country
Italy
I've been trying to think of some other DS games than SM64DS that would benefit from this and so far these are the ones that come to mind:

Final Fantasy Crystal Chronicles Ring of Fates + Echoes of Time
Kingdom Hearts 358/2 Days
Kingdom Hearts Re:Coded
Nanostray 1+2
Ninja Gaiden Dragon Sword (though I personally don't think it's worth it.)
Okamiden
Phantasy Star 0
TLoZ Phantom HourGlass
TLoZ Spirit Tracks
Solatorobo
Soma Bringer
Star Fox Command (already has a patch for dpad controls it seems)

Also there are lots of RPGs that allow for either dpad or touch controls but I don't think it will change their playability as much as for action games. Ex. Dragon Quest IX, Chrono Trigger etc.

See reply below:
There are also lots of games that would benefit from this but they probably don't have the possibility because they lack any support for more directional input since they don't have touch screen controls support like Okamiden, Solatorobo, Soma Bringer etc.
 
Last edited by Zense,

Gericom

Well-Known Member
Member
Joined
Jun 30, 2011
Messages
1,379
Trophies
2
Age
25
XP
4,658
Country
Netherlands
I've been trying to think of some other DS games than SM64DS that would benefit from this and so far these are the ones that come to mind:
Ninja Gaiden Dragon Sword (though I personally don't think it's worth it.)
TLoZ Phantom HourGlass
TLoZ Spirit Tracks
Star Fox Command (already has a patch for dpad controls it seems)

Also there are lots of RPGs that allow for either dpad or touch controls but I don't think it will change their playability as much as for action games. Ex. Dragon Quest IX, Chrono Trigger etc.

There are also lots of games that would benefit from this but they probably don't have the possibility because they lack any support for more directional input since they don't have touch screen controls support like Okamiden, Solatorobo, Soma Bringer etc.
If games are 3d there's a good chance input is first converted into a direction vector though. If that's the case it may be patchable.
 

plug313

Well-Known Member
Member
Joined
Jun 27, 2016
Messages
163
Trophies
0
Age
29
XP
622
Country
kingdom hearts games would be great!
would this new development somehow help with increasing game resolution? probably not but it's worth asking ahahah
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,800
Trophies
2
Location
home
XP
9,222
Country
Hungary
kingdom hearts games would be great!
would this new development somehow help with increasing game resolution? probably not but it's worth asking ahahah

If you read back a bit, it has been asked.

Sadly it's not possible, because the resolution is "hardcoded" into the DS hardware.
 

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,977
Trophies
2
XP
4,281
Country
Italy
If games are 3d there's a good chance input is first converted into a direction vector though. If that's the case it may be patchable.
Ah, I see. Well, in that case then there are a bunch of more games. You could add the Final Fantasy Crystal Chronicles games too. Echoes of Time would be interesting to see because for it's Wii port (it doesn't look like emulation) it only used the dpad's 8 directions instead of the nunchuck's range, and it looks and feels a bit jankey.

Come to think of it, Nanostray and its sequel would be interesting too, considering they're shmups that would benefit from finer control, especially considering you wouldn't have to hold you hand in the way of what's happening on-screen.
 
Last edited by Zense,
D

Deleted User

Guest
Wait... really wack idea, could we emulate support for the ir sensor for the pokemon games that had it.
aka heart gold, soul silver, black &white, black2 & white2?
 

Gericom

Well-Known Member
Member
Joined
Jun 30, 2011
Messages
1,379
Trophies
2
Age
25
XP
4,658
Country
Netherlands
Wait... really wack idea, could we emulate support for the ir sensor for the pokemon games that had it.
aka heart gold, soul silver, black &white, black2 & white2?
That depends a bit on the way that communication works. Currently we can only communicate with arm11 once per frame.
 
D

Deleted User

Guest
That depends a bit on the way that communication works. Currently we can only communicate with arm11 once per frame.
it's not super intensive I think. usually like for example ir battles in black & white it's used to sync systems into wireless mode.
Aka you point the two systems for a moment, and then it enters wireless mode for trades and battles.
As for Heart Gold and Soul Silver, that Ir sensor is used to communicate with the poke walker, which I can't imagine that it would need very speedy communication

--------------------- MERGED ---------------------------

But that's conjecture, I could be 100% wrong.
 

dotelias

Member
Newcomer
Joined
Dec 12, 2018
Messages
9
Trophies
0
Age
32
XP
330
Country
Chile
We haven't yet found a way to do 3DS --> ? --> GBA, but GBARunner2 might have support for it once implemented 3DS-side.

Definitely in gbarunner2 once we have that working. We're now first creating a way to upload arm11 code from arm7. After that we can experiment more easily.

Thanks for the answers :)

Sono, would you recommend using the filter app you posted a few months ago or waiting on the next version?
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,800
Trophies
2
Location
home
XP
9,222
Country
Hungary
would you recommend using the filter app you posted a few months ago or waiting on the next version?

The 3DS version only has some scale matrixes, and the exe has only patches. Choose which one you want.

I'd say don't wait. I leave early and arrive late, so I don't have time to work on TWPatch except on weekends.
 

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,178
Trophies
1
Age
42
XP
3,248
Country
United States
It just occurred to me that the "useless" 1.5x DS scaling has a use.

Launch GBARunner2 and un-check the "center and mask" option. Now with 1.5x scaling your display should be mostly filled up with a GBA game.

I'm guessing the left bound on the top screen would have to be pushed left a bit as some of the GBA sized output would be cut off at the moment. But having made a widescreen patch I'm sure Sono know how to do that. Not sure if its worth his time but just a cool use I thought of.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,800
Trophies
2
Location
home
XP
9,222
Country
Hungary
It just occurred to me that the "useless" 1.5x DS scaling has a use.

Launch GBARunner2 and un-check the "center and mask" option. Now with 1.5x scaling your display should be mostly filled up with a GBA game.

I'm guessing the left bound on the top screen would have to be pushed left a bit as some of the GBA sized output would be cut off at the moment. But having made a widescreen patch I'm sure Sono know how to do that. Not sure if its worth his time but just a cool use I thought of.

I have already thought of this (could dig up chats as proof), but I have completely forgotten about nagging @Robz8 to add GBA resolution to TWiLightMenu so you can navigate to your GBA ROMs.
But that might not matter if @Gericom adds the widescreen patches into GBARunner2 and uploads them to the ARM11.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    S @ salazarcosplay: but nintendo licensed