R
R
RealDeff2020-03-12 16:44:05
C++ / C#
RealDeff, 2020-03-12 16:44:05

Is it possible to extract a model from a .p3d file of a Prototype game?

Hello.
A couple of months ago I got the idea to try importing a map from a Prototype game into Unity. Before trying to write something of my own, it was decided to try to find ready-made solutions, and the first candidate was the 3D Ripper DX program, in short, the program saves what the player sees at the moment the F5 key is pressed in the form of an .obj file, and as it seemed at first glance, this is what and necessary, but the joy was not long. The problems were as follows:

  • One glance cannot cover the entire map and part of the map is not rendered, the reason is clear, in order to optimize the game, they do not render what the player does not see (in Unity this is called "occlusion culling")
  • The saved part of the map is at an angle, apparently the reason is that when saving the game camera was tilted (this can be fixed if you rotate the object with a special combination in 3d Max )

There were still some difficulties so it was decided to look for another solution.
And this decision was the idea to find objects directly in the game files. After some time of searching and unzipping .rcf files, the necessary file with art.rcf objects was found in which, along the path art\packages\vehicles\ , there are transport models stored in .rz archives inside, after unzipping them, .p3d files are obtained , which contain problem. The fact is that the game Prototype was released by the company " Radical Entertainment ", which is also known for the release of the game " The Simpsons - Hit & Run " for which there is a special program for editing models "Lucas Pure3D Editor 4 " but when trying to open files from " Prototype ", the program gives a warning:
There were warnings when loading chunks in this file; saving it will most likely corrupt it.

And right after:
There were errors when loading chunks in this file.

And after my realization that I am not particularly special in parsing files, it was decided to ask you for help, asking you to help me understand whether it is possible to get models from these files.
Ps I will be glad to any criticism at the expense of writing this post and formulating thoughts.
Pss The .p3d files from the game Prototype have nothing to do with the game Arma 3 and its .p3d files it's just a coincidence that their abbreviation is the same, Prototype is Pure3d and Arma 3 is Peak3D or something similar but not the same.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question