home *** CD-ROM | disk | FTP | other *** search
/ Xentax forum attachments archive / xentax.7z / 7840 / WD_Repack.7z / WD_Batch tools.txt < prev    next >
Encoding:
Text File  |  2014-09-19  |  2.2 KB  |  31 lines

  1.  
  2. I've created these batchfiles for 2 reasons: do some reconverting to reduce the game size for backup purposes,
  3. and allow me to do these processes in batch form (to see some level of progress).
  4. Much of this is based on my experience with Sniper Elite 3 (among others).
  5.  
  6. Contents:
  7.  
  8. WD_Bink.bat            Rebuild BIK files to 50%
  9.  
  10. WD_XBT-Create_DDS.bat        Create XBT => DDS Files (using Trunc and xbt2dds)
  11.                 (you need the original 'header' to convert the DDS file back to XBT)
  12. WD_XBT-ConvertList_DDS.bat    Build DDS FileLists (differentiates between Alpha and other DDS types)
  13. WD_XBT-ConvertCRN.bat        Convert DDS to CRN (using crunch_x64)
  14. WD_XBT-ConvertDDS.bat        Convert CRN to DDS (using crunch_x64)
  15. WD_XBT-ConvertGraphicProc.bat    (actual conversion subroutine)
  16. WD_XBT-ConvertXBT.bat        Create DDS => XBT Files
  17.  
  18.  
  19. Some remarks/experiences:
  20. Currently, it does not seem possible to reimport ONLY those files one has changed
  21. (like one is - sometimes - able to do with Quickbms: "-r -w" parameters).
  22. Technically, this should be possible as long as the new file '=<' the original file
  23. (the original position and size seems to be known, which I conclude from other tools I've tried out)
  24. Repacking larger dat-files causes Watch Dogs to crash (either directly through its original DAT/FAT file or via Patch.dat).
  25. There is a Quickbms script that allows one to export a "flat" file-list with hex-named files. Unfortunately, this script does not allow to reimport...
  26.  
  27. It would be great though if one could simply play the game with extracted folder structures. This would probably also give a performance boost on some machines as well. But that does not seem to be possible right now (unless through the use of a modified EXE)...
  28. (apparently, I read somewhere that it is possible on the Xbox?!)
  29.  
  30. It seems that the sound files (.sbao) are also 'trailed' with an additional header of 55 bytes long. The author of [xbt2dds] could easily extend its functionality by either adding this option, or - more generically - allow a "start ~ end" byte position. (Trunc only allows an end-position).
  31. One could use [Sox] to convert these files into many different formats, such as MP3 and WAV (or reconvert in OGG). For Ogg-conversion, make sure to use v14.4 and "sndfile" library for better results.