Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Mr Bean PC Game (.3df and .plf)

Post questions about game models here, or help out others!
yohanc
n00b
Posts: 12
Joined: Sat Jun 11, 2016 6:59 pm
Has thanked: 5 times

Mr Bean PC Game (.3df and .plf)

Post by yohanc »

Hi guys, I want to rip the mini cooper from mr bean pc game
Image

I found 2 file types, the .3df and .plf, but I believe the 3d models and textures is in the .3df file and the .plf file is probably the game script
I have attached both files, can you guys help me inspect it?
And what software should I use to extract the 3d model with its textures?
http://www.mediafire.com/file/1vhf1wyuh3fzh5g/BEAN.zip
Other files
http://www.mediafire.com/file/bdnq2yzo416jbth/OTHER.zip
Thanks
Last edited by yohanc on Fri Mar 16, 2018 5:09 pm, edited 1 time in total.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Mr Bean PC Game (.3df and .plf)

Post by shakotay2 »

you might try to get some point clouds:
Racing01-3DF.jpg
This is the H2O file for it:

0x391350 1000
Vb1
80 99
0x3E220 43574
040000
0x0 255

Copy the 6 lines into a txt file and name it whatever.h2o.
Then load the racing01.3DF into hex2obj, same with the H2O file.

(You need to toggle the upper right button to PtCld then press the 'mesh' button to get the point cloud displayed.)

2nd test:

0x391350 1000
Vb1
12 99
0x2724 5425
040000
0x0 255

(face indices start address and count not valid)
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 1030
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 32 times
Been thanked: 1215 times

Re: Mr Bean PC Game (.3df and .plf)

Post by Bigchillghost »

shakotay2 wrote:You need to toggle the upper right button to PtCld then press the 'mesh' button to get the point cloud displayed.
Pretty much something like this:
RACING01.3DF - PtCld.jpg
yohanc wrote:I want to rip the mini cooper from mr bean pc game
Basically in both 3df files you uploaded, there're only track models. The car you're looking for should be in other file.
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Mr Bean PC Game (.3df and .plf)

Post by shakotay2 »

yeah, I see:
racing01.jpg
0x391350 213875
Vb1
40 99
0x3E220 87150
041000
0x0 255


(uvs maybe at offset 24, but look a little bit weird)
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 1030
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 32 times
Been thanked: 1215 times

Re: Mr Bean PC Game (.3df and .plf)

Post by Bigchillghost »

shakotay2 wrote:yeah, I see:
racing01.jpg
I tried tristrip on some meshes too but they look weird.
shakotay2 wrote:(uvs maybe at offset 24, but look a little bit weird)
I'm curious about what the rest two floats represent. Another UV?
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Mr Bean PC Game (.3df and .plf)

Post by shakotay2 »

Bigchillghost wrote:I tried tristrip on some meshes too but they look weird.
Overall impression of racing01 looks ok to me with tristrips chosen. The extra faces might indicate that those tracks have some submesh dividing (just a wild guess).
(Would be cool to have an automatic method of deleting those "superfluous faces" which I found in some other 3D formats, too.)
I'm curious about what the rest two floats represent. Another UV?
Seems the last float is always 1.0 (setting uvpos to 32, press go2)
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
yohanc
n00b
Posts: 12
Joined: Sat Jun 11, 2016 6:59 pm
Has thanked: 5 times

Re: Mr Bean PC Game (.3df and .plf)

Post by yohanc »

Hi shakotay2 & Bigchillghost, thanks for the help
I have opened it with hex2obj and I managed to display the point cloud.
But how can I extract it into .obj and texture (.jpg or .tga)
My other question to shakotay2, the mini cooper, is it inside the racing1.3df or racing2.3df file?

P.S. I only need the mini cooper 3d model and textures
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Mr Bean PC Game (.3df and .plf)

Post by shakotay2 »

yohanc wrote:But how can I extract it into .obj
File SaveAs mesh
and texture (.jpg or .tga)
You'll need to search for the textures.
the mini cooper, is it inside the racing1.3df or racing2.3df file?
I think it's very unlikely to be found in a track file.
P.S. I only need the mini cooper 3d model and textures
Own efforts are required; you won't get them served on a silver tray... :D
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
yohanc
n00b
Posts: 12
Joined: Sat Jun 11, 2016 6:59 pm
Has thanked: 5 times

Re: Mr Bean PC Game (.3df and .plf)

Post by yohanc »

Here is another files, that I think there is a mini cooper in it.
Can you help me inspect it again since I have no idea how to generate that .h20 file.
http://www.mediafire.com/file/bdnq2yzo416jbth/OTHER.zip
File SaveAs mesh
I have imported the racing1.obj into my blender, but the .obj, there are just tons of vertices/dots, there is no face in the .obj file
and because of that there is no uv map too
(is it possible to rip the .obj with a perfect uv map?)
You'll need to search for the textures
But where can I find it? in the .3df file? or the .plf file? (BTW there is no other files)
How to extract the textures?
(I think for the texture I can use ninjaripper for it)

Thanks
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Mr Bean PC Game (.3df and .plf)

Post by shakotay2 »

yohanc wrote:Here is another files, that I think there is a mini cooper in it.
too many files. Search for 'cooper' in the 3DF files using a hex editor which is capable of such.
(teddy is in Extras23.3DF)
since I have no idea how to generate that .h20 file.
read the tutorial,please ('tut' button)
there is no face in the .obj file
and because of that there is no uv map too
that's not correct.

You could insert some g submesh_x lines into the obj file (each 500 face index lines for example, for x use 1 to 25 or such).
submeshes_racing.jpg
But where can I find it? in the .3df file? or the .plf file? (BTW there is no other files)
There seem to be texture data at the end of the 3DF files; you could import the 3DF as raw file into gimp or irfanview. Display as 8 bit grayscale, for example.
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
yohanc
n00b
Posts: 12
Joined: Sat Jun 11, 2016 6:59 pm
Has thanked: 5 times

Re: Mr Bean PC Game (.3df and .plf)

Post by yohanc »

Hi I have use the HxD to search for the mini cooper, I search for "COOPER" but there is none, but it has "MINI"
I think, it is in the EXTRAS00.3DF (there is this line of code: MINI_BEAN-MAP, MINI_GLASS-MAP, MINI, MINI_WINDOWS) and other file EXTRAS24.3DF (there is this line of code: RACEHAYBAIL, RACETREE). But I believe it must be in the EXTRAS00.3DF.

I read your tutorial but I'm confuse, can you help me find the .h20 for the EXTRAS00.3DF?
You could insert some g submesh_x lines into the obj file (each 500 face index lines for example, for x use 1 to 25 or such)
Using the hex2obj (I didn't see the "g submesh_x lines" in the software)? or blender?
There seem to be texture data at the end of the 3DF files; you could import the 3DF as raw file into gimp or irfanview. Display as 8 bit grayscale, for example
I have opened it using GIMP but it failed to open
I click "Open" (all files)
The same goes with the irfanview, it failed to open
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 1030
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 32 times
Been thanked: 1215 times

Re: Mr Bean PC Game (.3df and .plf)

Post by Bigchillghost »

yohanc wrote:But I believe it must be in the EXTRAS00.3DF.
It's in there for sure.
records.jpg
It takes 372 bytes for each entry, with parent entry beginning at 0x4ECC. The first submesh start at 0xB980, while the face buffer comes right after the vertex chunk(FVFsize = 32).
With an alignment of 0x10 bytes (alignedDataSize = 0x10 - currentPosition % 0x10), there comes the next submesh and so on.
yohanc wrote:I read your tutorial but I'm confuse, can you help me find the .h20 for the EXTRAS00.3DF?
Then ask people what you're confuse about. You cannot rely on others forever.
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 1030
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 32 times
Been thanked: 1215 times

Re: Mr Bean PC Game (.3df and .plf)

Post by Bigchillghost »

mini.jpg
See? It's not that difficult at all.
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)
yohanc
n00b
Posts: 12
Joined: Sat Jun 11, 2016 6:59 pm
Has thanked: 5 times

Re: Mr Bean PC Game (.3df and .plf)

Post by yohanc »

I have read the tutorial like multiple times but I'm still confuse
I want to learn it but the tools is kinda advance for new user like me (I'm really clueless)
it is advance tool, lots of newbie found it confusing too
viewtopic.php?f=29&t=14695
viewtopic.php?f=16&t=12524

Can you give me step by step on how to get h2o until the final 3d model .obj (not just the vertices (point clouds), but full the .obj with full faces and the uv map)? (How to find face indices, finding the uv/vertices start address)

Can you give the example with the mini cooper (EXTRAS00.3DF)?

Thanks
Last edited by yohanc on Sun Mar 18, 2018 11:26 am, edited 2 times in total.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Mr Bean PC Game (.3df and .plf)

Post by shakotay2 »

yohanc wrote:it is advance tool, lots of newbie found it confusing too
If you don't get familiar with the hex2obj tutorial you might try out similar other programs which might serve your needs better:

from Lazov
viewtopic.php?f=33&t=16163
viewtopic.php?f=29&t=16543

from Herbert3000
viewtopic.php?f=33&t=14648
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Post Reply