User Tools

Site Tools


ofp:file_formats:wrp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ofp:file_formats:wrp [2007/07/04 14:28] – created wrp initial page snakemanofp:file_formats:wrp [2024/07/31 12:57] (current) – links added. snakeman
Line 1: Line 1:
-====== WRP Format ======+====== OFP WRP File Format ======
  
-The terrain as seen in game are wrp files (world maps)The 'map' generally consist of an 'island', surrounded by sea textureAll official maps are square areas 256 x 256 'cells'. Each 'cell' defines attributes of that part of the map in a fixed 50 meter square grid. Thus a 256 square map covers 12.8km square+[[https://www.pmctactical.org/forum/viewforum.php?f=43|OFP Forum]], [[:ofp|OFP Home]], [[ofp:file_formats|OFP File Formats]], [[ofp:tools|OFP Tools]], [[ofp:missions|OFP Missions]], [[ofp:modeling|OFP 3D Modeling]], [[ofp:terrain|OFP Terrain]]
  
-With the introduction of Resistance, the map sizes could be considerably larger. No official BI island took advantage of this. However, the OFP Community has, for exampleBAS Tonal, PMC Rugen 25km, PMC Rattler 25km, to name only a few. +**Operation Flashpoint (OFP)** aka ArmACold War Assault (CWA)
  
-A wrp file contain indexed references to models (p3d files) and textures (pac/paa). A wrp file does not contain the modelsor the texturesInstead, these models and textures are held inside a mixture of one or more pbo files. Frequently, since this is after all an island, the very same p3d models accessed in this wrp file, this island, might also be available as separate Mission Editor modelsBuildings eg, grass eg, trees, eg+The terrain as seen in game are WRP files (world maps). The 'terrain' generally consist of an 'island'surrounded by sea textureAll official terrains are square areas 256 x 256 'cells'. Each 'cell' defines attributes of that part of the terrain in a fixed 50 meter square gridThus a 256 square terrain covers 12.8km square.
  
-The model and texture pbo files can be 'official' (eg O.pbo,data3d.pbo), or unofficial. Any and all pbos that contain pxx files can be referenced by the wrp file. The wrp file itselfmayor may not beinside one of the very same pbo's that contain some of the picturesbut, that, is immaterial to the wrp+With the introduction of Resistance, the terrain sizes could be considerably larger. No official BI island took advantage of thisHowever, the OFP Community hasfor example: BAS TonalPMC Rugen 25kmPMC Rattler 25km, to name only a few.
  
-A wrp file is accompanied with a familiar config.cpp, or it's raPified equivalent, config.bin. +A wrp file contain indexed references to models (p3d files) and textures (pac/paa). A wrp file does not contain the models, or the textures. Instead, these models and textures are held inside a mixture of one or more pbo files. Frequently, since this is after all an island, the very same p3d models accessed in this wrp file, this island, might also be available as separate Mission Editor models. Buildings eg, grass eg, trees, eg. 
 + 
 +The model and texture pbo files can be 'official' (eg O.pbo,data3d.pbo), or unofficial. Any and all pbos that contain pxx files can be referenced by the wrp file. The wrp file itself, may, or may not be, inside one of the very same pbo's that contain some of the pictures, but, that, is immaterial to the wrp. 
 + 
 +A wrp file is accompanied with a familiar config.cpp, or it's raPified equivalent, config.bin.
  
 All references to models and textures within the config begin: All references to models and textures within the config begin:
Line 18: Line 22:
 </code> </code>
  
-pxx of course are p3d. pac. or paa extensions. Depending on context, one or other of these file externsions are default. But, for modellers to play safe it is better to be specific. +pxx of course are p3d. pac. or paa extensions. Depending on context, one or other of these file externsions are default. But, for modellers to play safe it is better to be specific.
  
 There are two file formats in use. Either can be used in the engine. There are two file formats in use. Either can be used in the engine.
Line 32: Line 36:
 **OPRW3** **OPRW3**
  
-was introduced for the Island of Nogova. There are minimal differences between the two formats (similar in triviality to pbo files in general) The tool to manipulate OPRW files directly is WrpEdit. This was an early tool in the life of the OFP community supplied by the now defunct ofpinternals. This tool worked with these maps by reverse engineering details from zwadar. It only works on non resistance file format (version 2). Changing a resistance format to non resistance is trivial and detailed elsewhere. +was introduced for the Island of Nogova. There are minimal differences between the two formats (similar in triviality to pbo files in general) The tool to manipulate OPRW files directly is WrpEdit. This was an early tool in the life of the OFP community supplied by the now defunct ofpinternals. This tool worked with these terrains by reverse engineering details from zwadar. It only works on non resistance file format (version 2). Changing a resistance format to non resistance is trivial and detailed elsewhere.
  
 **OPRW17 / OPRW18** **OPRW17 / OPRW18**
Line 43: Line 47:
  
 This is the unpacked version. The tool for 4WVR is WrpTool. This format is much larger in size than OPRW as its not optimized, however ingame there is no difference. This is the unpacked version. The tool for 4WVR is WrpTool. This format is much larger in size than OPRW as its not optimized, however ingame there is no difference.
 +
ofp/file_formats/wrp.1183559289.txt.gz · Last modified: 2007/07/10 09:52 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.