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

  • Thread starter Sono
  • Start date
  • Views 747,569
  • Replies 2,428
  • Likes 101

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 .

LinusRG

Well-Known Member
Member
Joined
Jun 7, 2017
Messages
254
Trophies
0
Age
19
XP
706
Country
Canada
thankyou everything works perfectly now. Also i am pretty sure i read this somewhere that if a game compatibility is broken i should tell you. The game I was testing this exploit out with was sm64 as i said earlier and i noticed that the game runs fine, but if put into sleep mode then taken out of sleep mode the video cuts off.
 
  • Like
Reactions: RocketRobz

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,593
Trophies
3
Age
24
XP
20,971
Country
United States
thankyou everything works perfectly now. Also i am pretty sure i read this somewhere that if a game compatibility is broken i should tell you. The game I was testing this exploit out with was sm64 as i said earlier and i noticed that the game runs fine, but if put into sleep mode then taken out of sleep mode the video cuts off.
It's caused by TWL clock speed.
Open the per-game settings in the ROM menu by pressing Y, then set ARM9 CPU speed to 67mhz (NTR).
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,821
Trophies
2
Location
home
XP
9,317
Country
Hungary
thankyou everything works perfectly now. Also i am pretty sure i read this somewhere that if a game compatibility is broken i should tell you. The game I was testing this exploit out with was sm64 as i said earlier and i noticed that the game runs fine, but if put into sleep mode then taken out of sleep mode the video cuts off.

The video cuts off if trainer mode is on, because sleep mode seems to turn VRAM off, which corrupts/wipes the trainer code, effectively executing garbage and softlocking the entire system beause ARM11 crashed.
 
  • Like
Reactions: Nutez

Elwyndas

Well-Known Member
Member
Joined
Dec 19, 2018
Messages
197
Trophies
0
XP
680
Country
United States
Do I understand correctly that this patch will forever only work for 3D-style games, and never for 2D side scrollers etc?
I know de Blob 2, which is supported, is a scroller, but it also has a light 3D effect.
Either way, I got it all to work after a clean manual re-install of Twilight. Thanks a lot to Rob and Sono!
 
  • Like
Reactions: RocketRobz

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,821
Trophies
2
Location
home
XP
9,317
Country
Hungary
Do I understand correctly that this patch will forever only work for 3D-style games, and never for 2D side scrollers etc?
I know de Blob 2, which is supported, is a scroller, but it also has a light 3D effect.
Either way, I got it all to work after a clean manual re-install of Twilight. Thanks a lot to Rob and Sono!

Well, there must be definitely some games which use 3D mode and require a very big patch to have squished 3D in some areas. But yeah, usually 3D games should work. It doesn't matter what the user sees, it could be fake 3D using the 2D engine (though why would a dev do this?), or it could do 2D using the 3D engine (image stretching perhaps?). All it matters is that it uses the 3D engine! If it uses the 3D engine then it has a chance to be patchable.
 

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,593
Trophies
3
Age
24
XP
20,971
Country
United States
@Robz8 I've noticed that TWLMenu's menu is still in 4:3. Do you plan to make a widescreen menu?
Edit: just realized this may be the wrong thread for this question, sorry!
While it's indeed possible, I don't want to increase boot time by switching over to 16:10, after launching TWiLight Menu++.
 

Werosky

Member
Newcomer
Joined
Apr 30, 2019
Messages
6
Trophies
0
Age
27
Location
Puebla, México
XP
151
Country
Mexico
Is there any reason on why the games on the list looks stretched? I followed the guide but I'm getting this same looking on the games.

This is the same problem that @MarkussLugia pointed out. This is also his pic, as I see it looks the same on my N3DS XL.
 

Attachments

  • IMG_20190812_153438.jpg
    IMG_20190812_153438.jpg
    591.6 KB · Views: 144

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,463
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,302
Country
@Werosky That doesn't look stretched to me? You can see more on the sides in the widescreen shot, because it's ... widescreen.

For Pokémon games, you mostly only get true widescreen when you're running around in the overworld, as the battles are either in 2D (most games) or nobody has been able to get the 3D stuff to display in widescreen (Black & White 1 & 2).
 

Werosky

Member
Newcomer
Joined
Apr 30, 2019
Messages
6
Trophies
0
Age
27
Location
Puebla, México
XP
151
Country
Mexico
@Werosky That doesn't look stretched to me? You can see more on the sides in the widescreen shot, because it's ... widescreen.

For Pokémon games, you mostly only get true widescreen when you're running around in the overworld, as the battles are either in 2D (most games) or nobody has been able to get the 3D stuff to display in widescreen (Black & White 1 & 2).

It looks normal, but take a look of another pic he uploaded too. I'm using his photos again, sorry. As you can see, the main character sprite looks way better in the second one. His face looks better and actually you get to see the details of his eyes, something that is missing in the first one, which looks less detailed.
 

Attachments

  • IMG_20190812_153438.jpg
    IMG_20190812_153438.jpg
    591.6 KB · Views: 124
  • IMG_20190813_115407.jpg
    IMG_20190813_115407.jpg
    602 KB · Views: 158

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,463
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,302
Country
@Werosky That's just the sacrifice you make with widescreen. We're limited by the resolution of the original DS, 256*192. The widescreen hack is displaying more information (a wider picture) in the same resolution, so games like Pokémon that rely on sharp pixel graphics at the normal 4:3 display will lose some detail just because of how this all works.
 

Werosky

Member
Newcomer
Joined
Apr 30, 2019
Messages
6
Trophies
0
Age
27
Location
Puebla, México
XP
151
Country
Mexico
@Werosky That's just the sacrifice you make with widescreen. We're limited by the resolution of the original DS, 256*192. The widescreen hack is displaying more information (a wider picture) in the same resolution, so games like Pokémon that rely on sharp pixel graphics at the normal 4:3 display will lose some detail just because of how this all works.

Sorry if I'm not being clear enough. Both photos show a N3DS XL running Pokémon in Widescreen mode, however, there's a difference between those pics as pointed by the user that first uploaded these pics. He had a problem with this filter. One picture is from he was able to run in flawlessly and the other one, when there was a problem with the .cxi file. I'm asking what do I need to do in order to get the right Widescreen filter and not the stretched one. Here's a better pic of what I'm talking about.
 

Attachments

  • 3dswide.png
    3dswide.png
    6.1 MB · Views: 170

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,463
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,302
Country
@Werosky Both photos don't show the game running in widescreen. One shows it running in widescreen (when it was working correctly--this is the one you don't like) and one shows the game running stretched (just the normal game display stretched out to display over a wider area, which seems to be the one you like).

If all you want to do is play the game stretched, you should place your patched TwlBg.cxi in sdmc:/luma/sysmodules. This will cause all games to run stretched (not widescreen), as in the top picture in your most recent post.
 
  • Like
Reactions: RocketRobz

Metroid84

Member
Newcomer
Joined
Jul 31, 2019
Messages
8
Trophies
0
Age
26
XP
296
Country
Brazil
Just noticed that there's a new release on the Menu. I'll try updating this one manually.

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


It works normally now! Thank you Robz!
Did you install both latest TWLMenu++ CIAs using FBI?



I'm having this same stretched screen problem, games are not widescreen

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

Did you install both latest TWLMenu++ CIAs using FBI?


I'm having this same stretched screen problem, games are not widescreen
Did you install both latest TWLMenu++ CIAs using FBI?

I'm having this same stretched screen problem, games are not widescreen
 

LinusRG

Well-Known Member
Member
Joined
Jun 7, 2017
Messages
254
Trophies
0
Age
19
XP
706
Country
Canada
if you have not done this yet make sure the file is not in the sysmodules folder inside the luma folder because the menu copied it there for me automatically then I had to delete it from there manually. Also try repatching the sector0.bin file this ended up working for me. And as it says up above make sure the file is called widescreen.cxi and it is put in the correct folder. (_nds/Twilightmenu++/TwlBg/Widescreen.cxi)
 
  • Like
Reactions: Metroid84

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,593
Trophies
3
Age
24
XP
20,971
Country
United States
if you have not done this yet make sure the file is not in the sysmodules folder inside the luma folder because the menu copied it there for me automatically then I had to delete it from there manually. Also try repatching the sector0.bin file this ended up working for me. And as it says up above make sure the file is called widescreen.cxi and it is put in the correct folder. (_nds/Twilightmenu++/TwlBg/Widescreen.cxi)
@Metroid84 ^
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    cearp @ cearp: Welcome hazbeans