PG research thread

About PR usage and development, and about the POP format.
TRIDENT
Sheikh
Sheikh
Posts: 23
Joined: May 3rd, 2003, 1:30 pm
Contact:

PG research thread

Post by TRIDENT »

Here we'll post information about what we know on PG
TRIDENT
Sheikh
Sheikh
Posts: 23
Joined: May 3rd, 2003, 1:30 pm
Contact:

Post by TRIDENT »

Any progress made of discovering the vdungeon format? such as viewing and editing the graphics?
tammojan
Efendi
Efendi
Posts: 17
Joined: March 5th, 2004, 9:14 am
Location: Utrecht, The Netherlands
Contact:

Post 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).
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post 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]
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post 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%
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post 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">
Guest

Post by Guest »

Which version do you use for research?
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post 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]
tammojan
Efendi
Efendi
Posts: 17
Joined: March 5th, 2004, 9:14 am
Location: Utrecht, The Netherlands
Contact:

Post 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.
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post by poirot »

Ohhh, both vdungeon.dat (in versions 1.3 and 1.4) were well extracted.
TRIDENT
Sheikh
Sheikh
Posts: 23
Joined: May 3rd, 2003, 1:30 pm
Contact:

Post by TRIDENT »

Any progress with PG compression?
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post by poirot »

The first compressor will be very quick and dirty and will be done within the week.
PaulBrookfield
Scholar Scribe
Scholar Scribe
Posts: 2
Joined: June 11th, 2003, 9:45 pm
Location: UK

Post 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 :)
This is a signature.
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post 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?
poirot
Developer
Developer
Posts: 394
Joined: March 24th, 2003, 8:52 pm
Location: Australia
Contact:

Post 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>.
Post Reply