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

  • Thread starter Sono
  • Start date
  • Views 762,876
  • Replies 2,430
  • 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 .

Nicota

Member
Newcomer
Joined
Feb 13, 2019
Messages
11
Trophies
0
Age
22
Location
Luxemburg
XP
156
Country
Luxembourg
don't really wanna install home-brew on such a expensive machine tho. im just gonna ask a friend that has windows if theres no other option
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,829
Trophies
2
Location
home
XP
9,428
Country
Hungary
don't really wanna install home-brew on such a expensive machine tho. im just gonna ask a friend that has windows if theres no other option

It installs in a location which doesn't affect the system. You can do some research.

Alternatively, you can get a free version of a virtual machine software, and just use a Windows VM.
 

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,180
Trophies
1
Age
42
XP
3,270
Country
United States
Dunno if this can ever be implemented in TWPatch but I have to say I've been pretty impressed with Retroarch scale2x video filter + bilinear interpolation on 3DS. Gameboy/ Gear, GBA and even Master System, which has a similar resolution to NDS, look pretty good. Sometimes there's a bit of curvey distortion but shapes tend to be very well defined without appearing either pixelalted or blurry, and the algorithm is very light on processing power. I don't know whether this RTC research can open up things like this that go well beyond the existing scaling matricies but I thought I'd mention it.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,829
Trophies
2
Location
home
XP
9,428
Country
Hungary
Dunno if this can ever be implemented in TWPatch but I have to say I've been pretty impressed with Retroarch scale2x video filter + bilinear interpolation on 3DS. Gameboy/ Gear, GBA and even Master System, which has a similar resolution to NDS, look pretty good. Sometimes there's a bit of curvey distortion but shapes tend to be very well defined without appearing either pixelalted or blurry, and the algorithm is very light on processing power. I don't know whether this RTC research can open up things like this that go well beyond the existing scaling matricies but I thought I'd mention it.

I looked at scale2x, and it seems to be possible, but only if ARM11 is constantly calculating each pixel, which definitely creates a lot of graphical glitches (it makes the screen scroll upwards like a badly synchronized CRT TV).

If you're willing to ditch EVERYTHING just to have scale2x then it's possible. It would just take a lot of time to disable DMPGL (it's littered all over the code, thus it's hard to get rid of or patch), and make sure to only calculate pixels when it has fully arrived to prevent black pixels from appearing and causing screen tear.
 

EduAAA

Well-Known Member
Member
Joined
Sep 3, 2017
Messages
104
Trophies
0
Age
38
XP
261
Country
Spain
Dunno if this can ever be implemented in TWPatch but I have to say I've been pretty impressed with Retroarch scale2x video filter + bilinear interpolation on 3DS. Gameboy/ Gear, GBA and even Master System, which has a similar resolution to NDS, look pretty good. Sometimes there's a bit of curvey distortion but shapes tend to be very well defined without appearing either pixelalted or blurry, and the algorithm is very light on processing power. I don't know whether this RTC research can open up things like this that go well beyond the existing scaling matricies but I thought I'd mention it.

Try Normal2x.filt, it makes gbc games look sharp without those glitches you are describing.
 

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,180
Trophies
1
Age
42
XP
3,270
Country
United States
Normal2x is more like the default "crispy" GBA scaling in that its kind of pixellated. Its not bad for GB/GBA but it doesn't seem to help much for Master System and therefore theoretically NDS. The other issue is that its more CPU intensive and under pressure it can't keep up with vsync, but that's mostly a Retroarch issue.
 

plug313

Well-Known Member
Member
Joined
Jun 27, 2016
Messages
163
Trophies
0
Age
29
XP
622
Country
is there a way to do this on the 3DS itself without a computer? I can transfer files to it with my phone via ftp but I don't have a computer. (I may have asked this before but I can't remember if I did so I don't think I got an answer, thanks in advance!)
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,234
Country
Brazil
is there a way to do this on the 3DS itself without a computer? I can transfer files to it with my phone via ftp but I don't have a computer. (I may have asked this before but I can't remember if I did so I don't think I got an answer, thanks in advance!)
you can ask someone with a computer to do it and send you the files
 

PokemonTotalWar

Member
Newcomer
Joined
Oct 9, 2018
Messages
13
Trophies
0
Age
24
Location
Meadville, PA
XP
102
Country
United States
Welp... it turns out I triggered some anti- buffer-overflow code in the kernel, which caused it to intentionally crash to prevent any "accidental" attacks against its code loader. And I tested, and the patcher works, yay!

Code compression takes a whopping 6minutes on old3DS, so make sure you only press START when you're really sure you selected the right kernel. On new3DS it should be slightly faster.

The code uses pure CPU rendering due to full-blown matrix hardware emulation, so it's going to be awfully slow, and thus unresponsive. YOU HAVE TO HOLD THE BUTTONS INSTEAD OF JUST TAPPING THEM.

The menu disappears after a few seconds if you don't press any buttons. This is intentional, so you can see the result on BOTH the top AND bottom screens.
You can keep the menu up by holding LEFT or RIGHT.

Keep holding X to temporarily switch to Nintendo's default filter. Releasing X will switch it back to the highlighted one. You can use this to check the scaling mode back and forth for visible comparison before applying.

I accidently broke the ability to switch out test images with the Y button, so I removed it for this release, because I already wasted a lot of time with the compressor. If I won't forget to fix it then the next release will allow you to switch test images with Y.

Once you press START there is no going back. You can only cancel the compression by holding down the power button. DO NOT CANCEL WHEN THERE IS A SMALL AMOUNT LEFT!

Hold SELECT to exit.

Actually not. I hope you read the above, because it contains important information!

If you read it all then congrats, you can click here to download the cia :)
You didn't read, did you?

I haven't touched my 3DS in months, I see that there's a computer-based version of this now. What is the benefit of that, if I don't particularly care for Widescreen hacks? Should I just continue to use this patcher for sharpening, or should I update to the computer-based version?
 

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,180
Trophies
1
Age
42
XP
3,270
Country
United States
The computer patcher is only for widescreen at this time. In fact it makes the scaling otherwise somewhat worse. Only use if you want widescreen, stick to the 3DS patcher if you just want different scaling options within the usual 4:3 aspect ratio.
 
  • Like
Reactions: PokemonTotalWar

win8x

New Member
Newbie
Joined
Nov 2, 2019
Messages
2
Trophies
0
Age
38
XP
56
Country
Germany
Hey guys. I got it to work in 16:10, but... There is a bunch of hex on the right side of the top screen. The asd was 1010, I ran it from the wide.bat, I tried everything but it just doesn't seem to work. Can anyone please help??? :(
 

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,666
Trophies
3
Age
25
XP
21,168
Country
United States
Hey guys. I got it to work in 16:10, but... There is a bunch of hex on the right side of the top screen. The asd was 1010, I ran it from the wide.bat, I tried everything but it just doesn't seem to work. Can anyone please help??? :(
Re-download the patcher.
 
  • Like
Reactions: win8x

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,829
Trophies
2
Location
home
XP
9,428
Country
Hungary
Hey guys. I got it to work in 16:10, but... There is a bunch of hex on the right side of the top screen. The asd was 1010, I ran it from the wide.bat, I tried everything but it just doesn't seem to work. Can anyone please help??? :(

If you only need widescreen then use 1100, or if you also want it to be tinted red (for blue light filter) then use 1101.
 

Zero_hack_One

New Member
Newbie
Joined
Nov 3, 2019
Messages
4
Trophies
0
Age
35
XP
46
Country
Italy
hi everyone i'm new, forgive me for my poor english, i wanted to know if it was possible to apply the twlpatch special filters with widescreen effects, because every time i do the widescreen procedure it resets the setting to the original ones. Thanks for everything
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,829
Trophies
2
Location
home
XP
9,428
Country
Hungary
hi everyone i'm new, forgive me for my poor english, i wanted to know if it was possible to apply the twlpatch special filters with widescreen effects, because every time i do the widescreen procedure it resets the setting to the original ones. Thanks for everything

It's not possible yet. The matrix on the X axis is cleared because I didn't implement widescreen scale matrixes yet, and also because it requires extra patching due to the different scale divisors for the X and Y axises.
 
  • Like
Reactions: Zero_hack_One

Zero_hack_One

New Member
Newbie
Joined
Nov 3, 2019
Messages
4
Trophies
0
Age
35
XP
46
Country
Italy
It's not possible yet. The matrix on the X axis is cleared because I didn't implement widescreen scale matrixes yet, and also because it requires extra patching due to the different scale divisors for the X and Y axises.
in Italy it is said "Either it is soup or wet bread" everything cannot be had. thanks a lot
 
  • Like
Reactions: Sono and Raylight

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, people who cant download it can still play the game
  • BigOnYa @ BigOnYa:
    If your internet speeds are fast enough. Streaming 4k takes alot. I used to only have 20mb sec, and 4k struggled. Now I have 300mb sec and 4k plays fine.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i only have like 1 or 2 mb sec
  • BigOnYa @ BigOnYa:
    Did you feed the hamster in your internet router? It prob died and is running slow now.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why did you start saying my pc has a hamster in the first place?
    +1
  • BigOnYa @ BigOnYa:
    Its actua!ly just a old joke, meaning its slow. Was just kidding around with you.
    +1
  • BigOnYa @ BigOnYa:
    I bet @AncientBoi has some hamsters hidden somewhere tho....
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I think Game streaming should work like this.... Local Hardware able the run the game fine, game engine and common assets stored locally, all FMV and music and textures could be streaming
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Some temporary storage
  • Xdqwerty @ Xdqwerty:
    also @BigOnYa im making some progress on my gdevelop project, implemented various mechanics
  • Psionic Roshambo @ Psionic Roshambo:
    They went all in on streaming, should have been more of a hybrid approach
    +1
  • BigOnYa @ BigOnYa:
    Or free government supplied high speed internet be nice also. Like Obama care. Xdqwerty that's cool, its time consuming but rewarding once done or playable, to see what you've made from scratch. Animations take forever, but worth it.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, although the bullets are a bit buggy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
  • K3Nv2 @ K3Nv2:
    Lol McDonald's has a grandma mcflurry
    K3Nv2 @ K3Nv2: Lol McDonald's has a grandma mcflurry