2

Basic info: I have a DAT file from Age of Empires 2 Conquerer, the expansion pack (Forgotten Empires).

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.

More Details: Link to the file - http://www.4shared.com/file/6SkPpm6r/empires2_x1_p1.html 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: http://aok.heavengames.com/blacksmith/showfile.php?fileid=11002

Thanks a lot!

4

1 回答 1

0

如果您想在线阅读,请转到NBT 编辑器。将文件放在那里(从文件资源管理器中)。文件可能是可读格式。

于 2020-11-21T10:26:50.370 回答