Skip to content

Instantly share code, notes, and snippets.

@MaKiPL
Created April 25, 2019 19:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save MaKiPL/be588d083efc4e95cf9a928db2ba9937 to your computer and use it in GitHub Desktop.
Save MaKiPL/be588d083efc4e95cf9a928db2ba9937 to your computer and use it in GitHub Desktop.
COALESCED PS3 - Silent Hill Downpour [WIP]
Looks like the internet is completely empty now on all the data about PS3 big-endian coalesced BIN files. For example:
the popular ME3Explorer tool expect completely different structure. Another example provides of exporting and importing files with AutoIt3 script by swuforce. AutoIt? Really...
Therefore given example of SHGAME\COOKEDPS3\COALESCED_INT.BIN gives this structure:
BIG-ENDIAN
uint fileCount
sint abs(fileNameSize*2)
wchar fileName[abs(fileNameSize)] //includes null terminator. fileNameSize corresponds to real bytes rather than wchar count. Therefore "game" in wchar/unicode is actually 8 bytes
uint fileSize
Python script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment