• Welcome to SC4 Devotion Forum Archives.
 

News:

The SC4 Devotion Forums are no longer active, but remain online in an archived, read-only "museum" state.  It is not possible for regular members to post or use the private messaging system, and no technical support will be provided for any issues pertaining to the forums in their current state.  Attachments (those that still work) are accessible without login.

The LEX has been replaced with SC4Evermore (SC4E), and SC4E maintains an active Discord server.  For traditional forums, we recommend Simtropolis.

Main Menu

Extracting models from Mega Packs?

Started by emilin, January 09, 2008, 12:35:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

emilin

Well, that's the question right there: how do I extract models from Mega Pack dat-files so I can reconfigure them in the plugins manager?

BlackwaterEmil's inn
Berethor ♦ beskhu3epnm ♦ blade2k5 ♦ dmscopio ♦ dedgren
♦ Emilin ♦ Ennedi ♦ Heblem ♦ jplumbley ♦ moganite ♦ M4346 ♦
papab2000 ♦ Shadow Assassin ♦ Tarkus ♦ wouanagaine

BarbyW

Wait until the X-Tool is released.  ;D There is no easy way to do it any other way.
Inside every old person is a young person wondering what happened. TP



Barbypedia: More alive than the original

rushman5

Awww, I've been trying to do this for a loong time.  There really is no simple way to do anything till that X-tool comes out.

Andreas

#3
Well, if you want to try the hard way, do this: Open the DAT file with the reader and have a look at the file list. Each model consists of a number of FSH files, S3D files, some preview pics (in BMP/JFIF format) and an XML file - and since usually the SC4Desc file got merged as well, there's also a (prop) exemplar file, along with another XML file. In some cases, preview pics and XML files got removed, since they are not needed by the game.

Most merging tools just dump those files in a row when merging DATs, and in most cases, all files that belong to a model are listed in a row - maybe with the exemplar file somewhere else. If the model was produced by gmax, the different models have different group IDs, BAT4Max models are a bit harder, since the group ID is the same, but the instance IDs differs a bit.

The prop exemplar file can be determined by comparing the Resource Key Type 1 property with the IDs of the other files - and quite often, you can compare the FSH and S3D preview with the exemplar file name in order to get some hints as well. All in all, it's a tedious process, and only feasible if you want to extract a small number of files.
Andreas

emilin

OK. Thank you for your answers. I really don't think I am competent to do what Andreas suggests, so I guess I'll just have to wait for the x-tool.

Thanks!

BlackwaterEmil's inn
Berethor ♦ beskhu3epnm ♦ blade2k5 ♦ dmscopio ♦ dedgren
♦ Emilin ♦ Ennedi ♦ Heblem ♦ jplumbley ♦ moganite ♦ M4346 ♦
papab2000 ♦ Shadow Assassin ♦ Tarkus ♦ wouanagaine

emilin

Hmmm... I actually have a follow up question on this topic: I believe that I have now been able to identify which files belong to the sam model I was looking for (by the way: "a tedious process" must have good potential of becoming the understatement of the year ;D )

Now, what? I mean: what do I actually do to get one model from those files? I also have to point out that there are no available XML-files in this particular pack. There is however an identifiable Exampler file.

BlackwaterEmil's inn
Berethor ♦ beskhu3epnm ♦ blade2k5 ♦ dmscopio ♦ dedgren
♦ Emilin ♦ Ennedi ♦ Heblem ♦ jplumbley ♦ moganite ♦ M4346 ♦
papab2000 ♦ Shadow Assassin ♦ Tarkus ♦ wouanagaine

Andreas

Well, once you figured out which files belong to a model, highlight them all, right-click and select "copy file(s)". Then go to "Files/New" and click on the new empty DAT file in the left pane. Right-click again and select "paste file(s)", then save the DAT under a new name.
Andreas

squidi

thanks andreas, without your post i maybe never had just tryd to use a dat file in pluginmanager
i cant believe that i had never tryd this before