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
Just tried the patcher, and for some reason any patching method stopped to work for me, I suspect that the culprit is the new config in TWiLightMenu ++ conflicting with the patches, because it now appears a filtering option, do yo know @Robz8 if that may be the cause?. I will roll back to earlier version so I can test properly, and thank you very much for this @Sono !
@Sono Speaking of widescreen, once you get that working, I would like to request something.
After selecting the scaling filter from the list, after the "TwlBg.cxi" is made in "sysmodules" folder, have a widescreen version with the same filter selected, made at "sd:/_nds/TWiLightMenu/TwlBg" and call it "Widescreen.cxi", so TWiLight Menu++ can switch between the regular and widescreen versions at anytime, for games that have a widescreen cheat.
@Sono Speaking of widescreen, once you get that working, I would like to request something.
After selecting the scaling filter from the list, after the "TwlBg.cxi" is made in "sysmodules" folder, have a widescreen version with the same filter selected, made at "sd:/_nds/TWiLightMenu/TwlBg" and call it "Widescreen.cxi", so TWiLight Menu++ can switch between the regular and widescreen versions at anytime, for games that have a widescreen cheat.
Re: Robz8 and SomeGamer, perhaps the easiest solution on your end @Sono would be to show a prompt, e.g. "Build widescreen TwlBg too? A: Yes, B: No" when the user selects a scaling option. Best of both worlds.
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