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

Far Cry 3|4

Post questions about game models here, or help out others!
User avatar
Chipicao
ultra-veteran
ultra-veteran
Posts: 476
Joined: Thu Feb 03, 2011 11:18 am
Has thanked: 42 times
Been thanked: 305 times
Contact:

Re: Far Cry 3|4

Post by Chipicao »

I'm not 100% sure, but I think only The Crew has 4 UVs at times. Haven't tested FC4 much though.
Please post any requests or issues with my tools in the appropriate topics.
I'm sorry if I don't reply or if I ignore PMs. My time is very limited.
User avatar
CMihai
veteran
Posts: 131
Joined: Sun Jul 05, 2009 12:58 pm
Has thanked: 13 times
Been thanked: 1 time

Re: Far Cry 3|4

Post by CMihai »

What unpacked did you used for FC4? Used the Dunia2 from Rick, the one posted on the first page but couldn't find the characters, unless they were in __UNKNOWN folder but the filenames are not really helping so I have no idea how to ID the characters and textures. Using QuickBMS now, currently extracting but so far lot of files with useless extension.
User avatar
TheDude
mega-veteran
mega-veteran
Posts: 239
Joined: Sun Mar 20, 2011 7:35 pm
Has thanked: 29 times
Been thanked: 59 times
Contact:

Re: Far Cry 3|4

Post by TheDude »

I updated the original link on page 1.
I fixed a problem where the mesh names began with a number and killed the importer.
CMihai - you might be interested in a new file I added. :eek:


Sooooooo, I decided to try and create an importer for Blender 2.72 and for the life or me I can't figure out how to import bones.
I've looked at tons of reference code/importers and still can't get it to work.
I included it in the off chance anyone knows of such forbidden knowledge.
User avatar
CMihai
veteran
Posts: 131
Joined: Sun Jul 05, 2009 12:58 pm
Has thanked: 13 times
Been thanked: 1 time

Re: Far Cry 3|4

Post by CMihai »

O shit, more than interested, now that's a very welcomed file :D

Talking about problems with mesh names starting with numbers, got BSOD'ed like 5 times today since I was randomly trying to import files =)

Edit: Also, there's no weight for FC4 models? Eh for some work for some doesn't I get this error when it doesn't work.

Code: Select all

# Warning: New name contains invalid characters. Illegal characters were converted to "_". # 
# Error: TypeError: file C:\Program Files\Autodesk\Maya2015\Python\lib\site-packages\pymel\core\general.py line 151: Object 4BA333ADE9CEAE42LOD_0.f[0:2650] is invalid # 
User avatar
TheDude
mega-veteran
mega-veteran
Posts: 239
Joined: Sun Mar 20, 2011 7:35 pm
Has thanked: 29 times
Been thanked: 59 times
Contact:

Re: Far Cry 3|4

Post by TheDude »

That name issue was supposed to be the problem I fixed. :oops:

Well, nevermind. I think I fixed a really nasty bug.
Probably the same one you experienced (not the name thing).
I updated the link again.

It was caused by..............................................
wait for it.................
...
..
.
&*%^&#ing Python indentation!

Now you might end up with a mangled mesh, but nothing should crash now.
Gotta overhaul some more stuff n' junk.
User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 438
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 189 times
Contact:

Re: Far Cry 3|4

Post by cra0 »

icey :)
User avatar
MrGameboy20XX
ultra-n00b
Posts: 4
Joined: Sun Aug 17, 2014 8:52 pm
Location: Rivne, Ukraine
Has thanked: 8 times
Contact:

Re: Far Cry 3|4

Post by MrGameboy20XX »

Thanks, TheDude! Ajay imported perfectly, except His watch. But for Pagan imports only hands and shirt :(
Image
Image
User avatar
CMihai
veteran
Posts: 131
Joined: Sun Jul 05, 2009 12:58 pm
Has thanked: 13 times
Been thanked: 1 time

Re: Far Cry 3|4

Post by CMihai »

Code: Select all

# Warning: New name contains invalid characters. Illegal characters were converted to "_". # 
# Error: TypeError: file C:\Program Files\Autodesk\Maya2015\Python\lib\site-packages\pymel\core\general.py line 151: Object 6E3B0FD1B0CC9197LOD_0.f[0:326] is invalid # 
More or less the same, this is for Yuma

Code: Select all

E500D4ED11D9DDD9.xbg            Yuma | WORKS
CD563F2B31B0AE3B.xbg            Head and Hands | WORKS
4BA333ADE9CEAE42.xbg            Yuma_Naked | NOPE
6E3B0FD1B0CC9197.xbg            YUMA_Nkd_Torso | NOPE
85A42F1A80A9F607.xbg            YUMA_Torso | NOPE
8926BAEAF8884B1E.xbg            ShirtAcce01 | NOPE
A0AEC0BDAABE274C.xbg            YUMA_Acce02 | WORKS
BF4A884D18525FB2.xbg            Hair | WORKS
Same error for each one, except the name after Object ofc, is this the same for you or? :mrgreen:
User avatar
TheDude
mega-veteran
mega-veteran
Posts: 239
Joined: Sun Mar 20, 2011 7:35 pm
Has thanked: 29 times
Been thanked: 59 times
Contact:

Re: Far Cry 3|4

Post by TheDude »

Update: viewtopic.php?p=101460&sid=60c02512014f ... 73#p101460
Fixed a bunch of junk.

I was really trying to avoid dealing with submeshes - looking at that part of Chipicao's importer still makes me dizzy.
But it looks like you have to if the mesh has more than 1 vertex buffer.

hmmmmm...... forum doesn't like emojis. :constipated:
General Error
SQL ERROR [ mysql4 ]

Incorrect string value: '\xF0\x9F\x92\xA9' for column 'post_text' at row 1 [1366]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
User avatar
CMihai
veteran
Posts: 131
Joined: Sun Jul 05, 2009 12:58 pm
Has thanked: 13 times
Been thanked: 1 time

Re: Far Cry 3|4

Post by CMihai »

Ok updated now let's see :D

Code: Select all

# Error: line 1: NameError: file <maya console> line 280: name 'matJunk' is not defined # 
Even the ones that worked before shows this error now, and only the skeleton is imported without any mesh.
User avatar
TheDude
mega-veteran
mega-veteran
Posts: 239
Joined: Sun Mar 20, 2011 7:35 pm
Has thanked: 29 times
Been thanked: 59 times
Contact:

Re: Far Cry 3|4

Post by TheDude »

Whoops, left some test code in there. Try it again.
User avatar
CMihai
veteran
Posts: 131
Joined: Sun Jul 05, 2009 12:58 pm
Has thanked: 13 times
Been thanked: 1 time

Re: Far Cry 3|4

Post by CMihai »

Edit: Now works fine :D
User avatar
TheDude
mega-veteran
mega-veteran
Posts: 239
Joined: Sun Mar 20, 2011 7:35 pm
Has thanked: 29 times
Been thanked: 59 times
Contact:

Re: Far Cry 3|4

Post by TheDude »

Update:
Added support for meshes with more than one vertex buffer.
That means.............Weapons!!!

(srry, didn't feel like tracking down the textures :P )
Image
artworkplay
veteran
Posts: 116
Joined: Wed Oct 05, 2011 9:40 pm
Has thanked: 49 times
Been thanked: 5 times

Re: Far Cry 3|4

Post by artworkplay »

Will this work with Maya 2011?

EDIT... apparently not.

Image
User avatar
TheDude
mega-veteran
mega-veteran
Posts: 239
Joined: Sun Mar 20, 2011 7:35 pm
Has thanked: 29 times
Been thanked: 59 times
Contact:

Re: Far Cry 3|4

Post by TheDude »

Post Reply