what is the file extension

06/16/2011 12:13 lilnani#1
hello


what is the file extension for data.001 i use winrar but it give me error

any one know to edit the game models
06/16/2011 17:47 Anime Creature#2
Quote:
Originally Posted by lilnani View Post
hello


what is the file extension for data.001 i use winrar but it give me error

any one know to edit the game models
where the hell do you think you could easily extract the data files with winrar?
these are compressed/mixed data stream files and for now, only the rappelz client can extract them
these files include truevision x-files (textures), dx meshes (3d objects) and much more
i know this because ive tried to extract them, and got only the truevision x-files (usually they were these numbers when u get hit, or when you block or been healed =D)

read these files sequential, but they have headers, checksums, etc... not easy to explain it^^
06/16/2011 17:52 Musta²#3
lool , you can't just use winrar
06/16/2011 18:11 Anime Creature#4
i could write an example on how to read them, but this is now for programmers =)
its not really working as you want, it only should show you how you could do it
i tried it in PHP and in Borland Delphi Pascal

put these files on a PHP enabled webserver (i.e.: WAMP) along with a data file and run control.php (which then uses image.php to build an image)
you can edit width, height, etc

control.php
Code:
<? 
	//
	// written by: Animecreature
	//
	$filename = "";
	$position = 0;
	$width    = 640;
	$height   = 480;

	if (isset($_POST['Update']))
	{
		$filename = $_POST['Filename'];
		$position = $_POST['Position'];
		$width    = $_POST['Width'];
		$height   = $_POST['Height'];
	}

	if (isset($_POST['Back']))
	{
		$filename = $_POST['Filename'];
		$position = $_POST['Position'] - (($_POST['Width'] * $_POST['Height']) * 4);
		$width    = $_POST['Width'];
		$height   = $_POST['Height'];
	}

	if (isset($_POST['Next']))
	{
		$filename = $_POST['Filename'];
		$position = $_POST['Position'] + (($_POST['Width'] * $_POST['Height']) * 4);
		$width    = $_POST['Width'];
		$height   = $_POST['Height'];
	}

	$command  = "image.php?f=$filename&p=$position&w=$width&h=$height";
?>
<form action="control.php" method="POST">
 <table cellspacing="0" cellpadding="0" border="0">
  <tr>
   <td align="left" valign="top">
    <table cellspacing="0" cellpadding="0" border="0">
     <tr>
      <td align="left" valign="top"><b>Filename:</b></td>
      <td align="left" valign="top"><input type="text" name="Filename" value="<?=$filename?>" /></td>
     </tr>
     <tr>
      <td align="left" valign="top"><b>Position:</b></td>
      <td align="left" valign="top"><input type="text" name="Position" value="<?=$position?>" /></td>
     </tr>
     <tr>
      <td align="left" valign="top"><b>Width:</b></td>
      <td align="left" valign="top"><input type="text" name="Width" value="<?=$width?>" /></td>
     </tr>
     <tr>
      <td align="left" valign="top"><b>Height:</b></td>
      <td align="left" valign="top"><input type="text" name="Height" value="<?=$height?>" /></td>
     </tr>
     <tr>
      <td align="left" valign="top">&nbsp;</td>
      <td align="left" valign="top"><input type="submit" name="Update" value="Update" /></td>
     </tr>
     <tr>
      <td align="left" valign="top">&nbsp;</td>
      <td align="left" valign="top"><input type="submit" name="Back" value="Back" /></td>
     </tr>
     <tr>
      <td align="left" valign="top">&nbsp;</td>
      <td align="left" valign="top"><input type="submit" name="Next" value="Next" /></td>
     </tr>
    </table>
   </td> 
   <td align="left" valign="top">
    <img src="<?=$command?>" border="0" alt="" title="">
   </td>
  </tr>
 </table>
</form>
image.php
Code:
<? 
	//
	// written by: Animecreature
	//
	$filename = (isset($_GET['f']) ? $_GET['f'] : "");
	$position = (isset($_GET['p']) ? $_GET['p'] : 0);
	$width    = (isset($_GET['w']) ? $_GET['w'] : 640);
	$height   = (isset($_GET['h']) ? $_GET['h'] : 480);
	header('Content-type: image/png');
	$image = imagecreatetruecolor($width, $height);
	$color = imagecolorallocate($image, 0, 0, 0);
	imagefill($image, 0, 0, $color);
	imagecolordeallocate($image, $color);
	if (file_exists($filename))
	{
		$handle = fopen($filename, "r");
		if ($handle)
		{
			fseek($handle, $position, SEEK_SET);
			for($y = 0; $y < $height; $y++)
			{
				for($x = 0; $x < $width; $x++)
				{
					$red   = ord(fread($handle, 1));
					$green = ord(fread($handle, 1));
					$blue  = ord(fread($handle, 1));
					$alpha = ord(fread($handle, 1));
					$color = imagecolorallocate($image, $red, $green, $blue);
					imagesetpixel($image, $x, $y, $color);
					imagecolordeallocate($image, $color);
				}
			}
			fclose($handle);
		}
	}
	imagepng($image);
	imagedestroy($image);
?>
06/18/2011 06:14 Tetris#5
Me and a friend of mine are working on a 3rd party, out of game web based GM tool so we don't have to rely on the glitchy gameserver to add items, and such. We needed to extract data packs and found an un-packer that was useful for us. First off, As mentioned before by Soleil, use HJ Spliter to combine the data packs, then use this Unpacker to open the data pack and extract.

[Only registered and activated users can see links. Click Here To Register...].

The Unpacker contains a program inside it called hyper ripper which I believe does all the work itself. There is a wealth of images in there, so please enjoy.