Can i make patch without pc? From phone on Android?
Just to be sure. I need to change this two selected numbers(they are already changed in screenshot)?
oops...That really doesn't look right. You should revert that.
Edit: you mixed up the 1.5x patch with the 1.25x patch.
9. repack TwlBg.cxi with 3dstool -cvtf cxi TwlBg.cxi --header ncchheader.bin --exh exheader.bin --exefs exefs.bin --not-encrypt
Ughh.. Thanks a lot!If you can compile 3dstool and ctrtool on Android then nothing stops you from doing this in a Terminal Emulator.
...or you can just wait a few days until I release a patcher which includes setting a custom scale filter.
@Sono , Forgot to mention, there is a typo in instruction.
Sadly AGB_FIRM is already as crisp as it can be, however it's possible to do a full-on linear interpolation by searching for the pattern
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 00 40 00 00 00 20 00 40 00 40 00 20 00 00 00 40 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
and replacing it with
00000000000000000000000000000000000000000000000000005615AA2A00000000AA2A0040AA2A56150040561556150000000000000000AA2A0000000000000000000000000000
I didn't test this, but hopefully this shouldn't hardlock the matrix unit, and should have an even linear interpolation.
TWilightMenu++ stopped working for me. Just white screens and nothing happens. Tried to reinstall it, as something similar happened before, but no luck.I have similar concerns about combining the TWL_FIRM modifications here with TWilight menu.
TWilightMenu++ stopped working for me. Just white screens and nothing happens. Tried to reinstall it, as something similar happened before, but no luck.
I have DSiware installed and flashcard - both of them work with this patch. If TWLmenu works in your case, that mean that problem is on my side and I need to do clean reinstall.If it loads, then that means that you applied the patch wrongly and DS(i) mode is hardlocking.
I have DSiware installed and flashcard - both of them work with this patch. If TWLmenu works in your case, that mean that problem is on my side and I need to do clean reinstall.
Thanks for the info, I'll look into doing this manually if you aren't interesting in patching it.
If it loads, then that means that you applied the patch wrongly and DS(i) mode is hardlocking.
Just white screens and nothing happens
actually... he's pointing out thisIt's not a typoI copied it directly out of my build.bat, and I did name it nccheader.bin manually.
there's a missing h in ncchheader and that's for every time it's referenced in your guide. As in the produced file from extracting section0.bin is named ncchheader.bin while the guide itself states it's named nccheader.bin. Which causes a bit of a headache since the end user has to catch that (until a patch comes out)Based on the 3 filters (1x (START+SELECT), 1.25x (default), and 1.5x (used only in GBA mode)) found inside TWL_FIRM, I reverse engineered most of the image matrix processor hardware, and made my own filters to show that sharp upscaling can be done.
While intensely digging everything TWL_FIRM, I also noticed some inaccessible code (no condition makes it ever jump to the code without patches) which looked to be a scrapped 1.5x upscale mode. And sure enough, hacking the code to always load this secret mode, it does indeed work... sort of. Other than the wonky touchscreen and the weird offsetting, this unused mode seems to be fully functional.
I can't babysit you thru' this process, so use some Google/Bing/DuckDuckGo to find the resources you need to do this.
- mount TWL_FIRM using Godmode9 (SYSNAND CTRNAND /title/00040138/?0000102/content/????????.app (select the one with the biggest number))
- go back to the main menu, browse to NCCH GAME IAMGE /exefs/.firm, select it, and copy it to /gm9/out/
- copy /gm9/out/.firm to your PC, and rename it to TWL.firm
- get firmtool, and unpack the FIRM with firmtool extract TWL.firm
- extract section0.bin (it's a cxi)
- open exefs/code.bin in a hex editor, and set two bytes at 0xC44 to 02 21
- repack exefs.bin with 3dstool -czvtf exefs exefs.bin --exefs-dir exefs --header exefsheader.bin
- repack TwlBg.cxi with 3dstool -cvtf cxi TwlBg.cxi --header nccheader.bin --exh exheader.bin --exefs exefs.bin --not-encrypt
- put TwlBg.cxi to /luma/sysmodules/TwlBg.cxi
- enable game patching and module loading in Luma settings
- ??? profit ???
I changed the AGB firms and checked the game on the GBA. It starts ONLY with the START key pressed else black screen