|
Post by mark on Jan 2, 2017 19:23:08 GMT
Hello everyone. I am new to modding FC4 and am wondering if there is a step by step tutorial written somewhere. I've read the posts here on this forum and other various places found by searching Google however I have been unsuccessful in completely understanding the process. So far I've downloaded the following: dunia2-r179_b116.zip Janne's Archetype Browser Janne's Entity Archetype XML Collection Using the archtype browser and collection, I've managed to find some things that I would like to incorporate so that I have the option to use them in the map editor when creating maps. I've also tried out the information provided in the "Modding 101 packing and unpacking patch_hd" post. Unfortunately I get a bit lost when other posts talk about putting things in places such as {chosen folder name}\bin\projects\ folder (which I know is located within my unzipped dunia2-r179_b116 folder. For example, I find the XML file I want to include so I can use it in the map editor. I convert it a .fcb but then that's it. I am lost on what steps to take next. So thank you to anyone who can help this old man out!
|
|
|
Post by predaaator on Jan 3, 2017 3:58:51 GMT
Easy my friend, download any editor mod (Fino or mine) unpatch it and follow how is builded.
|
|
|
Post by mark on Jan 3, 2017 4:11:43 GMT
Thanks for the reply. I am currently using Janne's mod. I did decompile his patch_hd.dat folder and opened it up. In there are 4 folders:
_UNKNOWN Engine Ingameeditor Languages
So I am assuming my next step is to open Janne's archetype browser and browse the 9000+ archetype xml files from the collection for items I want available in the map editor when I am creating maps.
Then I compile the xml files individually into .fcb files
Then in which folder do these .fcb files go? I would think the "Ingameeditor" folder however in that folder there is only "object_inventory.xml" and "texture_inventory.xml" ..no .fcb files.
(I also believe I will need to edit the object_inventory.xml file to include the objects I want in there as well?)
|
|
|
Post by predaaator on Jan 3, 2017 19:59:20 GMT
You need to add entities in the object_inventory.xml, open it and read it to follow how it does.
|
|
|
Post by mark on Jan 3, 2017 23:34:55 GMT
I have definitely been doing some searching in the files and figured as such. Unfortunately, no luck yet.
I opened the decompiled patch_hd_unpack folder. I went to the ingameeditor folder and opened up object_inventory.xml I added the following line:
<Entry Id="FCC_Graphics:SinglePlayer:Generic:Props:LightSources:Sacred_ClayLamp_01.AlwaysOn" Display="Sacred_ClayLamp_01.AlwaysOn" SourceType="0" Sync="True" ObjectCost="0" ObjectType="0" ArchetypeId="7862144962058" /> Saved the file. Packed the folder back up and replaced my patch_hd files with the ones created.
It displays as an option in the editor however 2 things happen now.
1.) When I select the object to place it, there is nothing there (meaning I select it just like any other object but only see the red/blue/green lines that you see when selecting all objects.) 2.) When I actually click to place the wanted object in.... the editor instantly crashes.
So I am still doing some trial and error however I am unsuccessful so far.
|
|
|
Post by predaaator on Jan 4, 2017 0:30:09 GMT
I have definitely been doing some searching in the files and figured as such. Unfortunately, no luck yet. I opened the decompiled patch_hd_unpack folder. I went to the ingameeditor folder and opened up obect_inventroy.xml I added the following line: <Entry Id="FCC_Graphics:SinglePlayer:Generic:Props:LightSources:Sacred_ClayLamp_01.AlwaysOn" Display="Sacred_ClayLamp_01.AlwaysOn" SourceType="0" Sync="True" ObjectCost="0" ObjectType="0" ArchetypeId="7862144962058" /> Saved the file. Packed the folder back up and replaced my patch_hd files with the ones created. It displays as an option in the editor however 2 things happen now. 1.) When I select the object to place it, there is nothing there (meaning I select it just like any other object but only see the red/blue/green lines that you see when selecting all objects. 2.) When I actually click to place the wanted object in.... the editor instantly crashes. So I am still doing some trial and error however I am unsuccessful so far. My friend, you are not doing anything wrong, there are some objects that have not textures and properties, you have to find them and add them in your patch_hd. For example, in the last update from my mod, I added the gasmask, I had to find the textures and others stuff, without that give the same error you have.
|
|
|
Post by mark on Jan 5, 2017 2:03:43 GMT
Thanks for the hint. I downloaded your mod and opened it up and looked for the gas mask which states it is 7854636654424.ark.xml. So I opened that file to inspect to see if I could track down the stuff you had to add to get the mask to work.
First thought was you maybe had to include the 7854636654424.fcb file. I don't see that file included in your files so I figure it's not necessary to include it.
Next I went through the 7854636654424.ark.xml file (from the library of 9000+ files) to see what graphics are linked in it. For example: line 26 refers to the following:
graphics\_SinglePlayer\Exotic\BreathingMask\Mask_Pickup_01.xbg
No .xbg files found in your files. So I figured maybe its the various .bin files that are referenced in 7854636654424.ark.xml.
I searched your files for anything that matched the referenced .bin files but found nothing. Would you mind sharing how you accomplished this? I'm hoping it will lead me to better understand the process and be able to use the "Sacred_ClayLamp_01.AlwaysOn" I'm after among other things. I do see how you referenced the oxygen mask inside the object_inventory.xml file. I'm just obviously missing something.
|
|
|
Post by pj on Jan 5, 2017 13:29:23 GMT
Hey Mark.... Here's some pics that will help you get what you need, one of which is the folder structure that's pretty much required in all of the mods: 1drv.ms/f/s!AueVg7eVAeXMgW2indmZhg9owJEZ This is Pred's mod as it opens up on my machine. Can you send a pic of what it looks like on yours? (in case this post didn't help!) You can find those actual files by using Dunia tools to open up all of the packed files, and then searching them using UltraSearch - which is 100 times faster than windows search. pj
|
|
|
Post by mark on Jan 5, 2017 19:55:36 GMT
Hi PJ. Thanks for the images. I definitely don't have that "entire" folder structure available when I unpacked predaaators mod.
Being a web developer I'm used to searching around in code so now I see that it wasn't just me going crazy (well maybe a little).
I'll post some pics of what I have when I am at my PC again.
Thanks again.
|
|
|
Post by predaaator on Jan 5, 2017 20:31:22 GMT
mark, I dont have a procedure to get the files for the entities, I search for hours or days on these files "fcc_main_hd.dat" and "fcc_main.dat". Jravens discovered the Yeti, it took months to find all the files, and even had a lot of bugs that Fino fixed. Is not easy my friend Use this mod www.nexusmods.com/farcry4/mods/37/? Is an easy way to know if an entity can be extract it, it convert the fcc_main_hd.dat in a sound.dat
|
|
|
Post by pj on Jan 5, 2017 21:31:45 GMT
Hi PJ. Thanks for the images. I definitely don't have that "entire" folder structure available when I unpacked predaaators mod. Being a web developer I'm used to searching around in code so now I see that it wasn't just me going crazy (well maybe a little). I'll post some pics of what I have when I am at my PC again. Thanks again. OK... Which time zone are you in? I reckon your issue is that the Dunia2Tools are not installed properly, that's all.
|
|
|
Post by pj on Jan 7, 2017 14:01:40 GMT
Any feedback, Mark?
|
|
|
Post by mark on Jan 8, 2017 20:04:01 GMT
Hey PJ. A bit late on this reply but I had an emergency to tend to. As for my time zone, I live in California. Here's a screenshot of the folder structure I have: 1drv.ms/i/s!Al5_oRip3IqTgUd3oJLsa3ztgfBN Here are the steps I did to unpack so you can see if I went wrong somewhere: 1.) Unzipped the file "dunia2-r179_b116" to E:\Far Cry 4 Modding Tools\dunia2-r179_b116 2.) Downloaded predaaator's mod and put it in C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Far Cry 4\data_win32\Predaaator's Far Cry 4 editor mod v1.1 3.) Unpacked the path_hd.dat file by dragging over "Gibbed.Dunia2.Unpack.exe" located in the folder "dunia2-r179_b116". So there must be a step I am missing somewhere as I do not have the folder structure you showed. Thanks for your help!
|
|
|
Post by pj on Jan 9, 2017 15:38:09 GMT
Hi Mark.. Hope the emerg was resolved ok.. So..... a couple of things... pics are on the OneDrive, and will follow these points: You can download the pics from the OneDrive link below: 1drv.ms/f/s!AueVg7eVAeXMgW2indmZhg9owJEZ 1). The Far Cry 4 game files should only look like the "FC4_filesystem.jpg" pic. 2). The mod and it's files don't go in the game folders - anywhere, so for the moment, just delete what's there, and then create a "Predaaator" folder in whichever drive you are going to use to make your mods in. In my case - it's my "G drive" (Pred's mod location.jpg). Drop Pred's zip file in there and then unpack it. You're going to change some of the files/folders inside that "patch_hd_unpack folder" (Preds mod filesystem.jpg) 3). Once you've changed whatever it is you want to change - you simply drag that complete folder over top of the the Gibbed.Dunia2.Pack.exe ("Drag-n-Drop.jpg") and it'll automatically create - pack - two new files - the patch_hd_unpack.dat (and fat) files above the patch_hd_unpack folder. You will have now created a new mod - yours, and you then simply rename those new patch_hd_unpack.dat and fat files as "patch_hd.dat" and "patch_hd.fat" and then copy them into data_win32 folder, replacing the originals. (Of course - copy paste the originals so you have them as backups.) That's it! 4). Dunia Tools... Far Cry and many of the operations I've come across while working with FC want to see as short a filename as possible - so the first thing I would suggest is for you to reinstall the toolset in it's own folder in the root of your work drive. When done - it should look like the "Dunia2 Tools_filesystem.jpg" pic. 5). The part which I reckon you're missing - is the project file addition: Once you've installed the toolset - I would strongly suggest that you directly place the zipped gibbed_fc4project.zip into the {chosen folder name}\ bin\projects\ folder - and then unzip it in that folder. (pic is the "Projects folder.jpg) Doing that will create the correct files and folders, already having the "current.txt" pointing correctly, with a Far Cry 4.xml there too. Once this is done you need to run the {chosen folder name}\bin\RebuildFileLists.exe to... aah... rebuild the file lists... You should have no further issue when packing or unpacking, using ConvertXml.exe or using the ConvertBinaryObject.exe. There are a few further modifications and file additions that need adding to the toolset, but for now - this will get you going. If you have more questions - ask away - Predaaator or I will answer s.a.p. - Ok! pj
|
|
|
Post by mark on Jan 12, 2017 2:24:39 GMT
Hi Paul. Thank you for your images and information. I now have the directory structure you showed when I unpacked pred's mod. What's strange to me is there is no "entityarchetypeslibrary" folder when I unpack Janne's mod. Of course, I can add it but I thought it would have been there when I unpacked it.
I'm also running into another issue. As a test to see how this works I'm starting off by trying to add "Sacred_ClayLamp_01.AlwaysOn" to janne's mod.
I've opened the associated xml file from the library (7862144962058) and converted to a .fcb I transfered the .fcb file to janne's mod folder where I created the "entityarchetypeslibrary" folder I've added the appropriate line to the object_inventory.xml file I've inspected the 7862144962058.ark.xml file to see the associated images it needs which are:
graphics\_SinglePlayer\Props\LightSources\Sacred_ClayLamp_01.xbg graphics\_SinglePlayer\Props\LightSources\Sacred_ClayLamp_01.hkx
I've unpacked the fcc_main.dat and fcc_main_hd.dat files I've searched for the 2 files above using UltraSearch but the files are nowhere to be found. Can you tell me if I am missing a step please?
Thanks again Paul!
|
|