XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Oct 20, 2017 11:49 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 55 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: Far Cry 3|4
PostPosted: Sun Mar 29, 2015 8:00 am 
Offline
mega-veteran
mega-veteran

Joined: Wed May 05, 2010 8:21 pm
Posts: 270
Location: Poland Głogów
Has thanked: 16 times
Have thanks: 514 times














You can make the ads go away by registering

About ~19000 files from ...data_win32\worlds\fcc_main\fcc_main_unpack\__UNKNOWN\gfx for Far Cry 4:

xbg file: each file have skeleton inside - for file name can use first bone name
xbt file: for some files can use file path inside

Here is a script for parsing all files from directory ..data_win32\worlds\fcc_main\fcc_main_unpack\__UNKNOWN\gfx
It creates new file types:
- *.mesh with name of first bone - for xbg file . It is xbg file but has only new name. File inside has no change.
- *.mat - from bin files - it can use to get texture path for material name from file with model
- *_norm.dds - for normal and bump maps
- *.dds - for others maps

How to use:
1. instal Blender 249 and Python 266
2. double click Blender249.blend
3. in Blender Text Window press alt+p and select any file from ...data_win32\worlds\fcc_main\fcc_main_unpack\__UNKNOWN\gfx and wait.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Far Cry 3|4
PostPosted: Sun Mar 29, 2015 10:59 am 
Offline
veteran
User avatar

Joined: Sat Jan 07, 2012 2:30 pm
Posts: 150
Has thanked: 53 times
Have thanks: 28 times
TheDude wrote:
I don't know how I managed to leave this out of the list, but the model of Min's face with his eyebrows is 9C44E182FDE38402.xbg.

Also grepWin is what I use to find specific models. http://stefanstools.sourceforge.net/grepWin.html
..just throwing that out there


Great, thanks! :)


Top
 Profile  
 
 Post subject: Re: Far Cry 3|4
PostPosted: Sun Mar 29, 2015 3:20 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Sun Mar 20, 2011 7:35 pm
Posts: 212
Has thanked: 26 times
Have thanks: 48 times
That's some nice work Szkaradek!

Image


Top
 Profile  
 
 Post subject: Re: Far Cry 3|4
PostPosted: Mon Dec 07, 2015 4:29 pm 
Offline
advanced

Joined: Fri Sep 03, 2010 8:45 am
Posts: 43
Has thanked: 14 times
Have thanks: 9 times
Hi. There is someone in possession of the 3d model mg-42 ? THX Image


Top
 Profile  
 
 Post subject: Re: Far Cry 3|4
PostPosted: Thu Jan 19, 2017 6:58 am 
Offline
ultra-n00b

Joined: Wed Jan 18, 2017 2:12 pm
Posts: 2
Has thanked: 2 times
Have thanks: 0 time
TheDude wrote:
Update: http://forum.xentax.com/viewtopic.php?p=101460#p101460

• Removed NumPy from the Maya importer - should improve compatibility
• Added rough support for Far Cry 2 and Avatar (FC2 still needs some work)
• Made a WIP importer for Softimage (no materials yet)
• Sat in a deck chair in my underwear in front of a black velvet painting of a sad crying clown in an iron lung and laughed hysterically for 10 minutes
• Made a WIP importer for Blender 2.73
• Kicked some Geese in the face
• Made a WIP importer for Lightwave
• Made a WIP importer for Noesis
• Made a very rough importer for Houdini (just imports a singe object, not too useful yet)

Maya is still the best of the lot, but Softimage is close behind.
I'll work on this junk again sometime in January.

Привет всем! А кто импортировал анимацию из данной игры в Maya?


Last edited by infixxx on Tue Feb 14, 2017 6:52 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Far Cry 3|4
PostPosted: Sat Feb 04, 2017 2:13 pm 
Offline
ultra-n00b

Joined: Sat Feb 04, 2017 2:10 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
Hello i just wanted to ask if anyone is able to make a mod in fc3 where it adds a wrist watch and slightly longer sleeves like the E3 version of the game,although if no one can do it could someone point me in the right direction please?


Top
 Profile  
 
 Post subject: Re: Far Cry 3|4
PostPosted: Thu Feb 09, 2017 3:55 am 
Offline
ultra-n00b

Joined: Sun Sep 06, 2015 8:12 pm
Posts: 8
Has thanked: 0 time
Have thanks: 0 time
so you can import animations into maya from far cry 4 and 3, you can do that with this maya script?


Top
 Profile  
 
 Post subject: Re: Far Cry 3|4
PostPosted: Tue Feb 14, 2017 6:50 am 
Offline
ultra-n00b

Joined: Wed Jan 18, 2017 2:12 pm
Posts: 2
Has thanked: 2 times
Have thanks: 0 time
TheDude wrote:
Update: http://forum.xentax.com/viewtopic.php?p=101460#p101460

• Removed NumPy from the Maya importer - should improve compatibility
• Added rough support for Far Cry 2 and Avatar (FC2 still needs some work)
• Made a WIP importer for Softimage (no materials yet)
• Sat in a deck chair in my underwear in front of a black velvet painting of a sad crying clown in an iron lung and laughed hysterically for 10 minutes
• Made a WIP importer for Blender 2.73
• Kicked some Geese in the face
• Made a WIP importer for Lightwave
• Made a WIP importer for Noesis
• Made a very rough importer for Houdini (just imports a singe object, not too useful yet)

Maya is still the best of the lot, but Softimage is close behind.

I'll work on this junk again sometime in January.

Hello! I would like to know, is there a way that I can import animations from this game?


Top
 Profile  
 
 Post subject: Re: Far Cry 3|4
PostPosted: Tue May 23, 2017 7:34 am 
Offline
veteran

Joined: Mon Oct 13, 2014 6:54 am
Posts: 106
Has thanked: 52 times
Have thanks: 6 times
I realise this thread and the contents therein are aging fast, but with Far Cry 5 around the corner, I've been looking back at some of the older games and looking at pulling models from 4 in particular, however, when I try to run the Maya script, I get this error:

# Error: line 0: ImportError: file <maya console> line 4: No module named bitreader

Anyone able to clarify what the problem might be here? I was kinda hoping there might be a blender tool out there akin to the Far Cry Primal one, and the Max Script doesn't seem to be able to carry weights across.


Top
 Profile  
 
 Post subject: Re: Far Cry 3|4
PostPosted: Sat Oct 07, 2017 10:19 pm 
Offline
advanced

Joined: Sat Mar 18, 2006 5:29 pm
Posts: 49
Has thanked: 13 times
Have thanks: 1 time
I'm looking for a way to get a preview of all the 3D models used in Far Cry 4. Here's what I got so far:
  • TheDude's Blender importer script: Couldn't get it working. Here's what I did:
    Using Blender 2.78
    CTRL+ALT+U --> install from file
    Results:
    Code:
    found bundled python: C:\Program Files\Blender Foundation\Blender\2.78\python
    fake_module: addon missing 'bl_info' gives bad performance!: 'Blender\\2.78\\scripts\\addons\\test_Blender273.py'
    fake_module: addon missing 'bl_info' gives bad performance!: 'Blender\\2.78\\scripts\\addons\\test_Blender273.py'
    fake_module: addon missing 'bl_info' gives bad performance!: 'Blender\\2.78\\scripts\\addons\\test_Blender273.py'
    Modules Installed from 'c:\\temp\\test_Blender273.py' into 'Blender\\2.78\\scripts\\addons' ()
    Yet I don't know how to enable the plugin, I think it doesn't show up in my installed plugins list. Could it be because I already have volfin's Far Cry Primal xbg importer script in there already?
  • TheDude's Maya importer script install
    to get this working:
    1. Copy the files from FarCry34.rar\Maya\Dependencies to your maya's 'site-packages' folder, i.e. C:\Program Files\Autodesk\Maya2015\Python\Lib\site-packages
    2. Extract the Maya_numpy.rar contents into C:\Program Files\Autodesk\Maya2017\Python\Lib\site-packages as well.
    3. Open and run the FarCry34.rar\Maya\FC34_Maya.py in Maya from the Script Editor: Windows > General Editors > Script Editor.
  • Chipicao's 3DSMax importer plugin
    So far, I've been most pleased with Far Cry Primal 3DSMax plugin from Chipicao in 3DSMax. Seems to load the models just fine.

However, I'm actually looking for a way to get ALL FC xbg's rendered to a preview jpg and manually loading them one by one into 3DS/Maya isn't really cutting it. I was thinking Noesis would be the weapon of choice if it would allow for a preview of the xbg, but I'm getting an error with TheDude's Noesis plugin:
Code:
---------------------------
Noesis Python Error
---------------------------
Traceback (most recent call last):
  File "Noesis\plugins\python\FC34_Noesis.py", line 580, in XBGLoadModel
    weightData = bonesWeightsWhomp(VB, majorRevision)
  File "Noesis\plugins\python\FC34_Noesis.py", line 140, in bonesWeightsWhomp
    return(weightsLOC, boneSubIDsLOC)
UnboundLocalError: local variable 'weightsLOC' referenced before assignment

Would anyone know a way to fix the Noesis script? I added an assignment for several variable names reported by Python, but ultimately got stuck when the line "for g in range(len(vbBIDS[n])):" produced a list index out of bounds error.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 55 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC + 1 hour


Who is online

Users browsing this forum: JohnMadden, kosmoski and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group