any solution?No, for GBA it has to be AgbBg.cxi, and you HAVE TO pass agb as the parameter.
any solution?No, for GBA it has to be AgbBg.cxi, and you HAVE TO pass agb as the parameter.
damn @Sono got it wrking finally I renamed section0.bin to agbg0.bin and the percentage of bytes used were 91 so it should be fine
It seems I can't findIf you want to just tweak the GBA crispiness/smoothness, just replace in code.bin of agbbg.cxi:
Code:0000 0020 0040 0000 0020 0040 0040 0020 0000 0040 0020 0000
with
Code:00XX 0020 00YY 00XX 0020 00YY 00YY 0020 00XX 00YY 0020 00XX
Where XX is between x0 and x20 and YY is betweeen x20 and x40, and together these should also add up to x40.
X=0 Y=40 is the default super crisp, often chunky scaling
X=10 Y=30 gives you a smooth effect like bilinear interpolation
X=20 Y=20 makes everything flat and super blurry
X=07 Y=39 is my current go-to. Its about the minimum crispness that keeps high-contrast text distinct and easy to read. Something closer to this should've been the Nintendo default considering what they picked for DS scaling..
I'm SO much happier using AGB_FIRM now with these settings. Big thanks again to Sono for doing the heavy lifting of finding this stuff, now I got something to hold me over until he gets his patcher finished!
0000 0020 0040 0000 0020 0040 0040 0020 0000 0040 0020 0000
How do I know if its rncrypted or not.?Either you are doing a search in decimal mode (default) instead of hex, or you might have the wrong .cxi file.
Depending on how you got the .cxi file, it may need to be unpacked/decrypted, and will need repacking/encrypting before use. You won't be able to find that string in an encrypted file.
3dstool -czvtf exefs exefs.bin --exefs-dir exefs --header exefsheader.bin
3dstool -cvtf cxi AgbBg.cxi --header ncchheader.bin --exh exheader.bin --exefs exefs.bin --not-encrypt
I made agbbg.cxi correctly and unpacked it using 3dstool and firm tool. But I still can't find the hex code.So you can't directly hex edit the cxi file, at least I don't think so. I actually edit code.bin which gets put in the exefs folder after unpacking the contents of agbbg.cxi with ctrtool or 3DStool, can't remember which. I wrote a bat file to pack the results of editing into the .cxi file, maybe you can figure out the rest from taking a look at that and finding the tutorial that you probably need to follow to even get agbbg.xci out in the first place. (its basically the same process as has been laid out in this thread for twlbg.xci, you just need to pick the title for GBA instead when extracting with GM9)
Code:3dstool -czvtf exefs exefs.bin --exefs-dir exefs --header exefsheader.bin 3dstool -cvtf cxi AgbBg.cxi --header ncchheader.bin --exh exheader.bin --exefs exefs.bin --not-encrypt
The filters work throughout DS/DSi mode, so yes.Noob question this work with flashcarts?
Here's a Christmas "gift": an excel sheet that calculates AGB matrices
-snip-
Edit3: here's a viewable google sheets link, hopefully you can make a copy into your own drive for editing, let me know if not.
Google Sheets
When I tried filling the 6x area (4A19C-4A1A7 for example) I got crashes. Maybe there's some valid values to put there but I didn't play with it further for now. So according to your account this is generating an incomplete matrix but it works fine when pasted over the default in the right position (i.e. the center.) I also don't need those slots for the current simple formula but it could open up more effects to play with.