Thanks muchly for the news tools HowardC, especially interested in the ccfTool. Just having a few problems getting the tga files extracted properly, i can get a 128x96 tga from banner.wte but it comes out garbeled (can only just recognise sonic is in the tga)
Any advise? have a missed something in my tpl header maybe? The 'best' i can get the tpl converted is by using texture format 5 in the header
UPDATE: Fixed! can extract the tpl files, so can finally edit some genesis injects, simply remove wte header (32 bytes/2 lines of hex) and add the tpl headers below
for info --> use texture format 5 in tpl header
tpl Header to use for banner.wte
00000000h: 00 20 AF 30 00 00 00 01 00 00 00 0C 00 00 00 14
00000010h: 00 00 00 00 00 40 00 C0 00 00 00 05 00 00 00 40
00000020h: 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 01
00000030h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
tpl header to use for 0x.wte files
00000000h: 00 20 AF 30 00 00 00 01 00 00 00 0C 00 00 00 14
00000010h: 00 00 00 00 00 30 00 30 00 00 00 05 00 00 00 40
00000020h: 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 01
00000030h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
----------------------------------------------------------------------------------------------------------------------------------------------------
hhm, I converted all the tga to tpl, and added back the proper wte headers, but upon repacking the data.ccf file back to the 00000005.app file i am getting a not booting wad install
I noticed the repacked data.ccf file is only 3.68mb but the original was 4.92mb ? does that sound a bit strange ? (all i edited was the misc.ccf.zlib file (no rom swaps) and it remained at 52kb :\
maybe its this ? :\ --> "I haven't implement this method of sort, so a re-packed file will NOT have the same file order. This shouldn't matter, but it's something to keep in mind
if you run into trouble." ??
EDIT: Ok, i got a custom save working, but the only way i could do it was by hexing the misc.cff file back into the original data.ccf