Not this again!

Anything to do with Aircraft Design, FSDS, G Max, Aircraft Animator, SDL Edit, etc. Novice or skilled - stop here & learn!

Not this again!

Postby Katahu » Mon Feb 12, 2007 9:33 pm

Running Cockpits

Start! (C:\gmax\gamepacks\fs2004\Hummer_interior.x)
Loading X C:\gmax\gamepacks\fs2004\Hummer_interior.x...
ERROR:  Invalid X file: C:\gmax\gamepacks\fs2004\Hummer_interior.x.
Error!
Error!


You should all remember this little demon. It's that dreaded "invalid x file" crud. Everything in the export process [from Gmax to FS2004] goes nice and smoothly [no scaling errors, no animation errors, etc], until I hit "go" in the "middleman" dialog box. This is all it says. I changed all the other files left over by the error, but I got nothing. After this, it won't export. Any ideas?
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm

Re: Not this again!

Postby CAFedm » Mon Feb 12, 2007 11:48 pm

I think we all have more gray hair than not, working on this sort of stuff. Dunno if it will help but I recall having read a post regarding errors compiling, sometimes saving as an .x file and dragging this directly onto Makemdl.exe, may result in a good compilation. Just an idea, but worth a try...
Last edited by CAFedm on Mon Feb 12, 2007 11:50 pm, edited 1 time in total.
Brian
CAFedm
Captain
Captain
 
Posts: 619
Joined: Wed Nov 17, 2004 2:06 am
Location: Between CYXD & CYEG, Alberta

Re: Not this again!

Postby JonMich » Tue Feb 13, 2007 10:35 am

Just out of curiosity, does the model have textures applied to it? Sometimes I get an error, although I can
JonMich
2nd Lieutenant
2nd Lieutenant
 
Posts: 135
Joined: Mon Jul 10, 2006 2:11 pm

Re: Not this again!

Postby Katahu » Tue Feb 13, 2007 3:45 pm

For the textures, they're perfectly square [512x512 pixels - as are all of my textures]. Maybe it's because I applied the textures on parts that are already key-frame animated. In that case, I might have to clear out the animations and redo them.

There is also the possibility that I may have used FSX tags in place of FS9 tags [they look very similar at first glance]. This is because I was trying to export into FSX before. In my Gmax Gamepack folder, I have 2 subfolders; one for FS2004 and another for FSX. Each folder has its own subfolder along with plugins and other essentials. This system has worked before a week ago. I don't know why it chose now to quit on me.

So, I either have the wrong tags for the wrong sim, or I have to redo the animated parts that I have just textured recently.
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm

Re: Not this again!

Postby swordfish1227 » Tue Feb 13, 2007 5:37 pm

I hope you get this working katahu, that hummer looks to be coming along great.

I know this is off topic, but what plane is that in your sig? i think i have seen that sst but not with the shuttle.
Image
Image
User avatar
swordfish1227
1st Lieutenant
1st Lieutenant
 
Posts: 407
Joined: Mon Dec 04, 2006 6:04 pm

Re: Not this again!

Postby SkyNoz » Wed Feb 14, 2007 1:12 am

Ummm Ummm.... lol Alright, So I haven't been in the forums lately and trying to remember...  having this wonderful problem all the time. Normally when this had occurred it was during the process of which you use the file to drag into Makemdl.exe

sometimes saving as an .x file and dragging this directly onto Makemdl.exe, may result in a good compilation


.x --> Makemdl, that can actually be the reasoning why it's not compiling. That means it's not being exported. "invalid X file" etc. ('not using the specified files for export', which are needed for coding the model)

If you PM me your email Kat, I will send you a fresh copy of my plugins folder which has no problems what's so ever. 8-)

-Hope my info helps :) -SN
Last edited by SkyNoz on Wed Feb 14, 2007 1:15 am, edited 1 time in total.
Project Kfir!
Image
My Gmax page
Aircraft modeler/Aircarft painter

Aye the key!
[GeneralEngineData]
//0=Piston, 1=Jet, 2=N
SkyNoz
Major
Major
 
Posts: 1703
Joined: Sat Aug 06, 2005 11:02 am

Re: Not this again!

Postby Katahu » Wed Feb 14, 2007 11:23 am

('not using the specified files for export', which are needed for coding the model)


This explains so much, thanks. :)

Btw, check your PM.
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm

Re: Not this again!

Postby Milton » Thu Feb 15, 2007 1:03 am

The last 5 or 6 times I got this error I corrected by cleaning up my materials.  It just happened that I had two or more material names with different bmp's specified for them.

Example: material1 and darkgray.bmp
... and material1 listed again but with gray.bmp specified.

Once I cleaned corrected material and bmps, the problem disappeared.

The problem may reappear if you do not reapply a new material to the part that was originally assigned a duplicate material name with the different bmp.

When the export fails quickly after starting with this message, it is almost always a material issue.

Hope this helps.
Milton
Dash 7, Aero Commanders, Howard 500, D18S, Spartan, XP47J, Beechcraft A28 (Grizzly)
User avatar
Milton
1st Lieutenant
1st Lieutenant
 
Posts: 352
Joined: Tue Jun 04, 2002 1:52 am
Location: USA - NM

Re: Not this again!

Postby Katahu » Thu Feb 15, 2007 10:31 am

Thanks for the tip, Milton.

I took your advice and checked the materials via the Material Navigator and I found a specific material that doesn't seem to be linked any object [it's at the bottom of the list]. When I delete it or turn off one [see second image] of the materials inside this multi-material, I get an error box saying that two specific objects within the model have an invalid texture coordinate. When I'm done exporting, I still get the same message when I open the error log.

Image

Image

How do you fix this situation step by step? I tried deleting it and turning off one of the sub-materials in the multi-material, but I would get the same error box [in gmax] and the same error log [in notepad]. From what you described, Milton, it seems that I need to replace one or both of the submaterials. Am I correct? If so, how?
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm

Re: Not this again!

Postby Katahu » Sun Feb 18, 2007 4:26 pm

I managed to export the Hummer into FS9. All I needed to do was revert back to an ealier save. Because I already exactly which textured objects were NOT corrupted, I merged them into the earlier saved file and continue from there. Now that I know exactly what NOT to do, I can retexture the model again without having to worry about the issue. From that point on, it was smooth sailing... err... driving.
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm


Return to Aircraft & 3D Design

Who is online

Users browsing this forum: No registered users and 520 guests