I am trying to simply create a battlecraft vietnam map (no editing yet), extract the files (haven't changed any of the files), then pack them again and I keep getting the error "This level is missing key files needed to successfully load". I have tried using the following programs: battlefield mod development toolkit V 2.001 (winRFA 2.03) MakeRFA rat RFA extractor GMakeRfa PackRFA I have tried using every variation of base and sourse path I could think of, but I always get the same message. PLEASE HELP!!!
I have read all related FAQ's but they all relate to bf1942. Thank you for your help.
This error usually results from packing at the wrong level. Make sure the paths in the WinRFA 'pack' boxes say the following: Source Directory: file_path_where_you_extracted_map\BfVietnam Base Path: BfVietnam and pack. You will then be prompted to name the .rfa file, so you'd name it your map's name. Just curious why you're extracting the map this early on in the process? Make sure you can launch the map in BFV or BCV before unpacking and repacking. That way you know the map was good before that.
FTGGonzoJust curious why you're extracting the map this early on in the process?
Exactly. I don't understand why you would be needing to unpack or repack anything at this point.
I have a very involved map of my university that I want to put bots on (using Arc D'Wraith tutorial) and I couldn't pack it. I took out all the variables by starting with a basic map. Then I found the botinator. I tried using what that said, but it still wouldn't pack. Now I am just trying to pack it. Do you have to unpack to the BF vietnam directory, b/c I have been puting all of my RFA into a generic C:\ folder.
I have created, then tested, then followed your directions, but it still doesn't work. (previously done this, but had to try again) Any other ideas?
You should learn how to pack/unpack before you get any deeper with the editting .... If you unpack any level to the DESKTOP you'll see a new folder created called \bfvietnam . If you unpack one more level to the DESKTOP you'll end up with 2 level in the same folder . At that point things are gonna get ugly if you try to pack the \bfvietnam folder .
Other problem , if you try to pack one map that has a certain name into a rfa file that has a different name . EXAMPLE : if you have a folder structure like this
you'll have to select \bfvietnam as the folder to be packed and you have to give it the name 'mymap.rfa' . You cannot pack the above example into a rfa that has another name . In this case only 'mymap.rfa' can work . Also make sure you don't have 2 or more levels into 1 . When you look in the \levels folder you should see only one folder that will give the name for your map .... in the case above you would see only one folder called 'mymap' ....
hard to explain without screenshots ....
Another example . You start Battlecraft and create a new map called myvietnam save and exit . If you look in your \levels folder you'll see a bunch of RFA files one of which is myvietnam.rfa . That's the one you created . If you just want to unpack it then repack it you'll have to repack to the same name , in this case myvietnam.rfa . Lets say you unpack the myvietnam.rfa to the DESKTOP but when you pack it you want to pack it to a different rfa file with a different name . Well , things get more complicated if you want to pack to a different name because some con files have references to the file structure you had originally .
When you unpack myvietnam.rfa to the desktop you'll end up with this folder structure :
This structure can be only packed into a file called myvietnam.rfa but we wanna change that . So go into \bfvietnam\levels and change the name of the folder you see there from myvietnam to odin84gk .... then you'll have to edit the terrain.con to look for the files it needs (heightmap.raw , material.raw ) into the new folder .... so you replace any paths that have the old name "myvietnam" to "odin84gk" .... at that point you can repack the new structure into a rfa called odin84gk.rfa
you have this :
which will work just fine if you pack it into a file called:
How you pack ? well , you run WINRFA 2.03 and select Pack - Directory , then you select the \bfvietnam from your desktop as the SOURCE DIRECTORY , then click the PACK button and save it as odin84gk.rfa in the same place where your other levels are located .... try it ....
Of course if you edit the \Init\Terrain.con to reflect the new folder structure you have to replace 4 lines/paths not just 2 .
(material , heightmap , texBaseName , detailTexName )
You get the idea .
YOU ARE GOD!!!!!!! Thanks for the help!!!!!!!!!!!!! I was trying to name the RFA as something different than the folder. It is quite annoying when something as silly as that steals hours of my life.