• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Animation Tweaker

Messages
383
Country
unitedkingdom
Hi Arno

just been trying out your animation tweaker and I cant seem to get it to work.

Here's what I did in Gmax and MCX

  • Set the time configuration settings to 24FPS and 3000 frames which gives me about 2 mintues of animation.

  • created a box and animated it along the X axis in a straight line.

  • Added the ambient animation tag, etc in the Animation Manager

  • Gave the box a friendly name and GUID and exported selecting Export Animations

  • Used Animation Tweaker in MCX

  • I press export and get the following message
Could not find file
'C:\Users\Stevo\Appdata\Local\Temp\ModelConveterX\Anim_0.asm

I dont get any resulting output and MCX crashes, not sure why its looking in a temp folder. I had a look in the temp folder and there is no MCX folder in there?? My MCX folder lives on the desktop

Before I tried the box in a straight line, I tried a more complex animation first which also gave the same massage

I can attached the mdl if needed.

It'll be a great addition Arno :D

Stevo ;)
 
Last edited:
Hi Stevo,

I should probably make the tool more robust. But let's first figure out what goes wrong.

The animation tweaker does export your object to a folder ModelConverterX in the temp directory. From there it will load the ASM files and tweak them. Afterwards the MDL file is put at the location you indicated on the form.

So for some reason there is no ASM file for you. Do you have the right path to MakeMDL set? It might be the compile goes wrong.

When you close ModelConverterX the temp folder is removed, so that's why you didn't find it.

Btw, you should always use 18 Hz for your animation, since that the speed of the FS2004 timer.
 
Hi Arno,

Yes my MakeMDL was not set correctly for some reason. I only used it a few days ago and is was ok then :confused:

Ok with that now set correctly, the MCX folder is now being made in the temp folder, but I now get another error message which just states:

The system cannot find the file specified

It still doesnt give any output file, I tried renaming and saving over the same mdl that was exported from Gmax.

This is whats in the details dropdown box (if its any use)

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at ASToFra.Utils.BGLC_9.CompileASM(String filename)
at ASToFra.ModelConverterX.AnimationTweakerForm.OnExportFinished()
at ASToFra.Interfaces.EventDistributor.RaiseExportFinished()
at ASToFra.Interfaces.EventDistributor.OnExportFinished()
at ASToFra.ModelConverterX.MainWindow.RaiseExportFinished()
at ASToFra.ModelConverterX.MainWindow.bwExporter_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5448 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Launcher_ModelConverterX
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/ModelConverterX.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ModelConverterX
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/ModelConverterX.DLL
----------------------------------------
Interfaces
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/Interfaces.DLL
----------------------------------------
ObjectModel3D
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/ObjectModel3D.DLL
----------------------------------------
ObjectWriter
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/ObjectWriter.DLL
----------------------------------------
ObjectReader
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/ObjectReader.DLL
----------------------------------------
EventLog
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/EventLog.DLL
----------------------------------------
ObjectRenderer
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/ObjectRenderer.DLL
----------------------------------------
GRV11DLL
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/GRV11DLL.DLL
----------------------------------------
ParticleEffects
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/ParticleEffects.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Utils
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/Utils.DLL
----------------------------------------
TextureObject
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/TextureObject.DLL
----------------------------------------
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Drawing.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing.Design/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
----------------------------------------
TextureLoader
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/TextureLoader.DLL
----------------------------------------
ObjectEditor
Assembly Version: 1.0.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Users/Stevo/Desktop/latest_development_releases_package/ObjectEditor.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Hi,

Can you send me the file you are testing with? Then I can test with the same object and see if it works here.

As I said, I probably need to make this tool a little more robust :).
 
Thanks, I tried it here, but it does work :(.

So I think we have to figure out what goes wrong. Can you try to run it again and when the error occurs, look in de temp folder. What files are in the ModelConverterX folder there at that moment?

I would expect two ASM files and BGLC_9.exe.
 
Hi

Before I click export there is no Modelconverterx folder in temp directory is this correct?

After I press export, the folder is created and has in it

anim.asm
anim.bgl
anim_0.asm

no bglc_9.exe is in the folder at any time

The error then pops up 'cannot find the file specified'

I can either continue or quit.

;)
 
Hi,

Yes, it is normal that the temp folder is only created after you press export.

It is funny that you get a BGL file. It almost seems like the wrong exporter is used somehow. Are you sure you replaced all DLL files when you updated to the latest build?
 
Downloaded again and extracted to a completely seperate folder, same result sorry to say, the same 3 files are in the temp folder.

:confused:
 
Hi Stevo,

That's weird. The fact that you see a BGL file there is an indication that something is wrong.

Are you sure you are using the FS2004 MakeMDL and not the FS2002 MakeMDL?
 
Hi

Attached is my settings, All are correct as far as I can see. I just reinstalled the FS2004 sdks just to make sure. Can you see anything wrong??
 

Attachments

  • MCXsettings.jpg
    MCXsettings.jpg
    88.7 KB · Views: 505
Last edited:
Hi Arno

Do you by any chance have BGLC_9.exe in the MCX folder? It doesnt come with the download and I've never copied it into that folder??

anyway

it wasnt in there and I wondered what would happen if I copied BGLC_9 in to the MCX folder......It worked, I remove it again and I get the error.

;)
 
Hi,

Those settings seem fine to me.
 
Yep adding BGLC_9 to the MCX folder has solved the issue Arno. I now have an animated 2000 frame box, created and Exported with the FSX GMAX SDK, converted with MCX, and placed in FS9. A tool I'll use quite a lot me thinks.

Will look forward to seeing what else you do to it

:D

Thank you Arno,
#arnoisagenius
 
Hi,

Did you place the compiler in the temp folder? Then I might have to check why that is not done automatically.
 
No Arno, I placed it in the main Model Converter X Folder (latest_development_releases_package). You mentioned BGLC_9 but it wasnt any where in the download and I couldnt understand where MCX would be getting it from to place it in the Temp folder. So I placed a copy of it I have from another folder into the latest_development_releases_package folder. It then exported. I remove it from latest_development_releases_package folder and I get the error.

Do you also have it in the main MCX folder?

Stevo ;)
 
Hi Stevo,

No, I don't have it there. But on my system it is on the system path, that's maybe why I don't have the problem here.

BGLC_9.exe is inside the Utils.dll file. The plan is that the tool extracts it automatically when needed, but apparently that is not working correct. I'll double check if there is no mistake in my code.
 
Hi

Yeah it's definately adding BGLC_9 to that folder which is making it work. I tested again this morning and it is the only way I can get it to work.

;)
 
Hi Stevo,

I finally had the time to look at the issue. It should be fixed now. So without needing to copy BGLC_9 the compile should be working.
 
Back
Top