GRAF:Ultimate Baseball Online DAT: Difference between revisions
imported>Mr.Mouse mNo edit summary |
imported>Mr.Mouse mNo edit summary |
(No difference)
| |
Revision as of 21:16, 26 October 2006
Back to index | Edit this page
DAT
{{GRAFPageMisc{{ subst:#if: Archive | {{subst:!}}Archive }}{{ subst:#if: Little Endian | {{subst:!}}Little Endian }}}}
Format Specifications
// Header
- char {16} - Magic Word (NKZIP)
- char {16} - Version or name of archive
- uint32 {4} - Total size of actual file data
- uint32 {4} - Number of files in the archive
- // For each file
- uint32 {4} - Size of file
- char {260} - File name (260 bytes reserved
- char {X} - Filedata
Notes and Comments
Each .DAT file has the DAT packer/unpacker CRDat.exe stored as first file. You can use it to create or unpack .dat files.
MultiEx BMS Script
<bms ext="dat" games="'Ultimate Baseball Online'" platforms="'PC'" version="1.0" author="Mr.Mouse" silence="no" verbose="no"> ImpType SFileSize ; GetDString MW 16 0 ; GetDString AN 16 0 ; Get AllData Long 0 ; Get FileNum Long 0 ; For T = 1 To FileNum ; SavePos FSO 0 ; Get FS Long 0 ; SavePos PO 0 ; Math PO += 1 ; GoTo PO 0 ; GetDString FileName 259 0 ; SavePos FO 0 ; Log FileName FO FS 0 FSO ; Math FO += FS ; GoTo FO 0 ; Next T ; </bms>
Supported by Programs
Documentation
http://forum.xentax.com/viewtopic.php?t=2075
Games
Ultimate Baseball Online