Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 3 [4] 5 6   Go Down

Author Topic: MshConverter 1.18 by Dr Jones ~ Link Updated  (Read 48220 times)

0 Members and 1 Guest are viewing this topic.

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9524
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: MshConverter 1.18 by Dr Jones ~ Link Updated
« Reply #36 on: April 28, 2017, 03:14:06 AM »

Look for a file "hier.him".
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

Seb

  • Modder
  • member
  • Offline Offline
  • Posts: 560
Re: MshConverter 1.18 by Dr Jones ~ Link Updated
« Reply #37 on: May 28, 2017, 06:55:03 AM »

Hello.
Please help.
I installed this program, but mod in 3d does not display.
I read tips on this topic but nothing helps.
The message pops up in the popup window.
I have Windows 7, I have also installed directX9.
Thank you in advance for your help.
Regards
seb

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

************** Exception Text **************
System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at MshConverter.ViewForm.OnResetDevice(Object sender, EventArgs e)
   at MshConverter.ViewForm.Init()
   at MshConverter.MainForm.Show3dScene()
   at MshConverter.MainForm.toolStripButton4_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.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: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MshConverter
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Program%20Files/MshConverter1.18/Release/MshConverter.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.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.5420 (Win7SP1.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
----------------------------------------
Microsoft.DirectX.Direct3D
    Assembly Version: 1.0.2902.0
    Win32 Version: 9.05.132.0000
    CodeBase: file:///D:/Program%20Files/MshConverter1.18/Release/Microsoft.DirectX.Direct3D.DLL
----------------------------------------
Microsoft.DirectX
    Assembly Version: 1.0.2902.0
    Win32 Version: 5.04.00.2904
    CodeBase: file:///D:/Program%20Files/MshConverter1.18/Release/Microsoft.DirectX.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.
Logged

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog
Re: MshConverter 1.18 by Dr Jones ~ Link Updated
« Reply #38 on: May 28, 2017, 07:08:23 AM »

"1.18" is not compatible to Windows 7 or 8 / 10, laters about its 3D Viewer function.
Its main function "3D data convert" is still OK on them, though.

"EX" is compatible to Windows 7 / 8 / 10 also about 3D Viewer.
But that version has different behavior in 3D data convert about UV inverting option from 1.18 .


Stainless's Modder Tool is also available for 3D Viewer about 3D him structure.
Logged

Seb

  • Modder
  • member
  • Offline Offline
  • Posts: 560
Re: MshConverter 1.18 by Dr Jones ~ Link Updated
« Reply #39 on: May 28, 2017, 08:08:55 AM »

Thanks.
I sent you two more prv questions.
Regards
Seb
Logged

DemiGhost

  • member
  • Offline Offline
  • Posts: 4
Re: MshConverter 1.18 by Dr Jones ~ Link Updated
« Reply #40 on: June 29, 2017, 08:19:27 AM »

Hi, I successfully converted the whole ship to .3ds format but when I opened the model in 3ds max the whole model is jumbled up and the UV's is out of place, please help me thank you! :)
Logged

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog
Re: MshConverter 1.18 by Dr Jones ~ Link Updated
« Reply #41 on: June 29, 2017, 08:58:45 AM »

Hi, I successfully converted the whole ship to .3ds format but when I opened the model in 3ds max the whole model is jumbled up and the UV's is out of place, please help me thank you! :)

About model's places or positions, you may have to move and rotate them while referring to hier.him's each nodes' Attaching values and Parent connections.

About UV, I don't know you are using which version of MshConverter ..... "V scale" value changing into "-1" is needed or NOT needed (equal to keep default "1") ..... I cannot advise.
Original 1.18 needs "V scale = -1", but newer EX needs "V scale = 1".
"V offset" is always needed "-1" about both versions.
And so some msh data of ships or aircrafts use multi-material (applying 2 or 3 .... more texture TGA files).
When you see your UV don't match to the texture any , it might need switch the material layer to another one.
And please take care not to break multi-material structure in operating like merging materials into one or applying one texture file to multi material layered objects.
Logged

tbauchot

  • Modder
  • member
  • Offline Offline
  • Posts: 275
Re: MshConverter 1.18 by Dr Jones ~ Link Updated
« Reply #42 on: December 28, 2017, 01:36:33 PM »

Hi all,

Mesh converter is a pretty little tool and I use it since a long time for little modifications, on the "Msh/Text" files,  in order to change loads distances values on customised objects for example, or to delete shadows on lowered objects... (I don't work on 3D. I don't have the knowledge for that.)

However, I'm currently experiencing a problem !

On a lot of objects of : 3do\Airfield\RoadPlate(1 -> 11)

The files saved in "Msh/Text" format seems (???) to be corrupted and are unusable in game.

And in fact : [Vertices_Frame0] and  [ShVertices_Frame0] values are missing !

Here the "Msh/text" of sk_Rail :

Code: [Select]
//Generated by MshReader 1.18 by Dr.Jones

[Common]
NumBones 0
 FramesType Single
 NumFrames 1

[LOD]
60
200
1300
20000

[Materials]
../AirPrtGrnd_512

[FaceGroups]
0 2
0 0 4 0 2 0

[Vertices_Frame0]

[MaterialMapping]
0.9980316 0.5029144
0.5048676 0.5029144
0.5048676 0.7455902
0.9980316 0.7455902

[Faces]
2 3 0
1 2 0

[ShVertices_Frame0]

[ShFaces]
2 3 0
1 2 0

[LOD1_Materials]
../AirPrtGrnd_256

[LOD1_FaceGroups]
0 2
0 0 4 0 2 0

[LOD1_Vertices_Frame0]

[LOD1_MaterialMapping]
0.9980316 0.5029144
0.5048676 0.5029144
0.5048676 0.7455902
0.9980316 0.7455902

[LOD1_Faces]
2 3 0
1 2 0

[LOD1_ShVertices_Frame0]

[LOD1_ShFaces]
2 3 0
1 2 0

[LOD2_Materials]
../AirPrtGrnd_128

[LOD2_FaceGroups]
0 2
0 0 4 0 2 0

[LOD2_Vertices_Frame0]

[LOD2_MaterialMapping]
0.9980316 0.5029144
0.5048676 0.5029144
0.5048676 0.7455902
0.9980316 0.7455902

[LOD2_Faces]
2 3 0
1 2 0

[LOD2_ShVertices_Frame0]

[LOD2_ShFaces]
2 3 0
1 2 0

[LOD3_Materials]
../AirPrtGrnd_32

[LOD3_FaceGroups]
0 2
0 0 4 0 2 0

[LOD3_Vertices_Frame0]

[LOD3_MaterialMapping]
0.9980316 0.5029144
0.5048676 0.5029144
0.5048676 0.7455902
0.9980316 0.7455902

[LOD3_Faces]
2 3 0
1 2 0

[LOD3_ShVertices_Frame0]

[LOD3_ShFaces]
2 3 0
1 2 0


; eof

And here the "log.lst" corresponding :

Code: [Select]
INTERNAL ERROR: Wrong or missing #vertices, #faces in section [FaceGroups]
WARNING: object '3do/airfield/RoadPlate1/sk_Rail/Body.msh' of class 'SkinTL' not loaded
INTERNAL ERROR: MeshObj: Can't load mesh 3do/airfield/RoadPlate1/sk_Rail/Body.msh
WARNING: object '3do/airfield/RoadPlate1/sk_Rail/mono.sim' of class 'SIM' not loaded
INTERNAL ERROR: MeshObj: Can't load SIM 3do/airfield/RoadPlate1/sk_Rail/mono.sim
Mesh 3do/airfield/RoadPlate1/sk_Rail/mono.sim not created
com.maddox.il2.engine.GObjException: Mesh 3do/airfield/RoadPlate1/sk_Rail/mono.sim not created

So my question is : Is it possible to change "Load" values with an over tool than MshConverter without altering the original file ?

Here for downloading, the folders that give me problems (essentially on the rails and highway.)
If you want to try by yourself !?

https://www.mediafire.com/file/dw8a4b63tppulrt/Title+RoadPlate_KDP.7z

I'm actually working since a long,long time on a redone of WF-generic maps (From Gilles) by adding the "French and Belgian Mining Basin" and a lot of over sites... So, in order to obtain decent FPS, I really need to reduce the loads value of these objects. (from 20000 to 2000).

In hope to have some help from you, thank you very much in advance ! Best regards, Thierry.

And finally, like a motivation letter in pictures, some previews of my WIP...
https://www.mediafire.com/file/3u395qj56h1r33i/WIP_WF_Pics.7z



Logged

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog
Re: MshConverter 1.18 by Dr Jones ~ Link Updated
« Reply #43 on: December 28, 2017, 02:02:38 PM »

Plates are from the first very simple polygon made --- very low fps damage objects, I think.

No need / No meanings to edit for that purpose and almost no better effect after editing as you are doing on other complex objects.

Those very simple objects in binary msh format are often failed in converting into txt format or 3ds/obj formats, as you see and I've experienced.
I have no knowledge those converting is possible in reworking on MshConverter.exe itself, or impossible from structure design of the binary format ---- from its limitation and feature. About users' side without those reworking of MshConverter.exe ..... nothing can do.
Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9524
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: MshConverter 1.18 by Dr Jones ~ Link Updated
« Reply #44 on: December 28, 2017, 02:14:28 PM »

Le contenu semble corrompu car je n'ai pas ça !
Exemple :
[FaceGroups]
0 2
0 0 4 0 2 0

Ca ne peut pas être 0 mais 4 !  ;)

Voici ce que j'ai :
Code: [Select]
//------------------------------------------------------------------------------
// mesh_dump64e.exe; -SAS- V 1.02  64-bit  Build 311e
// 28/12/2017 22:07:21
//------------------------------------------------------------------------------

[Common]
NumBones 0
FramesType Single
NumFrames 1

[LOD]
60
200
1300
20000

[Materials]
../AirPrtGrnd_512

[FaceGroups]
4 2
0 0 4 0 2 0

[Vertices_Frame0]
-20 0 0 0 0 1
-20 -40 0 0 0 1
0 -40 0 0 0 1
0 0 0 0 0 1

[MaterialMapping]
0.998047 0.50293
0.504883 0.50293
0.504883 0.745605
0.998047 0.745605

[Faces]
2 3 0
1 2 0

[ShVertices_Frame0]
-20 0 0
-20 -40 0
0 -40 0
0 0 0

[ShFaces]
2 3 0
1 2 0

[LOD1_Materials]
../AirPrtGrnd_256

[LOD1_FaceGroups]
4 2
0 0 4 0 2 0

[LOD1_Vertices_Frame0]
-20 0 0 0 0 1
-20 -40 0 0 0 1
0 -40 0 0 0 1
0 0 0 0 0 1

[LOD1_MaterialMapping]
0.998047 0.50293
0.504883 0.50293
0.504883 0.745605
0.998047 0.745605

[LOD1_Faces]
2 3 0
1 2 0

[LOD1_ShVertices_Frame0]
-20 0 0
-20 -40 0
0 -40 0
0 0 0

[LOD1_ShFaces]
2 3 0
1 2 0

[LOD2_Materials]
../AirPrtGrnd_128

[LOD2_FaceGroups]
4 2
0 0 4 0 2 0

[LOD2_Vertices_Frame0]
-20 0 0 0 0 1
-20 -40 0 0 0 1
0 -40 0 0 0 1
0 0 0 0 0 1

[LOD2_MaterialMapping]
0.998047 0.50293
0.504883 0.50293
0.504883 0.745605
0.998047 0.745605

[LOD2_Faces]
2 3 0
1 2 0

[LOD2_ShVertices_Frame0]
-20 0 0
-20 -40 0
0 -40 0
0 0 0

[LOD2_ShFaces]
2 3 0
1 2 0

[LOD3_Materials]
../AirPrtGrnd_32

[LOD3_FaceGroups]
4 2
0 0 4 0 2 0

[LOD3_Vertices_Frame0]
-20 0 0 0 0 1
-20 -40 0 0 0 1
0 -40 0 0 0 1
0 0 0 0 0 1

[LOD3_MaterialMapping]
0.998047 0.50293
0.504883 0.50293
0.504883 0.745605
0.998047 0.745605

[LOD3_Faces]
2 3 0
1 2 0

[LOD3_ShVertices_Frame0]
-20 0 0
-20 -40 0
0 -40 0
0 0 0

[LOD3_ShFaces]
2 3 0
1 2 0


Nota : l'outil Mesh Dumper (NB79) est meilleur pour les conversions en texte ! ;)
Mais c'est bizarre car je n'ai jamais eu ce genre de pb avec Mesh Converter Ex !
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

Zoran395

  • Mapper
  • member
  • Offline Offline
  • Posts: 355
Re: MshConverter 1.18 by Dr Jones ~ Link Updated
« Reply #45 on: December 28, 2017, 06:27:04 PM »

Salut Thierry,

In my experience, having to access binary mesh (via MeshConverter) meant re-creating the object in GMax. I could not just edit the text, I had to do the whole thing to achieve what I wanted. This included learning GMax !!!
That is unless the .msh files are already in text format.
I believe the tool converts to the best of its abilities but those are generic and geared towards non-plate objects: This would explain why shadows are created during the conversion, when a plate does not need any. The binary file probably did not have any shadows, looking at Mesh Dumper (NB79) output.
Logged

tbauchot

  • Modder
  • member
  • Offline Offline
  • Posts: 275
Re: MshConverter 1.18 by Dr Jones ~ Link Updated
« Reply #46 on: December 29, 2017, 08:04:20 AM »

Hi,
Thank you very much for your answers and your time !
I have tested "mesh_dump64.exe" and in these cases, all work fine !!!

You have made me happy and I am very grateful ! :) ;) ;D
Logged

nadvgia

  • Apprentice vaga
  • member
  • Offline Offline
  • Posts: 116
  • Like a Mig-15 on Steroids!
Re: MshConverter 1.18 by Dr Jones ~ Link Updated
« Reply #47 on: September 01, 2018, 08:51:09 AM »

Anyone knows a solution for exporting in OBJ extension? Because all the textures get distorted when importing the meshes to 3ds Max.



Logged
Pages: 1 2 3 [4] 5 6   Go Up
 

Page created in 0.034 seconds with 29 queries.