• Rise from your gwave!

Compressed DAT files on many Saturn Games

Discussion in 'Saturn Dev' started by UltraDev, Aug 7, 2001.

  1. UltraDev

    UltraDev New Member

    I have ran into archive files, that contain many other files. How would I go about opening them. I have tried Winrar and Winace I haven't bothered with WinZip b/c it's so lame.
  2. IceDigger

    IceDigger Founder Staff Member

    they tend to be compressed in a developer- or gamespecific format.. none of the common stuff.
  3. UltraDev

    UltraDev New Member

    Well, do you know what I can do about it?
  4. IceDigger

    IceDigger Founder Staff Member

    figure out the compression algorythm or ask the programmers for the extraction tool.
  5. TakaIsSilly

    TakaIsSilly New Member

    Just a polite guess. Read some docs about .LHA compression. Japanese have an fixation with that compression format ^^;. Also, just because it's a huge file, it is not necessarely a compressed archive. Games coded for both ST-V and Saturn have the tendency to be huge files. They're not compressed, they're just modified ROM images.
  6. whodailli

    whodailli New Member

    well actualy if its a huge file an its a .dat then its most likely a mpeg....basicaly a movie file...
  7. CyberWarriorX

    CyberWarriorX New Member

    Not necessarily.

    For example, in Langrisser III and DE, there are a couple of pretty big dat files. In III's case, a 12 meg one, and Langrisser DE's, a 4 meg. What are those huge files used for you might ask? Text. Graphics possibly as well. Amazing how wasteful NCS got when they decided to make games for saturn. Though for the most part, it seems alot of companies just use dat files for some kind of data compilation. Whether it be text, graphics, sound, etc.

    My best suggestion is just to go through the file with a good hex editor and see if you can find any headers or possibly any kind of pointer tables at the begining of the file. If you find a table, see if you can trace where the various entries are pointing to, and you might be able to figure out what kind of data you're dealing with.

    Cyber Warrior X
  8. RadSil

    RadSil New Member

    A question to some people that might know... what file format has the header "LZ00"? LZH compression?
  9. ExCyber

    ExCyber Staff Member

    Looking at a description of the LZH file format, it seems that LZH files do not start with "LZ00" (it might appear somewhere in the header, but I'm not sure). The signature may signify some kind of custom format based on Lempel-Ziv compression, though. The Lempel-Ziv compression scheme is based on recognizing repeating blocks in a stream of data. A description of the algorithm can be found at: http://www.data-compression.com/lossless.html#lz

    For source code that decompresses Lempel-Ziv, gzip ( http://www.gzip.org ) should have an LZ decompression routine, though it's probably for a specific implementation of LZ.
  10. TakaIsSilly

    TakaIsSilly New Member

    Ah, that's the format I was talking about. LZH is also an implementation of those routines, and err... I saw free routines for it years ago.

    Anyway, try and find a dictionary section on the files. If it matches the LZH version, maybe you're lucky ^^;
  11. TakaIsSilly

    TakaIsSilly New Member

Share This Page