The rules have been updated, read them now: Rules!

I.M.Meen (1995 PC/DOS) LAB files [complete]

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Darkfox
VVIP member
VVIP member
Posts: 688
Joined: Fri Jul 04, 2003 6:11 pm
Has thanked: 33 times
Been thanked: 16 times

I.M.Meen (1995 PC/DOS) LAB files [complete]

Post by Darkfox » Sat May 09, 2009 11:58 pm

Educational Doom clone by the people responsible for CD-Zelda. I'm trying to rip and convert the graphics to a viewable format (png or bmp) as well as the textures for use in a few projects. Sounds are easy as they are WAV. Graphics are hard because they are *.CMP and some are *.PCX so ripping them is a problem, ripping them doesn't quite work since they have no "magic bytes". Well, please help me crack this format.

They seem to be a headerless data file that starts off by indexing and naming each entry.
You do not have the required permissions to view the files attached to this post.
Last edited by Darkfox on Tue May 19, 2009 1:02 am, edited 2 times in total.

Darkfox
VVIP member
VVIP member
Posts: 688
Joined: Fri Jul 04, 2003 6:11 pm
Has thanked: 33 times
Been thanked: 16 times

Re: I.M.Meen (1995 PC/DOS) LAB files

Post by Darkfox » Sun May 10, 2009 12:20 am

The contents of this post was deleted because of possible forum rules violation.

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 648 times
Contact:

Re: I.M.Meen (1995 PC/DOS) LAB and IMG files

Post by aluigi » Sun May 10, 2009 2:00 am

Code: Select all

set NAME string ""
set OFFSET long 0
set SIZE long 0
get TOTAL_SIZE asize
get NEW_OFFSET asize
for
    getdstring NEW_NAME 12
    get NEW_OFFSET long

    if NEW_NAME == ""
        set NEW_OFFSET long TOTAL_SIZE
    endif

    if NAME != ""
        set SIZE long NEW_OFFSET
        math SIZE -= OFFSET
        log NAME OFFSET SIZE
    endif

    set NAME string NEW_NAME
    set OFFSET long NEW_OFFSET

    if NAME == ""
        cleanexit
    endif
next

Darkfox
VVIP member
VVIP member
Posts: 688
Joined: Fri Jul 04, 2003 6:11 pm
Has thanked: 33 times
Been thanked: 16 times

Re: I.M.Meen (1995 PC/DOS) LAB and IMG files

Post by Darkfox » Sun May 10, 2009 2:12 am

Is this a MEX Script? Hm... this is odd, my MultiEX is giving me weird problems, a division by zero. Huh...

User avatar
chrrox
Moderator
Posts: 2585
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1328 times

Re: I.M.Meen (1995 PC/DOS) LAB and IMG files

Post by chrrox » Sun May 10, 2009 2:35 am

it is a quickbms script

Darkfox
VVIP member
VVIP member
Posts: 688
Joined: Fri Jul 04, 2003 6:11 pm
Has thanked: 33 times
Been thanked: 16 times

Re: I.M.Meen (1995 PC/DOS) LAB and IMG files

Post by Darkfox » Sun May 10, 2009 2:44 am

Thank you, now to get MultiEx working again. Maybe the old regkey is outdated or was lost. I hope Mr. Mouse comes on soon. O_o;;

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 648 times
Contact:

Re: I.M.Meen (1995 PC/DOS) LAB and IMG files

Post by aluigi » Sun May 10, 2009 2:54 am

it's a QuickBMS script, sorry I forgot to specify it

Darkfox
VVIP member
VVIP member
Posts: 688
Joined: Fri Jul 04, 2003 6:11 pm
Has thanked: 33 times
Been thanked: 16 times

Re: I.M.Meen (1995 PC/DOS) LAB and IMG files

Post by Darkfox » Sun May 10, 2009 3:14 am

Wow, thanks! Works like a charm! I've dumped the content of a few LAB files and they extract perfectly.

Now for the second archive format that contains images.

Are these IMG files also a kind of container?
You do not have the required permissions to view the files attached to this post.

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 648 times
Contact:

Re: I.M.Meen (1995 PC/DOS) LAB and IMG files

Post by aluigi » Sun May 10, 2009 11:37 am

the only thing that I can notice at a first look is that the data probably starts from offset 0x1000 (probably uncompressed at 8 bit), but I have no experience with graphic formats

Darkfox
VVIP member
VVIP member
Posts: 688
Joined: Fri Jul 04, 2003 6:11 pm
Has thanked: 33 times
Been thanked: 16 times

Re: I.M.Meen (1995 PC/DOS) LAB and IMG files

Post by Darkfox » Sun May 10, 2009 6:44 pm

Alright, thanks. I'll see if somebody can get a means to convert the graphics to a usable format.

User avatar
YoshiOG1
n00b
Posts: 12
Joined: Sat Oct 15, 2011 7:30 pm
Location: Offset 0xFAD34FAD3C157BAD of the earth's data

Re: I.M.Meen (1995 PC/DOS) LAB files [complete]

Post by YoshiOG1 » Sun Nov 20, 2011 7:29 pm

Is there a BMS script to compile multiple files into one LAB file?
You know, so that we can hack something in a level.

What I'd like to do is take one of the extracted files (one of the WAV sounds, for instance), change it, and then put the files back together as a LAB file. If such a script has not yet been made, then could someone please make a script to compile files into one LAB file?

Thanks in advance. :D
----------------------------
P.S. Here's the link to an example of what I've done with WAV files in I.M. Meen's main directory:
http://www.youtube.com/watch?v=MxgXHzP7-_c
It's quite funny, actually. And if I could just do something like this within the LAB files, that would be pretty nice!

huckleberrypie
ultra-veteran
ultra-veteran
Posts: 330
Joined: Mon Apr 26, 2010 6:51 am
Has thanked: 95 times
Been thanked: 13 times

Re: I.M.Meen (1995 PC/DOS) LAB files [complete]

Post by huckleberrypie » Mon Nov 21, 2011 8:14 am

I always knew that you'd end up hacking the game for YTPs.

User avatar
YoshiOG1
n00b
Posts: 12
Joined: Sat Oct 15, 2011 7:30 pm
Location: Offset 0xFAD34FAD3C157BAD of the earth's data

Re: I.M.Meen (1995 PC/DOS) LAB files [complete]

Post by YoshiOG1 » Wed Nov 23, 2011 1:26 am

Darkfox wrote:... Graphics are hard because they are *.CMP and some are *.PCX so ripping them is a problem, ...
You can open *.PCX files with a program called IrfanView. I'm not sure about *.CMP, though.

Darkfox
VVIP member
VVIP member
Posts: 688
Joined: Fri Jul 04, 2003 6:11 pm
Has thanked: 33 times
Been thanked: 16 times

Re: I.M.Meen (1995 PC/DOS) LAB files [complete]

Post by Darkfox » Wed Nov 23, 2011 3:54 am

That isn't a problem anymore, was just for ripping them at the time. Unpacking LAB files fixed that. CMPs are the uncracked image format and Version 2 IMG files (Chill Manor)

User avatar
YoshiOG1
n00b
Posts: 12
Joined: Sat Oct 15, 2011 7:30 pm
Location: Offset 0xFAD34FAD3C157BAD of the earth's data

Re: I.M.Meen (1995 PC/DOS) LAB files [complete]

Post by YoshiOG1 » Wed Nov 23, 2011 6:56 pm

Darkfox wrote:That isn't a problem anymore, was just for ripping them at the time. Unpacking LAB files fixed that. CMPs are the uncracked image format and Version 2 IMG files (Chill Manor)
Ok.
But would you know how to put LAB files back together?
Like compressing multiple files into one LAB file?

Post Reply