Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Avengers Academy .ccz .c3b

Post questions about game models here, or help out others!
Rutabaga
veteran
Posts: 115
Joined: Tue Jan 26, 2016 2:26 pm
Has thanked: 5 times
Been thanked: 6 times

Avengers Academy .ccz .c3b

Post 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
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Avengers Academy .ccz .c3b

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by shakotay2 on Fri Aug 25, 2017 5:03 pm, edited 1 time in total.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Rutabaga
veteran
Posts: 115
Joined: Tue Jan 26, 2016 2:26 pm
Has thanked: 5 times
Been thanked: 6 times

Re: Avengers Academy .ccz .c3b

Post 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.
SickAlice
advanced
Posts: 52
Joined: Mon Jul 23, 2012 2:02 am
Has thanked: 1 time
Been thanked: 2 times

Re: Avengers Academy .ccz .c3b

Post 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]
Rutabaga
veteran
Posts: 115
Joined: Tue Jan 26, 2016 2:26 pm
Has thanked: 5 times
Been thanked: 6 times

Re: Avengers Academy .ccz .c3b

Post 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
TRDaz
mega-veteran
mega-veteran
Posts: 215
Joined: Sat Sep 24, 2011 7:06 pm
Has thanked: 78 times
Been thanked: 32 times

Re: Avengers Academy .ccz .c3b

Post 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
Rutabaga
veteran
Posts: 115
Joined: Tue Jan 26, 2016 2:26 pm
Has thanked: 5 times
Been thanked: 6 times

Re: Avengers Academy .ccz .c3b

Post 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
Rutabaga
veteran
Posts: 115
Joined: Tue Jan 26, 2016 2:26 pm
Has thanked: 5 times
Been thanked: 6 times

Re: Avengers Academy .ccz .c3b

Post 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.
Last edited by Rutabaga on Tue Aug 29, 2017 9:05 am, edited 2 times in total.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Avengers Academy .ccz .c3b

Post 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
Last edited by Acewell on Wed Aug 30, 2017 5:50 am, edited 2 times in total.
Rutabaga
veteran
Posts: 115
Joined: Tue Jan 26, 2016 2:26 pm
Has thanked: 5 times
Been thanked: 6 times

Re: Avengers Academy .ccz .c3b

Post by Rutabaga »

Thanks a lot,now only script for c3b models (and anims if this possible) are left :)
SickAlice
advanced
Posts: 52
Joined: Mon Jul 23, 2012 2:02 am
Has thanked: 1 time
Been thanked: 2 times

Re: Avengers Academy .ccz .c3b

Post by SickAlice »

TRDaz
mega-veteran
mega-veteran
Posts: 215
Joined: Sat Sep 24, 2011 7:06 pm
Has thanked: 78 times
Been thanked: 32 times

Re: Avengers Academy .ccz .c3b

Post by TRDaz »

That only shows one mesh of the model, works good but not enough to get everything.
SickAlice
advanced
Posts: 52
Joined: Mon Jul 23, 2012 2:02 am
Has thanked: 1 time
Been thanked: 2 times

Re: Avengers Academy .ccz .c3b

Post 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.
TRDaz
mega-veteran
mega-veteran
Posts: 215
Joined: Sat Sep 24, 2011 7:06 pm
Has thanked: 78 times
Been thanked: 32 times

Re: Avengers Academy .ccz .c3b

Post 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.
Rutabaga
veteran
Posts: 115
Joined: Tue Jan 26, 2016 2:26 pm
Has thanked: 5 times
Been thanked: 6 times

Re: Avengers Academy .ccz .c3b

Post 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 :)
Post Reply