Page 1 of 1

Resident Evil 4 PS2 .bin models

Posted: Mon Aug 09, 2021 6:24 pm
by HardRain
Hi there, guys.

I am creating a mod game of Resident Evil 4 from PS2 version, and I am trying to edit the 3d models, but I could not find a way to edit the .bin files.
There are some scripts and converters I found, but none of them seems to work with these files.

There is a tool that can convert them to .obj, but it shows in a very different model (seems like the model lose the bones):
Image
- - -
This is the real model in-game:
Image
And also the tool cannot convert it back to .bin


So I am here to ask if someone could help me make a script or converter so I can edit them through 3ds max or blender and repack back to .bin.
Any help will be much appreciated.

Here are some samples:
https://usaupload.com/file/KNJ/wep06_02.BIN (Magnum)
https://usaupload.com/file/KNN/wep13_03.BIN (Bazooka)
https://usaupload.com/file/KNI/itm020.bin (Ammo box)
https://usaupload.com/file/KNL/itm006.bin (Medicinal Herb)

Update for Resident Evil 4 PS2 .bin models

Posted: Mon Aug 23, 2021 12:23 am
by HardRain
Update

In the Resident Evil 4 Ultimate HD edition, the .bin files are also present to do the same work: 3D models.
But a guy with a nickname of SonOfPersia made a .bin tool to extract the 3D models to a .OBJ file, coming also with .SMD and .MTL for the material.
Too bad he isn't active anymore, so I cannot make requests. And also this tool doesn't work with the PS2 .bin models, the sizes of the .bin are very different and the header seems to be different too.

I am a newbie at hex editing, I know only the basics.

This is the output for a .bin file from the UHD version:
Image
Just do a double click on BIN_Extract.bat and it's done.

So I hope someone here can help me with this, by doing something similar and be able to edit and repack the models.

I will put the magnum .bin files here, for both versions of the game and the tool to extract/convert the .bin from the UHD version, so you can compare them and maybe find a solution.
I thank you for your attention.


https://usaupload.com/file/4CfI/BIN_Tool.rar BIN tool
https://usaupload.com/file/4CfH/wep06_03UHD.BIN Magnum 3D model from UHD
https://usaupload.com/file/4CfG/wep06_03PS2.BIN Magnum 3D model from PS2

Re: Resident Evil 4 PS2 .bin models

Posted: Mon Aug 23, 2021 10:05 am
by shakotay2
Usually I don't care for weapons. :eek:

If you're asking for a solution for PS2, the model consists of many small submeshes. You'll need to collect them then fiddle around with auto creation of face indices (Noesis strips seem to work best so far).
.
PS2_ResEvil4_weap.png

Re: Resident Evil 4 PS2 .bin models

Posted: Mon Aug 23, 2021 2:51 pm
by HardRain
Thank you very much for your reply, this will be useful to start identifying XYZ coordinates values.