|
Post by JRavens on Jul 23, 2016 0:14:53 GMT
The "CEF" file is a file we found in Far Cry 4 which replaces the file nomadobjecttemplates.fcb from Far Cry 3.
Note that a copy of nomadobjecttemplates.fcb still exists in the game structure at generated\nomadobjecttemplates.fcb however this entry seems to have no effect on the single player. I was quick to dismiss this as a redundant file from the old Far Cry 3 engine (there are many such files the Devs left in even though FC4 no longer uses them - likely residual bits and pieces leftover from development) HOWEVER it appears that this "redundant file" was updated and included in the official patch.dat so it must exist for some reason (or else the bug fix team has no idea which file is the correct one and they are updating all of them!)
We have not uncovered the *proper* name and file path for the CEF file however it's temporary working name and path when extracted with the Dunia 2 tools is:
__UNKNOWN\game\CEF2050C2780F74C.fcb
So what is it?
Basically it's a HUGE long master list of different game "services" that run while playing and various options and settings for each one. This includes such things as ammo limits, types of weapons carried by NPCs, skills, and more.
Unfortunately due to the files size and it mostly be undecipherable binhex much of it has yet to be completely deciphered. However we are working on it and this subforum will contain threads about various individual parts within it.
|
|
|
Post by Steve64b on Feb 3, 2018 14:38:36 GMT
CEF2050C2780F74C = generated\nomadobjecttemplates_rt.fcb 
|
|
|
Post by JRavens on Feb 3, 2018 23:28:21 GMT
FINALLY! Thank you!
I had recently found that by renaming it to nomadobjecttemplates.fcb allowed me to convert it with way more translated strings, but knew that wasn't the correct name. (Even though there IS a duplicate in common_unpack\generated\ - so weird... prolly left over from FC3?)
|
|
|
Post by predaaator on Feb 4, 2018 2:39:40 GMT
Does this work to change the npc weapons?.
|
|
|
Post by JRavens on Feb 4, 2018 4:43:37 GMT
Possibly. You would have to root around in there and try, but yeah in theory this is where the equipment packs are stored for NPCs.
|
|
|
Post by predaaator on Feb 4, 2018 5:04:59 GMT
mmmmmmmmm..............close to fc5................well I'll give it a try and let you know soon.
|
|
|
Post by Steve64b on Apr 26, 2019 8:33:06 GMT
Thought I posted this, I think it's the generated\nomadobjecttemplates_rt.fcb aka CEF2050C2780F74C file pretty much annotated. 
|
|
|
Post by LinkHero95 on Jul 20, 2020 7:16:16 GMT
Thanks for this. I was looking for an annotated version for this file for ages.
What method did you use to create these annotations? I believe 300000 lines of code must be a pain in the (whichever part of the body you prefer) to edit...
|
|
|
Post by Steve64b on Jul 27, 2020 22:41:42 GMT
Back then, I appended my findings to Gibbed's Dunia definitions through custom scripts. Nowadays, modders will find ArmanIII's FCBConverter tool (downloadable from his Resistance Mod page on Nexusmods) far more helpful as it'll convert without any definition file. 
|
|