READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Search found 37 matches

by jawharp
Wed Nov 14, 2018 12:10 am
Forum: Graphic file formats
Topic: MECC Opening Night Bitmap Files
Replies: 13
Views: 832

Re: MECC Opening Night Bitmap Files

Disregard last 2 posts. My decompress function had an error.

It worked!

RLE files handled. Going to write up something that exports the bitmap files.
by jawharp
Tue Nov 13, 2018 9:33 pm
Forum: Graphic file formats
Topic: MECC Opening Night Bitmap Files
Replies: 13
Views: 832

Re: MECC Opening Night Bitmap Files

Here's another one.

Image


original in game:


Image
by jawharp
Tue Nov 13, 2018 9:01 pm
Forum: Graphic file formats
Topic: MECC Opening Night Bitmap Files
Replies: 13
Views: 832

Re: MECC Opening Night Bitmap Files

Here is the generated pixel color data file. It is 91 pixels wide by 76 pixels tall.
by jawharp
Tue Nov 13, 2018 8:51 pm
Forum: Graphic file formats
Topic: MECC Opening Night Bitmap Files
Replies: 13
Views: 832

Re: MECC Opening Night Bitmap Files

So, I wrote a utility to decompress the RLE data and replace the pixels with the entries from the colorlst file. This is the most progress I've made in a while. I used 7yuv to view the raw pixel data generated from my tool, and once I learned that the x and y sizes are reversed in the RLES files, I ...
by jawharp
Sun Nov 11, 2018 3:12 pm
Forum: Graphic file formats
Topic: MECC Opening Night Bitmap Files
Replies: 13
Views: 832

Re: MECC Opening Night Bitmap Files

Thanks for the intel! I'll start on that tool.

As for the CBMP files being 24-bit, do you think they could still be 24-bit even though the game installer says the game requires 256 Color mode in Windows?
by jawharp
Sat Nov 10, 2018 10:49 pm
Forum: Graphic file formats
Topic: MECC Opening Night Bitmap Files
Replies: 13
Views: 832

Re: MECC Opening Night Bitmap Files

Sadly I figured as much. I've opened up the exe in OllyDbg and IDA, and I've definitely found the functions that are doing things with CBMP files, but I don't know how to read the assembly and the pseudocode isn't much help either for me. Here are some files that are in a folder in the archive calle...
by jawharp
Mon Nov 05, 2018 1:49 pm
Forum: Graphic file formats
Topic: MECC Opening Night Bitmap Files
Replies: 13
Views: 832

Re: MECC Opening Night Bitmap Files

Here is a link to some cbmp files and the colorlst file: http://s000.tinyupload.com/index.php?file_id=89436660318712648431 This data is most likely compressed since 80 x 80 pixels = 6400 pixels worth of data, and the file is only 2380 bytes in length. If anyone wants to take a look, any info you mig...
by jawharp
Mon Nov 05, 2018 6:16 am
Forum: Graphic file formats
Topic: MECC Opening Night Bitmap Files
Replies: 13
Views: 832

Re: MECC Opening Night Bitmap Files

I started dicking around with changing some of the values in the file data then relaunching the program. I first changed the second byte of bitmap data to "c9" (just a random value) and it appears to have changed a color in the image, not the pixel data. I think there might be additional color infor...
by jawharp
Mon Nov 05, 2018 12:58 am
Forum: Graphic file formats
Topic: MECC Opening Night Bitmap Files
Replies: 13
Views: 832

MECC Opening Night Bitmap Files

Hey Guys, I've successfully written a small tool for extracting files from a game called "Opening Night" made by MECC in the 90's. The compression on the bitmap files has me a bit stumped though, and I was wondering if it looked like anything you've encountered before. I'm 99.9% sure this is data fo...
by jawharp
Sun Sep 11, 2016 4:18 pm
Forum: Compressed files and methods
Topic: MECC Bitmap Compression
Replies: 2
Views: 893

MECC Bitmap Compression

Hey guys, I've been trying to figure out how some bitmap files I extracted from an archive for the game "Opening Night" for quite some years now, and I'm closer than ever but still stumped. I was wondering if anyone here has ever heard of image compression like this. The files are in a folder called...
by jawharp
Sun Sep 11, 2016 3:43 pm
Forum: Graphic file formats
Topic: MECC CBMP Files
Replies: 12
Views: 1979

Re: MECC CBMP Files

I didn't repack it. I was directly modifying the bitmap data in the archive itself at the file's offset just for testing.

I have a feeling that repacking is going to be a whole other beast to tackle.
by jawharp
Sat Sep 10, 2016 9:29 pm
Forum: Graphic file formats
Topic: MECC CBMP Files
Replies: 12
Views: 1979

Re: MECC CBMP Files

I alternated ff and 00 randomly in the bitmap data to see what would happen, and all changes appear to happen in 8 pixel by 8 pixel blocks. I think that's how the images are encoded.


Is this a known image format? Seems weird.
by jawharp
Sat Sep 10, 2016 8:05 pm
Forum: Graphic file formats
Topic: MECC CBMP Files
Replies: 12
Views: 1979

Re: MECC CBMP Files

In an effort to try and figure out how the bitmap data was encoded, I modded the archive again and pasted "FF" over the 2nd half of the Bitmap Data only and left the rest as is. This was the result. I'm not really sure what it means. I also tried removing/modifying that 2nd header that appears right...
by jawharp
Sat Sep 10, 2016 7:12 pm
Forum: Graphic file formats
Topic: MECC CBMP Files
Replies: 12
Views: 1979

Re: MECC CBMP Files

Okay, so I pretty much verified the CBMP header at this point. I did a test. The icons in the game are measured at 80x80 pixels. I found a CBMP i suspected of being one of them given the values, and found it in the archive and changed the BMP data to all 00's. I launched the game, and found this wai...
by jawharp
Sat Sep 10, 2016 4:49 pm
Forum: Graphic file formats
Topic: MECC CBMP Files
Replies: 12
Views: 1979

Re: MECC CBMP Files

Some more updates: The RLES files seem to have the same exact header format as the CBMP files, but the byte order is Big Endian instead of Little. Not sure why. The CBMP appear to have a second header at the start of the bitmap data. It's 12 bytes long and the first byte is always "0c" aka "12" in d...