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/ZUD files: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
 
m (Xkeeper moved page Vagrant Story:ZUD files to Vagrant Story/ZUD files: normalize subpages and titles)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Zone Unit Data
{{subpage|game=Vagrant Story}}


  $00 1 ?
ZUD files, i.e. Zone Unit Data, are archives. They group various files relating to a single character together in one file. ZUD files have a single [[Vagrant Story:SHP files|SHP file]] which defines the character, a ZUD file may have up to two [[Vagrant Story:WEP files|WEP files]], where the first is the 3d model for the weapon and the second is the shield. Also a ZUD file may have up to two [[Vagrant Story:SEQ files|SEQ files]] that define the common (unarmed) animation and the battle (armed) animations specific to the weapon currently equipped.
  ?
 
  $03 1 weapon [[Vagrant Story:materials list|materials list]]
== File Format ==
  $04 1 ?
 
  $05 1 shield [[Vagrant Story:materials list|materials list]]
  $00 1 idCharacter (as used by [[Vagrant Story:ZND files|ZND files]])
  $06 1 ?
$01 1 idWeapon (as per [[Vagrant Story:weapons list|weapons list]])
  ?
  $02 1 idWeaponCategory (as per [[Vagrant Story:weapon categories|weapon categories]])
  $08 4 pointer to section 1
  $03 1 idWeaponMaterial (as per [[Vagrant Story:materials list|materials list]])
  $0c 4 lenght of section
  $04 1 idShield (as per [[Vagrant Story:armours list|armours list]])
  $10 4 pointer to weapon section (same as [[Vagrant Story:WEP files|WEP files]])
  $05 1 idShieldMaterial (as per [[Vagrant Story:materials list|materials list]])
  $14 4 lenght of section
  $06 1 Unknown
  $18 4 pointer to shield section (same as [[Vagrant Story:WEP files|WEP files]])
  $07 1 padding (Always == 0)
  $1c 4 lenght of section
  $08 4 ptrCharacterSHP
  $20 4 pointer to section 4
  $0C 4 lenCharacterSHP
  $24 4 lenght of section
  $10 4 ptrWeaponWEP
  $28 4 pointer to section 5
  $14 4 lenWeaponWEP
  $2c 4 lenght of section
  $18 4 ptrShieldWEP
  + section 1
  $1C 4 lenShieldWEP
$0 ?
  $20 4 ptrCommonSEQ
?
  $24 4 lenCommonSEQ
$4 1 num rows in table below (3d model parts?)
  $28 4 ptrBattleSEQ
?
  $2C 4 lenBattleSEQ
$f4 4 lenght of next block
$f8 ?
  + character section (same as [[Vagrant Story:SHP files|SHP format]])
$0 ?
  + weapon section (same as [[Vagrant Story:WEP files|WEP format]])
?
  + shield section (same as [[Vagrant Story:WEP files|WEP format]])
$46 table ? (FOR num rows), $10 bytes each
  + common animations ([[Vagrant Story:SEQ files|SEQ format]])
$0 1 [[Vagrant Story:bodyparts names list|bodyparts names list]]
  + battle animations ([[Vagrant Story:SEQ files|SEQ format]])
$1 1 bits0-3: body part number
bits4-7: ?
$2 1 ?
?
?
?
  + weapon section
  + shield section
  + section 4
  + section 5

Latest revision as of 02:42, 24 January 2024

This is a sub-page of Vagrant Story.

ZUD files, i.e. Zone Unit Data, are archives. They group various files relating to a single character together in one file. ZUD files have a single SHP file which defines the character, a ZUD file may have up to two WEP files, where the first is the 3d model for the weapon and the second is the shield. Also a ZUD file may have up to two SEQ files that define the common (unarmed) animation and the battle (armed) animations specific to the weapon currently equipped.

File Format

$00	1	idCharacter (as used by ZND files)
$01	1	idWeapon (as per weapons list)
$02	1	idWeaponCategory (as per weapon categories)
$03	1	idWeaponMaterial (as per materials list)
$04	1	idShield (as per armours list)
$05	1	idShieldMaterial (as per materials list)
$06	1	Unknown
$07	1	padding (Always == 0)
$08	4	ptrCharacterSHP
$0C	4	lenCharacterSHP
$10	4	ptrWeaponWEP
$14	4	lenWeaponWEP
$18	4	ptrShieldWEP
$1C	4	lenShieldWEP
$20	4	ptrCommonSEQ
$24	4	lenCommonSEQ
$28	4	ptrBattleSEQ
$2C	4	lenBattleSEQ

+ character section (same as SHP format)
+ weapon section (same as WEP format)
+ shield section (same as WEP format)
+ common animations (SEQ format)
+ battle animations (SEQ format)