Palantir and AOL workaround

It occurred to me that some of you may not have access to the forum
for one reason or another, so here is the fix I'm referring to
(copied exactly from the forum post):

Here's what I've figured out so far about these XML's that won't
work with Palantir...

Right click on the XML file, and select edit. If the file has spaces
between every character, then it won't work. That is usually what
you have when you see that message about an invalid character at
position 0. You can fix a file that is corrupt in this manner.

In Notepad (which is where it should have opened to edit on a
Windows system) select Edit, then Replace. In the first box (what
you're replacing) type two spaces. In the second box (what you're
replacing it with) type $. Select Replace All, and let it go to town
on it. When done, edit and replace again, but this time the first
box should be a single space, and the second box should be nothing
(don't type anything into that box). Do a Replace All, and it will
grind for a while taking out all of the spaces in the file. When
done, Edit and Replace again, this time replacing all of your $ with
a single space. This method will get all of the extra spaces out of
the file, while putting the necessary spaces back in.

Your next problem with this file will be the non-standard
characters. Any name that has a weird character in it will not allow
the file to be read. I don't know why this is just yet, but it only
happens in a file that is corrupt in the manner I described at the
top. You'll have to find and replace all of those characters with
something standard, like a letter instead of a letter with a
whatever hovering over it (you get the idea). An easy way to find
these characters is to double click on the XML file and let Internet
Explorer try to open it. It will give you an error and the line will
be displayed. The line stops where the character is. Go back and
edit the file again, change that character, save, then try to open
it again by double clicking. You will eventually see the entire file
displayed correctly with no errors. Once that happens, Palantir will
accept the file. The names won't be perfect, because you had to
adjust them, but at least the map, numbers, etc. will be correct.

Of the people on my grudge team, only the guy using AOL got a file
that was corrupt in this manner. Everyone else's worked just fine.

I hope all of this actually helps someone. Palantir is a fine
program as long as the file you try to feed it is correct.

Dustin

--- In mepbmlist@yahoogroups.com, "Dustin Brothers" <dlbros@e...>
wrote:

My Notepad method of fixing AOL-corrupted XML files, posted on the
forum, does allow both Automagic and Palantir to import the XML.
The only problem I foresee is since my fix requires the

replacement

of special letter characters with their normal equivalent,

Automagic

imports character names exactly as you make them in the XML. I
don't know if orders sent in with Automagic have to have the

special

letters in the character name. Clint? This could be a problem

for

characters like Murazor, where a special letter should appear in

the

first five letters. Other than this potential problem, the fix
works great (confirmed on WinXP and 2000 systems at any rate).

Dustin

--- In mepbmlist@yahoogroups.com, "pdeglopper2000"

<pdeglopper@g...>

wrote:
> > Removing all the 'line feeds' (or 'paragraph marks') may fix
things just
> > fine for Palantir, but Automagic will start to have fits with
this. The
> > character info should probably import fine, but Automagic

looks

for
> > those 'line feeds' to determine the different sections of the
XML file
> > in order to sort it into manageable chunks. The 1st section is
> > nation/character info, the 2nd is economy, etc.
> >
> > Mike Mulka
>
> Oh, none of these edits to the files to make Palantir able to
import
> the files work at all with Automagic. Just adding the special
> characters (the initial attempt at a fix I described Friday)

makes

the
> file unreadable by Automagic. Fortunately, the raw AOL files

seem

to
> be importable by Automagic, so as long as you keep a pre-edit

copy

or
> do the Automagic import prior to making the edits it should be

ok.

···

> --- In mepbmlist@yahoogroups.com, "Urzahil" <urzahil@d...> wrote:
>
> -Peter

One solution that has worked has been for us to Zip files. We'll be doing that after today. It also reduces the size of the file (a little) so saving cash ... :slight_smile:

Clint