<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gothi &#187; .max</title>
	<atom:link href="http://www.gothi.co.uk/tag/max/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gothi.co.uk</link>
	<description>A badly chosen byte</description>
	<lastBuildDate>Sun, 25 Jul 2010 00:39:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>AR Max save format details coming soon</title>
		<link>http://www.gothi.co.uk/2007/07/ar-max-save-format-details-coming-soon/</link>
		<comments>http://www.gothi.co.uk/2007/07/ar-max-save-format-details-coming-soon/#comments</comments>
		<pubDate>Sun, 01 Jul 2007 09:14:00 +0000</pubDate>
		<dc:creator>gothi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.max]]></category>
		<category><![CDATA[Delphi]]></category>
		<category><![CDATA[Saves]]></category>

		<guid isPermaLink="false">http://gothi.co.uk/ar-max-save-format-details-coming-soon/</guid>
		<description><![CDATA[Thanks to some sterling work by Ross Ridge, who has already completed work on two projects I was looking at starting, the details of the .max PS2 save format have now been uncovered. I&#8217;m documenting the file structure and compression used and also preparing a DLL that will allow people to add .max support to [...]]]></description>
			<content:encoded><![CDATA[<p><img style="float:left; margin:0 10px 10px 0;" src="http://bp0.blogger.com/_iP-gn17tyQE/Rod2VWJqTfI/AAAAAAAAABM/C_Sqkvaq7Xw/s200/arMax.jpg" border="0" alt="Ar max packaging"id="BLOGGER_PHOTO_ID_5082160813606325746" />Thanks to some sterling work by Ross Ridge, who has already completed work on two projects I was looking at starting, the details of the .max PS2 save format have now been uncovered.</p>
<p>I&#8217;m documenting the file structure and compression used and also preparing a DLL that will allow people to add .max support to their programs.  As a taster here&#8217;s the .max header, part 1 of a 3 part system:<br />
<blockquote>type<br />TMaxheader = record<br />&nbsp; &nbsp;magic : array[0..11] of char; <font color="green">//Ps2PowerSave</font>  <br />&nbsp; &nbsp;checksum : integer; <font color="green">//CRC32 of entire file with checksum area treated as all 0&#8242;s</font><br />&nbsp; &nbsp;dirname : array[0..31] of char; <font color="green">//parent directory name</font><br />&nbsp; &nbsp;iconSysName : array[0..31] of char; <font color="green">//icon.sys text</font><br />&nbsp; &nbsp;compressedSize : integer; <font color="green">//size of compressed data</font><br />&nbsp; &nbsp;fileNum: integer; <font color="green">//number of files</font><br />&nbsp; &nbsp;length: integer; <font color="green">//size of uncompressed data</font><br />end;</p></blockquote>
<p>What really suprised me is that the .max format has no provision for recording file attributes! Unlike the .psu format which maintains file system attributes, cruicial for accurate restoration of files back to a PS2 memory card, the .max format appears to restore files with a generic set of attributes.  Luckily, or even by design, these attributes match those required by GTA saves but this runs the risk that a file is restored without the correct attributes and a different game will treat the save as corrupt.</p>
<p>
<p>On the same note, I&#8217;m concerned that the .max format does not support PSOne and Pocketstation files as these require a specific attribute to be set. More investigation is required for clarification.</p>
<!-- AdSense Now! V1.90 -->
<!-- Post[count: 2] -->
<div class="adsense adsense-leadout" style="text-align:center;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "pub-5905155743931046";
/* 468x15, created 10/04/10 */
google_ad_slot = "2193001556";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>]]></content:encoded>
			<wfw:commentRss>http://www.gothi.co.uk/2007/07/ar-max-save-format-details-coming-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
