FFDS Design Forum
http://www.aerodynamika.com/cgi-bin/yabb2/YaBB.pl
Design Forum >> Dave's Den: FSDSxTweak Support and Dave's Toys Board >> Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
http://www.aerodynamika.com/cgi-bin/yabb2/YaBB.pl?num=1306444665

Message started by Hunter10 on 26th May, 2011 at 5:17pm

Title: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 26th May, 2011 at 5:17pm
Whever I recompile a model using FSDSxTweak the mdl file is quite a bit larger than the one output by FSDS. For instance I had  some scenery whose mdl and BGL files were around 178KB. I wanted to texture a small item so that it would be partially transparent so I ran it through Tweak and got a mdl size of 3490KB!
Similarly, my interior and exterior airplane mdl files gain around 1000K, for example 2353KB, no Tweak and 3490 post Tweak.

Is there anyway to prevent this happening?

Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by PutPut on 26th May, 2011 at 9:11pm
WOW!  This is most unusual.  My current project shows the .mdl gaining only about 20-50k adding specular shine and backlights to the panel gauges.  :o

Best,  Paul

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 5th Jun, 2011 at 12:04am
Hi Roy

Man, that is odd. Any chance I can have a look at your files to see what's going on?

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 26th Jun, 2011 at 5:56pm
Hi Dave,
I can send you the scenery models, but I do not know how to upload them in this forum. I could email them to you. I just repeated the compile, 161KB straight, 3490KB through Tweak.

Apologies for the delay in replying was on vacation for 3 weeks
Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 27th Jun, 2011 at 4:31pm
You can email them to me to dave.nunez.za@gmail.com

Please send me:

1. The untweaked .x file (should be temp.x in your FSDS folder I think)
2. The tweaked .x file (should be exterior.x in your FSDS folder).

These files are created every time you compile, so just do a compile and you should have a fresh set.

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 28th Jun, 2011 at 2:13am
Ok, had a look at the files - they look correct. The actual difference between the tweaked and untweaked .x files is minimal, so it is xtomdl which is causing the increase in size. I don't know why, but I'm thinking it must be normal (we are giving it a valid .x file, and it is doing its magic and spitting out a valid .mdl file). The tweaks are fairly substantial (add additive textures etc), so perhaps the MDL file contains a bunch of extra illumination data baked into it. Dunno  ;D

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 28th Jun, 2011 at 7:26am
The .kfg file has only two texture definitions. What I'll do is use a blank .kfg file and see what happens. Either way the .MDL must be full of white space. Just curious why the file is always 3490KB irrespective of what is modelled.

It has to be something in the tweaked .X file that causes XtoMdl to do this.

Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 28th Jun, 2011 at 8:29am
I opened the 3490KB .MDL file. There was very little white space, but it included a large section on animations! There are no animations in the scenery.

I can only conclude that Tweak put them there, but how?. Is there a way to purge old data from being inserted into new files?

I went through the two .X files side by side and they are essentially similar, with no active animations listed.

Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 28th Jun, 2011 at 8:38am
I reduced the .kfg file to:

[texture.0]
identifier=Gen_patio_furniture.dds

compiled again same result 3490KB .MDL with Tweak,
161KB without.

Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 28th Jun, 2011 at 9:28am
Hang on, what was the KFG that gave you the big file? Looking at the .x files, I see that the Gen_patio_furniture.dds is the only material being changed.

Not sure why animations would be added - I am only changing the FS10Material block, so there should be no effect on animatons, unless some default setting is forcing animations to be added due to lighting calculations or something similar.

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 28th Jun, 2011 at 3:43pm
The animation in the .MDL is confusing. It appears to include animations from other projects where I used Tweak, like rotors from a SeaKing project and ailerons from a Jet Provost project.

With the Sapphire project (scenery) I'm only building the exterior model and I left the paths to the interior model unchanged from the SeaKing project. I then renamed the SeaKing .kfg files and got a nice red warning. However I am not generating interior models so it was probably a waste of time to do that. Plus it had no effect on the 3490KB issue.

What default setting should I look for?

Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 28th Jun, 2011 at 7:39pm
Do you have a _exterior.xanim file lying around the FSDS directory? If so, rename it to something else and try to recompile.

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 28th Jun, 2011 at 8:06pm
I did have one from May. renamed it, recompiled in FSDS and then through Tweak and still have 3490KB in the scenery directory with the correct time and date. The _exterior.MDL file in FSDS is also 3490KB and the _temp.MDL from a minute earlier is 161KB.

Guess you saw the image of the build_exterior.bat file I emailed.

Regards
Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 29th Jun, 2011 at 7:08pm
Dave,
As an experiment, I copied the _exterior.x file into the directory containing XToMdl.exe. Dropped it on XToMdl and got _exterior.MDL size 90KB. I opened it with ModelConvertorX and it looked correct.

Regards
Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 30th Jun, 2011 at 1:23pm
Ok, so 99% chance that it is related to how I do the animations. Here is what I do:

1. I assumed people would only be building aircraft, not scenery (  :D yeeha everybody is just like meee!! ). Admittedly, not very smart.

2. With every single compile, I pick up the animation files (.xanim), and add them as arguments to the call into xtomdl

3. I was expecting at first that if the .x file does not reference the animation in the .xnaim file, it would not be baked in - but I think you've just proved that it bakes the lot in :-)

This should be an easy fix actually - just need to add a "noanim" option which scenery builders can use. Let me work on that this weekend, and I will send you a buddy build to test.

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 30th Jun, 2011 at 3:08pm
Dave,
Thanks, lets me continue using FSDS for scenery (not that I do much of that).
There is still the issue of aircraft .MDL files being 3490KB. When I compile with FSDS only I get a .MDL of, say 2500KB. FSDS Flight Model Selection dialog has check boxes like Delete Temp Files which I always uncheck.

Scenery compilation does not include this option.

On recompiling an aircraft or helo through Tweak I get 3490KB. The XtoMdl command line you use is the same as FSDS uses except that the .X file used is different.

I just can not see where the bake-in occurs, but bake-in does describe what I have seen happening. Originally I had reasonable .MDL file sizes, later these grew and seem to have maxed out at 3490KB, so they must be filled with historical dross! But where does it come from?

Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Fr. Bill on 1st Jul, 2011 at 2:38pm
Dave, is the .xanim file overwriting any previous .xanim file, or is the code simply appending the new data to a previous .xanim file?

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 1st Jul, 2011 at 3:55pm
Here is an interesting thing. The last line of the 2353KB .MDL for my SeaKIng Helo talks to attachpt_landing. The section before that talks to the animation in the SeaKing.

The attachpt_landing line in the 3490KB ex Tweak .MDL is about 2/3 into the .MDL file. The section before that talks to the animation in the SeaKing, same as above.

Immediately after the attachpt_landing reference another block of data starts. At the end of the file there is more animation detail which include ailerons and flaps and clearly does not belong to the SeaKing.

Looks like the first 2/3 is correct and the last 1/3 is baked in old stuff.

Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 1st Jul, 2011 at 4:33pm
Did the same comparison between the scenery 90KB .MDL I mentioned a few posts earlier and the 3490KB ex Tweak version. The last lines in the 90KB .MDL refer to platforms and ends up with
3B T!A /AB T!A H@B A H@  I like the "AHA"!

I found the same references early in the 3490KB .MDL file.
It has:
3B T!A /AB T!A H@B A H@5?XANK       B              ?XANS and then goes into an animation section, followed by some platform stuff. I finishes with the same fixed wing animation stuff I found at the end of the 3490KB SeaKing. MDL

About 2/3 the way through I found the attachpt_landing for the SeaKing preceded by rotor animation.

The only.xanim file in FSDS main directory is the one for the SeaKing and everything it describes is correct and specific to the SeaKing.

The majority of the baked in stuff has nothing to do with animation (no ASCII)

Where oh where is it coming from?

Roy


Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Au-MaV on 2nd Jul, 2011 at 2:50am
Hi Roy
Your picking up the _temp.xamin file when you compile, check the CreateMdl.bat or whatever batch file your using to create the scenery file (I havnt done any scenery)
You will prob see something like this  XToMdl.exe" _temp.x /keep /xanim /dict: 
the compiler will then process any .xamin files it finds in the folder or path
Wozza

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 2nd Jul, 2011 at 9:14am
Hi Wozza,
Including animation does not account for the file size difference.
For example, a 2348KB .MDL file file for a SeaKing that was compiled without Tweak has only 14KB for the sections from VISL onwards. These include AMAP (animations) and REFL (attachments). The other 2336KB concerns structure and materials etc.

I used the scenery example because it was so dramatic. With no animation the .MDL was 90KB. If the SeaKing animation (it was the only .xanim file at the time) was added the .MDL should have been about 104KB.

What is happening when I compile through Tweak is that all models whether scenery, aircraft or helos are 3490KB and the additional data is added to the end of the correct .MDL.

Curiously, the flight models display correctly in FS. ADE crashes if I attempt to use it in scenery.

ModelConverterX crashes if I attempt to load a 3490KB .MDL because it runs out of memory.

Hopefully, a solution will be found.

Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 5th Jul, 2011 at 1:34pm
Fr. Bill, to answer your question - I simply compile with the xanim file that FSDS leaves there. Now we may have a bug in FSDS which appends to xanim files, and it is not usually noticed because the default state is to delete temp files after a compile (which FSDSxTweak requires you to leave behind in order to pick up the .x file).

I will look into that when I am back home.

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 5th Jul, 2011 at 3:49pm
Dave,
Here is a kind of summary of what I'm seeing.
1. When I drop the .x file on XtoMdl I obviously do not get anything to do with animation and the file is about 90KB. 

2. When I compile through FSDS with no .xanim file present, the .MDL file has an appended animation and attach point section. It is very small but it is there, includes the AMAP header, so the path must include .xanim even though there is none. This file is about 160KB. The first part is identical to case1, then there is some white space after which comes the appended TRAN, AMAP etc section.

3. When I subsequently compile through Tweak the .MDL file is identical to case 2 down to a point. However it continues thereafter with what looks like a combination of previously compiled .MDL files. For example AMAP appears three times. First where it should be, a second time where it precedes a section of helicopter animation and third where it precedes a section of fixed wing animation. Between these animation sections there is what looks like the structure data (big mess of binary)

4. Everything I compile through Tweak has a 3490KB .MDL whether it is scenery, aircraft or helicopters. It does not matter whether I select a small .MDL file for replacement or the 3490KB file for replacement, the result is 3490KB

5. When compiling scenery FSDS does not give the option of deleting temporary files and they do appear in the FSDS root directory. No .xanim file is generated because there is no animation.

Regards
Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 6th Jul, 2011 at 5:44pm
Ok, thanks, good summary. I have a theory, which I need to test:

1. FSDS has a bug whcih always adds to the xanim file after subsequent builds. This means unless you delete temp files after a build, you will have 'vestigal' anim data in your model. XtoMdl is putting a cap of 3MB on a model, whcih is why all models are the same size.

2. When you compile a model via FSDSxTweak, it always adds the xanim file into the xtomdl compilation stage, so even for scenery files, whcih don't need the data, they get injected (I know this part is true for a fact).

I will investigate 1 above later this week. If this is all true, then we will have a bit of an issue with a workaround - it may be a bit of a hack involving some extra manual steps.

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 6th Jul, 2011 at 9:34pm
Dave,

The "vestigal" expression makes sense, but it is not confined to anim data. So, there may be another rampant bug that also contains "non-anim" data, ie the big binary blobs.

The 3MB cap makes a lot of sense.

The .xanim append is true for both FSDS and Tweak compilations. Seen that for sure.

My main point is that the anim sections are tiny compared to the "Blobs" Something remembers previous vestigial huge Blobs and tiny anims and appends them. But it only happens after a Tweak compilation. And I can not find anything that includes the vestigial stuff. Perhaps it gets hidden?

At least FSDS lets you see the .X and .Xanim files, GMAX deletes them which is somewhat irritating and involves scratching around inside the .MDL file.

If the problem is a FSDS bug we may be a long way from seeing a fix. From what I have learned not much is going on with FSDS at the moment.

Thanks for your help. Would be really nice to fix this.

Regards
Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Au-MaV on 7th Jul, 2011 at 12:49am
Hi Roy
Check the folder you have XToMdl.exe in, make sure there are no temp files or .x .xamin files in there
Wozza

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 7th Jul, 2011 at 2:18am
Bad news guys, I am really struggling to reproduce this behaviour:

1. FSDS correctly creates a new xanim file with each compile.
2. FSDSxTweak correctly tweaks every model I have played with (trivial test models as well as big projects I am making). I never get a file of 3940Kb as you describe.

Do you have any special part names in your project? Perhaps if you send me you FSC file, I can see if I can repro the fault here.

In the meantime, please delete any .x and .xanim files in your fsds directory. This may help if you have files lying around which have bed permissions set on them, for instance (it's a long shot).

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Au-MaV on 7th Jul, 2011 at 3:50am

DaveNunez wrote on 7th Jul, 2011 at 2:18am:
Bad news guys, I am really struggling to reproduce this behaviour:

1. FSDS correctly creates a new xanim file with each compile.
2. FSDSxTweak correctly tweaks every model I have played with (trivial test models as well as big projects I am making). I never get a file of 3940Kb as you describe.

Do you have any special part names in your project? Perhaps if you send me you FSC file, I can see if I can repro the fault here.

In the meantime, please delete any .x and .xanim files in your fsds directory. This may help if you have files lying around which have bed permissions set on them, for instance (it's a long shot).

Hi mate
same here couldnt recreate the issue..but I am on XP and I have a custom install of tweak
Wozza

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 7th Jul, 2011 at 8:11am
I looked for big files in the FSDS root and Autosave.dst was around 3M. I opened it in FSDS and it showed my AH-1 helicopter!

The last time I compiled that helicopter was in January when its .MDL size was 3490KB. Opened it in Notepad and it had two AMAP sections, one helo, one fixed wing.

Deleted Autosave.dst and recompiled the scenery file. Problem gone! Guess that is where the junk was hiding. So there is something odd with Autosave.

Still strange that it only affected Tweaked models.

Thanks for the help. Lets me finish my SeaKing. Really happy the problem is gone. I'll keep an eye on Autosave!

Regards

Roy


Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 7th Jul, 2011 at 11:29am
More news, some good, some bad!
I compiled my SeaKing and the Tweak version is 1KB bigger than the FSDS version for both external and internal models.
Autosave has reappeared. Now it is 6849KB, same size as the SeaKing.fsc and exportsave.

I recompiled the scenery. _temp.MDL was 161KB. _exterior.MDL was 2365KB, same size as the SeaKing.

So the problem remains. Autosave is still at 6849 while exportsave is 299. The scenery model has the SeaKing data after the scenery section at the beginning. Another thing I noticed is that it now starts before the Platform data that is part of the scenery file.

I think the problem is that autosave is not updating as it should. I have put the interval to 1 minute (was 10) and it is doing nothing. So it is out of synch with what is loaded in FSDS.

Maybe I should reinstall FSDS

Roy



Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 8th Jul, 2011 at 3:18am
Wow, good find. Sounds like a bum install of FSDS, hope reinstalling works. If not, there is a way you coould force tweak to delete the autosave file before it does it's work, which should help (in fsdsxtweak_plugin there is an advanced option called 'pre tweak step' or something similar, you can add there a .bat file which deletes the dst).

Let us know how it goes, and I can give you more specific instructions on how to do the above if you need.

Oh, and a screenshot of the seaking please!  :D

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 9th Jul, 2011 at 4:18pm
Dave,
Based on successful compilations of two different helos, I'm about to declare victory!

What I did before compiling was to delete all temporary models, .x files and .xanim files from the FSDS root directory, so I started with a clean slate. Did the FSDS compile and the Tweak one in two steps, ext then int.

That way there was no data pertaining to earlier compiles that somehow has been appended to the Tweaked models.

Bit of a bore to have to do that, but it makes sense to have a clean slate before compiling.

Regards
Roy


Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 11th Jul, 2011 at 6:55pm
Interesting. Would it help to have the option to have fsdsxtweak_plugin delete all the temporary files after it is done tweaking/compiling?

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 12th Jul, 2011 at 3:59pm
I believe it would help if the Tweaked files from the previous compile were deleted BEFORE the next Tweak compilation, since I am of the opinion that (somehow) they affect the next compilation.

Lets say I have a BIG model. If I have deleted all temp files and compile it over and over again during development (without further deletion), the Tweaked MDL files are perfect.

If I then have a SMALL model and compile it without deleting temp files which were from the last BIG compile, the Tweaked MDL for SMALL is the same size as that for BIG. It contains portions of the BIG model sufficient to make it the BIG size.

If I go back to the BIG model without deletions, the MDL is the right size for BIG and includes no SMALL details.

If I delete all temp files and compile the SMALL model it is the correct size and the Tweaked mdl is perfect.

So I think if the last Tweaked files were deleted BEFORE the Tweak compile, especially when changing to a smaller project, that could have the same result as I get by deleting ALL temp files.

To prove this theory, I compiled the BIG model, which was fine, then deleted the two Tweak .MDL files only. Compiled the SMALL model and it was correct.

You could achieve the same thing by deleting the Tweaked AFTER the Tweak, because it would be the same as deleting BEFORE the next one.

Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 13th Jul, 2011 at 9:32pm
Doing this before is not possible, because we rely on some of the temp files for tweaking and compilation - but after is pretty easy - all the functionality needed is already there.

I've detailed the steps in a blog post:
Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login or Register

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 14th Jul, 2011 at 7:29pm
Dave,
I followed the instructions in your blog. The temp files were not deleted. Entered pause at the end of the .bat and tried again.

This is just one line, rest are the same:
C:Program Files\Abacus\FSDS_V3.5>del..\_temp.x
Could not find C:Program Files\Abacus\_temp.x

Same happens if I run the bat by clicking on it.

However, if I copy the cleanup bat files to the plugins directory and click on them there they do delete the temp files.

I tried changing the path to plugins and deleted the clean up bats in the root.

Got the same answer.

Roy


Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 14th Jul, 2011 at 8:41pm
Dave,
Because I was convinced that the size issue related only to the previous _exterior.mdl and _interior.mdl and not the other temp files, I placed a .bat file in the plugins folder that was simply:
del ..\_exterior.mdl
del ..\_interior.mdl

pause

This works without error messages and does delete the referenced files.

If I run this after changing projects from BIG to SMALL, I get the correct SMALL .MDL file. It also preserves the Tweaked .X files which is helpful.

Since I only need to do this when changing projects, I have removed the post compile advanced entries in both exterior and interior sections of FSDSxTweak.

My problem is solved, end of thread. Can continue using FSDS, do not have to learn GMAX, very happy camper!

Many thanks for your inputs that lead me to the solution.

Regards
Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 14th Jul, 2011 at 11:01pm
Oh, no no no.... you're not getting off that easy - post a picture of your project!  ;D

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Fr. Bill on 15th Jul, 2011 at 11:14am
del ..\_exterior.mdl
del ..\_interior.mdl

Those are invalid DOS parameters. Try this instead using the wildcard * which can represent any number of characters preceeding the _xxx.mdl filename:

del ..\*_exterior.mdl
del ..\*_interior.mdl


Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 15th Jul, 2011 at 6:40pm
I tried del ..\*_exterior.mdl in the advanced post compile section and still got the "could not find" message.

Since del ..\_exterior.mdl works from the plugin folder and I only want to use it occasionally when changing projects, it serves my needs.

Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 15th Jul, 2011 at 8:45pm
del ..\_exterior.mdl is a completely legal DOS command  :) - it will delete the file one directory up called _exterior.mdl (which is the mdl file FSDSxTweak produces at the end of compilation).

Some of the lines in my sample bat file will give a file not found if you have not used all the available options - that bat tries delete everything, without caring to check if they exist first.

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 16th Jul, 2011 at 8:19am
I think that explains why it does not work if the batch file is in the FSDS directory. The directory where the system was looking for and could not find was ABACUS, one up from FSDS. It does work if the batch file is in PLUGINS, one down from FSDS.

In your blog you placed the batch file in the FSDS directory, though you did mention that it was called from the PLUGINS directory.

I assume that the ..\ is what addresses the next directory up issue. If the batch file was in FSDS would you simply use del _exterior.mdl ?

I'm not great with DOS, hence the question

Roy

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 17th Jul, 2011 at 3:25am
Correct. In DOS the tree structure is:

here.mdl [current directory]
.\here.mdl [current directory also]
..\here.mdl [in parent directory - one up]
..\..\here.mdl [in parent of parent directory - two up]

You use this to navigate as much as you need, e.g.:
..\..\files\foo.txt [moves two up, then into files, then refer to foo.txt]

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Hunter10 on 17th Jul, 2011 at 5:29pm
Dave,
Thanks for that.
You wanted some screenshots of the SeaKing. Problem is I really do not get the procedure for uploading files here

Roy




Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 18th Jul, 2011 at 1:49pm
If you email them to me, I can post for the others to see (you need a hosting account outside of the forum, and then link the pics into here)

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 20th Jul, 2011 at 12:06am
Ok all, here are the pics sent in by Roy. From the maestro:
"Attached are three screenshots. All are WIP at the moment.
1. Panel. The right panel has 3D ASI, ADI, standby ADI, HSI, Altimeter, Torque and Rotor RPM. The numeric readouts are drums. Remaining 4 gauges and all the others on the center panel are 2D so far, though switches are 3D. Will be working on night lighting sometime soon.
2. Overhead. The overhead switches and controls are 3D. The circuit breaker panel is 2D so far. Interior parts count is 606 and rising.
3. Exterior. Lot of small details to add, but no rotor shadows thanks to FSDSxTweak! The rotor animation includes pitch and roll."

Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login or Register

Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login or Register

Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login or Register

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by Fr. Bill on 20th Jul, 2011 at 12:00pm

DaveNunez wrote on 15th Jul, 2011 at 8:45pm:
del ..\_exterior.mdl is a completely legal DOS command :) - it will delete the file one directory up called _exterior.mdl (which is the mdl file FSDSxTweak produces at the end of compilation).


Okay, my bad. I was "assuming" that the actual filename(s) would be of the type foo_exterior.mdl and foo_interior.mdl...

This is a very atypical naming convention, since the underscore character is rarely used as the first character in a filename.

Typical usage is for the underscore character to be used as a suffix predicate...  ;)

Title: Re: Model file size using FSDSxTweak, FSXA, FSDS 3.5.1
Post by DaveNunez on 27th Jul, 2011 at 1:15pm
You're right about the naming convention thing (on PC at least, in UNIX it's fairly common). The reason I chose that was to reduce the chance of a namespace collision during my process (pick a name no-one else would, and you will hardly ever collide...)

FFDS Design Forum » Powered by YaBB 2.5 AE!
YaBB Forum Software © 2000-2010. All Rights Reserved.