Jump to content

Recommended Posts

Posted (edited)

Do you guys have any clue on how to import these to blender? I haven't got any luck at all, i saw some models in L4D2 and i have no idea how they did it.

Here's the dump for the game:
https://mega.nz/folder/4zBVESyS#XNkQjVQkt2n7xu7dOvGceQ

the models are located in the folder objset, with a obj.bin file extention.

at first its gonna be a FARC file, you need to "extract" it first with this
(download the FARCPack file below) 
(here's the link if you need it - https://github.com/blueskythlikesclouds/MikuMikuLibrary/releases/tag/v2.2.0 )

once extracted it should, spit out two files, tex.bin and the obj.bin

I tried using this for the obj.bin files, but it throws an error. (when importing)
https://github.com/Waelwindows/blender_io_scene_bin

these tools are primarily for Project DIVA though. i thought i would give it a shot since both games are made with the same company.

EDIT: sample obj.bin and tex.bin attached.

FarcPack.7z

objset.zip

Edited by taikoyucky
fixed grammatic error
  • Engineers
Posted (edited)

Thanks!

On a quick glance I found this - need to check more carefully...

edit: I see, not being too greedy with the counts gives a better result.

 

ch0001_01.png

Edited by shak-otay
Posted


Did it come with multiple meshes? 

I played with a hex reader, it should have these, if I'm reading this correctly.

image.png.4f6f37a0c96f5874f13a9fdd59997a5f.png

And, how did you view the models? is there kind of software I need to download? 

TYSM for helping btw, I have zero clue about model extracting and I just get by through research!

  • Engineers
Posted
27 minutes ago, taikoyucky said:

Did it come with multiple meshes?

Possibly. Or LOD meshes.

Quote

And, how did you view the models? is there kind of software I need to download? 

hex2obj

(Try 'tut' button for a short tutorial.)

Posted
3 hours ago, shak-otay said:

 

hex2obj

(Try 'tut' button for a short tutorial.)

augh, sorry. I'm not too good at this, i can't even track the starting address. I'll try again in later time.

Thanks though, waiting to see different approaches to this.

  • Engineers
Posted (edited)
3 hours ago, taikoyucky said:

, i can't even track the starting address.

For this format it's not as hard as you may think of. It's just a matter of persistent search which some people lack of and leave it to guys like me...

Be that as it may, here's a H2O example, copy the 6 lines into notepad, for example, and save as ch0001_01_whatever. Rename the .txt file to .H2O then and load the model and the H2O file into hex2obj. Press the 'mesh' button.

0x951408 11085
Vb1
32 99
0x8F8A68 5239
021010
0x0 255

 

ch0001_01 obj.bin seems to contain different meshes:

ch0001_01-char.png

And the start address of the concerning FI block is unknown:

ch0001_01_Sm_0x121050.png

Being bored by this annoying FIs' start address search for each sub mesh I used meshlab again:

 

ch0001_01_meshlab.png

Edited by shak-otay

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...