Homebrew Tweaking the TWL FIRM for Filters and Widescreen

  • Thread starter Deleted User
  • Start date
  • Views 17,051
  • Replies 26
  • Likes 3
D

Deleted User

Guest
OP
hello, if I understood correctly, did you manage to apply widescreen with filters? quite right? you have the file with which to have these effects in New Nintendo
3ds ??
Yes, but I can't provide them to you, nor even ask me to do so, that's Nintendo's property and you are asking me to give you a copyrighted file! That's Piracy and against the rules of this honoured forum, sorry can help you in anyway.

Though I have written everything necessary for you to do and create the hybrid, just read and make it yourself, or wait for @Sono to figure out this (he already know how to combine this, since the Widescreen Cheat does not remove the filter on Y-Axis (or maybe X-Axis), the thing is that he knows everything about this stuff and requires some time to present the greatness to 3DS family) :D and release his Patcher.
 

Sherlockowiec

New Member
Newbie
Joined
Nov 17, 2019
Messages
1
Trophies
0
Age
21
XP
34
Country
Poland
When I try to patch it with ahezard's patcher I got a bunch of errors.

C:\Users\Kompjuter\Downloads\twl_firm_patcher-master\twl_firm_patcher-master>mkdir temp\

C:\Users\Kompjuter\Downloads\twl_firm_patcher-master\twl_firm_patcher-master>cp input\firmware_twl.bin temp\

C:\Users\Kompjuter\Downloads\twl_firm_patcher-master\twl_firm_patcher-master>cd scripts

C:\Users\Kompjuter\Downloads\twl_firm_patcher-master\twl_firm_patcher-master\scripts>patch_dev_launcher.cmd

FIRM:
Signature: 1E691AD1393063C3A8DB3A66907D7E5EC178B0589CDA89F2A386F008DB63BE5E
5F171576EFC1984ADAC94BF0E3AC495EF5E9198B90B7E9F485C6B234F24FBB37
C4BF2342E9D8EF5BA9462C1ADBE9E585ECCBF11939E1F447DFF6F2468CF78938
4F7E3A2E39A724500F6470C84FFB503C62DE47953AF2A8C9FEBAF224F5AEAA5C
775F5ED7E7BD394BC6BFF8AB689D5ED7570D08F807B95F953854DC2A38656070
4C6F785B67A026616EC5111A11B640BFF11600C58BF303DFD091DAC831376C72
8CF5ABC3B6257DAFC88B1E09BB0DEA46AEFB5EEE44E6B6BB3D5019A111848BC6
03A3B2CDBCD3341595C0623620C804E27001A3EEE05F1CDC8651C8B81698BDB1

Entrypoint ARM9: 0x0801301C
Entrypoint ARM11: 0x1FFAC01C

Section 0
Type: ARM11
Address: 0x18000000
Offset: 0x00000200
Size: 0x0013B400
Hash: E8B882F58CC41B2405606DB874F5E5DD1138ECCB88741145C60676AA52472BED
Section 1
Type: ARM11
Address: 0x1FF96000
Offset: 0x0013B600
Size: 0x00015000
Hash: ACEE1827831CBA4203B0997DDB4A7544DD1BF925D444783ED6223B5B4739A431
Section 2
Type: ARM11
Address: 0x1FFAB000
Offset: 0x00150600
Size: 0x00003000
Hash: 12E2E6E90266FAF35D0B4C2834D969FFCDEC4C3C8ABB3BAA2CA15D19FA6D4B27
Section 3
Type: ARM9
Address: 0x08006800
Offset: 0x00153600
Size: 0x0004D200
Hash: DD480A87EB3A7C72876389130071977F57FDE4BD5D1A84E412899DD43671F558
Saving section 0 to firm/firm_0_18000000.bin...
Saving section 1 to firm/firm_1_1FF96000.bin...
Saving section 2 to firm/firm_2_1FFAB000.bin...
Saving section 3 to firm/firm_3_08006800.bin...
Press any key to continue . . .
save: twlBg.ncch.header
save: twlBg.exheader.bin
save: twlBg.exefs
ERROR: the file type is mismatch

save: twlBg.exefs.header
save: twlBg_original_exefs/code.bin
ERROR: illegal option

3dstool 1.0.10 by dnasdw

usage: 3dstool [option...] [option]...

option:
action:
-x, --extract extract the target file
-c, --create create the target file
-e, --encrypt encrypt the target file
-u, --uncompress
uncompress the target file
-z, --compress
compress the target file
-r, --trim trim the cci file
-p, --pad pad the cci file
--diff create the patch file from the old file and the new file
--patch apply the patch file to the target file
--sample show the samples
-h, --help show this help

common:
-t, --type [[card|cci|3ds]|[nand|exec|cxi]|[data|cfa]|exefs|romfs|banner]
the type of the file, optional
-f, --file the target file, required
-v, --verbose show the info
extract/create:
cci/cxi/cfa/exefs:
--header the header file of the target file
encrypt:
--key0 short for --key 00000000000000000000000000000000
--key the hex string of the key used by the AES-CTR encryption
--counter the hex string of the counter used by the AES-CTR encryption
--xor the xor data file used by the xor encryption
compress:
--compress-align
[1|4|8|16|32]
the alignment of the compressed filesize
uncompress:
--compress-type
[blz|lz(ex)]
the type of the compress
--compress-out
the output file of uncompressed or compressed
diff:
--old the old file
--new the new file
patch:
--patch-file
the patch file

cci:
create:
--not-pad do not add the pad data
extract:
-0, --partition0
the cxi file of the cci file at partition 0
-1, --partition1
the cfa file of the cci file at partition 1
-2, --partition2
the cfa file of the cci file at partition 2
-3, --partition3
the cfa file of the cci file at partition 3
-4, --partition4
the cfa file of the cci file at partition 4
-5, --partition5
the cfa file of the cci file at partition 5
-6, --partition6
the cfa file of the cci file at partition 6
-7, --partition7
the cfa file of the cci file at partition 7
trim:
--trim-after-partition
[0~7], the index of the last reserve partition, optional

cxi:
create:
--not-update-exh-hash
--not-update-extendedheader-hash
do not update the extendedheader hash
extract:
--exh
--extendedheader
the extendedheader file of the cxi file
--logo
--logoregion
the logoregion file of the cxi file
--plain
--plainregion
the plainregion file of the cxi file
encrypt:
--exh-xor
--extendedheader-xor
the xor data file used by encrypt the extendedheader of the cxi file
--exefs-top-xor
the xor data file used by encrypt the top section of the exefs of the cxi file
cfa:
create:
--not-update-exefs-hash
do not update the exefs super block hash
--not-update-romfs-hash
do not update the romfs super block hash
extract:
--exefs the exefs file of the cxi/cfa file
--romfs the romfs file of the cxi/cfa file
encrypt:
--exefs-xor
the xor data file used by encrypt the exefs of the cxi/cfa file
--romfs-xor
the xor data file used by encrypt the romfs of the cxi/cfa file

exefs:
extract/create:
--exefs-dir
the exefs dir for the exefs file

romfs:
extract/create:
--romfs-dir
the romfs dir for the romfs file

banner:
extract/create:
--banner-dir
the banner dir for the banner file
load: twlBg.exefs.header
ERROR: open file twlBg_patched_exefs/code.bin failed

ERROR: create file failed

load: twlBg.ncch.header
load: twlBg.exheader.bin
load: twlBg_patched.exefs
Press any key to continue . . .
 
D

Deleted User

Guest
OP
When I try to patch it with ahezard's patcher I got a bunch of errors.

C:\Users\Kompjuter\Downloads\twl_firm_patcher-master\twl_firm_patcher-master>mkdir temp\

C:\Users\Kompjuter\Downloads\twl_firm_patcher-master\twl_firm_patcher-master>cp input\firmware_twl.bin temp\

C:\Users\Kompjuter\Downloads\twl_firm_patcher-master\twl_firm_patcher-master>cd scripts

C:\Users\Kompjuter\Downloads\twl_firm_patcher-master\twl_firm_patcher-master\scripts>patch_dev_launcher.cmd

FIRM:
Signature: 1E691AD1393063C3A8DB3A66907D7E5EC178B0589CDA89F2A386F008DB63BE5E
5F171576EFC1984ADAC94BF0E3AC495EF5E9198B90B7E9F485C6B234F24FBB37
C4BF2342E9D8EF5BA9462C1ADBE9E585ECCBF11939E1F447DFF6F2468CF78938
4F7E3A2E39A724500F6470C84FFB503C62DE47953AF2A8C9FEBAF224F5AEAA5C
775F5ED7E7BD394BC6BFF8AB689D5ED7570D08F807B95F953854DC2A38656070
4C6F785B67A026616EC5111A11B640BFF11600C58BF303DFD091DAC831376C72
8CF5ABC3B6257DAFC88B1E09BB0DEA46AEFB5EEE44E6B6BB3D5019A111848BC6
03A3B2CDBCD3341595C0623620C804E27001A3EEE05F1CDC8651C8B81698BDB1

Entrypoint ARM9: 0x0801301C
Entrypoint ARM11: 0x1FFAC01C

Section 0
Type: ARM11
Address: 0x18000000
Offset: 0x00000200
Size: 0x0013B400
Hash: E8B882F58CC41B2405606DB874F5E5DD1138ECCB88741145C60676AA52472BED
Section 1
Type: ARM11
Address: 0x1FF96000
Offset: 0x0013B600
Size: 0x00015000
Hash: ACEE1827831CBA4203B0997DDB4A7544DD1BF925D444783ED6223B5B4739A431
Section 2
Type: ARM11
Address: 0x1FFAB000
Offset: 0x00150600
Size: 0x00003000
Hash: 12E2E6E90266FAF35D0B4C2834D969FFCDEC4C3C8ABB3BAA2CA15D19FA6D4B27
Section 3
Type: ARM9
Address: 0x08006800
Offset: 0x00153600
Size: 0x0004D200
Hash: DD480A87EB3A7C72876389130071977F57FDE4BD5D1A84E412899DD43671F558
Saving section 0 to firm/firm_0_18000000.bin...
Saving section 1 to firm/firm_1_1FF96000.bin...
Saving section 2 to firm/firm_2_1FFAB000.bin...
Saving section 3 to firm/firm_3_08006800.bin...
Press any key to continue . . .
save: twlBg.ncch.header
save: twlBg.exheader.bin
save: twlBg.exefs
ERROR: the file type is mismatch

save: twlBg.exefs.header
save: twlBg_original_exefs/code.bin
ERROR: illegal option

3dstool 1.0.10 by dnasdw

usage: 3dstool [option...] [option]...

option:
action:
-x, --extract extract the target file
-c, --create create the target file
-e, --encrypt encrypt the target file
-u, --uncompress
uncompress the target file
-z, --compress
compress the target file
-r, --trim trim the cci file
-p, --pad pad the cci file
--diff create the patch file from the old file and the new file
--patch apply the patch file to the target file
--sample show the samples
-h, --help show this help

common:
-t, --type [[card|cci|3ds]|[nand|exec|cxi]|[data|cfa]|exefs|romfs|banner]
the type of the file, optional
-f, --file the target file, required
-v, --verbose show the info
extract/create:
cci/cxi/cfa/exefs:
--header the header file of the target file
encrypt:
--key0 short for --key 00000000000000000000000000000000
--key the hex string of the key used by the AES-CTR encryption
--counter the hex string of the counter used by the AES-CTR encryption
--xor the xor data file used by the xor encryption
compress:
--compress-align
[1|4|8|16|32]
the alignment of the compressed filesize
uncompress:
--compress-type
[blz|lz(ex)]
the type of the compress
--compress-out
the output file of uncompressed or compressed
diff:
--old the old file
--new the new file
patch:
--patch-file
the patch file

cci:
create:
--not-pad do not add the pad data
extract:
-0, --partition0
the cxi file of the cci file at partition 0
-1, --partition1
the cfa file of the cci file at partition 1
-2, --partition2
the cfa file of the cci file at partition 2
-3, --partition3
the cfa file of the cci file at partition 3
-4, --partition4
the cfa file of the cci file at partition 4
-5, --partition5
the cfa file of the cci file at partition 5
-6, --partition6
the cfa file of the cci file at partition 6
-7, --partition7
the cfa file of the cci file at partition 7
trim:
--trim-after-partition
[0~7], the index of the last reserve partition, optional

cxi:
create:
--not-update-exh-hash
--not-update-extendedheader-hash
do not update the extendedheader hash
extract:
--exh
--extendedheader
the extendedheader file of the cxi file
--logo
--logoregion
the logoregion file of the cxi file
--plain
--plainregion
the plainregion file of the cxi file
encrypt:
--exh-xor
--extendedheader-xor
the xor data file used by encrypt the extendedheader of the cxi file
--exefs-top-xor
the xor data file used by encrypt the top section of the exefs of the cxi file
cfa:
create:
--not-update-exefs-hash
do not update the exefs super block hash
--not-update-romfs-hash
do not update the romfs super block hash
extract:
--exefs the exefs file of the cxi/cfa file
--romfs the romfs file of the cxi/cfa file
encrypt:
--exefs-xor
the xor data file used by encrypt the exefs of the cxi/cfa file
--romfs-xor
the xor data file used by encrypt the romfs of the cxi/cfa file

exefs:
extract/create:
--exefs-dir
the exefs dir for the exefs file

romfs:
extract/create:
--romfs-dir
the romfs dir for the romfs file

banner:
extract/create:
--banner-dir
the banner dir for the banner file
load: twlBg.exefs.header
ERROR: open file twlBg_patched_exefs/code.bin failed

ERROR: create file failed

load: twlBg.ncch.header
load: twlBg.exheader.bin
load: twlBg_patched.exefs
Press any key to continue . . .
Oh, I see. Does it create any file in the output folder (as in root folder?) I had that problem, but it used to remake the .bin file from .cxi after running the miscellaneous script in @ahezard 's old time machine backed up files and then run @Sono 's Widescreen Program. PS: You can do all this on the Computer for once and then no requirement/maintenance/generation/update once done. PM me for any details/maybe I can provide you the the necessary scripts and executables with a proper writeup. :D
 
D

Deleted User

Guest
OP
Maybe a good tutorial or @Sono will do it that with widescreen on free time?;) Also good work.
Thanks! Really appreciate it! :wub:

PM me and I'll provide you all the files necessary to tweak/modify your TWL FIRM/BLG :D

--------------------- MERGED ---------------------------

When I try to patch it with ahezard's patcher I got a bunch of errors.

C:\Users\Kompjuter\Downloads\twl_firm_patcher-master\twl_firm_patcher-master>mkdir temp\

C:\Users\Kompjuter\Downloads\twl_firm_patcher-master\twl_firm_patcher-master>cp input\firmware_twl.bin temp\

C:\Users\Kompjuter\Downloads\twl_firm_patcher-master\twl_firm_patcher-master>cd scripts

C:\Users\Kompjuter\Downloads\twl_firm_patcher-master\twl_firm_patcher-master\scripts>patch_dev_launcher.cmd

FIRM:
Signature: 1E691AD1393063C3A8DB3A66907D7E5EC178B0589CDA89F2A386F008DB63BE5E
5F171576EFC1984ADAC94BF0E3AC495EF5E9198B90B7E9F485C6B234F24FBB37
C4BF2342E9D8EF5BA9462C1ADBE9E585ECCBF11939E1F447DFF6F2468CF78938
4F7E3A2E39A724500F6470C84FFB503C62DE47953AF2A8C9FEBAF224F5AEAA5C
775F5ED7E7BD394BC6BFF8AB689D5ED7570D08F807B95F953854DC2A38656070
4C6F785B67A026616EC5111A11B640BFF11600C58BF303DFD091DAC831376C72
8CF5ABC3B6257DAFC88B1E09BB0DEA46AEFB5EEE44E6B6BB3D5019A111848BC6
03A3B2CDBCD3341595C0623620C804E27001A3EEE05F1CDC8651C8B81698BDB1

Entrypoint ARM9: 0x0801301C
Entrypoint ARM11: 0x1FFAC01C

Section 0
Type: ARM11
Address: 0x18000000
Offset: 0x00000200
Size: 0x0013B400
Hash: E8B882F58CC41B2405606DB874F5E5DD1138ECCB88741145C60676AA52472BED
Section 1
Type: ARM11
Address: 0x1FF96000
Offset: 0x0013B600
Size: 0x00015000
Hash: ACEE1827831CBA4203B0997DDB4A7544DD1BF925D444783ED6223B5B4739A431
Section 2
Type: ARM11
Address: 0x1FFAB000
Offset: 0x00150600
Size: 0x00003000
Hash: 12E2E6E90266FAF35D0B4C2834D969FFCDEC4C3C8ABB3BAA2CA15D19FA6D4B27
Section 3
Type: ARM9
Address: 0x08006800
Offset: 0x00153600
Size: 0x0004D200
Hash: DD480A87EB3A7C72876389130071977F57FDE4BD5D1A84E412899DD43671F558
Saving section 0 to firm/firm_0_18000000.bin...
Saving section 1 to firm/firm_1_1FF96000.bin...
Saving section 2 to firm/firm_2_1FFAB000.bin...
Saving section 3 to firm/firm_3_08006800.bin...
Press any key to continue . . .
save: twlBg.ncch.header
save: twlBg.exheader.bin
save: twlBg.exefs
ERROR: the file type is mismatch

save: twlBg.exefs.header
save: twlBg_original_exefs/code.bin
ERROR: illegal option

3dstool 1.0.10 by dnasdw

usage: 3dstool [option...] [option]...

option:
action:
-x, --extract extract the target file
-c, --create create the target file
-e, --encrypt encrypt the target file
-u, --uncompress
uncompress the target file
-z, --compress
compress the target file
-r, --trim trim the cci file
-p, --pad pad the cci file
--diff create the patch file from the old file and the new file
--patch apply the patch file to the target file
--sample show the samples
-h, --help show this help

common:
-t, --type [[card|cci|3ds]|[nand|exec|cxi]|[data|cfa]|exefs|romfs|banner]
the type of the file, optional
-f, --file the target file, required
-v, --verbose show the info
extract/create:
cci/cxi/cfa/exefs:
--header the header file of the target file
encrypt:
--key0 short for --key 00000000000000000000000000000000
--key the hex string of the key used by the AES-CTR encryption
--counter the hex string of the counter used by the AES-CTR encryption
--xor the xor data file used by the xor encryption
compress:
--compress-align
[1|4|8|16|32]
the alignment of the compressed filesize
uncompress:
--compress-type
[blz|lz(ex)]
the type of the compress
--compress-out
the output file of uncompressed or compressed
diff:
--old the old file
--new the new file
patch:
--patch-file
the patch file

cci:
create:
--not-pad do not add the pad data
extract:
-0, --partition0
the cxi file of the cci file at partition 0
-1, --partition1
the cfa file of the cci file at partition 1
-2, --partition2
the cfa file of the cci file at partition 2
-3, --partition3
the cfa file of the cci file at partition 3
-4, --partition4
the cfa file of the cci file at partition 4
-5, --partition5
the cfa file of the cci file at partition 5
-6, --partition6
the cfa file of the cci file at partition 6
-7, --partition7
the cfa file of the cci file at partition 7
trim:
--trim-after-partition
[0~7], the index of the last reserve partition, optional

cxi:
create:
--not-update-exh-hash
--not-update-extendedheader-hash
do not update the extendedheader hash
extract:
--exh
--extendedheader
the extendedheader file of the cxi file
--logo
--logoregion
the logoregion file of the cxi file
--plain
--plainregion
the plainregion file of the cxi file
encrypt:
--exh-xor
--extendedheader-xor
the xor data file used by encrypt the extendedheader of the cxi file
--exefs-top-xor
the xor data file used by encrypt the top section of the exefs of the cxi file
cfa:
create:
--not-update-exefs-hash
do not update the exefs super block hash
--not-update-romfs-hash
do not update the romfs super block hash
extract:
--exefs the exefs file of the cxi/cfa file
--romfs the romfs file of the cxi/cfa file
encrypt:
--exefs-xor
the xor data file used by encrypt the exefs of the cxi/cfa file
--romfs-xor
the xor data file used by encrypt the romfs of the cxi/cfa file

exefs:
extract/create:
--exefs-dir
the exefs dir for the exefs file

romfs:
extract/create:
--romfs-dir
the romfs dir for the romfs file

banner:
extract/create:
--banner-dir
the banner dir for the banner file
load: twlBg.exefs.header
ERROR: open file twlBg_patched_exefs/code.bin failed

ERROR: create file failed

load: twlBg.ncch.header
load: twlBg.exheader.bin
load: twlBg_patched.exefs
Press any key to continue . . .
It must've generated some file (with a broken signature), try and run Sono's Computer Patcher on that file, the one for the wide-screen, after Scaling Filter one is generated by 3DS to your homebrew folder.
 
  • Like
Reactions: TR_mahmutpek
D

Deleted User

Guest
OP
hello, if I understood correctly, did you manage to apply widescreen with filters? quite right? you have the file with which to have these effects in New Nintendo
3ds ??
I can't give you my hybrid FIRM, but now you can use Sono's new TWPatch, it allows for filters with Wide-screen, my method just adds faster clock speed and sound quality (if you don't have TWiLight Menu, which is nice, but not at all better than Forwarders)! :lol:
 
Last edited by WeedZ, , Reason: Flaming/bickering

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    LeoTCK @ LeoTCK: yes for nearly a month i was officially a wanted fugitive, until yesterday when it ended