Loading MTA Race map with XML Loader
#2

Write your own parser. :P (or try other ones, there are a few includes). Depending on your XML reader it might just be the plugin itself being that slow. Some of them read & process the complete file with all sections, though there are just the half of the information needed.
I've done a MTA parser (which works with getchar) that loads about 20k objects quite quickly (compared to the mass of data).

Btw how long does loading take for you? Does the reader open/close the XML file with every xml_get_int? Closing/Opening takes its time too, especially for older harddrives.
Reply


Messages In This Thread
Loading MTA Race map with XML Loader - by iPrivate - 04.05.2015, 13:55
AW: Loading MTA Race map with XML Loader - by NaS - 04.05.2015, 16:25
Re: Loading MTA Race map with XML Loader - by iPrivate - 04.05.2015, 16:37
AW: Loading MTA Race map with XML Loader - by NaS - 04.05.2015, 16:56
Re: Loading MTA Race map with XML Loader - by iPrivate - 04.05.2015, 17:05
AW: Loading MTA Race map with XML Loader - by NaS - 04.05.2015, 17:15
Re: Loading MTA Race map with XML Loader - by iPrivate - 04.05.2015, 17:46
Re: Loading MTA Race map with XML Loader - by Ahmad45123 - 04.05.2015, 17:55
Re: Loading MTA Race map with XML Loader - by iPrivate - 04.05.2015, 18:22
AW: Loading MTA Race map with XML Loader - by NaS - 04.05.2015, 18:24

Forum Jump:


Users browsing this thread: 1 Guest(s)