ScriptUO
Scripting Resources & Utilities => Stealth Client => Stealth archive => Topic started by: slyone on October 20, 2014, 06:40:05 PM
-
I did a hexdump of profiles.dat and see a bunch of nulls in addition to the name of each of my profiles as well as a couple of the settings I chose for the profile.
Why is profiles.dat a binary file?
-
Right now I don't have the code to look at it, but by heart I can tell you that profiles are internally handled as records and those records are serialized when they need to be saved and de-serialized when Stelath need to load them.
Serializing is much more easy than to define your custom file format and the write code to handle it. ;)
-
Quote of the Headdeveloper :
21 Oktober bei 7:58 :
because read&write of fixed-size records from binary file directly to structures is fastest))
-
Quote of the Headdeveloper :
21 Oktober bei 7:58 :
because read&write of fixed-size records from binary file directly to structures is fastest))
This is what I said, isn't it? :)
-
Quote of the Headdeveloper :
21 Oktober bei 7:58 :
because read&write of fixed-size records from binary file directly to structures is fastest))
This is what I said, isn't it? :)
And i asked Vizit0r to verify it ;D
-
Thanks for the info! Now, unless you can reveal this record, time to get to work on reverse engineering what the record looks like...
-
Problem is you'd then have to reverse the standard Delphi serialization algorithm.
-
Thanks for the info! Now, unless you can reveal this record, time to get to work on reverse engineering what the record looks like...
It looks like this:
slyone's Credit History: <value>
slyone's Credit Card Information: <array of values>
slyone's USA SSN: <value>
slyone's UO account history: <array of values>
slyone's emails: <array of values>
slyone's personal information: <array of values>