Special Aircraft Service

Please login or register.

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

Author Topic: Sknil error msg  (Read 1341 times)

0 Members and 1 Guest are viewing this topic.

Dandolo513

  • Modder
  • member
  • Offline Offline
  • Posts: 738
Sknil error msg
« on: December 02, 2021, 06:38:59 AM »

Hallo Gents,
 i am trying on creting a template using Sknil.
It works with mesh but with him
I receive this error msg.




I don't understand what line is referring .

Best regards

Dandolo513
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6091
Re: Sknil error msg
« Reply #1 on: December 02, 2021, 10:56:45 AM »

I don't use this software; I do all my 3D work with a spreadsheet and a text editor.

I'm assuming a value in the .him file for the object has either a bad or a null value.

Open the .him file with a text editor (Notepad++ is highly recommended). If I can take the line number reporting as literal, scan down to line 42 in the file and see if there is indeed a problem. If you wish, paste the contents of, say, the first 50 lines here so we can have a look.

The transformation matrix/position data for each .him entry is comprised of 12 numbers. The first 9 are the transform matrix, in three groups of three numbers. The last three are the XYZ location of the mesh with respect its parent.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Dandolo513

  • Modder
  • member
  • Offline Offline
  • Posts: 738
Re: Sknil error msg
« Reply #2 on: December 02, 2021, 12:24:39 PM »

Hallo WxTech,
first of all thanks for your replay.
I send You the link of another hier ( i have that file on another pc at my job's town) . The error msg is the same nature; this time error on line 77



https://www.mediafire.com/file/o0gwvwkq6bo3yof/hier.him/file

Best regards

Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9588
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: Sknil error msg
« Reply #3 on: December 02, 2021, 02:54:31 PM »

Perhaps there is too much space between the values...  :-X   :-|
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

Knochenlutscher

  • Flying Ass Clown #10
  • Modder
  • member
  • Offline Offline
  • Posts: 4616
  • aka Segfej
Re: Sknil error msg
« Reply #4 on: December 02, 2021, 03:01:49 PM »

I'm using Sknil myself for my Modding and Skinning purposes.

No, space isn't, but sometimes a flick in the number of Points.
But the Error can have different causes, hard to say by default.

those Errors , from what I found are glitches in hier.hims or readable Mesh.

Happens in our Best Mods, is a cosmetic issue.


this can render such Error (just a showcase of examles that throws these Errors):

Code: [Select]
Attaching 1 0 0 0 1 0 0 0 1 0 0 0 3.8
surplus point

Code: [Select]
[CF_D1]
Mesh CF_D1
Parent CF_SHANGRILA

Mesh naming error, Mesh not present

I tried 3 Days finding such Error was present not in him, but in the indicating Mesh:

Code: [Select]
[Vertices_Frame0]
0.65302 -0.0110117 0.0095568 0.00833996 0.999965 -1.87307e-006     Bla-Bla

unnecessary Bla-Bla in a editable Mesh txt

But there are other issues not traceable that can throw Errors:

Texture Mat troubles can throw and indicate to 3-D trouble, Mapping?
First check him line, second, check the mesh it is referring too.

By simple means follow the Error Message, note the Line, open in Notepad++ so you can trace the Line, check the Mesh
has no glitch if readable.mesh, textures and mat troubles cured, hier.him free of glitches.

With that above fixed, you can turn them visible, if you still get the Error, it's the present work you're doing that renders the
mesh or him unreadable in Sknil.exe.

If Sknil fails, and you can afford, try Meshdump or Stainless Tool.
But basicly that Error means to get it fixed in Sknil to get it to work.
A timeconsuming task. For skinning, Sknil is unbeatable, no doubt.


I always do use Matrix Params and counter check, if still getting Errors, maybe it's an Exporter value Issue, that Sknil can't read,
some of these fancy values, dunno, I'm no Guru
Logged
Wiseman : "Did you speak the exact words?" Ash : "Look, maybe I didn't say every single little tiny syllable, no. But basically I said them, yeah."

Dandolo513

  • Modder
  • member
  • Offline Offline
  • Posts: 738
Re: Sknil error msg
« Reply #5 on: December 02, 2021, 03:18:20 PM »

Hallo Knochenlutscher,
thanks for detailed post.
I will follow instructions and i will report if i will find the issue.
Best regards to all gents who have done their attention to my call.
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6091
Re: Sknil error msg
« Reply #6 on: December 02, 2021, 08:32:59 PM »

A great way to see if there are missing or surplus values in files containing highly structured data is to paste the contents into a spreadsheet. Select both SPACE and TAB characters as separators. Then when you scan the contents, anything out of place will much more easily catch your eye.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Dandolo513

  • Modder
  • member
  • Offline Offline
  • Posts: 738
Re: Sknil error msg
« Reply #7 on: December 03, 2021, 12:14:36 AM »

Hallo Knochenlutscher,
i have followed your instructions and using notepad++ i have found several mistakes on wrinting: i mean spaces betwenn zeros or words.

The hier him is now read on Sknil.

What i can say?

Thanks a lot, grazie mille as we italian say.

I hope this will be a step forword for the mod i am creating, the mod i have desired from one year.

E15K Shiun


Fair winds and following seas

Dandolo513

Logged

Knochenlutscher

  • Flying Ass Clown #10
  • Modder
  • member
  • Offline Offline
  • Posts: 4616
  • aka Segfej
Re: Sknil error msg
« Reply #8 on: December 03, 2021, 05:52:47 AM »

Great, you found it out,
Logged
Wiseman : "Did you speak the exact words?" Ash : "Look, maybe I didn't say every single little tiny syllable, no. But basically I said them, yeah."
Pages: [1]   Go Up
 

Page created in 0.203 seconds with 26 queries.