Reading dump files using Visual Studio is a pretty handy thing for developing, but Joymax wanted to include even more information about previous events. Storing an entire trace into the dump file would easily exceed the average hard drive capacity of 2005. Joymax chose the way of the potato, aka. the easiest way. Instead of using the a userstream for storing their data, they simply appended a really basic text-log to the end.
I've written a tool that extracts the additional data Joymax appended to the dump files.
It also produces a file with all these messages. If you open it with an editor capable of processing EUC-KR or CP-949, you'll get correct encoded messages you can simply paste into Google Translate.
Note that not all dump files contain such data. Some might result in dumping endless lines of nonsense.
for the csro-r client you'll have another block with system info at the end it's just a string + offset, the debug messages block start offset is right before the system info block, the rest is the same
here's some c# code
Code:
using (var stream = new MemoryStream(fileBytes) { Position = size - 4 })
using (var reader = new BinaryReader(stream))
{
var offset = reader.ReadInt32();
stream.Position = offset;
if (reader.ReadInt16() == 21327) // "OS" string
{
stream.Position = offset;
var osBytes = reader.ReadBytes(size - offset - 4);
var osString = Encoding.GetEncoding(949).GetString(osBytes);
// print os
stream.Position = offset - 4;
offset = reader.ReadInt32();
}
stream.Position = offset;
var msgCount = reader.ReadInt32();
var sysTime_Year = reader.ReadInt16();
var sysTime_Month = reader.ReadInt16();
var sysTime_DayOfWeek = reader.ReadInt16();
var sysTime_Day = reader.ReadInt16();
var sysTime_Hour = reader.ReadInt16();
var sysTime_Minute = reader.ReadInt16();
var sysTime_Second = reader.ReadInt16();
var sysTime_Milliseconds = reader.ReadInt16();
var startTime = reader.ReadInt32();
while (msgCount-- > 0)
{
var msgTime = (reader.ReadUInt32() - startTime) / 1000;
var msgSize = reader.ReadUInt16();
var msgBytes = reader.ReadBytes(msgSize);
var msg = Encoding.GetEncoding(949).GetString(msgBytes);
// print msg
}
}
Reader with Foxit PDF reader is not faulty? 04/18/2014 - Technical Support - 0 Replies Today I read a file into PDF with Foxit Reader software that error message
"D: \ study \ ***********.pdf
Couldnot open file.
File not found "
This error alone today because last week my newly found normal users do not see the error. I tried many PDF files are so off. I brought it to another computer open.
You know how to help me see this error!
anyone post here the file of editing file.. the .edf file 07/13/2013 - RF Online - 3 Replies please post here... so that i can download again.. i guess the old one thread was gone.. i've been search for an hour in this section.. but i can't see it... thanks..
[PROBLEM]Cannot dump. No dump device defined. 07/30/2011 - Metin2 Private Server - 5 Replies Moin,
bin ja eigentlich nicht der, der bei Problemen direkt ins Forum rennt,
aber seit kurzem macht FreeBSD sehr eigenartige dinge, z.s. im folgenden Bild:
http://img337.imageshack.us/img337/9282/faild.png
Wenn ich 3-4 mal Reboote Startet er, aber vorher auch nicht...
Und jetzt kommts, das Passiert mit ALLEN SF's die ich besitze, d.h.
neu machen kann ich vergessen... Kann da jemand Abhilfe schaffen?