Page 1 of 1

Tool not responding on Check loco for missing files

Unread postPosted: Wed Jul 23, 2014 1:41 pm
by gkbaldwin
Hi Mike;

I use your RW-Tool a lot and find it a totally required tool for TS2014. It is invaluable for troubleshooting and fixing issues with routes, objects and rolling stock. !!*ok*!!

I think however I have stumbled on a bug of some kind in the asset editor. I have been going through all my rolling stock and checking for missing files. It is amazing how many pieces of rolling stock have missing files. Most of these are with repaints, but even at times I have found payware items with missing or files. Sometimes it is simple as the engine.bin file components information file pathing being incorrectly stated, missing or misspelled so an error occurs. This is true for models, objects and even, sound files . Most cases it is a file pathing problem not the file itself being not present. !**duh*!!

However, when going through rolling stock, and checking for missing files at times the process hangs and the tool show as not responding, forcing me to abort the tool. In investigating the offending .bin file I usually find a piece of the .bin file is incomplete. I fix that and all is well. This is true for most loco files. Rolling stock (freight, passenger and alike however, tend to hang as described above, but never really persued as to why as it is simple to check manually. !*don-know!*

Now I having it hanging on engine.bin files and this one has me stumped. It is hanging on an amimation set, (see below). I remove the set and all is well. The test case I am using is with Michael Stephan's wonderful SD7 (freeware set). Using the BN set for this example in the sd7-engine_BN1.bin file, the following set of lines are causing it to hang (not responding), see below = Animation set for the external wipers. I remove these lines and the loco check works (shows no errors) I put the animation set back in the .bin file and the loco check hangs. I even copied this same information from the Donner Pass GP9 and it still hangs (I checked the Donner Pass GP9 engine file and it did not hang). This is a puzzlement as I cannot determine why it would hang on correctly implemented information? !**conf**!

Let me know if you need any further information.

Regards, Gerry *!!thnx!!*

Extracted from the sd7-engine_BN1.bin file (the highlighted area is where I found to be causing the hang....this may not be true for other check loco file hangs, but may determine as to why the issue is occuring: !*hp*!

<RenderComponent>
<cAnimObjectRenderBlueprint>
<PrimaryNamedTextureSet>
<iBlueprintLibrary-cAbsoluteBlueprintID>
<BlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID>
<Provider d:type="cDeltaString">GreatNortherner</Provider>
<Product d:type="cDeltaString">EMD-SD7-9</Product>
</iBlueprintLibrary-cBlueprintSetID>
</BlueprintSetID>
<BlueprintID d:type="cDeltaString">RailVehicles\Numbers-double\number_arial_wh-side_wh-end.xml</BlueprintID>
</iBlueprintLibrary-cAbsoluteBlueprintID>
</PrimaryNamedTextureSet>
<SecondaryNamedTextureSet>
<iBlueprintLibrary-cAbsoluteBlueprintID>
<BlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID>
<Provider d:type="cDeltaString"></Provider>
<Product d:type="cDeltaString"></Product>
</iBlueprintLibrary-cBlueprintSetID>
</BlueprintSetID>
<BlueprintID d:type="cDeltaString"></BlueprintID>
</iBlueprintLibrary-cAbsoluteBlueprintID>
</SecondaryNamedTextureSet>
<GeometryID d:type="cDeltaString">GreatNortherner\EMD-SD7-9\RailVehicles\Engines\SD7\Models\BN\[00]sd7-engine_BN1</GeometryID>
<CollisionGeometryID d:type="cDeltaString">GreatNortherner\EMD-SD7-9\RailVehicles\Engines\SD7\Models\BN\[00]sd7-engine_BN1</CollisionGeometryID>
<Pickable d:type="cDeltaString">eTrue</Pickable>
<CastsShadows d:type="cDeltaString">eTrue</CastsShadows>
<ShadowType d:type="cDeltaString">eShadowType_None</ShadowType>
<ViewType d:type="cDeltaString">ExternalView</ViewType>
<Palettised d:type="cDeltaString">eFalse</Palettised>
<Palette0Index d:type="sInt32">-1</Palette0Index>
<Palette1Index d:type="sInt32">-1</Palette1Index>
<Palette2Index d:type="sInt32">-1</Palette2Index>
<HeatHaze/>
<TexText/>
<ProjectedLightElement>
<cSceneryRenderBlueprint-sProjectedLight d:id="25406">
<TextureID d:type="cDeltaString">GreatNortherner\EMD-SD7-9\RailVehicles\Engines\SD7\Models\BN\Textures\[00]doodlebug5</TextureID>
<Matrix>
<cHcRMatrix4x4>
<Element>
<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="000000E07C7F0E40" d:precision="string">3.81225</e>
<e d:type="sFloat32" d:alt_encoding="000000A0C5472040" d:precision="string">8.14018</e>
<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
</Element>
</cHcRMatrix4x4>
</Matrix>
<FOV d:type="sFloat32" d:alt_encoding="0000000000003940" d:precision="string">25</FOV>
<Type d:type="cDeltaString">eProjectedLightFwdHeadlight</Type>
</cSceneryRenderBlueprint-sProjectedLight>
<cSceneryRenderBlueprint-sProjectedLight d:id="25428">
<TextureID d:type="cDeltaString">GreatNortherner\EMD-SD7-9\RailVehicles\Engines\SD7\Models\BN\Textures\[00]doodlebug5</TextureID>
<Matrix>
<cHcRMatrix4x4>
<Element>
<e d:type="sFloat32" d:alt_encoding="000000000000F0BF" d:precision="string">-1</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="000000000000F0BF" d:precision="string">-1</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="00000080AA430E40" d:precision="string">3.78304</e>
<e d:type="sFloat32" d:alt_encoding="00000080988223C0" d:precision="string">-9.75507</e>
<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
</Element>
</cHcRMatrix4x4>
</Matrix>
<FOV d:type="sFloat32" d:alt_encoding="0000000000003940" d:precision="string">25</FOV>
<Type d:type="cDeltaString">eProjectedLightRevHeadlight</Type>
</cSceneryRenderBlueprint-sProjectedLight>
</ProjectedLightElement>
<Instancable d:type="bool">0</Instancable>
<DetailLevelGenerationRange>
<cSceneryRenderBlueprint-sDetailLevelGenerationRange>
<HighestLevel_1isHighest d:type="sInt32">10</HighestLevel_1isHighest>
<LowestLevel_10isLowest d:type="sInt32">10</LowestLevel_10isLowest>
</cSceneryRenderBlueprint-sDetailLevelGenerationRange>
</DetailLevelGenerationRange>
<AnimSet>
<iAnimObjectRenderBlueprint-cAnimation d:id="25455">
<AnimationID d:type="cDeltaString">wipers</AnimationID>
<AnimationName d:type="cDeltaString">GreatNortherner\EMD-SD7-9\RailVehicles\Engines\SD7\Models\BN\sd7_anim-wipers-ext</AnimationName>
<AnimateInEditor d:type="cDeltaString">eTrue</AnimateInEditor>
</iAnimObjectRenderBlueprint-cAnimation>
</AnimSet>

</cAnimObjectRenderBlueprint>
</RenderComponent>

Re: Tool not responding on Check loco for missing files

Unread postPosted: Wed Jul 23, 2014 2:58 pm
by Chacal
gkbaldwin wrote:It is amazing how many pieces of rolling stock have missing files. Most of these are with repaints, but even at times I have found payware items with missing or files.


Nothing to do with your problem, but I don't think RW-Tools works like that.
I think it just checks for the usual files, not the files that are referenced but missing.
Mike will correct me if I'm wrong.

So if a builder decides to not include any sound with his model, RW-Tools will still report missing sound files.

Re: Tool not responding on Check loco for missing files

Unread postPosted: Wed Jul 23, 2014 3:10 pm
by gkbaldwin
Chacal;

I agree. If it report them as missing then the engine file is referencing them, even if alias to another loco sound. Then I can check that all is present and resolve if missing either locally or alias.

Regards, Gerry

Re: Tool not responding on Check loco for missing files

Unread postPosted: Fri Jul 25, 2014 6:27 pm
by mikesimpson
Sorry for delay in response, I had a HDD crash this week and had to restore 2TB of data from a USB backup device and it took me over 24 hours to get everything back to normal.

I will see if I can find the loco you are talking about and see what happens. (Can you provide a URL where the loco can be downloaded?)

Mike

Re: Tool not responding on Check loco for missing files

Unread postPosted: Fri Jul 25, 2014 7:47 pm
by mikesimpson
Please ignore the above, I have found the model and fixed the bug (I hope), new version of RW_Tools v5.0.75 on my site now (You may need to press F5 to clear your browsers cache to see the new version )

Mike

Re: Tool not responding on Check loco for missing files

Unread postPosted: Fri Jul 25, 2014 10:33 pm
by gkbaldwin
Thanks Mike!

Sorry to hear about the HDD crash. Glad you were successful and recovering your data.

I will give the new version a try and let you know the results.

Gerry

Re: Tool not responding on Check loco for missing files

Unread postPosted: Sat Jul 26, 2014 11:19 am
by gkbaldwin
Thanks Mike! Issue resolved.....Gerry