VOGONS

Common searches


First post, by Peter Swinkels

User metadata
Rank Oldbie
Rank
Oldbie

Hi,

I was wondering if any one could help me find out more about a file format used by the MS-DOS version of Cartooners (by: Electronic Arts) to store its installation files. Apparently the original installation disks contained the following files:
ART_1AC.PEA
ART_1MO.PEA
ART_1MU.PEA
ART_1SC.PEA
ART_2.PEA
CARTOON.IEA
EX_MOVS.PEA
INSTALL.EXE
PROGRAM.PEA
SCENES1.PEA

As far as I can tell the *.PEA files contain compressed files used by Cartooners. I have no idea what Cartoon.iea contains. The installation program (Install.exe) contains a few plaintext strings that may be interesting:
"Greenleaf SuperFunctions v1.00, Copyright (c) 1988 Greenleaf Software Inc.
The Greenleaf Functions Version 3.10 Copyright (c) 1984,1985,1986,1987 Greenleaf Software Inc."

Also interesting is that there are various references to programming language keywords (some of which remind me of BASIC):
SAY
FSAY
ATSAY
COLOR
COLORF
CLS
COPY
UNPACK
FCLOSE
GOSUB
RETURN
GOTO
IF
THEN
ELSE
ENDIF
EXIT
DIALOG
ATDIALOG
CURUP
CURDN
HOME
END
CR
CURLF
CURRT
ESC
PGUP
PGDN
INS
DEL

I found some information about this on the internet but it is of very little use. Also, the Greenleaf website (http://fileformats.archiveteam.org/wiki/Greenleaf_ArchiveLib) appears to be dead.

I have no trouble installing Cartooners in DOSBox, I'm just hoping to learn more about the file format used to store its installation files. If anyone knows any more about this or has a utility other than the installer that can read and extract these files, please let me know. Thanks.

BTW:
I would upload these files, but I'm not sure this is allowed on these forums.

Last edited by Peter Swinkels on 2018-07-10, 09:56. Edited 1 time in total.

Do not read if you don't like attention seeking self-advertisements!

Did you read it anyway? Well, you can find all sorts of stuff I made using various programming languages over here:
https://github.com/peterswinkels

Reply 1 of 10, by SaxxonPike

User metadata
Rank Member
Rank
Member

Shoot me an e-mail at saxxonpike@gmail.com. I can whack at it with a hex editor or something. Probably used some form of LZ or Huffman like everyone else.

Sound device guides:
Sound Blaster
Aztech
OPL3-SA

Reply 2 of 10, by Peter Swinkels

User metadata
Rank Oldbie
Rank
Oldbie

I sent you an e-mail from my Hotmail.com address. Did you get it? Thanks for your help.

Do not read if you don't like attention seeking self-advertisements!

Did you read it anyway? Well, you can find all sorts of stuff I made using various programming languages over here:
https://github.com/peterswinkels

Reply 3 of 10, by Peter Swinkels

User metadata
Rank Oldbie
Rank
Oldbie

It seems your e-mail provider rejected the e-mail I initially sent. Did you get an e-mail from me with a link to a public Google Drive folder? It should contain a file called "Install.zip".

Do not read if you don't like attention seeking self-advertisements!

Did you read it anyway? Well, you can find all sorts of stuff I made using various programming languages over here:
https://github.com/peterswinkels

Reply 4 of 10, by SaxxonPike

User metadata
Rank Member
Rank
Member

Got it.

I had a preliminary look at this format. Some really quick notes:

- Headers for each file in the archive are 48 bytes:
+00h - 3 bytes, 1Ah 45h 41h indicates file information
+03h - 12 bytes, name of the file
+15h - 4 bytes, uncompressed length of the file
+19h - 4 bytes, compressed length of the file
+30h - start of compressed data

- There is no indication how many files are in a PEA archive. Read until the file information doesn't make sense or the end of the file is reached.

- Haven't dug deep enough to identify the compression used. More to come later..

Sound device guides:
Sound Blaster
Aztech
OPL3-SA

Reply 5 of 10, by Peter Swinkels

User metadata
Rank Oldbie
Rank
Oldbie

Okay, thank you. I'm curious as to what you will find out.

Do not read if you don't like attention seeking self-advertisements!

Did you read it anyway? Well, you can find all sorts of stuff I made using various programming languages over here:
https://github.com/peterswinkels

Reply 7 of 10, by Peter Swinkels

User metadata
Rank Oldbie
Rank
Oldbie

Alright, it's been a while but:

After reading http://www.shikadi.net/ll (which mentions 9 bit LZW data) and experimenting with the actual chunks of compressed data in the *.pea files (see the first post) it turns out that when reading it as chunks of 9 bits each and then converting those chunks to strings recognizable pieces that are also present in the data after decompressing it (using the installer) can be extracted. The data doesn't appear to be LZW compressed, at least the vb.net code at http://www.shikadi.net/moddingwiki/LZW_Compression won't decompress it. It throws an error on the following line: "If ncode = 256 Then Throw New Exception". EDIT: It seems this LZW decompressor is specifically meant for Keen 1-3. Oops.

The vb.net program (source code only although an executable can be provided if requested) which can be downloaded at https://drive.google.com/open?id=0BwTD43glfuu … ak4xNnp5eEE2S0E can extract each compressed file's data from a *.pea file and display strings extracted from that data when read at 9 bits per byte.

Here is a sample *.pea file: https://drive.google.com/open?id=0BwTD43glfuu … djdTczBGMWxZRFE. It only contains a few *.lbm files. (Not the entire program.)

BTW:
Does any one know of a Windows based file viewer that can also display 9 bit bytes?

Do not read if you don't like attention seeking self-advertisements!

Did you read it anyway? Well, you can find all sorts of stuff I made using various programming languages over here:
https://github.com/peterswinkels

Reply 8 of 10, by Peter Swinkels

User metadata
Rank Oldbie
Rank
Oldbie

It turns out that Cartoon.iea also has compressed data starting at the 11th byte:

     BLINK = 8 ask$=" " Drive2$  N      if (DosVersion < 200) color 7,0 ls say"Installat  not  mplete!   Carto  s requi  DOS .0   high   "P  e eb  you sy em  a      and try again exi 1 e     

The above data was extracted by assuming nine bits per character (characters with a code outside the range 32-126 have been substituted with a space).

Here is another sample from the file Cartoons.inf (compressed data extracted from Program.pea):

       X:\CARTOONS\MOVIE DUCK. V      LOST                      \P KPLA                \                    MAGICTR                                       

A program that can be used to view Cartooners' files:
https://drive.google.com/open?id=0BwTD43glfuu … bXcxSG5melpwRE0

Do not read if you don't like attention seeking self-advertisements!

Did you read it anyway? Well, you can find all sorts of stuff I made using various programming languages over here:
https://github.com/peterswinkels

Reply 10 of 10, by Peter Swinkels

User metadata
Rank Oldbie
Rank
Oldbie
Lude wrote:
Hi, […]
Show full quote

A program that can be used to view Cartooners' files:
https://drive.google.com/open?id=0BwTD43glfuu … bXcxSG5melpwRE0

Hi,

is that program still available ?

Thank you,

Lude

Yes, it is. For anyone interested: search vbforums.com for: "Cartooners File Viewer." - I use the same username there as on this board.

EDIT:
Updated the part mentioning where my program can be found...

Do not read if you don't like attention seeking self-advertisements!

Did you read it anyway? Well, you can find all sorts of stuff I made using various programming languages over here:
https://github.com/peterswinkels