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

  • Thread starter Thread starter Sono
  • Start date Start date
  • Views Views 970,284
  • Replies Replies 2,623
  • Likes Likes 107

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 .
Yes, so that it can reboot into widescreen, if a game supports it.
The GUI itself will stay in 4:3 (with black borders, ofc).
If a game doesn't support it, the game would just be 4:3 or would it bug horribly?
 
Yes, so that it can reboot into widescreen, if a game supports it.
The GUI itself will stay in 4:3 (with black borders, ofc).
What I meant was that the patch would only work on TwilightMenu++, not original NDS games, which it isn't how it should work, right?
 
What I meant was that the patch would only work on TwilightMenu++, not original NDS games, which it isn't how it should work, right?
It'll only work for TWiLight Menu++, so DSiWare games/apps will stay in 4:3.
The patcher itself will probably have a widescreen for all option though. Don't quote me on that though.
 
Everyone has been waiting long enough. It's 31C at 21:58 and I'm having a heatstroke. Fuck this.

I packaged the secret PC version. No pattern selection, sorry. Not that it's useful because the widescreen patch writes an identity matrix on boot.

Put unpatched TwlBg.cxi or section0.bin next to mkpatch.exe and rename it as section0.bin
Run ./mkpatch.exe asd 1010
That will create TwlBg.cxi which you can copy to your 3DS

The exe is in a zip to bypass "security" checks.

the "asd" part can be anything except "agb"
"1010" is a binary bitmask, 0th bit is rightmost, zerofill
bit list:
0 CTR_Redshift
1 debug text
2 trainer mode
3 DMPGL wide
4 "HID" patch, source code says "remove opposing DPAD check"
7 "DEBUG" patch, source code says "hidden debug patch"

rest of the bits must be zero or else fail

Note for patch selection:
If "bytes used" reports 100% or more then remove either the debug text or the redshift code!

https://puu.sh/E43fN/f7f3eb2f61.zip
 
Last edited by Sono,
Everyone has been waiting long enough. It's 31C at 21:58 and I'm having a heatstroke. Fuck this.

I packaged the secret PC version. No pattern selection, sorry. Not that it's useful because the widescreen patch writes an identity matrix on boot.

Put unpatched TwlBg.cxi or section0.bin next to mkpatch.exe and rename it as section0.bin
Run ./mkpatch.exe asd 1000
That will create TwlBg.cxi which you can copy to your 3DS

The exe is in a zip to bypass "security" checks.

the "asd" part can be anything except "agb"
"1000" is a binary bitmask, 0th bit is rightmost, zerofill
bit list:
0 CTR_Redshift
1 debug text
2 trainer mode
3 DMPGL wide
4 "HID" patch, source code says "remove opposing DPAD check"
7 "DEBUG" patch, source code says "hidden debug patch"

rest of the bits must be zero or else fail

Note for patch selection:
If "bytes used" reports 100% or more then remove either the debug text or the redshift code!

https://puu.sh/E426K/9b88b4ef79.zip
I have so many questions
 
  • Like
Reactions: Sono
Everyone has been waiting long enough. It's 31C at 21:58 and I'm having a heatstroke. Fuck this.

I packaged the secret PC version. No pattern selection, sorry. Not that it's useful because the widescreen patch writes an identity matrix on boot.

Put unpatched TwlBg.cxi or section0.bin next to mkpatch.exe and rename it as section0.bin
Run ./mkpatch.exe asd 1000
That will create TwlBg.cxi which you can copy to your 3DS

The exe is in a zip to bypass "security" checks.

the "asd" part can be anything except "agb"
"1000" is a binary bitmask, 0th bit is rightmost, zerofill
bit list:
0 CTR_Redshift
1 debug text
2 trainer mode
3 DMPGL wide
4 "HID" patch, source code says "remove opposing DPAD check"
7 "DEBUG" patch, source code says "hidden debug patch"

rest of the bits must be zero or else fail

Note for patch selection:
If "bytes used" reports 100% or more then remove either the debug text or the redshift code!

https://puu.sh/E426K/9b88b4ef79.zip
In the generated .cxi with the DMPGL wide patch, the top screen isn't stretched, and there's glitchiness on the right side of the top screen.
Is there anything I need to change? I used "asd 1000".
 
Last edited by RocketRobz,
Everyone has been waiting long enough. It's 31C at 21:58 and I'm having a heatstroke. Fuck this.

I packaged the secret PC version. No pattern selection, sorry. Not that it's useful because the widescreen patch writes an identity matrix on boot.

Put unpatched TwlBg.cxi or section0.bin next to mkpatch.exe and rename it as section0.bin
Run ./mkpatch.exe asd 1000
That will create TwlBg.cxi which you can copy to your 3DS

The exe is in a zip to bypass "security" checks.

the "asd" part can be anything except "agb"
"1000" is a binary bitmask, 0th bit is rightmost, zerofill
bit list:
0 CTR_Redshift
1 debug text
2 trainer mode
3 DMPGL wide
4 "HID" patch, source code says "remove opposing DPAD check"
7 "DEBUG" patch, source code says "hidden debug patch"

rest of the bits must be zero or else fail

Note for patch selection:
If "bytes used" reports 100% or more then remove either the debug text or the redshift code!

https://puu.sh/E426K/9b88b4ef79.zip
I'm afraid to ask because I think you mentioned it in previous pages, but where do I find section0.bin?
 
In the generated .cxi with the DMPGL wide patch, the top screen isn't stretched, and there's glitchiness on the right side of the top screen.
Is there anything I need to change? I used "asd 1000".

Updated the URL, the wide patch was commented out by accident.

I'm afraid to ask because I think you mentioned it in previous pages, but where do I find section0.bin?

It's the same as in the manual patching, except you use the exe instead of HxD. Also, redownload the exe because I made a mistake.
 

Site & Scene News

Popular threads in this forum