<?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>Blaine Helmick</title>
	<atom:link href="http://blainehelmick.com/v2/feed/" rel="self" type="application/rss+xml" />
	<link>http://blainehelmick.com/v2</link>
	<description>Technology Professional (i.e.: Geek)</description>
	<lastBuildDate>Tue, 06 Apr 2010 03:16:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fixing file locks on OSX from the command line</title>
		<link>http://blainehelmick.com/v2/mac/fixing-file-locks-on-osx-from-the-command-line/</link>
		<comments>http://blainehelmick.com/v2/mac/fixing-file-locks-on-osx-from-the-command-line/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 03:16:03 +0000</pubDate>
		<dc:creator>Blaine</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blainehelmick.com/v2/?p=61</guid>
		<description><![CDATA[Ran into a problem where a huge number of files copied from a Windows system to a removable drive on my Mac. The [...]]]></description>
			<content:encoded><![CDATA[<p>Ran into a problem where a huge number of files copied from a Windows system to a removable drive on my Mac. The files could be read, but not modified in any way.</p>
<p>For example, if I attempted to run the command &#8220;chmod 755 filename&#8221; it would return &#8220;Operation Not Permitted.&#8221; Same if I attempted more mundane commands such as touch.</p>
<p>Turns out sometimes Mac sets the &#8220;locked&#8221; flag on these files. I can&#8217;t tell you why, but I can tell you it did. This flag is different than standard POSIX permissions and I could not see them from the command line.</p>
<p>After some Google searching and reading man pages, the fix is easy.</p>
<p>From the command line, switch the folder that contains your data (/Volumes/DriveName if it&#8217;s an entire drive) and type:</p>
<p><code>chflags -R nouchg *</code></p>
<p>Found this information here: <a href="http://osxfaq.com/Tutorials/LearningCenter/AdvancedUnix/ugp2/page2.ws">http://osxfaq.com/Tutorials/LearningCenter/AdvancedUnix/ugp2/page2.ws</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blainehelmick.com/v2/mac/fixing-file-locks-on-osx-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hamed&#8217;s Hints for Civilization III</title>
		<link>http://blainehelmick.com/v2/games/hameds-hints-for-civilization-iii/</link>
		<comments>http://blainehelmick.com/v2/games/hameds-hints-for-civilization-iii/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 19:00:49 +0000</pubDate>
		<dc:creator>Blaine</dc:creator>
				<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://blainehelmick.com/v2/?p=49</guid>
		<description><![CDATA[Hamed Mokhtar was kind      enough to submit some helpful hints for Civ3. Try them out and let me [...]]]></description>
			<content:encoded><![CDATA[<p><a href="mailto:hamed_mokhtar@yahoo.com">Hamed Mokhtar</a> was kind      enough to submit some helpful hints for Civ3. Try them out and let me know how you do! And if you have some tips of your own, <a href="mailto:me@blainehelmick.com">send them in</a>.</p>
<ol>
<li>Select at least a Large Map.<br />
If you&#8217;re computer is a bit slow however, stay away from the Huge maps        because it can bog down a slow CPU.</li>
<li>Make sure and choose the maximum number of other Civs. Chances are        they&#8217;ll beat up each other instead of you.</li>
<li>Choose a Scientific or Religious civilization coupled with        Industriousness. You want to start building culture in your cities ASAP. A        scientific or religious civilization can build either Temples or Libraries        quickly. This will give you an early edge in cultural expansion and give        an overall boost to production.</li>
<li>Go for the Golden Age wonders! If you can get a Golden Age you will        have a massive production and scientific advantage. Religious        civilizations may get a Golden Age from building the Pyramids. So if you        want an early lead, this is the way to go.</li>
<li>Make sure and trade your excess resources with other civilizations.        But not for Gold. Always try and get science advances. Science production        will benefit you more in the long run.</li>
<li>Never trade away science advancements that give world wonders unless        you&#8217;ve already built it. However, a good trick on this is to wait until        your almost done and then trade the science away. Typically any science        advancement that leads to a world wonder will be quite sought after, so        you may be able to get two or three other advancements in exchange.</li>
<li>Don&#8217;t forget to build an Army. A high culture isn&#8217;t quite enough to        keep your would-be enemies at bay. A good military backing can be a        tremendous boost to your negotiations. You&#8217;ll be surprised how nice other        civs are when there&#8217;s an Army or two parked in your cities.</li>
<li>Don&#8217;t start a major war until you have the Tank. You want this BEFORE        your opponents. The tank can literally run over everyone. Of course if you        picked Germany then build Panzers ASAP. This basically means you have to        go deliver some serious beat-down to another unfortunate Civ.</li>
<li>Make your wars quick! Build up a force and try to take out the other        Civ in about 5 turns. If they have cities on another continent, make sure        you make peace with them. Long drawn out wars will cause war-weariness in        your cities and that will be bad. But, short quick wars will actually        cause your people to love you and build additions to your palace!</li>
<li>Get the Great Library at all costs! Even if you&#8217;ve managed to keep        ahead of everyone else in Scientific research, you need to keep the Great        Library out of everyone else&#8217;s hands. If you can&#8217;t pull this off, you need        to seriously consider restarting.</li>
<li>Do whatever it takes to get a Golden Age no matter what time point in        the game. You will always reap major reward by doing so.</li>
<li>It&#8217;s a good idea to keep a Leader around to hurry production in case        you need it. Even though you might be tempted to build an Army with him,        having that Leader around is an &#8216;ace in the hole&#8217; should you find yourself        just shy of a very critical goal.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blainehelmick.com/v2/games/hameds-hints-for-civilization-iii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Civilization 2 Strategies</title>
		<link>http://blainehelmick.com/v2/games/civilization-2-strategies/</link>
		<comments>http://blainehelmick.com/v2/games/civilization-2-strategies/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 18:46:04 +0000</pubDate>
		<dc:creator>Blaine</dc:creator>
				<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://blainehelmick.com/v2/?p=38</guid>
		<description><![CDATA[


How to play in Deity Mode and win!





I consider myself to be a Civ II expert, having defeated the game    [...]]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="0" width="590">
<tbody>
<tr>
<td>How to play in Deity Mode and win!</td>
</tr>
<tr>
<td><img src="http://www.blainehelmick.com/x-objects/images/trans.gif" border="0" alt="" width="464" height="15" /></td>
</tr>
<tr>
<td>I consider myself to be a Civ II expert, having defeated the game      numerous times in Deity mode through both world domination and scientific      discovery. There IS a way to do it&#8230; However it requires a lot of      time, patience, and energy.One important thing to remember; Deity mode is      not easy. You will not win every time, even after you understand and adopt      my strategies. There are some small luck factors involved and if certain factors      conspire against you, such as bad starting spots or poor rolls while attacking,      you very well may lose. Don&#8217;t let this discourage you. Your success will      come in time.</p>
<p><strong><a name="StartingPoints">Starting Points</a></strong><br />
First start the game on Deity mode, with a large map,  seven civilizations,      and barbarians set to restless tribes (anything lower than this setting will decrease your      overall score at the end of the game, if you want a bonus, set it to Raging      Hordes). Trust me, you want that large map! The actual map settings and      terrain are entirely up to you.</p>
<p>If when the game begins  you receive any advances other than irrigation,      mining, and roads, RESTART! The game tries to make up for crappy starting      positions by giving you advances; this is not good in Deity mode. Ideally      your starting position would be isolated on an island that&#8217;s big enough to      support your soon to be empire. If you start on an island that is less than      20&#215;20 squares of land, RESTART! You need room for expansion and anything smaller just      won&#8217;t cut it. NOTE: It doesn&#8217;t have to be a 20&#215;20 square; do the math and if      there isn&#8217;t that many land tiles then restart. I know you can&#8217;t see all the      land yet, but as soon as you explore the surrounding terrain you should consider      restarting if the land is too small. The only exception would be if a massive      land mass is only one or two squares away, you might be able to park a      trireme <img src="http://www.blainehelmick.com/games/images/civ2_trireme.gif" border="0" alt="" width="40" height="39" align="top" /> in the      fjord and use it to shuttle units across the gap.</p>
<p>Once you&#8217;re happy with your starting location, immediately place your settler.      In the interest of time just place your settler without moving it. The      computer will typically give you a starting location near or on a resource      square. With your other remaining settler, immediately scout your next city      placement.</p>
<p><strong><a name="CityPlanning">City Planning</a><br />
</strong>When planning to grow your city with improvements it is important to remember the one      overall problem: You only receive one content citizen. This means that any      city that grows beyond the population of <em>one</em> will immediately have that      second citizen in a state of discontent unless something is done to prevent      it. So when first starting the game, build two warriors. One to      explore, the other to defend (and maintain) the city. Government types such as Despotism,      Monarchy, and Communism impose martial law. So every defensive unit in the      city will turn one unhappy citizen content. When you&#8217;re starting out don&#8217;t      bother to build anything other than settlers. The advantage of a settler      unit at this stage is it will decrease your population by one. So as long as      you have a couple of warriors standing guard and imposing martial law you      shouldn&#8217;t have much of a discontent problem. More on this in City Placement.</p>
<p>When you do eventually want to start improving your city, here&#8217;s the      order in which improvements should be constructed: Temple &#8211; Marketplace &#8211; Library &#8211; Barracks &#8211;      City Walls &#8211; Bank &#8211; Factory. Keep in mind that I don&#8217;t start building      anything until at least 1 A.D. Everything prior to that is spent cranking out      settlers. If it&#8217;s 1000 A.D. and you have nothing more on that list to build      then you&#8217;re building too fast. The only exception to any of these building      rules is world wonders which I&#8217;ll talk about later. Don&#8217;t bother with      Courthouses, Coliseums, or Aqueducts unless you have a special situation      that warrants them. They take up too many city resources for the benefit      they provide. &#8220;But wait!&#8221; you say. &#8220;Why no aqueducts? Won&#8217;t my city never grow beyond      eight?&#8221; Yes, that&#8217;s right, you don&#8217;t need a city bigger than eight where      you&#8217;re goin&#8217;. ^_^</p>
<p><strong><a name="CityPlacement">City Placement</a> and Resource Squares</strong><br />
You need to choose whether your city is going to focus primarily  on      science or production. If you want to go with production, surround yourself      with as many of the tiles below as possible. At the very least, have      one of the indicated tiles plus a good mix of forest, plains, and grassland with      shields. If it&#8217;s all grassland and plains with no resources it&#8217;ll be a      worthless effort.</p>
<p>If this is going to be a shield producing city, place it within working distance      (within 2 diagonal squares) of      one of the following resource types:</p>
<table id="AutoNumber1" border="0" cellspacing="5" cellpadding="0" bordercolor="#111111">
<tbody>
<tr>
<td>Buffalo</td>
<td><img src="http://www.blainehelmick.com/games/images/civ2_buffalo.gif" border="0" alt="" width="64" height="32" /></td>
<td>1 Food, 3 Shields, 0 Trade<br />
Road adds 1 Trade &#8211; Irrigation adds 1 food<br />
Always look for these as they are a good trade off between food, trade,          and shields.</td>
</tr>
<tr>
<td>Desert Oil</td>
<td><img src="http://www.blainehelmick.com/games/images/civ2_desertoil.gif" border="0" alt="" width="64" height="32" /></td>
<td>0 Food, 4 Shields, 0 Trade<br />
Road adds 1 Trade &#8211; Irrigation adds 1 Food<br />
Mining Adds Shield of 1 but negates irrigation.<br />
Because of its low food yield this square is profitable but hard to use.          If its anywhere near a food resource then this is a beautiful sight          indeed.</td>
</tr>
<tr>
<td>Glacier Oil</td>
<td><img src="http://www.blainehelmick.com/games/images/civ2_glaiceroil.gif" border="0" alt="" width="64" height="32" /></td>
<td>Same as Desert Oil except you cannot mine it for additional          resources. Avoid placing a city with too many tundra squares unless          there are adequate food resource squares nearby to sustain you.</td>
</tr>
<tr>
<td>Iron</td>
<td><img src="http://www.blainehelmick.com/games/images/civ2_iron.gif" border="0" alt="" width="64" height="32" /></td>
<td>Same as Desert Oil, except the addition of a road doesn&#8217;t increase          trade and you cannot irrigate.</td>
</tr>
<tr>
<td>Peat</td>
<td><img src="http://www.blainehelmick.com/games/images/civ2_peat.gif" border="0" alt="" width="64" height="32" /></td>
<td>1 Food, 4 Shields, 0 Trade<br />
Resource cannot be improved with roads or irrigation.</td>
</tr>
</tbody>
</table>
<p>If you want to go with scientific production, surround yourself with as many      of the following resources as possible:</p>
<table id="AutoNumber2" border="0" cellspacing="5" cellpadding="0" bordercolor="#111111">
<tbody>
<tr>
<td>Furs</td>
<td><img src="http://www.blainehelmick.com/games/images/civ2_furs.gif" border="0" alt="" width="64" height="32" /></td>
<td>2 Food, 0 Shields, 3 Trade<br />
Irrigation adds 1 to Food<br />
Road adds 1 to Trade</td>
</tr>
<tr>
<td>Gems</td>
<td><img src="http://www.blainehelmick.com/games/images/civ2_gems.gif" border="0" alt="" width="64" height="32" /></td>
<td>1 Food, 0 Shields, 4 Trade<br />
Resource cannot be improved with roads or irrigation..</td>
</tr>
<tr>
<td>Spice</td>
<td><img src="http://www.blainehelmick.com/games/images/civ2_spice.gif" border="0" alt="" width="64" height="32" /></td>
<td>3 Food, 0 Shields, 4 Trade<br />
Resource cannot be improved with roads or irrigation. This is a good          square for its food production and trade. Remember, he who controls the          spice, controls the universe.</td>
</tr>
<tr>
<td>Wine</td>
<td><img src="http://www.blainehelmick.com/games/images/civ2_wine.gif" border="0" alt="" width="64" height="32" /></td>
<td>1 Food, 0 Shields, 4 Trade<br />
Irrigation adds 1 food.<br />
Mining adds 3 Shields, but negates irrigation.<br />
If you build a mine on this square it is a wonderful square!</td>
</tr>
</tbody>
</table>
<p>Whenever possible, place your city next to one of the following squares.      They give an excellent balance between food, shields, and trade. It&#8217;s even better      if you can build a city with one of these and another aforementioned      resource square. Keep in mind that if you build on top of one of these tiles you      will receive one additional food and trade. However, don&#8217;t build on top of one of      these if you sacrifice your reach to another resource square.</p>
<table border="0" cellspacing="5" cellpadding="0">
<tbody>
<tr>
<td>Pheasant</td>
<td><img src="http://www.blainehelmick.com/games/images/civ2_phesant.gif" border="0" alt="" width="64" height="32" /></td>
<td>3 Food, 2 Shields, 0 Trade<br />
Technically this is an extra food square, but because it adds two more          food than the traditional forest and outputs two shields, this is an          overall good square to be near. A city starting next to one of these          will grow fast and output fast.</td>
</tr>
<tr>
<td>Silk</td>
<td><img src="http://www.blainehelmick.com/games/images/civ2_silk.gif" border="0" alt="" width="64" height="32" /></td>
<td>1 Food, 2 Shields, and 3 Trade<br />
Technically this has better scientific output, but because it&#8217;s on a          forest square it also puts out 2 shields. This is, in my opinion, the          best overall land square. It gives a little of everything. If you see          one of these, build near it.</td>
</tr>
<tr>
<td>Whale</td>
<td><img src="http://www.blainehelmick.com/games/images/civ2_whale.gif" border="0" alt="" width="64" height="32" /></td>
<td>2 Food, 2 Shields, and 3 Trade<br />
This is quite possibly the best square to be near. The food produced is          good, the shields produced are good, and the scientific benefit from the          increased trade is amazing. If you see one of these, build your city.</td>
</tr>
</tbody>
</table>
<p><img src="http://www.blainehelmick.com/games/images/civ2_good_location.gif" border="0" alt="" width="280" height="146" align="right" />This is      an example of an awesome city location. The city is in reach of four      resource squares. This is uncommon, but look for spots like this and you can      definitely benefit! With this city layout it&#8217;s possible to get 17 shields      with a mine on the hills and a desert square with a population of eight!</p>
<p>All of the other resource types are food resources. While they&#8217;re      definitely handy, they only make a city grow fast. In this case, you need to      control your city growth or you&#8217;ll be in deep trouble with malcontent      citizens. Food resources will come in handy if you&#8217;re surrounded by forest      because you can make up for the lower food yield from a forest and still      reap the benefit of a forest&#8217;s shield production.</p>
<p><strong>Civilization Advances<br />
</strong>When researching advances, always follow this order: Monarchy &#8211;      Philosophy &#8211; Republic &#8211; Democracy. These are your primary targets. If you      cannot research anything leading to this, then research towards your      secondary targets which are: Magnetism, Leadership, Tactics, Monotheism, and      Espionage</p>
<p>The reason why you want to focus on the four listed as primary targets is      that you can reach them without having a lot of prerequisites. In addition,      if you follow this path you will reach philosophy first which gives you a      free advance. It&#8217;s worth it! You want to let the Great Library give you      everything in between. More on that later&#8230;</p>
<p><strong>Governmental Strategy<br />
</strong>It shouldn&#8217;t be difficult to notice that the primary civilization      advances you need to research are systems of government. As SOON as you      discover them, switch to them. You want to maximize your scientific output      during the beginning stages of the game. Republic and Democracy give you a      significant scientific boost.</p>
<p>Your goal with government is to have at least one significant military      advance over your enemies. The only way to do that is to lay a massive      scientific foundation through government and THEN research your weapons. The      Great Library will fill in the rest.</p>
<p>Once you have reached Democracy, built the Statue of Liberty or research Fundamentalism.      Be sure that you are at least able to produce Dragoons and then switch to      Fundamentalism. &#8220;But wait!? Doesn&#8217;t that decrease your scientific output by      half?&#8221; Why yes it does. But it won&#8217;t matter. Fundamentalism is the ONLY way      to reach your goal of world domination.</p>
<p>As a Fundamentalist government, you don&#8217;t have to pay any shields for troop upkeep; they take care of themselves. You never have unhappy citizens (you can sell off your temples for extra cash). You gain a significant cash flow boost, so much so that you won&#8217;t know what to do with all your money (I like to buy cities with mine, but we&#8217;ll get to that later on). Once you go to Fundie, your goal is now military production. Do nothing but build as many troops as you can and send them off for a little raping and pillaging action.</p>
<p><strong>Diplomacy<br />
</strong>I love diplomacy. It is so easy to exploit the game here. First of all,      don&#8217;t ally with anyone, it&#8217;s just a hassle. In fact, don&#8217;t even bother with      diplomacy until you&#8217;re ready to conquer the world. Try to avoid trading      civilization advances because you&#8217;ll eventually get it through the great      library. The computer trades advances with other nations so freely this is      almost always the case. Use diplomacy to get yourself the one thing that      truly matters. Knowledge of geography! If you know where they are, you      won&#8217;t have to go looking for them! This allows you to attack an enemy      quickly without wasting time. Offer them a gift of money, as      much as you can. Once they reach Enthusiastic status, they&#8217;ll usually give      you their map. Sometimes they will refuse, but if you get them up to      Worshipful status they&#8217;ll roll over like a dog and let you kick them.</p>
<p>When going after a civilization, go after the closest enemy to save time. The      only exception to this is if your nearest enemy is a technological      wasteland, if you&#8217;re rolling out dragoons and they&#8217;re still cranking out      legions, then pass them over for a more advanced foe. You can always roll      over them later.</p>
<p><strong>Espionage<br />
</strong>While not a necessity for global domination, a certain degree of      subterfuge can greatly speed your conquest. The most important roles of      Diplomats and Spies are to steal technologies and incite revolts. The      effects of stealing technologies is obvious. Why waste good science      production on something you can get for the price of a single Diplomat/Spy?      Once you have Spies, you can effectively buy cities right out from under      your enemies. With the extra cash provided as a Fundamentalist government,      this actually becomes quite practical. For around 2500 gold, you can take      over a city of 13 with no loss of troops. The only caveat to this is that it      is impossible to buy cities from a civilization with a Democratic      government; on the upside, civilizations with Democratic governments usually      can&#8217;t defend themselves too well.</p>
<p>The secondary role of spies is the sabotage of defenses. Use them to blow      up city walls to aid in the capture of a city. It may help to investigate      the city first. It is a free action for the spy, and the information      provided may influence your strategy (i.e.: knowing that there&#8217;s 10 Alpine      Troops defending a city might change the attack plans you had for those 4      Riflemen). You can use them for other purposes, but the effects are minimal      and you risk losing the spy. Poisoning the water supply is rarely more      effective than to reduce the population by 1 point, and establishing an      Embassy just wastes a turn.</p>
<p><strong>World Wonders<br />
</strong>This is a very critical element. There are certain advances that are      absolutely necessary, and others that are worthless. Here is the list of      advances you MUST get at all costs!</p>
<ul>
<li>Oracle &#8211; Doubles the effect of temples. Necessary when you switch        from Monarchy to Republic. You need something to make up for the lack of        martial law.</li>
<li>Great Library &#8211; If you don&#8217;t get this, RESTART. Seriously, this is the        absolute most critical wonder in the game. Sell everything in your cities        and buy it outright if you have to.</li>
<li>Adam Smith&#8217;s Trading Company &#8211; Essential to reduce your capital costs        during your period of Republic and Democracy</li>
<li>Michelangelo&#8217;s Chapel &#8211; This will keep your people happy before you        become a Fundie.</li>
<li>Statue of Liberty &#8211; Allows you to instantly switch to Fundamentalism,        you don&#8217;t even need to have researched it!</li>
<li>Darwin&#8217;s Voyage &#8211; The only reason why you need this is because you        don&#8217;t want your opponents to get it. Typically this is a good thing to get        when you&#8217;re a Fundie because it&#8217;ll let you get some important military        advances.</li>
</ul>
<p>Do not deviate from this if you can help it. There are times however when      you have a city with the resources and ability to produce other wonders. If      you do, here are your &#8220;Wonders of Opportunity&#8221;.</p>
<ul>
<li>Pyramids &#8211; Be careful with this one though because it could make your        cities grow too quickly.</li>
<li>Colossus &#8211; Doubles your trade, which increase your science output.        Good to have, but not necessary.</li>
<li>Copernicus&#8217; Observatory &#8211; Again good to have, but don&#8217;t get this        unless you really have extra time.</li>
<li>King Richard&#8217;s Crusade &#8211; I almost put this on the necessary list. Out        of this whole list of extras this is the most important. It doubles your        shield output in the period before factories. Put this in a city with 10        or 11 shields already and you&#8217;ll have a world wonder assembly line!</li>
<li>Magellan&#8217;s Expedition &#8211; Adds two to your ship movement. This is nice        if you don&#8217;t have transports yet, but again, not a necessity.</li>
<li>Marco Polo&#8217;s Embassy &#8211; This a nice one to get the map of an opponent        if you don&#8217;t know where any of them are. If you know where one or two of        your opponents are already, don&#8217;t bother, but if you&#8217;re totally isolated        this may be an important one.</li>
</ul>
<p>Don&#8217;t bother with any of the other advances. They&#8217;re a waste of time      unless you&#8217;re so far ahead you don&#8217;t have to care. But that&#8217;s rarely the case      on Deity mode. &#8220;But wait? What about Leonardo&#8217;s Workshop?? Don&#8217;t you need      that one to upgrade your units?&#8221; The short answer: NO! This is the most      deceiving wonder ever. First, you need a barracks in each city to      produce veteran troops. A veteran unit has a 50% bonus to attack and defense.      Leonardo&#8217;s Workshop will upgrade a unit to the next class, but eliminate      their veteran status which could produce a unit that isn&#8217;t as good! The only      thing it <em>is</em> good for is changing your settlers to engineers.</p>
<p><strong>Conclusion<br />
</strong>Here&#8217;s the bottom line&#8230; If you&#8217;re a Fundie with a technology advantage      you&#8217;ll be unstoppable. Just don&#8217;t deviate from the plan or you&#8217;ll fail. Any      questions?     <a href="mailto:me@blainehelmick.com?subject=Civilizaton%20II%20Strategy%20Question"> Email me</a>.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://blainehelmick.com/v2/games/civilization-2-strategies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated AVS Script to DVD Conversion</title>
		<link>http://blainehelmick.com/v2/automation/automated-avs-script-to-dvd-conversion/</link>
		<comments>http://blainehelmick.com/v2/automation/automated-avs-script-to-dvd-conversion/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 05:26:40 +0000</pubDate>
		<dc:creator>Blaine</dc:creator>
				<category><![CDATA[Automation]]></category>

		<guid isPermaLink="false">http://blainehelmick.com/v2/?p=1</guid>
		<description><![CDATA[This is a relatively simple script that takes any properly formatted AVISynth script and turns it into a valid DVD image ready to [...]]]></description>
			<content:encoded><![CDATA[<p>This is a relatively simple script that takes any properly formatted <a href="http://www.avisynth.org/">AVISynth</a> script and turns it into a valid DVD image ready to burn using <a href="http://www.dvddecrypter.com/"> DVD Decrypter</a> or your favorite burning application.</p>
<p>If you have ever wanted to take a directory of AVS scripts and turn them into DVDs without      having to hand-hold the process, then this script is for you. If you&#8217;re looking for all the appropriate Win32 tools that let you do each step of this process through the command line, then this is also the place for you. If you&#8217;re looking for a guide on how to use these tools then this is not for you as this isn&#8217;t a guide.  There are plenty of wonderful guides at <a href="http://www.doom9.org/">Doom9</a>. Look to <a href="http://forum.doom9.org/showthread.php?t=96451">this thread</a> on Doom9 for other useful links to AVISynth command line apps and discussions.</p>
<p><strong>UPDATE 10/12/05:</strong> Now that QuEnc is quite stable and produces reliable multiplexed audio, <a href="http://forum.doom9.org/showthread.php?t=70882&amp;page=4&amp;pp=20">AVS2WAV</a>, <a href="http://www.etse.urv.es/%7Edmanye/quelcom/bin/finestres/quelcom-0.3.1beta-bin-win.zip"> Quelcom</a>, <a href="http://dspguru.notrace.dk/BeSweetv1.5b29.zip">BeSweet</a> and <a href="http://mjpeg.sourceforge.net/">MPlex</a> are no longer necessary to this batch. They are useful tools to have around however.</p>
<p>Here are the tools you need: (if any links are broken <a href="mailto:me@blainehelmick.com">email me</a>)</p>
<ul>
<li> <a href="http://prdownloads.sourceforge.net/avisynth2/AviSynth_255.exe">AVISynth</a> &#8211; Version 2.55<br />
The most important part of this.</li>
<li><a href="http://nic.dnsalias.com/QuEnc.zip">QuEnc</a> &#8211; Version 0.61<br />
An absolutely awesome command line launched AVS to MPEG encoder.</li>
<li> <a href="http://prdownloads.sourceforge.net/dvdauthor/dvdauthor-0.6.9-win32.rar?download"> DVDAuthor</a> &#8211; v0.6.9<br />
Allows for authoring of compliant MPEG streams via an XML document.</li>
<li> <a href="../../AVS2DVD/dl/cdrtools-2.01a32-win32-bin.zip">CDRTools</a> &#8211; v2.01a32<br />
Specifically you need the win32 version of mkisofs which lets you build proper UDF images for DVD video.</li>
</ul>
<p>That&#8217;s the tools&#8230; now here is the batch:<br />
(<strong>IMPORTANT:</strong> This script ONLY runs in Win2k or XP)</p>
<blockquote><p>
<code>@set batchbin=C:\Library\bin<br />
@set avisynth=%batchbin%\avisynth<br />
@set quenc=%batchbin%\QuEnc<br />
@set DVDAuthor=%batchbin%\DVDAuthor<br />
@set cdrtools=%batchbin%\cdrtools<br />
@SET QBitrate=5250<br />
@SET QMaxBitrate=8000<br />
@SET QDC=9<br />
@SET QPasses=1<br />
@SET QMPEGType=2<br />
@SET QGOPSize=15<br />
@SET QMaxBFrames=3<br />
@SET QAspectRatio=4:3<br />
@SET QMPEG2MuxProfile=DVD<br />
@SET QAudioCodec=AC3<br />
@SET QAudioBitrate=384<br />
@SET QField=t<br />
@REM Set to b for bottom field first or t for top field first, ignore if not interlaced<br />
@SET QHQ=no<br />
@REM Leave QHQ blank if you want High Quality turned on, otherwise set it to no<br />
@SET QVBR=<br />
@REM Leave QVBR blank if you want VBR turned on, otherwise set it to no<br />
@SET QSCENE=no<br />
@REM Leave QSCENE blank if you want Scene Detection turned on, otherwise set it to no<br />
@SET QTRELL=no<br />
@REM Leave QTRELL blank if you want Trellis Quant turned on, otherwise set it to no<br />
@SET QCGOP=no<br />
@REM Leave QCGOP blank if you want to use Closed GOP, otherwise set it to no<br />
@SET QInterlace=<br />
@REM Leave QInterlace blank if you want to use Interlaced Encoding, otherwise set it to no<br />
@SET QExtreme=no<br />
@REM Leave QExtreme blank if you want to use Extreme encoding, otherwise set it to no<br />
@SET QCMatrix=no<br />
@SET QCMatrixFile=<br />
@REM If you wish to use a Custom Matrix, leave QCMatrix blank and add your file path to QCMatrixFile,<br />
@REM otherwise set QCMatrix to no, and leave QCMatrixFile blank.<br />
@SET QCMD=-auto -close<br />
@REM Use for additional parameters such as Silent, Auto, Close and Shutdown<br />
FOR /F "usebackq delims==" %%y IN (`dir /b *.avs`) DO (<br />
@REM Compress AVS file to M2V using QuENC<br />
%quenc%\quenc.exe -i "%%~ny.avs" -o "%%~ny.mpg" -b %QBitrate% -maxbitrate %QMaxBitrate% -dc %QDC% -%QPasses% -mpeg%QMPEGType% -%QHQ%hq -%QVBR%vbr -%QSCENE%scene -%QTRELL%trell -%QCGOP%cgop -%QInterlace%interlaced -%QExtreme%extreme -gopsize %QGOPSize% -maxbframes %QMaxBFrames% -%QCMatrix%cmatrix %QCMatrixFile% -aspectratio %QAspectRatio% -mpeg2mux %QMPEG2MuxProfile% -audiocodec %QAudioCodec% -audiobitrate %QAudioBitrate% -%QField%ff %QCMD%<br />
@REM Build XML File for DVD Author<br />
echo ^&lt;dvdauthor^&gt; &gt; "%%~ny.xml"<br />
echo   ^&lt;vmgm /^&gt; &gt;&gt; "%%~ny.xml"<br />
echo   ^&lt;titleset^&gt; &gt;&gt; "%%~ny.xml"<br />
echo     ^&lt;titles^&gt; &gt;&gt; "%%~ny.xml"<br />
echo       ^&lt;pgc^&gt; &gt;&gt; "%%~ny.xml"<br />
echo         ^&lt;vob file="%%~ny.mpg" /^&gt; &gt;&gt; "%%~ny.xml"<br />
echo         ^&lt;post^&gt; &gt;&gt; "%%~ny.xml"<br />
echo            jump chapter 1; &gt;&gt; "%%~ny.xml"<br />
echo         ^&lt;/post^&gt; &gt;&gt; "%%~ny.xml"<br />
echo       ^&lt;/pgc^&gt; &gt;&gt; "%%~ny.xml"<br />
echo     ^&lt;/titles^&gt; &gt;&gt; "%%~ny.xml"<br />
echo   ^&lt;/titleset^&gt; &gt;&gt; "%%~ny.xml"<br />
echo ^&lt;/dvdauthor^&gt; &gt;&gt; "%%~ny.xml"<br />
@REM Author DVD from XML. DVD will be created in a directory the same name as the AVS<br />
%dvdauthor%\dvdauthor -o "%%~ny" -x "%%~ny.xml"<br />
@REM Create ISO Image from VOB Folder<br />
%cdrtools%\mkisofs -dvd-video -o "%%~ny.img" "%%~ny"<br />
@REM Remove the VOB folder and clean up<br />
if exist "%%~ny.img" rmdir /S /Q "%%~ny"<br />
if exist "%%~ny.img" del "%%~ny.xml"<br />
if exist "%%~ny.img" del "%%~ny.mpg"</p>
<p>)</p>
<p>pause<br />
</code>
</p></blockquote>
<p>Obviously some changes will be necessary if you wish to have different compression settings from QuEnc or have files go to different places. All in all you should be able to get this to work with only minor tweaks to your specific needs. The biggest issue I see is the XML generation      for DVDAuthor. For my needs, chapter points and menus are unnecessary. However if you want them just take out the entire ECHO section and simply create your XML file prior to starting the batch. The <a href="http://dvdauthor.sourceforge.net/">DVDAuthor website</a> is fairly      thorough in how to create these documents.That should do it. Hopefully you&#8217;ll find this helpful. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blainehelmick.com/v2/automation/automated-avs-script-to-dvd-conversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
