Page 1 of 3

Homefront: The Revolution - mesh files

Posted: Mon Jul 11, 2016 4:40 pm
by TheMask85
apparently, m0xf released an archive extractor for the .pak files,
which can be found here:

viewtopic.php?f=10&p=120289#p120289

however, since the game is using a modified version of the CryEngine,
obviously none of the files are readable yet.
for whoever is interested in that file format, here's some sample files
from the game. including static meshes, as well as rigged ones.
another thing i noticed, none of the .dds files seem to be readable.
*.dds.0 file missing? Crysis, Ryse, Evolve etc. at least seem to have these.

so everything in that package is how the extractor spits them out.

Sample:
HF2_SF.7z

Re: Homefront: The Revolution - mesh files

Posted: Tue Jul 12, 2016 12:36 am
by Acewell
binocular.cgfm :D
binocular_cgfm.png
Image

the vertex and face counts are 16 bytes before their start address
the dds textures are split up into separate parts like the header (unnumbered), the main image data (highest numbered) and the mipmaps

Re: Homefront: The Revolution - mesh files

Posted: Tue Jul 12, 2016 11:10 am
by zaramot
I tried my script for Ryse and got models with weights and bones, I suggest you to use this script, in the Ryse thread - should work!

viewtopic.php?f=16&t=12085&start=60

Image

Re: Homefront: The Revolution - mesh files

Posted: Tue Jul 12, 2016 11:40 am
by TheMask85
i must be blind and can't find a script there, uploaded by you. only marius' head file.
if you mean joqqys script, i iwll try that.

well, there is one in my scripts folder already, which is called "Ryse_Son_of_Rome_Fix.ms"
(3DSMax 2014) but it's giving me an error with all files i tried so far:
"undefined in Typ: Integer64"
downloaded from here:
viewtopic.php?f=16&t=12252
so is there even another version, which i've overseen?

will static meshes work? i love these urban props!
okay, obviously it's for skinned meshes only, as you described.

Re: Homefront: The Revolution - mesh files

Posted: Tue Jul 12, 2016 1:43 pm
by zaramot
It's not hard to make static objects work, I would take a look at Revolution more detailed, but since format is almost the same as Ryse (and there's another scripter who did big job making a tool), I think, you should contact him and send some samples, if he will say, that he's not interested in supporting Homefront I will share maxscript for model import.

Re: Homefront: The Revolution - mesh files

Posted: Tue Jul 12, 2016 1:46 pm
by TheMask85
thank you!
i've asked here.
viewtopic.php?f=16&t=12085&start=60

Re: Homefront: The Revolution - mesh files

Posted: Fri Jul 22, 2016 12:05 pm
by joqqy
TheMask85 wrote:thank you!
i've asked here.
viewtopic.php?f=16&t=12085&start=60
Hi,
I took a quick look at the samples you provided yesterday, and there should be no problem adding support for Homefront - The Revolution
see videolinks:
https://youtu.be/0QS4BqBO_bw
https://youtu.be/ej_fJCHVCwM

It is a slightly(I think) modified version of the CryEngine.
I will have to examine the format a bit more to add all of the support that it needs.

[EDIT] As for Wolcen, I do not have the game, and would need samples of that in case you are still interested.

Re: Homefront: The Revolution - mesh files

Posted: Fri Jul 22, 2016 5:00 pm
by TheMask85
this is great news! is support for skinned meshes also planned?
i still can't find that certain script, Zaramot mentioned.
as for Wolcen, i tried to unpack .pak files. but seems to be decrypted.

Re: Homefront: The Revolution - mesh files

Posted: Fri Jul 22, 2016 5:25 pm
by joqqy
TheMask85 wrote:this is great news! is support for skinned meshes also planned?
i still can't find that certain script, Zaramot mentioned.
as for Wolcen, i tried to unpack .pak files. but seems to be decrypted.
Yes, I plan to support the skinned meshes as well - the skinned meshes and skeletons actually work as well - same support as for Ryse, but I have to take a closer look at the Homefront format too see just how much modification has been made.
Zaramot provided you a link I believe.

Re: Homefront: The Revolution - mesh files

Posted: Fri Jul 22, 2016 6:27 pm
by TheMask85
joqqy wrote: Zaramot provided you a link I believe.
zaramot wrote:I tried MY script for Ryse
yes. but the link is leading to the thread, where YOUR (joqqy) script can be found.
sorry, if i get confused easily.

Re: Homefront: The Revolution - mesh files

Posted: Fri Jul 22, 2016 6:47 pm
by joqqy
TheMask85 wrote:
joqqy wrote: Zaramot provided you a link I believe.
zaramot wrote:I tried MY script for Ryse
yes. but the link is leading to the thread, where YOUR (joqqy) script can be found.
sorry, if i get confused easily.
You are right, I think this is the correct link
viewtopic.php?f=16&t=12252

Re: Homefront: The Revolution - mesh files

Posted: Fri Jul 22, 2016 7:01 pm
by TheMask85
joqqy wrote:
TheMask85 wrote:
joqqy wrote: Zaramot provided you a link I believe.
zaramot wrote:I tried MY script for Ryse
yes. but the link is leading to the thread, where YOUR (joqqy) script can be found.
sorry, if i get confused easily.
You are right, I think this is the correct link
viewtopic.php?f=16&t=12252
yes, i have also tried that one. 3DSMax 2014 and 2017.
it does not work with Homefront 2 files.

Re: Homefront: The Revolution - mesh files

Posted: Fri Jul 22, 2016 8:10 pm
by zaramot
You shouldn't be too much confused and blame yourself, I have edited, a bit improved script for CryTek models (like I have for many other games), especially for Ryse - it's not the same script I posted earlier, old one will not work. I just reported, that format is almost the same and suggested you to contact Joqqy :) Just I didn't explain this detailed like I should, sorry xD

Re: Homefront: The Revolution - mesh files

Posted: Fri Jul 22, 2016 8:35 pm
by TheMask85
thank you guys!
i will let this thread rest and just wait patiently to see if one of you will upload something.

Re: Homefront: The Revolution - mesh files

Posted: Sat Jul 23, 2016 11:18 pm
by joqqy
TheMask85 wrote:this is great news! is support for skinned meshes also planned?
Nearly done for the support for Homefront 2, you can see some progress of the skinned meshes in the video link.
The modifications of the engine seems to be trivial.

https://youtu.be/e6-WCZxAuNQ

/joq