Commit 960ec593 authored by dragontamer lance's avatar dragontamer lance

added some usage tips

parent fb36a985
......@@ -5,6 +5,21 @@ Total WIP and probably badly written. But I can convert to and from the
original format and arrive with the exact same checksum, so I'm doing
something right I guess.
The `csv2ascii` program can also be used to get an idea of what lines need
editing in other save data files, but it cannot convert them in such a way
that they can be programmatically translated back, and the `ascii2csv` program
may not correctly translate them back, at least not yet. Still, you can read
the output to get an idea of what you need to edit in the raw file.
I wrote this program extremely quickly and somewhat badly, so that's not really
too surprising. As far as C goes, this is most definitely not production
quality. It may have even been better had I written this in a different,
higher level language. But that's not what I did.
If you want to see what awful C text parsing looks like, look no further.
I used zero `malloc()`'s, but that shouldn't be an issue and at least it means
there shouldn't be any memory leaks.
Each of the comma separated numbers is actually just a single character of
an ascii string, represented in decimal form for some reason.
......@@ -28,3 +43,10 @@ In OS X, you can run emacs from a terminal and use the emacs instructions.
There may be other ways, but I don't use OS X often enough to know them for
sure. `[email protected]` may also be worth a try here.
Some sample usage:
$ ./csv2ascii FSPossessionSave > plaintext.txt
(edit the file `plaintext.txt`)
$ ./ascii2csv plaintext.txt > FSPossessionSave
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment