Offtopic: Into Commodore 64 (6502) coding, pixeling or music?
Xentax is looking for new members for the C64 activities!
Just drop us a message at forum@xentax.com and join the Scene Team!

Forum rules: Click here

.P3D files

Post questions about game models here, or help out others!
Post Reply
LDinos
ultra-n00b
Posts: 6
Joined: Wed Jan 24, 2018 2:06 am

.P3D files

Post by LDinos » Wed Jan 24, 2018 2:14 am

Hello! This is the first time I am writing in here, and I would like to ask for some help on Popcap's P3D files. I honestly have found no programs that can open it, I am not even sure if they can be opened by any known programs. Can anyone help me with the filetype and maybe open it? I provided an p3d example below. Also if it helps here is how a p3d file looks like when opened by hex editor.

Image

Any other 3d kind of file that I have opened with hex doesn't have a similar format.
Hope I am not breaking any rules and that this file can be finally opened in the future :)

Thank you a lot
You do not have the required permissions to view the files attached to this post.

User avatar
Acewell
VIP member
VIP member
Posts: 1274
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2415 times
Been thanked: 744 times

Popcap (*.p3d)

Post by Acewell » Wed Jan 24, 2018 8:12 am

looks like simple file structure, good for learning, have a look at Hex2obj :D
gemWhite_p3d.png
what is the game name? Bejeweled? :D
You do not have the required permissions to view the files attached to this post.

LDinos
ultra-n00b
Posts: 6
Joined: Wed Jan 24, 2018 2:06 am

Re: Popcap (*.p3d)

Post by LDinos » Wed Jan 24, 2018 8:41 am

AceWell wrote:looks like simple file structure, good for learning, have a look at Hex2obj :D
gemWhite_p3d.png
what is the game name? Bejeweled? :D

Yup, Bejeweled :D Will try that program, thanks a lot!

LDinos
ultra-n00b
Posts: 6
Joined: Wed Jan 24, 2018 2:06 am

Re: Popcap (*.p3d)

Post by LDinos » Wed Jan 24, 2018 9:03 am

AceWell wrote:looks like simple file structure, good for learning, have a look at Hex2obj :D
gemWhite_p3d.png
what is the game name? Bejeweled? :D
This is wonderful, it works! Even tho I don't know how to use hex2obj yet (I just learnt how to get the faces only :P) Thanks!

Karpati
mega-veteran
mega-veteran
Posts: 305
Joined: Thu Dec 07, 2006 11:25 pm
Has thanked: 7 times
Been thanked: 58 times

Re: .P3D files

Post by Karpati » Thu Jan 25, 2018 8:14 pm

Can you tell me which extractor did you use on the main.pak file?

I tried the https://sourceforge.net/projects/popcapunpak but it did not extract the files correctly.

LDinos
ultra-n00b
Posts: 6
Joined: Wed Jan 24, 2018 2:06 am

Re: .P3D files

Post by LDinos » Thu Jan 25, 2018 8:25 pm

Karpati wrote:Can you tell me which extractor did you use on the main.pak file?

I tried the https://sourceforge.net/projects/popcapunpak but it did not extract the files correctly.
quickbms 7x7 script
You do not have the required permissions to view the files attached to this post.

Karpati
mega-veteran
mega-veteran
Posts: 305
Joined: Thu Dec 07, 2006 11:25 pm
Has thanked: 7 times
Been thanked: 58 times

Re: .P3D files

Post by Karpati » Sat Jan 27, 2018 6:16 pm

LDinos,

Thank you for sharing the unpacker script. It worked fine.

I added the Bejeweled .p3d loader module to the 3D Object Converter v6.527 and I have released it as a web update.

How to get the 3D Object Converter v6.527:
Please download the 3D Object Converter from http://3doc.i3dconverter.com and install it
or download the portable version and extract it into a folder.

Run the program and use the Help/check for updates function to get it.

I will release the updated i3DConverter for Mac and Linux versions later.
http://www.i3dconverter.com


Just copy the .jpg files from the \images\1200\tex folder to the folder where the .p3d files are exist and open the .p3d file.
If you turn on the textured view it will load the right .jpg file automatically and shows it on the 3d model.

It loads all subobjects from the .p3d file.
You do not have the required permissions to view the files attached to this post.

LDinos
ultra-n00b
Posts: 6
Joined: Wed Jan 24, 2018 2:06 am

Re: .P3D files

Post by LDinos » Sat Jan 27, 2018 11:10 pm

Amazing work, thanks guys!

Post Reply