Jump to content

Format exception: input string was not in the correct format, advice needed


jimutt

Recommended Posts

Hi,

Just tried to create an asset using the asset tutorial in the wiki. I used the 'Dummy part.cfg' and only modified it a pit and used it with my own model.

Though I\'m getting this error while opening it in PartLab: 'Format exception: input string was not in the correct format'

This is the detailed error code from the log file:

FormatException: Input string was not in the correct format

at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0

at PartLoader.ParsePartCfg () [0x00000] in <filename unknown>:0

at PartLoader.doProcessPart (UnityEngine.GameObject[] mdls, Boolean partLabMode) [0x00000] in <filename unknown>:0

at PartLoader.startPartAssemblyAndSave (UnityEngine.GameObject[] mdls) [0x00000] in <filename unknown>:0

at FileIO.Loaded (Boolean success) [0x00000] in <filename unknown>:0

at DAE+<Load>c__Iterator6.MoveNext () [0x00000] in <filename unknown>:0

(Filename: Line: -1)

The model is showing up as it should so it seams just to be some cfg issues. And when trying to start the game with the asset the loading screen freezes when loading the object.

Link to comment
Share on other sites

Thank you Capt\'n!

Though I get the same error message in the log file in the KSP_Data when trying to run the game. Maybe the cfg guide is outdated too? Or am I just doing something terribly wrong... hmm...

Link to comment
Share on other sites

Nope, the PartLab and any files that come with it are likely to be obsolete as it\'s several versions old. The good news is they are working on a completely new set of tools, on the other hand, it may take a while before we can get our hands on it.

Cheers!

Capt\'n Skunky

KSP Community Manager

Link to comment
Share on other sites

Ah, okay.

Well I might as well wait a bit then. I usually only work with pure programming tasks so I\'m not really used to this kind of modding. So maybe it\'ll be better to wait until they\'ve released the new tools. In that way I\'ll be able to avoid spamming the forum with stupid newbie questions :P

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...