JazzJackrabbit Community Forums

JazzJackrabbit Community Forums (http://www.jazz2online.com/jcf/index.php)
-   General Jazz Jackrabbit Talk (http://www.jazz2online.com/jcf/forumdisplay.php?f=4)
-   -   Compressing and Decompressing .J2V's? (http://www.jazz2online.com/jcf/showthread.php?t=18883)

Jgke Sep 30, 2010 06:22 AM

Compressing and Decompressing .J2V's?
 
So, do any of you know how to do this? They're the movie files...

Seren Sep 30, 2010 06:37 AM

Are you sure you mean .j2m's? They're macro files, the movie files are .j2v's. Not that I'd be able to help you anyway, I know a nothing about dark paths of programming.

Jgke Sep 30, 2010 07:32 AM

Whoops I mean the J2V's, my bad :P

Violet CLM Sep 30, 2010 06:49 PM

Code:

struct j2v_header {
        char Magic[8]; //"CineFeed"
        long Filesize;
        long crc32; //Haven't actually tested this, but analogy with other files suggests a checksum.
        long Width; //640, or 320 for the low quality versions
        long Height; //480, or 200
}

After that I dunno. The next eight bytes are similar but not necessarily identical between high- and low-quality versions, so maybe it's length or something. Before each zlib block there's a long which is related to the block's length, but the blocks seem to have some extra non-zlib material after them that's also included in the value of the length longs. There's a lot of random other stuff floating around in there too, though. You could check against the JJ1 format for reference, but I doubt the two are actually too similar.

Jgke Sep 30, 2010 08:41 PM

(-)(-)(-)(-) with these complicated file formats...

Nerd Oct 2, 2010 10:07 AM

I wonder why he hasn't asked me yet. I'm his brother, anyway.
And no, I'm not saying I would suck at reverse-engineering file formats.

Violet CLM Oct 2, 2010 10:25 AM

Guy asked everyone.

Nerd Oct 2, 2010 01:25 PM

I meant something like asking me personally on MSN, but whatever.

Grytolle Oct 2, 2010 01:48 PM

or maybe go to your room?

Toni Oct 3, 2010 04:07 AM

they don't live in the same house :(

Grytolle Oct 3, 2010 04:38 AM

o :(


All times are GMT -8. The time now is 09:32 AM.

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online