• 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.

AGN Merge Tool error

Hi Albert,

I've tested with the file you send to me. First, the problem was that your files were named like this xxxxxxxxxxxan0.agn instead of xxxxxxxxxxxan.agn. Second, at that time my tool not support the last version of Arno's tool.

it's corrected now - > see here for a new version with all included and last Arno's Tools support.
 
Hello,

it seems the problem is gone with the new version 2.13b.
I can now get used to the tool and I'm happy to do a german language file.

Thanks Vogel :)

Carsten
 
well... it's a good news :) I hope it will work fine now...

if you edit .lng file be carrefull to not add line break (it's better to use an advanced editor like notepad++). thx Carsten
 
No switch option in the tool.... At start when loading, the tool just search for a .lng file in "work" folder...
 
Hi Vogel.

Before I close for today, there is one bug (maybe) I found.
When klicking Merge, I get a File not Found error fo a file wich is supposed to be in the "Merge" folder.
The Merge folder however ist empty before the merge.

I'll come back tomorrow.

Greetings
Carsten
 
thx, just a question for tomorrow: Have you a preview of this file when you select it in the list or not ?
 
Yes, I have and the first folder is created in "Merge", but empty.
Seems like the tool looks in "Merge" instead of "Groupes_Dalles" for the source file ;)
Carsten
 
ok, have you the .txt file of the checked file in the list into "work\merge\txt\" folder ? if yes can you post his name and contain here please ? thx
 
Thx Carsten, after a quick view i find strange coord in the last Line AGNobjlibrary... The 2 last coord are writen 6.71890156809241E-05. I don't know if Txt2agn support it ? But it should cause the txt file come from txt2AGN... I will look at it better later
 
Hello,

yes, saw the last line too. Maybe Arno can enlighten us, because the AGN files were generated by scenProc.
But the Error is a "File not Found" Error.
Code:
System.IO.FileNotFoundException: Could not find file 'Z:\Downloads\FS\Tools\Arnos Tools\latest_development_releases_package\Merge\011221212103133an.agn'.

Oh, and I got the same error on shorter path too.

Carsten
 
Last edited:
Hi,

The scientific notation for the position should not be a problem. On import of the txt file it is converted to a number again.
 
Hello Vogel,

I cannot get your latest version 2.30 of the AGN Merge Tool to work with specific .AGN files.

I get the following message when trying to preview certain .AGN files:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at ASToFra.Autogen.AGNDecoder.GetLODAndVariantFromFilename(AGNTile tile, String filename)
at ASToFra.Autogen.AGNDecoder.Decode(String filename)
at AGN_Merge_Tool_v2.Form_principale.Load_VogelAGNobjet(String filepath)
at AGN_Merge_Tool_v2.Form_principale.MAJ_Aff_preview_Conv_rapide()
at AGN_Merge_Tool_v2.Form_principale.chkListB_Fichiers_Conv_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.CheckedListBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListBox.WmReflectCommand(Message& m)
at System.Windows.Forms.CheckedListBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ListBox.WndProc(Message& m)
at System.Windows.Forms.CheckedListBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4042.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
AGN Merge Tool v2
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Paul%20Hermon/Downloads/AgnMergeTool%20v2.30%20package%20EN/AgnMergeTool/AGN%20Merge%20Tool%20v2.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4042.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4042.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Autogen
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Paul%20Hermon/Downloads/AgnMergeTool%20v2.30%20package%20EN/AgnMergeTool/Autogen.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.

I have attached an AGN file which exhibits this error. I hope that you can cast some light on this problem. The .AGN has a .txt extension because the .AGN extension was not permitted.
 

Attachments

Last edited:
Since the error comes from my library, I'll have a look as well.
 
Hi,

I tried the AGN file with my agntools that use the same library to parse them and I get no error.

But I don't remember when I gave the files to Vogel, it might be he uses an older version of the files and that I fixed a bug in between.
 
Hi,

I tried the AGN file with my agntools that use the same library to parse them and I get no error.

But I don't remember when I gave the files to Vogel, it might be he uses an older version of the files and that I fixed a bug in between.

Thanks for your investigations. I hope that Vogel sees this posting and checks things himself, on the assumption that a bug may be present.
 
Hi,

I tried the AGN file with my agntools that use the same library to parse them and I get no error.

But I don't remember when I gave the files to Vogel, it might be he uses an older version of the files and that I fixed a bug in between.

Please will you liase with Vogel to try to resolve the problem I have got, lest there be a bug which needs fixing.
 
Back
Top