Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Help with project IGI textures and models

Post questions about game models here, or help out others!
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Help with project IGI textures and models

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by yair1221 on Sat Aug 13, 2011 1:59 pm, edited 1 time in total.
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Help with project IGI textures and modeles

Post 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.
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: Help with project IGI textures and modeles

Post by yair1221 »

thanks, but i'm really not the expert in these things, so...i'll just hope someone could figure something out :P
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Help with project IGI textures and models

Post 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.
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: Help with project IGI textures and models

Post 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...
You do not have the required permissions to view the files attached to this post.
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: Help with project IGI textures and models

Post by yair1221 »

here is the second part
You do not have the required permissions to view the files attached to this post.
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: Help with project IGI textures and models

Post by yair1221 »

third part, good riddance :bye:
You do not have the required permissions to view the files attached to this post.
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Help with project IGI textures and models

Post by finale00 »

lol ya, 256 KB attachment limit :(
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: Help with project IGI textures and models

Post by yair1221 »

got anywhere with it?
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Help with project IGI textures and models

Post 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.
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: Help with project IGI textures and models

Post by yair1221 »

what forum was it?
and as for the script:
i get this:
invalid command "dword" or arguments 2 at line 14
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Help with project IGI textures and models

Post by finale00 »

It's not a script, just an outline.

http://community.codemasters.com/forum/ ... f-126.html
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: Help with project IGI textures and models

Post by yair1221 »

well, they deal with IGI 2
which i think had an entirely different engine and not even made by the same company...
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Help with project IGI textures and models

Post 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.
yair1221
beginner
Posts: 36
Joined: Sat Feb 26, 2011 8:28 am

Re: Help with project IGI textures and models

Post by yair1221 »

ok, never mind, thanks for the try

*lockable*
Post Reply