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:17 am; edited 3 times in total QUICK_EDIT
I have a question, what are the W3D bits? aren't they suppose to be W3X? _________________ I am Zengar Zombolt, The Sword That Cleaves Evil! There is Nothing I can not Cut! QUICK_EDIT
I think its defined still from the early SAGE days as W3D (Westwood 3D format), but they updated the format to be W3X while keeping the engine mostly untouched. QUICK_EDIT
... I have an odd problem with the EXE... When I try to run the EXE it deletes it self... Is any one else having this problem or do I have some kind of odd virus... _________________ MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.) QUICK_EDIT
I have a question, what are the W3D bits? aren't they suppose to be W3X?
w3x is nothing else than xml. Call it w3d xml if you want.
MadHQ wrote:
... I have an odd problem with the EXE... When I try to run the EXE it deletes it self... Is any one else having this problem or do I have some kind of odd virus...
Maybe your virus scanner gives a positive false and deletes the file? _________________ QUICK_EDIT
I have a question, what are the W3D bits? aren't they suppose to be W3X?
w3x is nothing else than xml. Call it w3d xml if you want.
So I can get files from TW and they would be like the W3X's from the art packs? _________________ I am Zengar Zombolt, The Sword That Cleaves Evil! There is Nothing I can not Cut! QUICK_EDIT
Posted: Thu Sep 09, 2010 2:36 am Post subject:
Re: C&C Asset Extractor
Bibber, thanks for the updated tool (involving the return of sound extraction in .wav form and texture viewer/extractor from JonWil's BinView), but however, there are some technical issues on your C&C Asset Extractor.
1. When I selected several art mesh assets and extracted them all at once as source code files in w3x, an access violation error occurred and the program crashed. Some art mesh assets in w3x took some time to extract and they are worth more than 1 MB each.
2. When I opened the extracted w3x files using the W3X Viewer, I am getting this error message.
Code:
Critical: XML validation error encountered in 'c:\program files\electronic arts\
c&c3 mod sdk\mods\reloaded\art\nod voice of kane\nbvoickaned3_skn.newskin.w3x' n
ear line 6929:
The element 'W3DMesh' in namespace 'uri:ea.com:eala:asset' has invalid child
element 'Vertices' in namespace 'uri:ea.com:eala:asset'. List of possible elemen
ts expected: 'Normals, Tangents, Binormals, VertexColors, TexCoords, BoneInfluen
ces, ShadeIndices, Triangles' in namespace 'uri:ea.com:eala:asset'.
Something tells me that the element "Vertices" does not exist in C&C3's game engine. If I use them for the C&C3 Mod SDK, they will not be compiled due to this error. Any way if "uri:ea.com:eala:asset" can add additional elements in that namespace?
3. Any chance that the w3x animations can be extracted? As for the music, we know that JonWil is working on a music decoder to extract any music from all recent C&C games. As for a xml decoder and RA3 pathmusic encoder, that's a long way to go. QUICK_EDIT
1. When I selected several art mesh assets and extracted them all at once as source code files in w3x, an access violation error occurred and the program crashed. Some art mesh assets in w3x took some time to extract and they are worth more than 1 MB each.
You are right. I fixed that last night. It happend only when extracting more than one mesh at once.
purplescrin wrote:
2. When I opened the extracted w3x files using the W3X Viewer, I am getting this error message.
Code:
Critical: XML validation error encountered in 'c:\program files\electronic arts\
c&c3 mod sdk\mods\reloaded\art\nod voice of kane\nbvoickaned3_skn.newskin.w3x' n
ear line 6929:
The element 'W3DMesh' in namespace 'uri:ea.com:eala:asset' has invalid child
element 'Vertices' in namespace 'uri:ea.com:eala:asset'. List of possible elemen
ts expected: 'Normals, Tangents, Binormals, VertexColors, TexCoords, BoneInfluen
ces, ShadeIndices, Triangles' in namespace 'uri:ea.com:eala:asset'.
Something tells me that the element "Vertices" does not exist in C&C3's game engine. If I use them for the C&C3 Mod SDK, they will not be compiled due to this error. Any way if "uri:ea.com:eala:asset" can add additional elements in that namespace?
Refers to the first problem. The element Vertices exists but my tool put more than 2 elements of it into a mesh which is not allowed. As said above: fixed.
Edit:
Fixed another problem with the meshes that BoneInfluences in some cases were not extracted. _________________ QUICK_EDIT
So i want to get audio out of Red Alert 3, how would I go about doing that?
I've extracted the file it needs to read from the .big file, but it gives me an access violation, do i need to extract every other file too, and if so, are there any tools to bulk-extract .big files, as xcc only does one at a time..... _________________ MIdAS - Turning wages into beer since 2002 QUICK_EDIT
Could do i suppose, but I'm not an "artist", basically i want to yoink cameos for use elsewhere, and don't see the point in downloading a compatible prog (or buying one for that matter) for just that.
if you don't want to thats cool, just figured it'd be easier for the end-user to output to a universal format. _________________ MIdAS - Turning wages into beer since 2002 QUICK_EDIT
All the stuff is extracted in a format to be able to use it again with the SDK.
It is much more work for me to implement such a function than for you just installing a goddamn small program. Also no-one uses bmp anymore. Oo
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
It is much more work for me to implement such a function than for you just installing a goddamn small program.
Thats fine, thats why I asked the question, and said its fine if you don't want to.
Bibber wrote:
Also no-one uses bmp anymore. Oo
As I said, its a standard format, that is compatible with everything, why not use it? hell, Ares uses it for screenshots BECAUSE it can be read by almost every graphics editing tool on the planet.
*cue some smartarse digging up a random art tool on a C64 that refuses to recognise bitmaps* _________________ MIdAS - Turning wages into beer since 2002 QUICK_EDIT
What about using a graphics program to convert the textures?
Well, extracting the textures winds up in dds format, so you use a DDS Converter to convert any DDS file into tga, jpeg and other formats. That program works well in WinXP but it's not working in both Vista and Win7 since the program is unable to convert when a dds file is selected. QUICK_EDIT
You can 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