Page 1 of 3

PG research thread

Posted: May 1st, 2003, 11:43 am
by TRIDENT
Here we'll post information about what we know on PG

Posted: May 3rd, 2003, 1:31 pm
by TRIDENT
Any progress made of discovering the vdungeon format? such as viewing and editing the graphics?

Posted: May 3rd, 2003, 6:31 pm
by tammojan
Actually, I have just made some progress today. I found out that the images are run length encoded (RLE). In the beginning of the file, there is a 16-color palette. I hope to find out some more soon. If you want to help, please get in touch with me (icq 10910921).

Posted: May 8th, 2003, 6:06 am
by poirot
I've finnish the coding of B2 extraction algorithm, so we have implemented:

Extraction:
B0, B1, B2

Compression:
None yet :(

We are corrently figuring out B3 and B4. If anybody wanna help, there is a file at [url]http://www.princed.com.ar/codif.doc[/url], so the task is to figuring out how this algorithm works.

So at the moment we have:

Expansion:
60% coded.
Compression:
0% coded.
Figuring out:
50%

:)

[Editado el 8/5/2003 por poirot]

Posted: May 28th, 2003, 4:56 pm
by poirot
Thanks to Anke we know the last two of the 5 compression formats, so no we need to figure out some file properties.

Expansion:
90% coded.
Compression:
10% coded.
Figuring out:
90%

Posted: May 28th, 2003, 5:03 pm
by poirot
Here you'll have some example of an extracted file from pv.dat using PG extractor:

<img src="http://www.cnu.net.ar/~ecalot/princed/d ... 0914b4.png">

Posted: May 31st, 2003, 10:29 am
by Guest
Which version do you use for research?

Posted: May 31st, 2003, 1:34 pm
by poirot
Princed Graphics Extractor (PGE) Version 1.0 Alpha, made in Ansi C and based in functions that will be translated to C++ to creare the cPrincedGraph Class.

For researching we used several Hex editors (I prefer to use vxi32) and the program itself. For the PG researching we also made a specific hex viewer in pascal.

[Editado el 31/5/2003 por poirot]

Posted: May 31st, 2003, 10:23 pm
by tammojan
I think anonymous was talking about the Prince-version. I think I'm using version 1.3 for the research, but I'm not even sure of it. I assume the graphics are the same in all versions.

Posted: June 1st, 2003, 1:56 am
by poirot
Ohhh, both vdungeon.dat (in versions 1.3 and 1.4) were well extracted.

Posted: June 6th, 2003, 7:27 am
by TRIDENT
Any progress with PG compression?

Posted: June 7th, 2003, 4:39 am
by poirot
The first compressor will be very quick and dirty and will be done within the week.

Posted: June 12th, 2003, 7:33 pm
by PaulBrookfield
I just have to say something, the graphics in version 1.0 and version 1.3 of PoP are not EXACTLY the same....on level 3 in version 1.3 to dungeon rock is coloured green....on the original version it is still blue. I don't think it will make a difference to PG, but I'd just thought I'd mention :)

Posted: June 12th, 2003, 8:41 pm
by poirot
I think this is only graphic change, not a format change, so when you extract the prince 1.0 files you'll get a different bitmap. Do you still have Prince 1.0? can you send it?

Posted: June 13th, 2003, 1:12 pm
by poirot
Well... PG is 100% figured out, so let's move to the <a href=http://www.cnu.net.ar/modules.php?name= ... &tid=42>PR development thread</a>.