Posted: Mon Sep 06, 2010 1:29 am Post subject:
C&C Asset Extractor
Hey there,
well, here is a new version of my C&C Asset Extractor. You can extract asset files for use with the "Merge assets" option in my SDK extra files and you can extract sources like models, textures and sounds/music. So, source extraction is supported for the following asset types: AudioFile, AudioFileMP3Passthrough, OnDemandTexture, PathMusicTrack, Texture, W3DAnimation, W3DCollisionBox, W3DContainer, W3DHierarchy, W3DMesh.
Supported games are: Tiberium Wars, Kanes Wrath, Red Alert 3, Red Alert 3 Uprising, Tiberian Twilight
Feel free to contact me if you find bugs/errors or if you just have questions. _________________ Last edited by Bibber on Sat Sep 18, 2010 3:11 am; edited 4 times in total QUICK_EDIT
Updated to extract animations (W3DAnimation). I didn't find a way to fully reconstruct them until now. Some of them might be ok others might be total crap. _________________ QUICK_EDIT
Bibber, I found an issue in extracting w3d hierarchy and container files as source files. Both extracted w3d hierarchy and container files have shared the same name no matter what unit or structure you extracted with. I extract w3d container files first and then w3d hierarchy files which somehow overwrites the w3d container files without prompting. The size of w3d hierarchy files are larger than w3d container files. Could you fix that issue? Can w3d container and hierarchy files be combined even if they share the same source file names?
Second, any way you could speed up the process of extracting w3d meshes? It's a bit slow. QUICK_EDIT
This is perfect for the Tiberium Eclipse team. The team could get most of the C&C4 art content (from C&C4) working in C&C3.
Wasnt the whole point of Eclipse to get rid of the ugly and unrealistic CnC4 stuff (instead of porting it to CnC3)?
WHAAAATT?
You got it in-game, in KW, working with C&C3 shaders, and its original animations?
I AM AMAZED.
Can you send me the files or tell me how you did it? QUICK_EDIT
No, I got both models working in TW.
However, its was just a test since I dont have the TT particle effects for the mastodon or the any way to recreate the MARV abillities (well, exept the main weapon), so its pretty much pointless. _________________ QUICK_EDIT
Tried extracting C&C3 KW and C&C4 music. I can't extract their sources, only the 1kb .asset files...
Did you extract the cdata files from the bigs? You need to extract the whole stream from the big to be able to extract something from it with my tool. _________________ QUICK_EDIT
Tried extracting C&C3 KW and C&C4 music. I can't extract their sources, only the 1kb .asset files...
Did you extract the cdata files from the bigs? You need to extract the whole stream from the big to be able to extract something from it with my tool.
Have you managed to extract all the musical tracks from C&C3, KW and C&C4? I extracted the Globalstream.big file and then opened the manifest file with your asset extractor. I couldn't extract the source for the Music files, only the actual .asset files, strangely.
I could however, extract music from C&C3 mods such as the Forgotten and Tiberium Essence.
Am I doing something wrong? Is it because EA's EALayer3 music is not supported and no one has managed to create an extractor/codec/converter for it, while mod music uses an open source codec? QUICK_EDIT
How do I combine the W3x chunks?(W3DCollisionBox, W3DContainer, W3DHierarchy, W3DMesh) _________________ I am Zengar Zombolt, The Sword That Cleaves Evil! There is Nothing I can not Cut! QUICK_EDIT
Have you managed to extract all the musical tracks from C&C3, KW and C&C4?
Sure.
Alex06 wrote:
Is it because EA's EALayer3 music is not supported and no one has managed to create an extractor/codec/converter for it, while mod music uses an open source codec?
EALayer3 is supported. There is an decoder that I use.
When extracting the .asset files are the .cdata files copied?
Any error messages when extracting sources?
Zengar_Zombolt wrote:
How do I combine the W3x chunks?(W3DCollisionBox, W3DContainer, W3DHierarchy, W3DMesh)
Just include them into your mod like any other xml file. _________________ QUICK_EDIT
Oh ok. Thank you again. Just got off kiltered by the chunks. _________________ I am Zengar Zombolt, The Sword That Cleaves Evil! There is Nothing I can not Cut! QUICK_EDIT
Joined: 18 Jun 2005 Location: Dordrecht, the Netherlands
Posted: Wed Sep 22, 2010 6:19 pm Post subject:
May need some guidance here. I try to get the KW files. I assume those are in the .big files, so I extract a whole .big file (in my case "Electronic Arts\Kane's Wrath\EnglishAudio\1.0\EnglisgAudio.big") to a folder. If I open the manifest then, I get an error, and the whole tool ignores any other commands afterwards (including closing).
Error I get:
"Access violation at address 00507696 in module 'C&C Asset Extractor.exe'. Read of address 00000042."
Is this the correct place to look for the .manifest files? QUICK_EDIT
Is it because EA's EALayer3 music is not supported and no one has managed to create an extractor/codec/converter for it, while mod music uses an open source codec?
EALayer3 is supported. There is an decoder that I use.
When extracting the .asset files are the .cdata files copied?
Any error messages when extracting sources?
Just include them into your mod like any other xml file.
That's just it. I can't extract the sources at all. The button for that is greyed out. I extracted GlobalStream.big from KW with the CNC tools provided by jonwil over at CNCmods.net and I got no errors from that. I have ~660-680mb of .cdata files extracted. I opened the latest version of C&C Asset Extractor, then I looked for MusicTrack files that were in the list. For example, MusicTrack:TM_CNC3_EX_BLU_03
When I select it, I can't extract sources. That button is greyed out. I can extract assets however, and when doing so, it pops up a "Browse for Folder" dialog and I choose to extract it onto a new folder that's on my desktop. The extracted file that is inside the folder is "MusicTrack.TM_CNC3_EX_BLU_03.asset". That's it. It's 225 bytes large. No MP3, WAV, OGG, etc. and no XML file. When I open it in notepad, I can see this:
Quote:
øÙFpl%׳‰¡Ð¼äM– l MkO;R¸ MusicTrack:TM_CNC3_EX_BLU_03 DATA:sounds/music.xml ÌÌÌ> €? @ C D ? €?ÌÌL> €?h d ` H ÿÿÿÿd ÿÿÿÿ
Ah lol ... did you take a look at the list of supported asset types for extracting sources?
In TW/KW the music is stored as AudioFile or AudioFileMP3Passthrough (e.g. Mods), RA3/UR/C&C4 music is stored as PathMusicTrack which contains all music and splitted parts (takes very long to extract). _________________ QUICK_EDIT
Ah lol ... did you take a look at the list of supported asset types for extracting sources?
In TW/KW the music is stored as AudioFile or AudioFileMP3Passthrough (e.g. Mods), RA3/UR/C&C4 music is stored as PathMusicTrack which contains all music and splitted parts (takes very long to extract).
And where are they located? Which BIG file?
EDIT: Nevermind. Wow, can't believe I failed that hard.
Thanks however, for making me realize what the files were.
Though I still haven't found pathmusictrack for RA3, UP or C&C4...Which file are they in? I've checked both GlobalStream and StaticStream and it's not in either.
EDIT: Found it for C&C4. It's in StaticStream...It's a giant 250mb file. File needs to be extracted to folder before I try to extract as source or else it will crash. QUICK_EDIT
EDIT: Found it for C&C4. It's in StaticStream...It's a giant 250mb file. File needs to be extracted to folder before I try to extract as source or else it will crash.
Well, FinalBig can't handle the RefPack compression used since C&C3. Use another BIG editor like OSBE or jonwils BigExtract (part of his SDK extras). _________________ QUICK_EDIT
Joined: 18 Jun 2005 Location: Dordrecht, the Netherlands
Posted: Thu Sep 23, 2010 5:04 pm Post subject:
Ah, cheers. I should have JonWil's SDK Extra's somewhere on my pc
EDIT: great, JonWil's bigextractor freezes/gives Windows message that it doesn't respond because Windows thinks it takes too long to extract all KW voices -.- QUICK_EDIT
It takes some minutes to extract the whole Big and the GUI (and only the GUI) might freeze, but HDD activity should be there. So let the program just work until it is finished. _________________ QUICK_EDIT
I extracted the RA3 Kirov and successfully loaded into C&C3, but the propeller animation that I extracted does not loop properly. It kind of goes 180 degrees clockwise, then 180 anti-clockwise, and repeats this has a loop!
It was a wrong interpolation of time-coded rotations. I worked on some things for animations and meshes the last days. Thank Golan and Stygs some bugs could be fixed.
The Kirov animations should work now with the latest version of the tool. Just extract the animations (any maybe the meshes) again. _________________ QUICK_EDIT
I have to say, thanks to your work, we may eventually be able to truly fully mod all 3D C&C games rather than use only the Mod SDK EA has provided, which has its limitations when it comes to music, factions, AI, in-game interface designs, mission objectives, etc. QUICK_EDIT
It was a wrong interpolation of time-coded rotations. I worked on some things for animations and meshes the last days. Thank Golan and Stygs some bugs could be fixed.
The Kirov animations should work now with the latest version of the tool. Just extract the animations (any maybe the meshes) again.
How can i extract models and put in mod?
I extracted CnC4 GDI firehawk model and animation but i can't see model with w3x veiwer and it can't be seen in game. And model separated on:
GUAIRCRAFTM_SKN.FXSTROBE
GUAIRCRAFTM_SKN.GUAIRCRAFTM
GUAIRCRAFTM_SKN.OBBOX01
GUAIRCRAFTM_SKN.OBBOX02
GUAIRCRAFTM_SKN QUICK_EDIT
thats becasue its using the CnC4 shader - you need to edit the models with a texteidtor and change the shader to a cnc3 one. _________________ QUICK_EDIT
I changed FXShader to ObjectsGeneric.fx
But i still can't view model with w3x viewer
And all about model shader and other are in GUAIRCRAFTM_SKN.GUAIRCRAFTM
And that also happens with filesexctracted from CnC3 or RA3. And all SKN file separated to GUAIRCRAFTM_SKN.FXSTROBE
GUAIRCRAFTM_SKN.GUAIRCRAFTM
GUAIRCRAFTM_SKN.OBBOX01
GUAIRCRAFTM_SKN.OBBOX02
GUAIRCRAFTM_SKN
I was wondering, is it possible to also extract XMLs with code? For example, I'd like to extract some of the logiccommandset and logiccommand XMLs from KW and RA3, but I can't seem to be able to find out how...I want to basically copy some of the unit's code from the game into TW. QUICK_EDIT
You cannot post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum