<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Hacking HoMM IV saved game</title>
	<atom:link href="http://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/</link>
	<description>source control for my (useless) knowledge</description>
	<lastBuildDate>Fri, 06 Jan 2012 16:44:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: yiming</title>
		<link>http://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/comment-page-1/#comment-5732</link>
		<dc:creator>yiming</dc:creator>
		<pubDate>Sun, 03 Oct 2010 08:20:10 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/#comment-5732</guid>
		<description>So I&#039;ve come to the conclusion now that it can&#039;t be done.  The same thing that made hacking these save files easy also makes converting them very difficult -- for one thing, all of the endian-ness is wrong.  A skill store as 00 00 00 04 on the Mac is being stored as 04 00 00 00 on Windows, due to the big-endian PPC and little-endian Intel processors.  Furthermore, not all values are stored in reverse order, so I can&#039;t just go and reverse every 4-byte block or something.  Unless there&#039;s an Intel version of HoMM IV, I&#039;m afraid these save game files are just not exchangeable.

The highscore.dat and carryover.dat files are exchangeable though.  You can still preserve your high scores and your campaign completion status ... just not your campaign, unfortunately.</description>
		<content:encoded><![CDATA[<p>So I&#8217;ve come to the conclusion now that it can&#8217;t be done.  The same thing that made hacking these save files easy also makes converting them very difficult &#8212; for one thing, all of the endian-ness is wrong.  A skill store as 00 00 00 04 on the Mac is being stored as 04 00 00 00 on Windows, due to the big-endian PPC and little-endian Intel processors.  Furthermore, not all values are stored in reverse order, so I can&#8217;t just go and reverse every 4-byte block or something.  Unless there&#8217;s an Intel version of HoMM IV, I&#8217;m afraid these save game files are just not exchangeable.</p>
<p>The highscore.dat and carryover.dat files are exchangeable though.  You can still preserve your high scores and your campaign completion status &#8230; just not your campaign, unfortunately.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yiming</title>
		<link>http://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/comment-page-1/#comment-5703</link>
		<dc:creator>yiming</dc:creator>
		<pubDate>Thu, 30 Sep 2010 05:02:02 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/#comment-5703</guid>
		<description>as far as I can tell, both the Mac version and the Windows version are gzip files (of slightly different flavor).  There may be a version number encoded in there that I can change (which would be the easy way).  Otherwise, it&#039;ll get more difficult to find the closest matching version on the Windows side.</description>
		<content:encoded><![CDATA[<p>as far as I can tell, both the Mac version and the Windows version are gzip files (of slightly different flavor).  There may be a version number encoded in there that I can change (which would be the easy way).  Otherwise, it&#8217;ll get more difficult to find the closest matching version on the Windows side.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yiming</title>
		<link>http://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/comment-page-1/#comment-5639</link>
		<dc:creator>yiming</dc:creator>
		<pubDate>Sun, 26 Sep 2010 03:01:04 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/#comment-5639</guid>
		<description>I&#039;ve been working on this problem myself on and off for the last year or so.  Will post another entry if I figure this out.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been working on this problem myself on and off for the last year or so.  Will post another entry if I figure this out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hooby</title>
		<link>http://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/comment-page-1/#comment-5638</link>
		<dc:creator>hooby</dc:creator>
		<pubDate>Sun, 26 Sep 2010 02:53:57 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/#comment-5638</guid>
		<description>Or, better yet would be to increase the performance of battles.
I am trying to run the game on a macbook (intel) with rosetta, and they slow down quite a bit during the AI turn.</description>
		<content:encoded><![CDATA[<p>Or, better yet would be to increase the performance of battles.<br />
I am trying to run the game on a macbook (intel) with rosetta, and they slow down quite a bit during the AI turn.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hooby</title>
		<link>http://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/comment-page-1/#comment-5637</link>
		<dc:creator>hooby</dc:creator>
		<pubDate>Sun, 26 Sep 2010 02:46:34 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/#comment-5637</guid>
		<description>This is great!

Any idea how to convert a save file from mac version 2.3 to get it to work on windows version 3.0?

Thank you!</description>
		<content:encoded><![CDATA[<p>This is great!</p>
<p>Any idea how to convert a save file from mac version 2.3 to get it to work on windows version 3.0?</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MeYnA</title>
		<link>http://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/comment-page-1/#comment-5189</link>
		<dc:creator>MeYnA</dc:creator>
		<pubDate>Wed, 18 Aug 2010 00:32:33 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/#comment-5189</guid>
		<description>It works great ! thanks :)</description>
		<content:encoded><![CDATA[<p>It works great ! thanks <img src='http://blog.yimingliu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yiming</title>
		<link>http://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/comment-page-1/#comment-451</link>
		<dc:creator>yiming</dc:creator>
		<pubDate>Sun, 12 Apr 2009 22:31:21 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/#comment-451</guid>
		<description>thanks, friend!  That works out well.</description>
		<content:encoded><![CDATA[<p>thanks, friend!  That works out well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CanUtility</title>
		<link>http://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/comment-page-1/#comment-446</link>
		<dc:creator>CanUtility</dc:creator>
		<pubDate>Fri, 10 Apr 2009 19:37:16 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/#comment-446</guid>
		<description>Search for the first occurance of your player name (not your heroes, the name you are playing the game as).

The 4-byte integers below that represent...

 gold
 wood
 ore
 crytal
 gems
 mercury
 sulfur

...to get 65,535 gold and 255 of each resource set them to...

00 00 00 ff
ff 00 00 ff
00 00 00 ff
00 00 00 ff
00 00 00 ff
00 00 00 ff
00 00 00 ff

Enjoy, CanUtility.</description>
		<content:encoded><![CDATA[<p>Search for the first occurance of your player name (not your heroes, the name you are playing the game as).</p>
<p>The 4-byte integers below that represent&#8230;</p>
<p> gold<br />
 wood<br />
 ore<br />
 crytal<br />
 gems<br />
 mercury<br />
 sulfur</p>
<p>&#8230;to get 65,535 gold and 255 of each resource set them to&#8230;</p>
<p>00 00 00 ff<br />
ff 00 00 ff<br />
00 00 00 ff<br />
00 00 00 ff<br />
00 00 00 ff<br />
00 00 00 ff<br />
00 00 00 ff</p>
<p>Enjoy, CanUtility.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yiming</title>
		<link>http://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/comment-page-1/#comment-33</link>
		<dc:creator>yiming</dc:creator>
		<pubDate>Mon, 20 Oct 2008 03:26:00 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/#comment-33</guid>
		<description>Glad to hear it, anon!  Happy to know there are still some of us out there :)</description>
		<content:encoded><![CDATA[<p>Glad to hear it, anon!  Happy to know there are still some of us out there <img src='http://blog.yimingliu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/comment-page-1/#comment-32</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sun, 19 Oct 2008 11:37:00 +0000</pubDate>
		<guid isPermaLink="false">https://blog.yimingliu.com/2007/02/03/hacking-homm-iv-saved-game/#comment-32</guid>
		<description>Great, got to try this!! I still keep playing, in fact i do play from HOMM I to HommIV :-)</description>
		<content:encoded><![CDATA[<p>Great, got to try this!! I still keep playing, in fact i do play from HOMM I to HommIV <img src='http://blog.yimingliu.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

