Dat file differences, which version uses apoplexy?
-
- Calif
- Posts: 553
- Joined: August 27th, 2011, 2:04 am
Dat file differences, which version uses apoplexy?
Hi, just want to have more info about the dat files, and the differences from 1.0 to 2.0. Also want to know which version uses apoplexy, this all to work in my level converter...
Check my Prince in C# https://github.com/salvadorc17/Prince-Monogame
Re: Dat file differences, which version uses apoplexy?
For general differences between 1.0, 1.3 and 1.4, see here.salvadorc17 wrote:Hi, just want to have more info about the dat files, and the differences from 1.0 to 2.0.
If you mean the tiles used (level layouts), then the answer is: there are no differences.
The apoplexy package includes PoP1 1.0.salvadorc17 wrote:Also want to know which version uses apoplexy, this all to work in my level converter...
However, when it comes to the tiles used (level layouts), there are no differences between 1.0, 1.3 and 1.4.
Spoiler: show
-
- Calif
- Posts: 553
- Joined: August 27th, 2011, 2:04 am
Re: Dat file differences, which version uses apoplexy?
That info contain the layout for levels format, but how to find each level offset into the dat files, cant find that information in document...
Check my Prince in C# https://github.com/salvadorc17/Prince-Monogame
Re: Dat file differences, which version uses apoplexy?
If you want to make things slightly easier for yourself, you could work with XML files.salvadorc17 wrote:how to find each level offset into the dat files
Run "apoplexy -x" and use the XML files from the xml/ directory.
I think you work with C#, maybe this or this can help you parse XML files.
[Edit: You should ignore all the stuff in the spoiler. I wrote it but then realized it's not a good way to find offsets.]
Spoiler: show
-
- Calif
- Posts: 553
- Joined: August 27th, 2011, 2:04 am
Re: Dat file differences, which version uses apoplexy?
Yes i have parsed apoplexy xml levels correctly in editor, but i dont want to have to convert all prince.dat mods to apoplexy to be able to after convert to snes file format, is like redundant work. So plv files are extracted ones from dat??Norbert wrote:
When you start apoplexy and click the left prince, PoP1 for DOS editing will start.
If you then close apoplexy, you will find PLV files in the levels/ directory.
You can use these PLV files to find where levels are in LEVELS.DAT.
As an example we will look at level1.plv.
Ignore the first 18 bytes.
Check my Prince in C# https://github.com/salvadorc17/Prince-Monogame
Re: Dat file differences, which version uses apoplexy?
Extracted with PR; apoplexy uses (relies on) PR for this.salvadorc17 wrote:So plv files are extracted ones from dat??
Unfortunately, I cannot keep answering questions related to your project.
Every answer I will give you will lead to more questions.
I'm too busy with other things, sorry.
Re: Dat file differences, which version uses apoplexy?
See this document: http://www.popot.org/documentation.php? ... ificationssalvadorc17 wrote:That info contain the layout for levels format, but how to find each level offset into the dat files, cant find that information in document...
The part you need is "3.1.2 Index structures".
-
- Calif
- Posts: 553
- Joined: August 27th, 2011, 2:04 am
Re: Dat file differences, which version uses apoplexy?
Do you know about the Amiga version format, does its similar to this one?David wrote: The part you need is "3.1.2 Index structures".
Check my Prince in C# https://github.com/salvadorc17/Prince-Monogame
Re: Dat file differences, which version uses apoplexy?
Let's see, I looked into that in 2012...salvadorc17 wrote:Do you know about the Amiga version format, does its similar to this one?
The "DAT" (resource container) format is all different, and most resources are compressed.
Images are in a totally different (planar) format.
And for some reason the images of the Prince are cut into top and bottom halves...
Levels are in the same format as on DOS, but they are compressed, too.
I might post details in our wiki if someone is interested enough.
-
- Calif
- Posts: 553
- Joined: August 27th, 2011, 2:04 am
Re: Dat file differences, which version uses apoplexy?
David wrote:
Levels are in the same format as on DOS, but they are compressed, too.
I might post details in our wiki if someone is interested enough.
Yes, that could be useful information, for knowing all the versions dat differences...
Check my Prince in C# https://github.com/salvadorc17/Prince-Monogame
-
- Calif
- Posts: 553
- Joined: August 27th, 2011, 2:04 am
Re: Dat file differences, which version uses apoplexy?
Which are the differences in Prince.dat, any way to edit change this file??
Check my Prince in C# https://github.com/salvadorc17/Prince-Monogame
-
- Calif
- Posts: 553
- Joined: August 27th, 2011, 2:04 am
Re: Dat file differences, which version uses apoplexy?
Where i can get more info about other dat files used in game..Norbert wrote:Extracted with PR; apoplexy uses (relies on) PR for this.salvadorc17 wrote:So plv files are extracted ones from dat??
Unfortunately, I cannot keep answering questions related to your project.
Every answer I will give you will lead to more questions.
I'm too busy with other things, sorry.
Check my Prince in C# https://github.com/salvadorc17/Prince-Monogame