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)
 
(7 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]]
$04 1 ?
$05 1 shield [[Vagrant Story:materials list|materials list]]
$06 1 ?
?
$08 4 pointer to section 1
$0c 4 lenght of section
$10 4 pointer to weapon section (same as [[Vagrant Story:WEP files|WEP files]])
$14 4 lenght of section
$18 4 pointer to shield section (same as [[Vagrant Story:WEP files|WEP files]])
$1c 4 lenght of section
$20 4 pointer to section 4
$24 4 lenght of section
$28 4 pointer to section 5
$2c 4 lenght of section
+ section 1
$0 ?
?
$4 1 num rows in table below (3d model parts?)
?
$f4 4 lenght of next block
$f8 ?
$0 ?
?
$46 table ? (FOR num rows), $10 bytes each
$0 1 [[Vagrant Story:bodyparts names list|bodyparts names list]]
$1 1 bits0-3: body part number
bits4-7: ?
$2 1 ?
?
?
?
+ weapon section
+ shield section
+ section 4
+ section 5


[[Category:Vagrant Story]]
== File Format ==
 
$00 1 idCharacter (as used by [[Vagrant Story:ZND files|ZND files]])
$01 1 idWeapon (as per [[Vagrant Story:weapons list|weapons list]])
$02 1 idWeaponCategory (as per [[Vagrant Story:weapon categories|weapon categories]])
$03 1 idWeaponMaterial (as per [[Vagrant Story:materials list|materials list]])
$04 1 idShield (as per [[Vagrant Story:armours list|armours list]])
$05 1 idShieldMaterial (as per [[Vagrant Story:materials list|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 [[Vagrant Story:SHP files|SHP format]])
+ weapon section (same as [[Vagrant Story:WEP files|WEP format]])
+ shield section (same as [[Vagrant Story:WEP files|WEP format]])
+ common animations ([[Vagrant Story:SEQ files|SEQ format]])
+ battle animations ([[Vagrant Story:SEQ files|SEQ format]])

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)