Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: F-86 MshConverter problem  (Read 1432 times)

0 Members and 1 Guest are viewing this topic.

HOFFY1138

  • member
  • Offline Offline
  • Posts: 79
F-86 MshConverter problem
« on: July 29, 2015, 05:18:29 PM »

I tried to open the 3d model of the F-86 Sabre but it won't load. All I get is this...

Failed to load! System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
   at System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info)
   at System.Convert.ToSingle(String value)
   at Library3d.Mesh.HierLoader.Load(String filename)
   at MshConverter.MainForm.LoadHim(String fileName)

What's going on here?
Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9528
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: F-86 MshConverter problem
« Reply #1 on: July 30, 2015, 01:25:36 AM »

MSHConverter (v1.18EX and other version) is very picky!
It accepts no format error in the files hier.him and in the mesh files!
It takes a grans cleaning!
In the file hier.him it is best to remove all off lines (# or ; or //).
example :
\\[TU3gunA]
;Mesh TU3gunA
#Parent CF_D0


In each mesh file check (mandatory) that it is not:
- Empty data lines
example :
[MaterialMapping]
0.7993292 0.02223009
0.8379056 0.02223009

0.8506173 0.02823615

0.7866173 0.02823615


- The data lines should not be sticking to a tab line
example :
0.4433546 0.1488742
0.4392079 0.1573394
[Faces]

543 25 20
20 540 543

and

30 31 32
33 34 35
; eof



Else try this :
https://www.sas1946.com/main/index.php/topic,39868.0.html
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

HOFFY1138

  • member
  • Offline Offline
  • Posts: 79
Re: F-86 MshConverter problem
« Reply #2 on: August 03, 2015, 02:32:41 PM »

Still doesn't work...
Logged

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog
Re: F-86 MshConverter problem
« Reply #3 on: August 03, 2015, 02:40:59 PM »

How about opening only 1 msh file ? , not reading hier.him.
Logged

SAS~GJE52

  • Editor
  • member
  • Offline Offline
  • Posts: 5175
  • Orchard Studios
Re: F-86 MshConverter problem
« Reply #4 on: September 02, 2015, 03:23:15 PM »

Quote
I tried to open the 3d model of the F-86 Sabre but it won't load. All I get is this...

Failed to load! System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
   at System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info)
   at System.Convert.ToSingle(String value)
   at Library3d.Mesh.HierLoader.Load(String filename)
   at MshConverter.MainForm.LoadHim(String fileName)

What's going on here?
Modify message
 

Before we can offer any advice, we have to know exactly what you are doing here...

1. Firstly, there is no "3d model" of any in game aircraft, all aircraft in IL2 comprise a number of individual 3d meshes organised in a hierarchical structure.
2. What programme are you using to try to open it ?
3. What 3d software do you using ?
4. What, exactly, are you hoping to achieve ?

G:
Logged
Do not criticise a man until you have walked a mile in his shoes...  Then you can call him what you like, as you have his shoes ... and he is a mile away......
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 28 queries.