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

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

Hyper99

Well-Known Member
Newcomer
Joined
Aug 2, 2019
Messages
90
Trophies
0
Age
21
XP
140
Country
Venezuela
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?
 

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,593
Trophies
3
Age
24
XP
20,971
Country
United States
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.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,821
Trophies
2
Location
home
XP
9,317
Country
Hungary
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,

Hyper99

Well-Known Member
Newcomer
Joined
Aug 2, 2019
Messages
90
Trophies
0
Age
21
XP
140
Country
Venezuela
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

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,593
Trophies
3
Age
24
XP
20,971
Country
United States
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,

Hyper99

Well-Known Member
Newcomer
Joined
Aug 2, 2019
Messages
90
Trophies
0
Age
21
XP
140
Country
Venezuela
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?
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,821
Trophies
2
Location
home
XP
9,317
Country
Hungary
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

General chit-chat
Help Users
  • BakerMan
    The snack that smiles back, Ballsack!
    Xdqwerty @ Xdqwerty: @BakerMan, I have a piano keyboard but I never use it