Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

Crossfire Rez archives

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Crossfire Rez archives

Post by finale00 »

The contents of this post was deleted because of possible forum rules violation.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 667 times
Contact:

Re: Crossfire Rez archives

Post by aluigi »

except for the first header the rest is changed.
for example where should be located the information table there is a small header probably encrypted (blowfish?)
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Crossfire Rez archives

Post by Ekey »

Trishty
advanced
Posts: 63
Joined: Mon Jul 05, 2010 2:37 pm
Has thanked: 7 times
Been thanked: 15 times
Contact:

Re: Crossfire Rez archives

Post by Trishty »

All info i have:
PHP extractor for LTB

Code: Select all

<?php
function hexToStr($hex){ $string=''; for ($i=0; $i < strlen($hex)-1; $i+=2) { $string .= chr(hexdec($hex[$i].$hex[$i+1])); }return $string;}


$rez = file_get_contents("RF016.REZ"); // get the rez as a string

$ltbs = explode(hexTostr('0100090000000000'),$rez); //make an array containing the ltbs, its header is cut off, but we gonna fix that

foreach($ltbs as $k => $v) {
if($k==0) continue; //skip the first, its the rez header
$f = fopen("model_".$k.".ltb","a+"); //save as model_NUMBER
fwrite($f,hexTostr('0100090000000000 ').$v); //write the header + the ltb itself
fclose($f);
}
sleep(3000);
?>
(Tex) dtx: 00000000FBFFFFFF
(Model) ltb: 0100090000000000
(Sound) wav: 52494646
(Map) dat: the first "55000000" (I think, but when i try import to NOLF2 i got error report)

Name of file at the end of it in hex

Old List
Image

Someone on MPGH already make Extractor for all CF rez (files have name "not same as model_01,..." i think), but he didn't released it
Import files to NOLF2
http://www.mpgh.net/forum/194-crossfire ... r-2-d.html
Post Reply