PG research thread

About PR usage and development, and about the POP format.

Moderator: English Moderator Team

User avatar
TRIDENT
Sheikh
Sheikh
Posts: 23
Joined: May 3rd, 2003, 1:30 pm
Contact:

PG research thread

Post by TRIDENT » May 1st, 2003, 11:43 am

Here we'll post information about what we know on PG

User avatar
TRIDENT
Sheikh
Sheikh
Posts: 23
Joined: May 3rd, 2003, 1:30 pm
Contact:

Post by TRIDENT » May 3rd, 2003, 1:31 pm

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 » May 3rd, 2003, 6:31 pm

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).

User avatar
poirot
Princed Developer
Princed Developer
Posts: 382
Joined: March 24th, 2003, 8:52 pm
Location: Ushuaia, Argentina
Contact:

Post by poirot » May 8th, 2003, 6:06 am

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]

User avatar
poirot
Princed Developer
Princed Developer
Posts: 382
Joined: March 24th, 2003, 8:52 pm
Location: Ushuaia, Argentina
Contact:

Post by poirot » May 28th, 2003, 4:56 pm

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%

User avatar
poirot
Princed Developer
Princed Developer
Posts: 382
Joined: March 24th, 2003, 8:52 pm
Location: Ushuaia, Argentina
Contact:

Post by poirot » May 28th, 2003, 5:03 pm

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 » May 31st, 2003, 10:29 am

Which version do you use for research?

User avatar
poirot
Princed Developer
Princed Developer
Posts: 382
Joined: March 24th, 2003, 8:52 pm
Location: Ushuaia, Argentina
Contact:

Post by poirot » May 31st, 2003, 1:34 pm

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 » May 31st, 2003, 10:23 pm

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.

User avatar
poirot
Princed Developer
Princed Developer
Posts: 382
Joined: March 24th, 2003, 8:52 pm
Location: Ushuaia, Argentina
Contact:

Post by poirot » June 1st, 2003, 1:56 am

Ohhh, both vdungeon.dat (in versions 1.3 and 1.4) were well extracted.

User avatar
TRIDENT
Sheikh
Sheikh
Posts: 23
Joined: May 3rd, 2003, 1:30 pm
Contact:

Post by TRIDENT » June 6th, 2003, 7:27 am

Any progress with PG compression?

User avatar
poirot
Princed Developer
Princed Developer
Posts: 382
Joined: March 24th, 2003, 8:52 pm
Location: Ushuaia, Argentina
Contact:

Post by poirot » June 7th, 2003, 4:39 am

The first compressor will be very quick and dirty and will be done within the week.

User avatar
PaulBrookfield
Scholar Scribe
Scholar Scribe
Posts: 2
Joined: June 11th, 2003, 9:45 pm
Location: UK

Post by PaulBrookfield » June 12th, 2003, 7:33 pm

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.

User avatar
poirot
Princed Developer
Princed Developer
Posts: 382
Joined: March 24th, 2003, 8:52 pm
Location: Ushuaia, Argentina
Contact:

Post by poirot » June 12th, 2003, 8:41 pm

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?

User avatar
poirot
Princed Developer
Princed Developer
Posts: 382
Joined: March 24th, 2003, 8:52 pm
Location: Ushuaia, Argentina
Contact:

Post by poirot » June 13th, 2003, 1:12 pm

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