Vagrant Story/ZND files: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 38: Line 38:
  $17 1 ?  
  $17 1 ?  
  $34 weapon:
  $34 weapon:
  $0 $30 blade: [[Vagrant Story:equip data|equip data]]
  $0 blade: [[Vagrant Story:equip data|equip data]]
  $30 $30 grip: [[Vagrant Story:equip data|equip data]]
  $30 grip: [[Vagrant Story:equip data|equip data]]
  $60 $30 gem1: [[Vagrant Story:equip data|equip data]]
  $60 gem1: [[Vagrant Story:equip data|equip data]]
  $90 $30 gem2: [[Vagrant Story:equip data|equip data]]
  $90 gem2: [[Vagrant Story:equip data|equip data]]
  $c0 $30 gem3: [[Vagrant Story:equip data|equip data]]
  $c0 gem3: [[Vagrant Story:equip data|equip data]]
  $f0 other:
  $f0 other:
$0 1 [[Vagrant Story:materials list|materials list]]
$0 1 [[Vagrant Story:materials list|materials list]]
$1 1 drop chance/255
$1 1 drop chance/255
$2 ? ?
$2 ? ?
$3 ? ?
$3 ? ?
$4 $18str name
$4 $18str name
  $140 shield:
  $140 shield:
  $0 $30 shield: [[Vagrant Story:equip data|equip data]]
  $0 shield: [[Vagrant Story:equip data|equip data]]
  $30 $30 gem1: [[Vagrant Story:equip data|equip data]]
  $30 gem1: [[Vagrant Story:equip data|equip data]]
  $60 $30 gem2: [[Vagrant Story:equip data|equip data]]
  $60 gem2: [[Vagrant Story:equip data|equip data]]
  $90 $30 gem3: [[Vagrant Story:equip data|equip data]]
  $90 gem3: [[Vagrant Story:equip data|equip data]]
  $c0 other:
  $c0 other:
$0 1 [[Vagrant Story:materials list|materials list]]
$0 1 [[Vagrant Story:materials list|materials list]]
$1 1 drop chance/255
$1 1 drop chance/255
$2 ? ?
$2 ? ?
$3 ? ?
$3 ? ?
  $204 accessory:
  $204 accessory:
  $0 $30 accessory: [[Vagrant Story:equip data|equip data]]
  $0 accessory: [[Vagrant Story:equip data|equip data]]
  $30 other:
  $30 other:
$0 1 drop chance/255
$0 1 drop chance/255
$1 ? ?
$1 ? ?
$2 ? ?
$2 ? ?
$3 ? ?
$3 ? ?
  $238 FOR 6 bodypart: // $5c bytes each
  $238 FOR 6 bodypart: // $5c bytes each
  $0 2 HP
  $0 2 HP
Line 78: Line 78:
  $3 1 local skill number (0-3)
  $3 1 local skill number (0-3)
  $20 armor:
  $20 armor:
$0 $30 armor: [[Vagrant Story:equip data|equip data]]
$0 armor: [[Vagrant Story:equip data|equip data]]
$30 other:
$30 other:
$0 1 [[Vagrant Story:materials list|materials list]]
$0 1 [[Vagrant Story:materials list|materials list]]
$1 1 drop chance/255
$1 1 drop chance/255
$2 ? ? always 1 for armours?
$2 ? ? always 1 for armours?
$3 ? ?
$3 ? ?
  $54 6*1 distribution percentages across each of six body parts
  $54 6*1 distribution percentages across each of six body parts
  $55 ? ? unused?
  $55 ? ? unused?
Line 94: Line 94:
  $14 FOR {num_TIMs} TIM_data:
  $14 FOR {num_TIMs} TIM_data:
  $0 4 TIM lenght
  $0 4 TIM lenght
  $4 actual TIM data
  $4 standard TIM format
[[Category:Vagrant_Story]]
[[Category:Vagrant_Story]]

Revision as of 17:03, 18 August 2007

$0	4	pointer_MPD
$4	4	lenght_MPD \num_MPD = lenght_MPD/8\
$8	4	pointer_enemies
$c	4	lenght_enemies
$10	4	pointer_TIM
$14	4	lenght_TIM
$18	1	index in WAVE file list (SLUS $3b9b0)
$19	7	? unused?
$20	MPD_section:
	FOR {num_MPD} MPD:
		$0	4	LBA MPD
		$4	4	file size (bytes, rounded up to multiple of $800)
+	enemies_section:
	$0	4	num_enemies
	$4	FOR {num_enemies} ZUD:
		$0	4	LBA ZUD
		$4	4	file size (bytes, rounded up to multiple of $800)
	+	FOR {num_enemies} enemy: // $464 bytes each
		$0	2	? 
		$2	1	location in table for 3d model special effect
		$3	1	? 
		$4	$18str	name
		$1c	main:
			$0	2	HP
			$2	2	MP
			$4	1	STR
			$5	1	INT
			$6	1	AGI
			$7	1	?
			$8	1	? 
			$9	1	? 
			$a	1	? 
			$b	1	running speed
			?
			$14	1	? 
			$15	1	? 
			$16	1	? 
			$17	1	? 
		$34	weapon:
			$0	blade: equip data
			$30	grip: equip data
			$60	gem1: equip data
			$90	gem2: equip data
			$c0	gem3: equip data
			$f0	other:
				$0	1	materials list
				$1	1	drop chance/255
				$2	?	?
				$3	?	?
				$4	$18str	name
		$140	shield:
			$0	shield: equip data
			$30	gem1: equip data
			$60	gem2: equip data
			$90	gem3: equip data
			$c0	other:
				$0	1	materials list
				$1	1	drop chance/255
				$2	?	?
				$3	?	?
		$204	accessory:
			$0	accessory: equip data
			$30	other:
				$0	1	drop chance/255
				$1	?	?
				$2	?	?
				$3	?	?
		$238	FOR 6 bodypart: // $5c bytes each
			$0	2	HP
			$2	1s	AGI defensive bonus
			$3	1s?	chain evasion
			$4	4*1s	types
			$8	8*1s	affinities
			$10	FOR 4 skill: // $4 bytes each
				$0	1	skills list
				$1  	1	?
				$2	1	?
				$3	1	local skill number (0-3)
			$20	armor:
				$0	armor: equip data
				$30	other:
					$0	1	materials list
					$1	1	drop chance/255
					$2	?	? always 1 for armours?
					$3	?	?
			$54	6*1	distribution percentages across each of six body parts
			$55	?	? unused?
			$56	?	? unused?
		$460	4	enemy identifier, used by MPD
+	TIM_section:
	$0	4	lenght of section
	$4	12	? unused?
	$10	4	num_TIMs
	$14	FOR {num_TIMs} TIM_data:
		$0	4	TIM lenght
		$4	standard TIM format