Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Vagrant Story/ZND files: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
  $0 4 pointer to [MPD section]
$0 4 pointer_MPD
  $4 4 size of section
$4 4 lenght_MPD \num_MPD = lenght_MPD/8\
  $8 4 pointer to [enemies section]
$8 4 pointer_enemies
$c 4 size of section
$c 4 lenght_enemies
$10 4 pointer to [TIM section]
$10 4 pointer_TIM
  $14 4 size of section
$14 4 lenght_TIM
  $18 8 ?
$18 1 index in WAVE file list (SLUS $3b9b0)
  [MPD section]
$19 7 ? unused?
  [enemies section]
$20 MPD_section:
[TIM 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 $30 blade: [[Vagrant Story:equip data|equip data]]
$30 $30 grip: [[Vagrant Story:equip data|equip data]]
$60 $30 gem1: [[Vagrant Story:equip data|equip data]]
$90 $30 gem2: [[Vagrant Story:equip data|equip data]]
$c0 $30 gem3: [[Vagrant Story:equip data|equip data]]
$f0 other:
$0 1 [[Vagrant Story:materials list|materials list]]
$1 1 drop chance/255
$2 ? ?
$3 ? ?
$4 $18str name
$140 shield:
$0 $30 shield: [[Vagrant Story:equip data|equip data]]
$30 $30 gem1: [[Vagrant Story:equip data|equip data]]
$60 $30 gem2: [[Vagrant Story:equip data|equip data]]
$90 $30 gem3: [[Vagrant Story:equip data|equip data]]
$c0 other:
$0 1 [[Vagrant Story:materials list|materials list]]
$1 1 drop chance/255
$2 ? ?
$3 ? ?
$204 accessory:
$0 $30 accessory: [[Vagrant Story:equip data|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 [[Vagrant Story:skills list|skills list]]
$1 1 ?
$2 1 ?
$3 1 local skill number (0-3)
$20 armor:
$0 $30 armor: [[Vagrant Story:equip data|equip data]]
$30 other:
$0 1 [[Vagrant Story:materials list|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 actual TIM data
[[Category:Vagrant_Story]]
[[Category:Vagrant_Story]]

Revision as of 16:49, 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	$30	blade: equip data
			$30	$30	grip: equip data
			$60	$30	gem1: equip data
			$90	$30	gem2: equip data
			$c0	$30	gem3: equip data
			$f0	other:
			$0	1	materials list
			$1	1	drop chance/255
			$2	?	?
			$3	?	?
			$4	$18str	name
		$140	shield:
			$0	$30	shield: equip data
			$30	$30	gem1: equip data
			$60	$30	gem2: equip data
			$90	$30	gem3: equip data
			$c0	other:
			$0	1	materials list
			$1	1	drop chance/255
			$2	?	?
			$3	?	?
		$204	accessory:
			$0	$30	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	$30	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	actual TIM data