Problem packing .rfa -1 reply

Please wait...

odin84gk

That which does not kill you..

50 XP

30th May 2004

0 Uploads

256 Posts

0 Threads

#1 14 years ago

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!!!




odin84gk

That which does not kill you..

50 XP

30th May 2004

0 Uploads

256 Posts

0 Threads

#2 14 years ago

I have read all related FAQ's but they all relate to bf1942. Thank you for your help.




FTGGonzo

Forum Surfer

50 XP

17th May 2004

0 Uploads

8 Posts

0 Threads

#3 14 years ago

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.




MAJOR PITA

Team Player

50 XP

12th July 2003

0 Uploads

655 Posts

0 Threads

#4 14 years ago
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.




odin84gk

That which does not kill you..

50 XP

30th May 2004

0 Uploads

256 Posts

0 Threads

#5 14 years ago

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.




odin84gk

That which does not kill you..

50 XP

30th May 2004

0 Uploads

256 Posts

0 Threads

#6 14 years ago

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?




Luciano

The forums staffers think I'm Cool

50 XP

23rd April 2004

0 Uploads

157 Posts

0 Threads

#7 14 years ago

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

\bfvietnam\levels\mymap

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 ....




Luciano

The forums staffers think I'm Cool

50 XP

23rd April 2004

0 Uploads

157 Posts

0 Threads

#8 14 years ago

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 :

\bfvietnam\levels\myvietnam

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 :

\bfvietnam\levels\odin84gk\

which will work just fine if you pack it into a file called:

odin84gk.rfa

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 ....




Luciano

The forums staffers think I'm Cool

50 XP

23rd April 2004

0 Uploads

157 Posts

0 Threads

#9 14 years ago

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 .




odin84gk

That which does not kill you..

50 XP

30th May 2004

0 Uploads

256 Posts

0 Threads

#10 14 years ago

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.

Thanks again