PlayStation EDAT SDAT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "{{GRAFPageHeader}} == EDAT, SDAT == * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Big Endian <br> * ''' Signature...")
imported>Ikskoks
 
(37 intermediate revisions by the same user not shown)
Line 13: Line 13:
//header
//header
4 bytes (char) - signature // "NPD\x00"
4 bytes (char) - signature // "NPD\x00"
4 bytes (uint32) - version  // 1, 2, 3 or 4
4 bytes (uint32) - license type  // 0 - debug
                                // 1 - network license
                                // 2 - local license
                                // 3 - free
4 bytes (uint32) - application type  // 0 - module
                                    // 1 - executable
                                    // 0x20 - module (update for disc based game)
                                    // 0x21 - executable (update for disc based game)
                                    // 0x30 - unknown
                                    // 0x31 - unknown




Line 20: Line 32:
// footer
// footer
16 bytes (char) - version signature // e.g. "SDATA 3.3.0.W" (Driver San Francisco)
16 bytes (char) - version signature // e.g. "SDATA 3.3.0.W" (Driver San Francisco)
                                            "EDATA 3.3.0.L" (Star Wars: Bounty Hunter)
                                     //      "SDATA 4.0.0.W" (Beyond Two Souls)
                                     //      "SDATA 4.0.0.W" (Beyond Two Souls)
</pre>
</pre>
Line 31: Line 44:


* This file format occurs in '''PlayStation 3''' games.
* This file format occurs in '''PlayStation 3''' games.
* SDAT file is like EDAT file, but with static key.
* It seems that SDAT files are often kept with original filenames. So for example file "subtitles.astd.sdat" can become "subtitles.astd" after decryption.


=== Games ===  
=== Games ===  
List of games using this file format:
List of games using this file format:
* Beyond Two Souls (PS3)
* Beyond Two Souls (PS3) (*.SDAT)
* Clannad (PS3) (*.SDAT)
* Driver San Francisco (PS3) (*.SDAT)
* Driver San Francisco (PS3) (*.SDAT)
* Mafia 2 (PS3) (*.SDAT)
* Star Wars: Bounty Hunter (PS3) (*.EDAT)


=== Compatible Programs ===  
=== Compatible Programs ===  


* [https://www.sendspace.com/file/w5mtcm npdtool - edat/sdat tool (+ source code)] / [https://drive.google.com/file/d/1cMp3n96YsjVOp5V5K1IB-8lQ6_9b3gMC/view?usp=sharing mirror1]
* [https://www.psx-place.com/attachments/edat_decrypt-zip.26457/ edat_decrypt.zip]
* [https://www.psx-place.com/attachments/edat_jar-zip.26460/ edat.jar]
* [https://www.psx-place.com/attachments/make_npdata_v2-_xp-win8-rar.26464/ make_npdata]
* [https://www.sendspace.com/file/w5mtcm npdtool - edat/sdat tool (+ source code)] / [https://drive.google.com/file/d/1cMp3n96YsjVOp5V5K1IB-8lQ6_9b3gMC/view?usp=sharing mirror1] / [https://www.mirrored.to/files/1VI625HY/ mirror2] / [https://www.mirrored.to/files/NUUBDXDI/ mirror3] / [https://www.psx-place.com/attachments/npdtoolv4c-rar.26458/ mirror4]
* [https://github.com/inaina/sdata-tool SDATA Tool]
* [https://www.psx-place.com/attachments/unedat_new-rar.26459/ unedat]
* [https://www.psx-place.com/resources/trueancestor-edat-rebuilder-by-jjkkyu.34/ TrueAncestor EDAT Rebuilder by JjKkYu]
 
=== See Also ===
* [https://www.psdevwiki.com/ps3/Talk:EDAT_files EDAT files discussion (PS3 Dev Wiki)]
* [https://www.psdevwiki.com/ps3/EDAT_files EDAT files description (PS3 Dev Wiki)]
* [https://github.com/RPCS3/rpcs3/blob/master/rpcs3/Crypto/unedat.cpp unedat.cpp]
<br/><br>
<br/><br>




[[Category:Complete Complete|PlayStation EDAT SDAT]]
[[Category:Complete WIP|PlayStation EDAT SDAT]]
[[Category:Platform PS3|PlayStation EDAT SDAT]]
[[Category:Platform PS3|PlayStation EDAT SDAT]]
[[Category:CE Both|PlayStation EDAT SDAT]]
[[Category:CE Both|PlayStation EDAT SDAT]]

Latest revision as of 12:56, 22 January 2022

Back to index | Edit this page

EDAT, SDAT

  • Format Type : Archive
  • Endian Order : Big Endian
  • Signature : NPD


Format Specifications

//header
4 bytes (char) - signature // "NPD\x00"
4 bytes (uint32) - version  // 1, 2, 3 or 4
4 bytes (uint32) - license type  // 0 - debug
                                 // 1 - network license
                                 // 2 - local license
                                 // 3 - free
4 bytes (uint32) - application type  // 0 - module
                                     // 1 - executable
                                     // 0x20 - module (update for disc based game)
                                     // 0x21 - executable (update for disc based game)
                                     // 0x30 - unknown
                                     // 0x31 - unknown



// TODO


// footer
16 bytes (char) - version signature // e.g. "SDATA 3.3.0.W" (Driver San Francisco)
                                            "EDATA 3.3.0.L" (Star Wars: Bounty Hunter)
                                    //      "SDATA 4.0.0.W" (Beyond Two Souls)

MultiEx BMS Script

Not written yet.

Notes and Comments

  • This file format occurs in PlayStation 3 games.
  • SDAT file is like EDAT file, but with static key.
  • It seems that SDAT files are often kept with original filenames. So for example file "subtitles.astd.sdat" can become "subtitles.astd" after decryption.

Games

List of games using this file format:

  • Beyond Two Souls (PS3) (*.SDAT)
  • Clannad (PS3) (*.SDAT)
  • Driver San Francisco (PS3) (*.SDAT)
  • Mafia 2 (PS3) (*.SDAT)
  • Star Wars: Bounty Hunter (PS3) (*.EDAT)

Compatible Programs

See Also