Page 1 of 2

Help with project IGI textures and models

Posted: Fri Aug 12, 2011 12:29 pm
by yair1221
I've managed to extract the models and textures via an extractor i found on this site
But the models i got were *.mef, and the textures were *.tex
Has anyone ever found a converter?
If not, Can you please work on it a bit? Shouldn't take long, It's a very old game...And i don't think it's a very complex structure...
Attached is a rar with 2 files, A texture and a model, I'm not sure they're related, They might just have the same name because they are indexed inside the archive

Re: Help with project IGI textures and modeles

Posted: Fri Aug 12, 2011 1:45 pm
by finale00
Model file is chunk based format, but there aren't any chunk sizes so I guess you'd end up scanning the file for all the chunks and then figure out what they are, no convenient "skip chunk section" methods for testing.

There seems to be a lot of indexing going on, so skimming over the file doesn't really give me any ideas.
Maybe someone will try it out.

Re: Help with project IGI textures and modeles

Posted: Sat Aug 13, 2011 1:59 pm
by yair1221
thanks, but i'm really not the expert in these things, so...i'll just hope someone could figure something out :P

Re: Help with project IGI textures and models

Posted: Sat Aug 13, 2011 5:17 pm
by finale00
Post more model samples. Preferably a dozen small ones of increasing size and maybe a few large ones.
That is mainly for comparison to find patterns.

Re: Help with project IGI textures and models

Posted: Mon Aug 15, 2011 1:45 pm
by yair1221
there you go, 6 of the smallest, and 6 of the largest, same for the textures, so you have 24 files here...just choose the ones you want, i had to split it because it is more than 256 KB(WTF? its a small attachment)
so it will come in 3 posts...

Re: Help with project IGI textures and models

Posted: Mon Aug 15, 2011 1:46 pm
by yair1221
here is the second part

Re: Help with project IGI textures and models

Posted: Mon Aug 15, 2011 1:46 pm
by yair1221
third part, good riddance :bye:

Re: Help with project IGI textures and models

Posted: Mon Aug 15, 2011 2:21 pm
by finale00
lol ya, 256 KB attachment limit :(

Re: Help with project IGI textures and models

Posted: Tue Aug 23, 2011 11:58 pm
by yair1221
got anywhere with it?

Re: Help with project IGI textures and models

Posted: Wed Aug 24, 2011 12:08 am
by finale00
Well I found some pattern, but still a lot of unknowns.

Some outline I wrote out:

Code: Select all

#unknown game, .MEF

#header
dword chunk "ILFF"
dword filesize
dword 4
dword unk
dword chunk "OCEM"

#chunk starts
char_4 chunk
dword chunkSize - 16
dword 4
dword chunkSize

chunkSize Chunk {
   data
}
The face section is all weird.
I found this forum which talks about IGI2, and they appear to HAVE TOOLS for it, but there's absolutely no information on the format. You might have better luck there, though if they're anal about things they might just keep everything private private.

Re: Help with project IGI textures and models

Posted: Wed Aug 24, 2011 11:56 pm
by yair1221
what forum was it?
and as for the script:
i get this:
invalid command "dword" or arguments 2 at line 14

Re: Help with project IGI textures and models

Posted: Thu Aug 25, 2011 12:06 am
by finale00
It's not a script, just an outline.

http://community.codemasters.com/forum/ ... f-126.html

Re: Help with project IGI textures and models

Posted: Mon Aug 29, 2011 2:00 pm
by yair1221
well, they deal with IGI 2
which i think had an entirely different engine and not even made by the same company...

Re: Help with project IGI textures and models

Posted: Mon Aug 29, 2011 2:02 pm
by finale00
I see.

Well, aside from the fact that it's chunk-based, I don't really know enough common patterns to be able to figure out the structures.

Re: Help with project IGI textures and models

Posted: Mon Aug 29, 2011 2:31 pm
by yair1221
ok, never mind, thanks for the try

*lockable*