The rules have been updated, read them now: Rules!

Homefront: The Revolution - mesh files

Post questions about game models here, or help out others!
TheMask85
veteran
Posts: 80
Joined: Sun May 19, 2013 12:55 am
Has thanked: 84 times
Been thanked: 2 times

Homefront: The Revolution - mesh files

Post by TheMask85 » Mon Jul 11, 2016 4:40 pm

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

User avatar
Acewell
VIP member
VIP member
Posts: 1329
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2683 times
Been thanked: 834 times

Re: Homefront: The Revolution - mesh files

Post by Acewell » Tue Jul 12, 2016 12:36 am

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
You do not have the required permissions to view the files attached to this post.

User avatar
zaramot
double-veteran
double-veteran
Posts: 767
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 816 times

Re: Homefront: The Revolution - mesh files

Post by zaramot » Tue Jul 12, 2016 11:10 am

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
Making model-import scripts, PM

TheMask85
veteran
Posts: 80
Joined: Sun May 19, 2013 12:55 am
Has thanked: 84 times
Been thanked: 2 times

Re: Homefront: The Revolution - mesh files

Post by TheMask85 » Tue Jul 12, 2016 11:40 am

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.

User avatar
zaramot
double-veteran
double-veteran
Posts: 767
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 816 times

Re: Homefront: The Revolution - mesh files

Post by zaramot » Tue Jul 12, 2016 1:43 pm

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.
Making model-import scripts, PM

TheMask85
veteran
Posts: 80
Joined: Sun May 19, 2013 12:55 am
Has thanked: 84 times
Been thanked: 2 times

Re: Homefront: The Revolution - mesh files

Post by TheMask85 » Tue Jul 12, 2016 1:46 pm

thank you!
i've asked here.
viewtopic.php?f=16&t=12085&start=60

joqqy
advanced
Posts: 51
Joined: Tue Feb 21, 2012 12:40 pm
Has thanked: 108 times
Been thanked: 44 times

Re: Homefront: The Revolution - mesh files

Post by joqqy » Fri Jul 22, 2016 12:05 pm

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.

TheMask85
veteran
Posts: 80
Joined: Sun May 19, 2013 12:55 am
Has thanked: 84 times
Been thanked: 2 times

Re: Homefront: The Revolution - mesh files

Post by TheMask85 » Fri Jul 22, 2016 5:00 pm

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.

joqqy
advanced
Posts: 51
Joined: Tue Feb 21, 2012 12:40 pm
Has thanked: 108 times
Been thanked: 44 times

Re: Homefront: The Revolution - mesh files

Post by joqqy » Fri Jul 22, 2016 5:25 pm

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.

TheMask85
veteran
Posts: 80
Joined: Sun May 19, 2013 12:55 am
Has thanked: 84 times
Been thanked: 2 times

Re: Homefront: The Revolution - mesh files

Post by TheMask85 » Fri Jul 22, 2016 6:27 pm

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.

joqqy
advanced
Posts: 51
Joined: Tue Feb 21, 2012 12:40 pm
Has thanked: 108 times
Been thanked: 44 times

Re: Homefront: The Revolution - mesh files

Post by joqqy » Fri Jul 22, 2016 6:47 pm

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

TheMask85
veteran
Posts: 80
Joined: Sun May 19, 2013 12:55 am
Has thanked: 84 times
Been thanked: 2 times

Re: Homefront: The Revolution - mesh files

Post by TheMask85 » Fri Jul 22, 2016 7:01 pm

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.

User avatar
zaramot
double-veteran
double-veteran
Posts: 767
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 816 times

Re: Homefront: The Revolution - mesh files

Post by zaramot » Fri Jul 22, 2016 8:10 pm

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
Making model-import scripts, PM

TheMask85
veteran
Posts: 80
Joined: Sun May 19, 2013 12:55 am
Has thanked: 84 times
Been thanked: 2 times

Re: Homefront: The Revolution - mesh files

Post by TheMask85 » Fri Jul 22, 2016 8:35 pm

thank you guys!
i will let this thread rest and just wait patiently to see if one of you will upload something.

joqqy
advanced
Posts: 51
Joined: Tue Feb 21, 2012 12:40 pm
Has thanked: 108 times
Been thanked: 44 times

Re: Homefront: The Revolution - mesh files

Post by joqqy » Sat Jul 23, 2016 11:18 pm

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

Post Reply