Home   Help Search Login Register  

Author Topic: PC wrp to OFP Elite wrp??  (Read 4495 times)

0 Members and 1 Guest are viewing this topic.

PC wrp to OFP Elite wrp??
« on: 05 Mar 2007, 07:03:18 »
 ??? hey was wondering if you could send me an e-mail or something with an example of a small island you made for XBOX version (Ofp Elite)... plz, been trying to get all of my new islands onto the XBOX.. i made like 5 new islands, but can't find a way to put them onto my modded box. plz help

any help at all would be very appriciated, thanks in advance. i've tried just about everything i know how to do in OFP editing. I've tried to use a hex editor and change the OPRW .wrp file to version 15, so it would work with XBOX... with no success! all that happened was the box froze, just like all the other times i've tried it.

that version 15 OPRW wrp file that I made with hex editor actually says if you try and load it in the WRPEdit program. it says that there is a version mismatch, just like the ones that are already on the XBOX.

sry this message was sooo long but, had to explain a lot so you might be able to help me.. i think, that it might be my config.cpp/config.bin file that might be wrong?? oh, if you want to know what i did to get the pc wrp v2 or v3 into an xbox wrp v15.. then here is what you edit with a hex editor :  right after the

( OPRW[02] 00 00 [0f 01] ) the version and the check are boxed... ???
all you have to do is edit those 3 numbers to get it to a different version!
like this

----------------------------------------
for version 2 OPRW wrp file :
  02 00 00 0f 01
for version 3 OPRW wrp file :
  03 00 00 0f 02
for version 15 OPRW wrp file :
  0f 00 00 48 42
----------------------------------------

and that's all but how do you put
the islands in the game, i must have
something wrong with the config.cpp
file or something!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: PC wrp to OFP Elite wrp??
« Reply #1 on: 05 Mar 2007, 13:49:20 »
OFP Elite .wrp format is not compatible with OFP PC .wrp format.

Changing the file header will not make them compatible, there are major differences in the format of the file itself.


Planck
I know a little about a lot, and a lot about a little.

Re: PC wrp to OFP Elite wrp??
« Reply #2 on: 06 Mar 2007, 02:00:12 »
Well then, how would i edited them to change the file format to xbox wrp format... if you wouldn't mind me asking.

thanks in advance

Re: PC wrp to OFP Elite wrp??
« Reply #3 on: 06 Mar 2007, 21:12:09 »
does anyone, or could someone perhaps tell me how to go about editing a pc wrp... to make it an xbox wrp. plz help!
i definitely need this info. cause i've made 7 islands now, and am currently working on one more as i speak today... really want to add them to the box!

thank in advance once again to any information i can get... that could lead me to a successful island converted for the xbox!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: PC wrp to OFP Elite wrp??
« Reply #4 on: 06 Mar 2007, 23:14:10 »
As you probably know an OFP .wrp file lists within it all textures used for the terrain.
Each terrain cell is then marked as using one of those particular textures.
The textures are .paa or .pac files.

Elite .wrp files do not texture the terrain in the same fashion.
The list within the file is a list of .bimpas files and each cell will be marked as using one of these listed .bimpas files.

The .bimpas file is a text file which list the number of texture passes and which texture and material files are used on each pass, for example:

Code: [Select]
class Pass0
{
material="LandText\mp.rvmat";
texture="LandText\mp.paa";
trAlpha=1.000000;
};
class Pass1
{
material="LandText\s_.rvmat";
texture="LandText\s_.paa";
blAlpha=1.000000;
};
class Pass2
{
material="LandText\no.rvmat";
texture="LandText\no.paa";
brAlpha=1.000000;
};
class Pass3
{
material="LandText\bu.rvmat";
texture="LandText\bu.paa";
tlAlpha=1.000000;
};

The .rvmat files are the material files and are also text files which list the materials used for any particular cell.

Example:

Code: [Select]
ambient[] = {1,1,1,1};
diffuse[] = {1,1,1,1};
forcedDiffuse[] = {0,0,0,0};
specular[] = {0.1,0.1,0.1,0};
specularPower = 10;

PixelShaderID = "Detail";

class Stage1
{
texture="cwr_detailmapy\barva_detail.paa";

uvSource="tex";
class uvTransform
{
aside[] = {12,0,0};
up[]    = {0,3,0};
dir[]   = {0,0,8};
pos[]   = {0,0,0};
};
};

As you can see it is not going to be a particularly quick or indeed worthwhile exercise to convert .wrp files from OFP to OFP: Elite.
It is possible I suppose if you are dedicated enough, but not an easy undertaking.


Planck
I know a little about a lot, and a lot about a little.

Re: PC wrp to OFP Elite wrp??
« Reply #5 on: 07 Mar 2007, 08:00:03 »
well planck,

thank you for the heads up, on how difficult a mission i undertook... and for
all of your help.

phil

EDIT: by the way, if i do manage to get this wrp converted over to xbox elite, i'll make a .net c++
program to patch the pc wrp files to xbox format... oh and thanks again.