Page 1 of 5

Avengers Academy .ccz .c3b

Posted: Fri Aug 25, 2017 7:25 am
by Rutabaga
.c3b - Models and anims
.ccz - textures
Samples: https://www.sendspace.com/file/qzjev8
Thanks in advance,i hope it's possible to open these files

Re: Avengers Academy .ccz .c3b

Posted: Fri Aug 25, 2017 9:27 am
by shakotay2
c_FoggyNelson_L1_skin_v1-c3b.jpg
edit: H2O file for the body

0x25FF6 6750
Vb1
64 24
0x13E 2315
020000
0x0 255

Re: Avengers Academy .ccz .c3b

Posted: Fri Aug 25, 2017 12:00 pm
by Rutabaga
shakotay2 wrote:
c_FoggyNelson_L1_skin_v1-c3b.jpg
Cool,is this file (c_FoggyNelson_L1_skin_v1) contains only head? or the body too?
Thanks.

Re: Avengers Academy .ccz .c3b

Posted: Sun Aug 27, 2017 2:25 am
by SickAlice
Been futzing with this for a long time as well. Cocos2d-x is supposed to be the suite to work with these but I had a heck of a time just getting that set-up. At any rate though maybe a good place for anyone looking to find coding to look. This app as well is supposed to be able to load the files.
https://www.amazon.com/gp/product/B00RQ ... nSuccess=1&[/url]

Re: Avengers Academy .ccz .c3b

Posted: Sun Aug 27, 2017 6:06 am
by Rutabaga
SickAlice wrote:Been futzing with this for a long time as well. Cocos2d-x is supposed to be the suite to work with these but I had a heck of a time just getting that set-up. At any rate though maybe a good place for anyone looking to find coding to look. This app as well is supposed to be able to load the files.
https://www.amazon.com/gp/product/B00RQ ... nSuccess=1&[/url]
Nope,it doesn't work.
Btw,by googling i find information what VisEcad viewer can open .ccz textures.
If this program really work with .ccz textures,then we will only need noesis (or 3ds max) script for .c3b models and all characters files from the game folder (Android/data/com.tinyco.avengers)
Edit: I found tool which can convert fbx to .c3b,is this a possible to edit tool and make it able to convert c3b files to fbx?
Tool link : https://github.com/cocos2d-x/fbx-conv

Re: Avengers Academy .ccz .c3b

Posted: Mon Aug 28, 2017 11:27 am
by TRDaz
I've looked into the files to see if I could create a script for Noesis to load the files but haven't got very far. If anyone wants to help with looking, I've looked in c_FoggyNelson_L1_skin_v1 and found that the face indices counts are at:
0x24412
0x25FF2

Re: Avengers Academy .ccz .c3b

Posted: Mon Aug 28, 2017 1:42 pm
by Rutabaga
TRDaz wrote:I've looked into the files to see if I could create a script for Noesis to load the files but haven't got very far. If anyone wants to help with looking, I've looked in c_FoggyNelson_L1_skin_v1 and found that the face indices counts are at:
0x24412
0x25FF2
It's would be a good to see a script for Noesis,here are more samples,i hope they can help in script creation
https://www.sendspace.com/file/28h0cv
Thanks

Re: Avengers Academy .ccz .c3b

Posted: Tue Aug 29, 2017 6:19 am
by Rutabaga
Excuse me for double post but i found some interesting files ( they have no extension,and can be compressed or something like that ) inside game folder + some character textures in .png format from Apk
So i hope this can help
https://www.sendspace.com/file/at8gtg
Thanks in advance!

P.S if png and ccz files can be compared to make a script for textures (because i'm not 100 % sure what VisEcad viewer are able to open these textures) i attached some ccz files too.

Re: Avengers Academy .ccz .c3b

Posted: Tue Aug 29, 2017 7:29 am
by Acewell
Rutabaga wrote:P.S if png and ccz files can be compared to make a script for textures (because i'm not 100 % sure what VisEcad viewer are able to open these textures) i attached some ccz files too.
use this bms script to extract the astc compressed textures from the ccz files :D

Code: Select all

# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

endian big
comtype zlib_dynamic
get ZSIZE asize
math ZSIZE - 0x10
get NAME basename
idstring "\x43\x43\x5a\x21"
goto 0xc
get SIZE long
clog NAME 0x10 ZSIZE SIZE
then you should be able to convert the astc files to tga with the astc-encoder tool here
https://github.com/ARM-software/astc-encoder

if your astc files are next to the exe, from command line use this

Code: Select all

astcenc -d yourfile.astc yourfile.tga
or make a bat file with this and place it next to the exe and run it

Code: Select all

for %%G in (*.astc) do astcenc.exe -d "%%G" "%%G.tga"
edit
i almost forgot Noesis has support for astc format now, so you can open the astc files with it too! :D

Re: Avengers Academy .ccz .c3b

Posted: Tue Aug 29, 2017 9:01 am
by Rutabaga
Thanks a lot,now only script for c3b models (and anims if this possible) are left :)

Re: Avengers Academy .ccz .c3b

Posted: Tue Aug 29, 2017 9:06 am
by SickAlice

Re: Avengers Academy .ccz .c3b

Posted: Tue Aug 29, 2017 9:10 am
by TRDaz
That only shows one mesh of the model, works good but not enough to get everything.

Re: Avengers Academy .ccz .c3b

Posted: Tue Aug 29, 2017 11:46 pm
by SickAlice
True, but its progress. Perhaps one could ask the person that made it for notes to use in a script for Noesis or something. Noting that I do know it's based on the core Cocos3d code. I see you said you tried that app, I was figuring it probably wouldn't load a model proper as it seems basic but has anyone gotten the actual Cocos suite working? I have an issue with it, I think it's not compatible with my video card or something. Anyways it does look like your getting closer. I'm trying to dedicate a bit to learning how to write Noesis py's as well this is one of the formats I'm putting a bit of research into. I'll note more when I get there.

Re: Avengers Academy .ccz .c3b

Posted: Wed Aug 30, 2017 12:22 am
by TRDaz
I'll take a look at Cocos tomorrow, my main problem right now in the file is finding the vertex count location, without that I don't really know how to create a script. There may be a way around it but I don't have enough knowledge to know about that. If anyone knows where this is found in the file or has any information that can help, that would be great.

Re: Avengers Academy .ccz .c3b

Posted: Wed Aug 30, 2017 6:25 am
by Rutabaga
SickAlice wrote:True, but its progress. Perhaps one could ask the person that made it for notes to use in a script for Noesis or something.
Ok,i've sent personal message to Taylor Mouse (he has an account here) i hope he will respond soonly :)