OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: CAT_SHIT_ONE_MM on 28 Nov 2002, 16:46:55
-
Hi, I read numerous threads on how to add resistance stuff on your custom island but I understood non of them. Guyz are talking about plaching the cut O.pbo in the DTA file then remove it when you're playing the map.... Where is the "Cut O.pbo"? Then next I hear about Cutpbo.exe, what is that? Where could I get it? I need help. Thanks.
I also heard about changing the byte rates of the .pbo file with the hex editor.
-
just download a hex edit from www.download.com and then look in...damn, that's right, ofpinternals is down... well, u gotta remove some bytes or something from the o.pbo, then placed it in the DTA folder, cause if u place it in the addons folder it can be fucked up...and when u wana play OFP remove the o.pbo from the DTA folder...anyway, sorry but i can't remember what bytes u gotta remove :-\
Garcia
-
Make a copy of the O.pbo somewhere.........load it into a hex editor and remove the first 46 bytes.
The O.pbo begins thus:
00 73 72 65 56 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 70 72 6F 64 75 63 74 00 4F 46 50
3A 20 52 65 73 69 73 74 61 6E 63 65 00 00 41 6E
69 6D 5C 61 74 32 70 6B 6C 65 6B 31 2E 72 74 6D
00 00 00 00 00 00 00 00 00 00 00 00 00 B1 69 D6
The first 46 bytes are:
00 73 72 65 56 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 70 72 6F 64 75 63 74 00 4F 46 50
3A 20 52 65 73 69 73 74 61 6E 63 65 00 00
These need to be removed.
The Edited O.pbo will then start thus:
41 6E 69 6D 5C 61 74 32 70 6B 6C 65 6B 31 2E 72
74 6D 00 00 00 00 00 00 00 00 00 00 00 00 00 B1
69 D6 3C 14 EE 00 00 41 6E 69 6D 5C 61 74 32 70
6B 6C 65 6B 32 2E 72 74 6D 00 00 00 00 00 00 00
00 00 00 00 00 00 D4 69 D6 3C 60 2A 00 00 41 6E
Once you have removed the first 46 bytes save the edited O.pbo.
Place it in your OFP Dta folder, not in the Res Dta folder.
You may have to remove or rename it temporarily when playing the game though.
Some people find they dont have to do this, but I do, otherwise the game complains or doesn't run.
Remember to replace it or rename it back to O.pbo before continuing with any editing in WrpEdit, or WrpEdit will not be able to find it.
The game itself doesn't have a problem looking for your edited O.pbo, it uses the original one in Res\Addons instead.
Planck
-
THanks!! I got it to work!! Woohoo!! Again thanks very very much. Before, I had to unpbo the GOD DAIN thing and take out the model and put it into my island folder and that took up a hell lot of space. So, great help guyz! cheers!
-
C_S_O_MM
Might be a good idea to mark this thread as solved.
Planck