6 Commits

Author SHA1 Message Date
Matt Nadareski
d3acae2ed7 Cleanup
This is a bulk cleanup of all of the functions that have since been
surpassed by their desktop counterparts. A lot of effort went into these
original features but the effort that was expended to make the desktop
better far exceeded this. I thank the efforts of everyone who helped to
make the web version a reality in the first place since it provided the
strong base that SabreTools has become. This will still be maintained
purely as a way of checking files online as will be required when the
WoD DATs are properly recreated.
2016-07-28 11:02:20 -07:00
Matt Nadareski
18b5fb3e7d Make it read from file line by line
Larger files (e.g. CSDB and EAB) can overload the server because of how
much data it has to hold and process. Reading the files line by line
makes that drop to more than half of what it was.
2016-04-04 17:26:35 -07:00
Matt Nadareski
4ecd33c642 Bring import to parity with desktop version
Import now converts any non-XML DATs to XML before parsing it. This
makes the code to parse much cleaner (actally even cleaner than the
desktop version because of how XMLReader works). This also ended up
making the rv2xml function come into maturity.
2016-04-04 16:08:24 -07:00
Matt Nadareski
2c4e0ba588 Fix rv2xml
It turns out that I needed to understand why my regex was failing in
order to figure out why the XML wasn't writing out. The XML writer was
being initialized improperly, wasn't having some settings set, some of
the regex was wrong, lines needed to be trimmed, and logic needed to be
backported for rom/disk handling.
2016-04-04 03:18:09 -07:00
Matt Nadareski
0a695ae807 Add experimental RV to XML format conversion
This function is currently unused because local tests have been
inconclusive if it even works properly. This is based on code that is
found in the desktop version which functions in the correct manner.
2016-03-21 21:49:48 -07:00
Matt Nadareski
7ed8f5f06d Moving all files out of unnecessary subfolder 2016-03-18 01:42:48 -07:00