Page 2 of 4

Re: Far Cry 3|4

Posted: Tue Dec 09, 2014 9:31 pm
by Chipicao
I'm not 100% sure, but I think only The Crew has 4 UVs at times. Haven't tested FC4 much though.

Re: Far Cry 3|4

Posted: Wed Dec 10, 2014 11:33 am
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.

Re: Far Cry 3|4

Posted: Wed Dec 10, 2014 9:25 pm
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.

Re: Far Cry 3|4

Posted: Wed Dec 10, 2014 11:50 pm
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 # 

Re: Far Cry 3|4

Posted: Thu Dec 11, 2014 12:35 am
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.

Re: Far Cry 3|4

Posted: Thu Dec 11, 2014 2:32 am
by cra0
icey :)

Re: Far Cry 3|4

Posted: Thu Dec 11, 2014 2:40 am
by MrGameboy20XX
Thanks, TheDude! Ajay imported perfectly, except His watch. But for Pagan imports only hands and shirt :(
Image

Re: Far Cry 3|4

Posted: Thu Dec 11, 2014 8:08 am
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:

Re: Far Cry 3|4

Posted: Thu Dec 11, 2014 6:00 pm
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.

Re: Far Cry 3|4

Posted: Thu Dec 11, 2014 7:04 pm
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.

Re: Far Cry 3|4

Posted: Thu Dec 11, 2014 8:53 pm
by TheDude
Whoops, left some test code in there. Try it again.

Re: Far Cry 3|4

Posted: Fri Dec 12, 2014 7:45 am
by CMihai
Edit: Now works fine :D

Re: Far Cry 3|4

Posted: Sat Dec 13, 2014 6:28 pm
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

Re: Far Cry 3|4

Posted: Sat Dec 20, 2014 8:54 am
by artworkplay
Will this work with Maya 2011?

EDIT... apparently not.

Image

Re: Far Cry 3|4

Posted: Sat Dec 20, 2014 3:42 pm
by TheDude