The rules have been updated, read them now: Rules!
I.M.Meen (1995 PC/DOS) LAB files [complete]
-
- 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]
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.
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.
- aluigi
- 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
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
- chrrox
- Moderator
- Posts: 2585
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1328 times
- aluigi
- 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:
-
- 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
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?
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.
- aluigi
- 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
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
- 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]
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.
----------------------------
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!
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.

----------------------------
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!
-
- 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]
I always knew that you'd end up hacking the game for YTPs.
- 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]
You can open *.PCX files with a program called IrfanView. I'm not sure about *.CMP, though.Darkfox wrote:... Graphics are hard because they are *.CMP and some are *.PCX so ripping them is a problem, ...
-
- 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]
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)
- 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]
Ok.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)
But would you know how to put LAB files back together?
Like compressing multiple files into one LAB file?