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

  • Thread starter Sono
  • Start date
  • Views 779,336
  • Replies 2,443
  • Likes 102

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 .

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,837
Trophies
2
Location
home
XP
9,543
Country
Hungary
Hi, so I'm not sure if this is related but could the patch be interfering with the activity log? Because for me, Pokémon platinum has stopped tracking in the 3ds activity log, it only tracks how many times I've opened it and it shows average play time one second. All my other titles seem to track just fine, so it's just this DS one. btw love the sono's crisp filter omg so good awesome work (!!!)

It should not interfere, as I don't patch any of code that's responsible for this.
 
  • Like
Reactions: iLuvPuns

4d1xlaan

Well-Known Member
Member
Joined
Apr 21, 2024
Messages
480
Trophies
0
XP
418
Country
United States
Linear sharpen 1 for use with luma 13.0 and newer, for those who might prefer to use that instead of a whole module replacement

if anyone wants a different one you make these with the code they provide, but if you arent comfortable with python or not sure how to do it anyway then let me know what filter you want and I can generate the file

https://github.com/DullPointer/TWPatch_a/blob/master/soos/krnlist_all.h#L192
https://github.com/LumaTeam/Luma3DS/blob/master/arm9/source/patches.c#L774

example for linear sharpen 1:
Code:
import struct; open("twl_upscaling_filter.bin", "wb+").write(struct.pack("<30H", 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xF800, 0xF800, 0xF800, 0xF800, 0xF800, 0x1000, 0x2000, 0x3000, 0x4000, 0x5000, 0x4000, 0x3000, 0x2000, 0x1000, 0xF800, 0xF800, 0xF800, 0xF800, 0xF800, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000))
 

Attachments

  • twl_upscaling_filter.rar
    125 bytes · Views: 3

devlman127

Well-Known Member
Newcomer
Joined
May 1, 2022
Messages
52
Trophies
0
Age
20
Location
Midwest
XP
234
Country
United States
Linear sharpen 1 for use with luma 13.0 and newer, for those who might prefer to use that instead of a whole module replacement

if anyone wants a different one you make these with the code they provide, but if you arent comfortable with python or not sure how to do it anyway then let me know what filter you want and I can generate the file

https://github.com/DullPointer/TWPatch_a/blob/master/soos/krnlist_all.h#L192
https://github.com/LumaTeam/Luma3DS/blob/master/arm9/source/patches.c#L774

example for linear sharpen 1:
Code:
import struct; open("twl_upscaling_filter.bin", "wb+").write(struct.pack("<30H", 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xF800, 0xF800, 0xF800, 0xF800, 0xF800, 0x1000, 0x2000, 0x3000, 0x4000, 0x5000, 0x4000, 0x3000, 0x2000, 0x1000, 0xF800, 0xF800, 0xF800, 0xF800, 0xF800, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000))
What's the difference between this and the filters already in twpatch?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    realtimesave @ realtimesave: hiiii @SylverReZ