Pack / Unpack DataCenter*.dat

Joined
Mar 29, 2019
Messages
1,280
Reaction score
1,396
Location
Colombia
Now compatible with older DataCenters (2012 | 32bit)

The novadrop-dc tool allows manipulation of TERA's data center files. It supports the following tasks:

- Extraction of data center files to data sheets with corresponding schemas.
- Reasonably accurate inference of XSD schemas from a packed data center file.
- Validation of data sheets against schemas, preventing many mistakes when authoring data sheets.
- Packing of data sheets in accordance with type and key information in schemas to a fresh data center file usable by the client.
- Format integrity verification of data center files, optionally with strict compliance checks.
- Support for various iterations of the data center format throughout the game's history.




Pack

Packs the data sheets in a directory to a data center file. If validation of the data sheets fails during packing, a list of problems will be printed and the exit code will be non-zero.

Usage example,

Code:
novadrop-dc pack --encryption-key 1C01C904FF76FF06C211187E197B5716 --encryption-iv 396C342C52A0C12D511DD0209F90CA7D DataCenter_Final_EUR DataCenter_Final_EUR.dat

Additional options,

--format

Available values: v3, v6x86, *v6x64 *(Default)

Unpack

Unpacks the data tree in a data center file to a series of data sheets and schemas in a directory. This command is primarily intended for unpacking official data center files into a form that is easily maintainable by humans.

Usage example,

Code:
novadrop-dc unpack --decryption-key 1C01C904FF76FF06C211187E197B5716 --decryption-iv 396C342C52A0C12D511DD0209F90CA7D --architecture x64 DataCenter_Final_EUR.dat DataCenter_Final_EUR

Additional options,

--architecture

Available values: x86, x64

Validate

Validates the data sheets in a directory against their schemas. If validation of the data sheets fails, a list of problems will be printed and the exit code will be non-zero.

Usage example,

Code:
novadrop-dc validate DataCenter_Final_EUR

Schema

Performs best-effort inference of the schemas for the data tree in a data center file. This may be useful when working with older data centers for which Novadrop's included schemas are not correct.

Usage example,

Code:
novadrop-dc schema DataCenter_Final_EUR.dat DataCenter_Final_EUR_Schema --decryption-key 7FD5171A957A55462B410F4BFA89927A --decryption-iv C0DC9724485AD02C812DB750B0BDB21F

Additional options,

--architecture

Available values: x86, x64

--subdirectories

Available values: n/a

--strategy

Available values: *conservative, aggressive *(Default)



Download:

(21/01/2024)




If you find this tool useful and you like to sponsor the development of it,

All Credits to (Alexrp & Roukanken42)
 
Last edited:
I unpacked the data center with your work from here https://forum.ragezone.com/threads/tera-dungeon-pack-92-04.1218445/. And there was an error when packaging.

Now compatible with older DataCenters (2012 | 32bit)






Pack



Usage example,

Code:
novadrop-dc pack --encryption-key 1C01C904FF76FF06C211187E197B5716 --encryption-iv 396C342C52A0C12D511DD0209F90CA7D DataCenter_Final_EUR DataCenter_Final_EUR.dat

Additional options,

--format

Available values: v3, v6x86, *v6x64 *(Default)

Unpack



Usage example,

Code:
novadrop-dc unpack --decryption-key 1C01C904FF76FF06C211187E197B5716 --decryption-iv 396C342C52A0C12D511DD0209F90CA7D --architecture x64 DataCenter_Final_EUR.dat DataCenter_Final_EUR

Additional options,

--architecture

Available values: x86, x64

Validate



Usage example,

Code:
novadrop-dc validate DataCenter_Final_EUR

Schema



Usage example,

Code:
novadrop-dc schema DataCenter_Final_EUR.dat DataCenter_Final_EUR_Schema --decryption-key 7FD5171A957A55462B410F4BFA89927A --decryption-iv C0DC9724485AD02C812DB750B0BDB21F

Additional options,

--architecture

Available values: x86, x64

--subdirectories

Available values: n/a

--strategy

Available values: *conservative, aggressive *(Default)



Download:

(21/01/2024)




If you find this tool useful and you like to sponsor the development of it,

All Credits to (Alexrp & Roukanken42)
Mb i use old novadrop?
 

Attachments

  • 1725759634461 - Pack / Unpack DataCenter*.dat - RaGEZONE Forums
    1725759634461.webp
    101 KB · Views: 49
Last edited:
changed the schemes. The same thing happens. Whenever I unpack and pack the original data center, everything is fine. But not from your pack
 

Attachments

  • 1725809379978 - Pack / Unpack DataCenter*.dat - RaGEZONE Forums
    1725809379978.webp
    112.4 KB · Views: 41
changed the schemes. The same thing happens. Whenever I unpack and pack the original data center, everything is fine. But not from your pack
If you have made changes to your xml data and it no longer matches the schema, you will need to edit the .xsd files yourself.
 
DataCenter_final_TW.dat pack failed
1730019828274 - Pack / Unpack DataCenter*.dat - RaGEZONE Forums
 
Back