Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Nov 24, 2026 6:25 am
All times are UTC + 0
C&C Asset Extractor
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [40 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Mon Sep 06, 2010 1:29 am    Post subject:  C&C Asset Extractor Reply with quote  Mark this post and the followings unread

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



You can download the program here:
C&C Asset Extractor

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

Back to top
View user's profile Send private message Visit poster's website
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Sun Sep 12, 2010 6:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

_________________

Back to top
View user's profile Send private message Visit poster's website
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Mon Sep 13, 2010 1:56 am    Post subject: Reply with quote  Mark this post and the followings unread

Your work is appreciated, Bibber Smile.

Back to top
View user's profile Send private message Visit poster's website Skype Account
purplescrin
Light Infantry


Joined: 21 May 2008

PostPosted: Wed Sep 15, 2010 4:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message
Stygs
Cyborg Cannon


Joined: 27 Nov 2005
Location: Germany

PostPosted: Wed Sep 15, 2010 9:49 pm    Post subject: Reply with quote  Mark this post and the followings unread


_________________

Back to top
View user's profile Send private message Skype Account
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Thu Sep 16, 2010 2:40 am    Post subject: Reply with quote  Mark this post and the followings unread

Extracting PathMusicTrack is now supported.

_________________

Back to top
View user's profile Send private message Visit poster's website
Deformat
Defense Minister


Joined: 17 Sep 2007

PostPosted: Thu Sep 16, 2010 12:17 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
purplescrin
Light Infantry


Joined: 21 May 2008

PostPosted: Thu Sep 16, 2010 4:50 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Thu Sep 16, 2010 5:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'll give it a try at... extracting the music from TW and KW #Tongue

Back to top
View user's profile Send private message Send e-mail Skype Account
Stygs
Cyborg Cannon


Joined: 27 Nov 2005
Location: Germany

PostPosted: Thu Sep 16, 2010 5:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

purplescrin wrote:

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)?


_________________

Back to top
View user's profile Send private message Skype Account
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Thu Sep 16, 2010 7:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Good work Bibber, nice demonstration Stygs!

_________________

Back to top
View user's profile Send private message
Shur
Disk Thrower


Joined: 10 Jun 2006
Location: Cybertron

PostPosted: Mon Sep 20, 2010 1:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

static_common.manifest > extract assets > Error: Access violation at address 00507696 in module 'C&C Asset Extractor.exe'. Read of address 00000042

Back to top
View user's profile Send private message Send e-mail
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Mon Sep 20, 2010 2:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

1. Do you have the latest version of the tool?
2. Did you extract bin, imp, relo files, too?

_________________

Back to top
View user's profile Send private message Visit poster's website
Alex06
Commander


Joined: 21 Sep 2003
Location: Montreal, Canada

PostPosted: Tue Sep 21, 2010 12:44 am    Post subject: Reply with quote  Mark this post and the followings unread

Tried extracting C&C3 KW and C&C4 music. I can't extract their sources, only the 1kb .asset files...

Only music that can be extracted is music from mods.

Back to top
View user's profile Send private message Send e-mail Skype Account
Alex06
Commander


Joined: 21 Sep 2003
Location: Montreal, Canada

PostPosted: Tue Sep 21, 2010 12:47 am    Post subject: Reply with quote  Mark this post and the followings unread

Stygs wrote:
purplescrin wrote:

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? Razz

Back to top
View user's profile Send private message Send e-mail Skype Account
Stygs
Cyborg Cannon


Joined: 27 Nov 2005
Location: Germany

PostPosted: Tue Sep 21, 2010 6:33 am    Post subject: Reply with quote  Mark this post and the followings unread

No, I got both models working in TW. Wink
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.

_________________

Back to top
View user's profile Send private message Skype Account
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Tue Sep 21, 2010 12:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

Alex06 wrote:
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.

_________________

Back to top
View user's profile Send private message Visit poster's website
Alex06
Commander


Joined: 21 Sep 2003
Location: Montreal, Canada

PostPosted: Tue Sep 21, 2010 11:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

Bibber wrote:
Alex06 wrote:
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?

Back to top
View user's profile Send private message Send e-mail Skype Account
Zengar_Zombolt
Plasma Trooper


Joined: 30 Apr 2008

PostPosted: Wed Sep 22, 2010 12:28 am    Post subject: Reply with quote  Mark this post and the followings unread

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!

Back to top
View user's profile Send private message
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Wed Sep 22, 2010 12:48 am    Post subject: Reply with quote  Mark this post and the followings unread

Alex06 wrote:
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.

_________________

Back to top
View user's profile Send private message Visit poster's website
Zengar_Zombolt
Plasma Trooper


Joined: 30 Apr 2008

PostPosted: Wed Sep 22, 2010 2:07 am    Post subject: Reply with quote  Mark this post and the followings unread

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!

Back to top
View user's profile Send private message
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Wed Sep 22, 2010 6:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

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?

Back to top
View user's profile Send private message Send e-mail Skype Account
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Wed Sep 22, 2010 8:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

What tool did you use to extract the big file?

_________________

Back to top
View user's profile Send private message Visit poster's website
Alex06
Commander


Joined: 21 Sep 2003
Location: Montreal, Canada

PostPosted: Wed Sep 22, 2010 11:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

Bibber wrote:
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?
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 ÿÿÿÿ

Back to top
View user's profile Send private message Send e-mail Skype Account
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Wed Sep 22, 2010 11:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ah lol ... did you take a look at the list of supported asset types for extracting sources? #Tongue
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).

_________________

Back to top
View user's profile Send private message Visit poster's website
Alex06
Commander


Joined: 21 Sep 2003
Location: Montreal, Canada

PostPosted: Thu Sep 23, 2010 3:41 am    Post subject: Reply with quote  Mark this post and the followings unread

Bibber wrote:
Ah lol ... did you take a look at the list of supported asset types for extracting sources? #Tongue
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. Rolling Eyes 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.

Back to top
View user's profile Send private message Send e-mail Skype Account
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Thu Sep 23, 2010 12:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

PathMusicTrack is always in the static stream.


Alex06 wrote:
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.

Ehm what?

_________________

Back to top
View user's profile Send private message Visit poster's website
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Thu Sep 23, 2010 4:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

@ Bibber: I used FinalBig.

Back to top
View user's profile Send private message Send e-mail Skype Account
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Thu Sep 23, 2010 4:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

Dutchygamer wrote:
I used FinalBig.

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). Wink

_________________

Back to top
View user's profile Send private message Visit poster's website
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Thu Sep 23, 2010 5:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ah, cheers. I should have JonWil's SDK Extra's somewhere on my pc #Tongue
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 -.-

Back to top
View user's profile Send private message Send e-mail Skype Account
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Thu Sep 23, 2010 5:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

_________________

Back to top
View user's profile Send private message Visit poster's website
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Thu Sep 23, 2010 7:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Alright, it worked. I'm sometimes a bit inpatient #Tongue

Back to top
View user's profile Send private message Send e-mail Skype Account
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Wed Sep 29, 2010 12:33 am    Post subject: Reply with quote  Mark this post and the followings unread

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!

What could be wrong?

Code:
<AnimationState ParseCondStateType="PARSE_DEFAULT">
          <Animation AnimationName="SUBomberAircraft_IDLA" AnimationMode="LOOP" />
        </AnimationState>

Back to top
View user's profile Send private message
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Wed Sep 29, 2010 3:37 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

_________________

Back to top
View user's profile Send private message Visit poster's website
Alex06
Commander


Joined: 21 Sep 2003
Location: Montreal, Canada

PostPosted: Wed Sep 29, 2010 4:43 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message Send e-mail Skype Account
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Wed Sep 29, 2010 6:59 am    Post subject: Reply with quote  Mark this post and the followings unread

Bibber wrote:
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.

Thanks for your continued efforts!

Back to top
View user's profile Send private message
Saref
Rocket Cyborg


Joined: 26 Nov 2008
Location: Earth

PostPosted: Sun Oct 03, 2010 4:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

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

Back to top
View user's profile Send private message
Stygs
Cyborg Cannon


Joined: 27 Nov 2005
Location: Germany

PostPosted: Sun Oct 03, 2010 4:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

thats becasue its using the CnC4 shader - you need to edit the models with a texteidtor and change the shader to a cnc3 one.

_________________

Back to top
View user's profile Send private message Skype Account
Saref
Rocket Cyborg


Joined: 26 Nov 2008
Location: Earth

PostPosted: Sun Oct 03, 2010 5:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

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

EDIT: Now all OK and i make it work

Back to top
View user's profile Send private message
Alex06
Commander


Joined: 21 Sep 2003
Location: Montreal, Canada

PostPosted: Sat Oct 30, 2010 3:16 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message Send e-mail Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [40 Posts] Mark the topic unread ::  View previous topic :: View next topic
:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
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


Powered by phpBB © phpBB Group

[ Time: 0.2414s ][ Queries: 9 (0.0110s) ][ Debug on ]