How do I read this particular *.DAT file? (From Age of Empires 2)
<p>Basic info: I have a DAT file from Age of Empires 2 Conquerer, the expansion pack (Forgotten Empires).</p>

<p>Question: I want to be able to read the contents of it. I tried using FileReader method and FileInputStream - ObjectInputStream. The first one gives me a weird output "ì½|÷óÿ—..." and the other one gives me this error: java.io.StreamCorruptedException: invalid stream header: ECBD057C
Afaik, every DAT file is different and one needs to know how it was made.
I am noob at programming, so please excuse me if I haven't provided enough info.</p>

<p>More Details: Link to the file - <a href="http://www.4shared.com/file/6SkPpm6r/empires2_x1_p1.html" rel="nofollow">http://www.4shared.com/file/6SkPpm6r/empires2_x1_p1.html</a>
There are tools to read this file and edit it, however, I want to read it in a simple java program and extract what's inside of it. Tool to read it: <a href="http://aok.heavengames.com/blacksmith/showfile.php?fileid=11002" rel="nofollow">http://aok.heavengames.com/blacksmith/showfile.php?fileid=11002</a></p>

<p>Thanks a lot!</p>
