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

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

emcintosh

On the internet, everyone knows I'm a cat
Member
Joined
Dec 4, 2016
Messages
444
Trophies
0
XP
2,333
Country
United Kingdom

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
33
XP
256
Country
This post includes the link, which worked for me just now: https://gbatemp.net/threads/twpatch...ilters-and-patches.542694/page-9#post-8712553 - the link is to a file on sono dot 9net dot org. Is this the one you're having trouble with?
Yes I can't enter sono.9net.org

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

This post includes the link, which worked for me just now: https://gbatemp.net/threads/twpatch...ilters-and-patches.542694/page-9#post-8712553 - the link is to a file on sono dot 9net dot org. Is this the one you're having trouble with?
Can you share the latest patcher with me?
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,820
Trophies
2
Location
home
XP
9,310
Country
Hungary
@Sono uhhh I'm guessing the filters dont work with widescreen so how do I remove the filters completely?

You can't apply both yet. Either widescreen or filters.

As for reverting to stock, just delete /luma/sysmodules/TwlBg.cxi and /luma/sysmodules/AgbBg.cxi if they exist.
 
  • Like
Reactions: selcuk

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
33
XP
256
Country
You can't apply both yet. Either widescreen or filters.

As for reverting to stock, just delete /luma/sysmodules/TwlBg.cxi and /luma/sysmodules/AgbBg.cxi if they exist.
found a way to apply both filter and widescreen
fist you use your cia patcher to create a patched twlbg.cxi and then you use your widecreen patcher buuuut you rename the twlbg.cxi to section0.bin and pacth it. It works

credits: @validusername16 from nintendo homebrew discrod server
also also Is there a way to manually patch agb.firm and make it widescree as well or does it work with your widescreen patcher as well?
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,820
Trophies
2
Location
home
XP
9,310
Country
Hungary
found a way to apply both filter and widescreen
fist you use your cia patcher to create a patched twlbg.cxi and then you use your widecreen patcher buuuut you rename the twlbg.cxi to section0.bin and pacth it. It works

credits: @validusername16 from nintendo homebrew discrod server

It's not possible yet. It'll apply on the Y axis, but not the X axis.

also also Is there a way to manually patch agb.firm and make it widescreen as well or does it work with your widescreen patcher as well?

It's undocumented, but if you replace "asd" with "agb", and use section0 from AGB_FIRM instead of TWL_FIRM, then you'll get widescreen GBA stretched to 400x240.
 
  • Like
Reactions: selcuk

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
33
XP
256
Country
It's not possible yet. It'll apply on the Y axis, but not the X axis.



It's undocumented, but if you replace "asd" with "agb", and use section0 from AGB_FIRM instead of TWL_FIRM, then you'll get widescreen GBA stretched to 400x240.
sorry for lots of questions but how do I dump agb_firm or section0 inside it?
 

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
33
XP
256
Country
It's almost exactly the same as you do with TWL_FIRM, except AGB_FIRM is located at 00000202 instead of 00000102.
so I dumped exefs.bin from 00000102 then I renamed it to section0.bin and put it into the file where the widescreen patcher was then I prepared a new bat file only, as you said, I changed the asb to agb then run the bat file. Then a cmd prompt opened and closed very quicly but no new files were added to the folder
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,820
Trophies
2
Location
home
XP
9,310
Country
Hungary
so I dumped exefs.bin from 00000102 then I renamed it to section0.bin and put it into the file where the widescreen patcher was then I prepared a new bat file only, as you said, I changed the asb to agb then run the bat file. Then a cmd prompt opened and closed very quicly but no new files were added to the folder

102 is TWL_FIRM, you need 202, which is AGB_FIRM

As for the quick closing, add the below line to the bat file:
@IF %ERRORLEVEL% NEQ 0 @pause
 
  • Like
Reactions: selcuk

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
33
XP
256
Country
102 is TWL_FIRM, you need 202, which is AGB_FIRM

As for the quick closing, add the below line to the bat file:
@IF %ERRORLEVEL% NEQ 0 @pause
sorry I meant 202 hehe

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

102 is TWL_FIRM, you need 202, which is AGB_FIRM

As for the quick closing, add the below line to the bat file:
@IF %ERRORLEVEL% NEQ 0 @pause
hmmmmmmmmmmm says this:
Can't open /luma/section0.bin
Please mount app file from CTRNAND
/title/00040138/?0000102/
########.app in GM9 where
? is 2 on new3DS and 0 on old3DS
# is the lowest on the file list
and save exefs.bin as
/luma/section0.bin on your SDCard.
!! FILE IS COPYRIGHTED ! DO NOT SHARE !!


Failed to load TwlBg, please read above
Push SELECT to exit
Press any key to continue . . .
maybe I should redump it?
 

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
33
XP
256
Country
Again, it's EXACTLY the same, except you use 202 instead of 102, and you replace "asd" with "agb".
alright, I redumped the file and I'm sure its the correct one. I renamed it. Created the .txt file said
''mkpatch_b agb 1010''
named it wide.bat ran it.... didn't worked so I ran the mkpatch_b.exe and it worked and gave me a twlbg.cxi file

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

like is that the correct file @Sono
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,820
Trophies
2
Location
home
XP
9,310
Country
Hungary
alright, I redumped the file and I'm sure its the correct one. I renamed it. Created the .txt file said
''mkpatch_b agb 1010''
named it wide.bat ran it.... didn't worked so I ran the mkpatch_b.exe and it worked and gave me a twlbg.cxi file

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

like is that the correct file @Sono

No, for GBA it has to be AgbBg.cxi, and you HAVE TO pass agb as the parameter.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: @SylverReZ, Indeed lol