<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
	<title>Tutorials: Game Server Hosting Tutorials</title>
	<link>http://fearless-assassins.com/forum/tutorials/category/11-game-server-hosting-tutorials/</link>
	<pubDate>Thu, 09 Sep 2010 17:33:03 +0000</pubDate>
	<ttl>1800</ttl>
	<description></description>
	<item>
		<title>Converting NoQuarter XPSave Files fix for ReadDataFromFile error</title>
		<link>http://fearless-assassins.com/forum/tutorials/article/97-converting-noquarter-xpsave-files-fix-for-readdatafromfile-error/</link>
		<description><![CDATA[If you are going to move your NoQuarter server from Linux to Windows or Windows to Linux, you will encounter problems with your XPsave files. <br />
<br />
<pre class='prettyprint'>G_ReadDataFromFile: failed to read data to file (76/80)
G_xpsave_cleanup_expired_xp_file: failed to read xpsave file</pre><br />
Use the following Scripts to fix it:<br />
<br />
<br />
<br />
<span style='font-size: 17px;'>Convert XPSave files from Linux to Windows</span><br />
<br />
<pre class='prettyprint'>for f in *.xp
do
	head -c 12 $f &gt; $f.new
	echo -e -n '&#092;0000&#092;0000&#092;0000&#092;0000' &gt;&gt; $f.new 
	tail -c +13 $f &gt;&gt; $f.new 
	cp $f $f.old
	mv $f.new $f
done
</pre><br />
<br />
<span style='font-size: 17px;'>Convert XPSave files from Windows to Linux</span><br />
<br />
<pre class='prettyprint'>for f in *.xp
do
	head -c 12 $f &gt; $f.new
	tail -c +17 $f &gt;&gt; $f.new 
	cp $f $f.old
	mv $f.new $f
done</pre><br />
<br />
Or to be downloaded <a href='http://www.dev9.org/NQ_XPsave_Converter.zip' class='bbc_url' title='External link' rel='nofollow external'>here</a>. Run it either under Linux or Cygwin. Written in Bash.]]></description>
		<pubDate>Mon, 23 Aug 2010 01:12:44 +0000</pubDate>
		<guid isPermaLink="false">97</guid>
		<creator>Krauersaut</creator>
		<category>11</category>
	</item>
</channel>
</rss>