FSIC Messageboard
  Tech Talk
  Extractor Warning

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Extractor Warning
Jaguar
Pilot
posted 02-21- 06:03 PM     Click Here to See the Profile for Jaguar   Click Here to Email Jaguar     Edit/Delete Message   Reply w/Quote
Pang and myself have both run into this, so i figured I should post it incase some of you are having the same problem.

It seems that sometimes when you use extractor to extract an .SM file, the Material Table in the .ASC file gets messed up, and ends up looking like this:

[MaterialTable:3728:68]
0 ; material = sand
7 ; material = 13 ; material = 19 ; material = ice
25 ; material = 30 ; material = 35 ; material = 40 ; material = 44 ; material = 48 ; material = 53 ; material = 59 ; material = 66 ; material = 71 ; material = 79 ; material = 85 ; material = 92 ; material = -1 ; No more materials
[TextureFile:3804:24]

When you try to build the .SM back up again, you will get this error:

;Invalid record or unexpected data
;

Now, the fix for this is easy. Open the .ASC file up in notepad. Scroll down to the Material Table (located just after the Name List)

Replace the jumbled mess with this:

[MaterialTable:3728:68]
0 ; material = cement
7 ; material = glass
13 ; material = water
19 ; material = grass
25 ; material = sand
30 ; material = rock
35 ; material = dirt
40 ; material = mud
44 ; material = ice
48 ; material = snow
53 ; material = metal
59 ; material = rubber
66 ; material = wood
71 ; material = treetop
79 ; material = swamp
85 ; material = crater
92 ; material = fire
-1 ; No more materials
[TextureFile:3804:24]

Save it, and now you can rebuild the .SM

------------------
Cheers!
Jaguar
The FS Hangar

IP: Logged

Bryan Russell
Pilot
posted 02-21- 09:47 PM     Click Here to See the Profile for Bryan Russell   Click Here to Email Bryan Russell     Edit/Delete Message   Reply w/Quote
This looks like its the new name list format that MH accidentially left in MG.exe, and hence in some of the aircraft he fixed mapping and such for. I thought Hippie did something to fix this.

IP: Logged

Whirlwind
Pilot
posted 02-22- 10:41 AM     Click Here to See the Profile for Whirlwind   Click Here to Email Whirlwind     Edit/Delete Message   Reply w/Quote
You don't need the [Texture xxxpo:down] bit, just the stuff before. I kept wondering why Bryan never fixed it in OPS . I'll try using Hippie's latest fix.

IP: Logged

Jaguar
Pilot
posted 02-22- 05:13 PM     Click Here to See the Profile for Jaguar   Click Here to Email Jaguar     Edit/Delete Message   Reply w/Quote
ya, I just included the texture part so people can locate it easier, and know exactly what to change.

IP: Logged

Hippie
Pilot
posted 02-24- 04:46 AM     Click Here to See the Profile for Hippie     Edit/Delete Message   Reply w/Quote
You should use extractorg on .SM files
created with the Multigen -> .SM convertor.

IP: Logged

Whirlwind
Pilot
posted 02-25- 07:15 AM     Click Here to See the Profile for Whirlwind   Click Here to Email Whirlwind     Edit/Delete Message   Reply w/Quote
Unfortunately, the extractororg version doesn't put the part names in the .html file, nor does it fix the material problem. I am thinking it might be less extractor, but how in the heck do I know.

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c