<?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>vultaire.net &#187; General</title>
	<atom:link href="http://www.vultaire.net/blog/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vultaire.net/blog</link>
	<description>The Blog</description>
	<lastBuildDate>Wed, 19 Jun 2013 05:30:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Simple tricks: &#8220;cyghere&#8221;: open Cygwin shell here</title>
		<link>http://www.vultaire.net/blog/2013/06/18/simple-tricks-cyghere-open-cygwin-shell-here/</link>
		<comments>http://www.vultaire.net/blog/2013/06/18/simple-tricks-cyghere-open-cygwin-shell-here/#comments</comments>
		<pubDate>Wed, 19 Jun 2013 05:30:53 +0000</pubDate>
		<dc:creator>Paul Goins</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.vultaire.net/blog/?p=272</guid>
		<description><![CDATA[I&#8217;m sure there&#8217;s other solutions out there, but I&#8217;ll share mine. Create a directory on your system and add it to your path. In my case, I use C:\scripts. Create a script, cyghere.bat, as follows (assuming cygwin is installed to C:\cygwin): Now, you can launch a cygwin shell from basically any program that lets you [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m sure there&#8217;s other solutions out there, but I&#8217;ll share mine.</p>
<ul>
<li>Create a directory on your system and add it to your path.  In my case, I use C:\scripts.</li>
<li>Create a script, cyghere.bat, as follows (assuming cygwin is installed to C:\cygwin):
<pre class="brush: plain; title: cyghere.bat; notranslate">
start C:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico --exec /bin/bash
</pre>
</li>
</ul>
<p>Now, you can launch a cygwin shell from basically any program that lets you launch subprocesses.  Most common for myself is either the Windows command prompt or Windows Explorer.</p>
<p>Tip: if you have a folder open via Windows Explorer and you want to &#8220;cygwin here&#8221;, press Alt-D to jump to the location bar, then type &#8220;cyghere&#8221; and press Enter.  This also works!</p>
<p>For a right-click option to open a folder via Cygwin, I defer to the rest of the Internet. <img src='http://www.vultaire.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   With the above, I generally don&#8217;t need the right-click option.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vultaire.net/blog/2013/06/18/simple-tricks-cyghere-open-cygwin-shell-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starcraft: Brood War and Diablo 1 on Windows 7: HOWTO</title>
		<link>http://www.vultaire.net/blog/2013/05/01/starcraft-brood-war-and-diablo-1-on-windows-7-howto/</link>
		<comments>http://www.vultaire.net/blog/2013/05/01/starcraft-brood-war-and-diablo-1-on-windows-7-howto/#comments</comments>
		<pubDate>Thu, 02 May 2013 05:03:09 +0000</pubDate>
		<dc:creator>Paul Goins</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.vultaire.net/blog/?p=264</guid>
		<description><![CDATA[Problem: You want to play your classic 256-color Blizzard Windows games and find out that the colors are all messed up. Compatibility mode workarounds provide at best only temporary relief; the moment you alt-tab between Windows, or perhaps during just playing the game, the palette gets reset and everything goes puke ugly. What&#8217;s the problem? [...]]]></description>
				<content:encoded><![CDATA[<p><strong>Problem:</strong> You want to play your classic 256-color Blizzard Windows games and find out that the colors are all messed up.  Compatibility mode workarounds provide at best only temporary relief; the moment you alt-tab between Windows, or perhaps during just playing the game, the palette gets reset and everything goes puke ugly.</p>
<p>What&#8217;s the problem?  What to do?</p>
<p>The problem has to do with explorer.exe, the Windows &#8220;shell&#8221;.  It seems to interfere with 256-color mode applications.  I don&#8217;t know enough as to whether it is the compositing (i.e. Aero interface) or something else, but it does get in the way.</p>
<p>What&#8217;s the fix?  Kill explorer.exe!</p>
<p>But wait&#8230;  Don&#8217;t we need that to run our desktop, start menu, etc.?  Yes.  But there&#8217;s a semi-well-known workaround for this issue which has been circulating YouTube and elsewhere.</p>
<p>Basically: write a Windows batch file which kills explorer.exe, launches the app in question, and then re-launches explorer.exe when done.</p>
<p>Typically, this is done via a script like this:</p>
<pre class="brush: plain; title: simple_brood_war_launcher.bat; notranslate">
TASKKILL /f /im explorer.exe
&quot;C:\Program Files\Starcraft\StarCraft.exe&quot;
PAUSE
START explorer.exe
</pre>
<p>This is really quite simple.  It&#8217;s not very robust, but in reality it&#8217;s pretty unlikely to break.  All it&#8217;s doing is killing explorer, running the app, waiting for user input, and then resstarting explorer.  Note that the PAUSE is necessary for Diablo as Diablo will not block the script from proceeding.  I suggest it for Brood War as well.  (I think in the case of Diablo that it spawns another process and then closes, hence the required PAUSE to let the user decide when Diablo is &#8220;really&#8221; done.)</p>
<p>For fun and educational purposes, I wrote more robust versions.  Here&#8217;s my current launcher for Starcraft: Brood War:</p>
<pre class="brush: plain; title: brood_war.bat; notranslate">
@ECHO OFF

SET &quot;APP_NAME=StarCraft: Brood War&quot;
SET &quot;APP_EXEC=C:\Program Files\Starcraft\StarCraft.exe&quot;

TASKKILL /f /im explorer.exe &gt;NUL
IF %ERRORLEVEL% EQU 0 (
    ECHO Launching %APP_NAME%...
    &quot;%APP_EXEC%&quot;
    ECHO Press any key to re-launch explorer.exe . . .
    PAUSE &gt;NUL
    START explorer.exe
) ELSE (
    ECHO An error occurred while killing explorer.exe.  Aborting.
    ECHO.
    ECHO If explorer.exe was killed, press Ctrl-Alt-Del, open the Task Manager ^(if not
    ECHO automatically opened^), go to File -^&gt; New Task ^(Run...^), enter &quot;explorer&quot;
    ECHO without quotes into the pop-up and click OK.
    ECHO.
    ECHO Press any key to close . . .
    PAUSE &gt;NUL
)
</pre>
<p>And here&#8217;s my launcher for Diablo:</p>
<pre class="brush: plain; title: diablo.bat; notranslate">
@ECHO OFF

SET &quot;APP_NAME=Diablo&quot;
SET &quot;APP_EXEC=C:\Diablo\Diablo.exe&quot;

TASKKILL /f /im explorer.exe &gt;NUL
IF %ERRORLEVEL% EQU 0 (
    ECHO Launching %APP_NAME%...
    &quot;%APP_EXEC%&quot;
    ECHO Press any key to re-launch explorer.exe . . .
    PAUSE &gt;NUL
    START explorer.exe
) ELSE (
    ECHO An error occurred while killing explorer.exe.  Aborting.
    ECHO.
    ECHO If explorer.exe was killed, press Ctrl-Alt-Del, open the Task Manager ^(if not
    ECHO automatically opened^), go to File -^&gt; New Task ^(Run...^), enter &quot;explorer&quot;
    ECHO without quotes into the pop-up and click OK.
    ECHO.
    ECHO Press any key to close . . .
    PAUSE &gt;NUL
)
</pre>
<p>The benefit of the above is: it&#8217;s more robust, it&#8217;s user-friendly in the case of errors, it eliminates extraneous output (except in the error case), and it&#8217;s data-driven.  The same core logic powers both scripts.  Indeed, I could actually rip out this logic and put it into its own batch script, but that would provide little benefit since this whole workaround is fairly limited in scope.</p>
<p>Anyway, regardless of which solution you pick: with one of the above scripts, you now have a way to launch the programs.</p>
<p>Now, you have a script or scripts for launching the programs.  However, these aren&#8217;t pretty: they show as plain old batch files and you can&#8217;t assign an icon.  In other words, it&#8217;s obvious they&#8217;re a hack.  Can we make this look nicer?  Yes!</p>
<p>Again, the fix is simple: we can just make a shortcut to the batch file, and we can assign an icon to the shortcut, using the icons embedded in the original program&#8217;s executable!</p>
<p>In my specific case, I have the following files:</p>
<p><code><br />
C:\batch_launchers\brood_war.bat<br />
C:\batch_launchers\diablo.bat<br />
C:\batch_launchers\Diablo.lnk<br />
C:\batch_launchers\StarCraft - Brood War.lnk<br />
</code></p>
<p>I could put the links directly in the start menu, but in my case I just pinned them to the Start Menu.</p>
<p>With this, you have all you need to create Brood War and Diablo launchers which look just like the original Starcraft and Diablo launchers, but they will instead launch the batch file and handle all the explorer.exe acrobatics for you.</p>
<p>Have fun!</p>
<p>(To do: clean this up, revise for brevity, possibly make a youtube vid.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vultaire.net/blog/2013/05/01/starcraft-brood-war-and-diablo-1-on-windows-7-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Warcraft 3 on Windows 7: how to fix cinematics and get Battle.net updates to work</title>
		<link>http://www.vultaire.net/blog/2012/12/08/warcraft-3-on-windows-7-how-to-fix-cinematics-and-get-battle-net-updates-to-work/</link>
		<comments>http://www.vultaire.net/blog/2012/12/08/warcraft-3-on-windows-7-how-to-fix-cinematics-and-get-battle-net-updates-to-work/#comments</comments>
		<pubDate>Sun, 09 Dec 2012 05:11:59 +0000</pubDate>
		<dc:creator>Paul Goins</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.vultaire.net/blog/?p=254</guid>
		<description><![CDATA[On Windows 7, automatic updates of Warcraft 3 don&#8217;t work like normal, and the cinematics don&#8217;t show up &#8211; rather, you only hear the audio. This is how to fix it. This took a small bit of googling to find; I&#8217;ll add my own version of how to do this below. Assuming that Warcraft 3 [...]]]></description>
				<content:encoded><![CDATA[<p>On Windows 7, automatic updates of Warcraft 3 don&#8217;t work like normal, and the cinematics don&#8217;t show up &#8211; rather, you only hear the audio.  This is how to fix it.</p>
<p>This took a small bit of googling to find; I&#8217;ll add my own version of how to do this below.</p>
<hr />
<p>Assuming that Warcraft 3 was installed normally (i.e. to the Program Files folder):</p>
<ol>
<li>
<p>Run Warcraft 3 as an administrator and connect to Battle.net; this will download the latest updates.</p>
<p><strong>Result:</strong> game gets updated, and cinematics display, however they are ugly and basically washed out.</p>
</li>
<li>
<p>Right click on the shortcut you use for launching Warcraft 3, and then select Properties.  In the next window, select the Compatibility tab at the top, then check &#8220;Disable desktop composition&#8221;.</p>
<p><strong>Result:</strong> cinematics now display normally.</li>
</ol>
<p>Please note: manually registering codecs should not be necessary, nor should you need to adjust gamma settings specifically for Warcraft 3.</p>
<p><strong>Tested on:</strong> Windows 7 64-bit with Intel HD Graphics 4000.</p>
<p>NOTE: I don&#8217;t know whether downloading maps, etc., works as expected or if this also gives errors if not run as administrator.  Either always run Warcraft 3 as the administrator, or relocate the installation folder to an unprotected location.  (Other web pages out there tell how to do this; I haven&#8217;t done this myself.)</p>
<p>Hope this helps someone out there&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vultaire.net/blog/2012/12/08/warcraft-3-on-windows-7-how-to-fix-cinematics-and-get-battle-net-updates-to-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Personal hardware review: Toshiba Satellite C655</title>
		<link>http://www.vultaire.net/blog/2012/10/13/personal-hardware-review-toshiba-satellite-c655/</link>
		<comments>http://www.vultaire.net/blog/2012/10/13/personal-hardware-review-toshiba-satellite-c655/#comments</comments>
		<pubDate>Sat, 13 Oct 2012 08:31:01 +0000</pubDate>
		<dc:creator>Paul Goins</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.vultaire.net/blog/?p=247</guid>
		<description><![CDATA[This entry is targeted mostly towards my family, but if it helps others, great. I&#8217;m writing this entry from my mother&#8217;s new laptop, a Toshiba Satellite C655. It was purchased to replace her Asus Eee Pc, which sadly has not lived up to the hype for us. The first Eee we got had critical hardware [...]]]></description>
				<content:encoded><![CDATA[<p>This entry is targeted mostly towards my family, but if it helps others, great.</p>
<p>I&#8217;m writing this entry from my mother&#8217;s new laptop, a Toshiba Satellite C655.  It was purchased to replace her Asus Eee Pc, which sadly has not lived up to the hype for us.  The first Eee we got had critical hardware issues (graphical glitches and the like), and the replacement seemed to work but has had stability problems.  I&#8217;ve already reinstalled WinXP on it once, but it has periodic blue screens during bootup and when sitting idle.  Plus, the battery now holds zero charge whatsoever (as in, the computer sees the battery but says 0% charge, and if I disconnect the AC cord it will immediately lose all power).  It&#8217;s only been maybe two years since she got it, so I hate to say, it&#8217;s been a lemon for us&#8230; and I was one of the people who recommended it.</p>
<p>Anyway, onto the topic of the replacement.  The Toshiba was purchased from bestbuy.com for around $270 or $280.  Immediately I thought &#8220;not again&#8221; because of the last cheap system we got for my mom.  However, this system has fared much better.</p>
<p>On to the review&#8230;</p>
<p><span id="more-247"></span></p>
<p>The good:</p>
<ul>
<li>Much larger screen than the Eee.  The Eee is meant to be small and works great for a geek like myself, but for my mother it makes everything too small.  Lowering the resolution helps, but then everything stretches off screen.  With the new laptop, we don&#8217;t need to tweak anything.</li>
<li>Not too heavy.  It&#8217;s heavier than the Eee, but surprisingly not too much so.  It&#8217;s certainly no Ultrabook, but it isn&#8217;t a burden either.</li>
<li>Faster than the Eee.  The low end for laptops has gotten nicer nowadays; this laptop has 2GB of ram which is pretty decent for Windows 7.  The CPU is an AMD E-300, which only operates at 1.3 GHz (translation for family: pretty slow), but has a benefit of running near silent.  Plus, it seems to run my mom&#8217;s flash games better than the Eee did, although still a bit choppy.</li>
<li>Did I say nearly silent?  I can hear the laptop if there is no other background noise in the room.  Under normal circumstances it&#8217;s pretty nice.</li>
<li>Battery life appears to be excellent.  I&#8217;ve been typing on here for a good 30 minutes or so with the AC disconnected, and I still supposedly have 6 hours left.  That&#8217;s actually pretty attractive for someone like myself&#8230;</li>
</ul>
<p>Just based upon the above, was the laptop a good move for my mom?  I&#8217;m going to say yes.</p>
<p>But, since other family members are curious, and since I myself am now in the market for a new laptop (as the screen on my Japanese one just died), I must get critical and list up the bad:</p>
<ul>
<li>Initial impression: Super slow.  Doing the initial boot-up took forever.  The computer seemed to be really slow when running Chrome for the first time as well.  I&#8217;m not sure if the slowness was all due to running the first time, or if it was also due to the trial Norton which was installed (I have a history with Norton causing machines to run like molasses), so I dropped Norton, installed the free edition of Avast, and rebooted.  The second boot-up took maybe 1:45 to 2 minutes before the computer was -really- usable, but at that point it was working halfway decent.</li>
<li>Very low horsepower.  Good enough for email, word processing/spreadsheets and basic flash games, but again, it can be sluggish at times.  A step up from the Eee PC though.</li>
<li>YouTube test: Loaded up Gangnam Style since I know it goes up to 1080p, and tried different quality settings at full screen.  At 1080p: The computer was super choppy and nearly uncontrollable.  720p: Also pretty bad, although somewhat less choppy.  480p: Playable and fairly smooth.</li>
</ul>
<p>Okay, so I&#8217;ve rambled on enough.  What&#8217;s the verdict?</p>
<p><strong>For my mom:</strong> Sure, it&#8217;s good enough for most stuff.</p>
<p><strong>For my wife:</strong> No.  My wife does lots of streaming video and this&#8217;d be too borderline, even though the stuff she watches isn&#8217;t generally HD.</p>
<p><strong>For myself:</strong> Pretty tough sell; probably not.</p>
<p>Really, the single biggest thing that I was disappointed with was not even being able to play 720p YouTube videos smoothly.  That just seems like a red flag right there.  I know 1080p is pointless since the screen isn&#8217;t even big enough for it, but 720p seems like a minimum standard for any new system nowadays in my opinion.</p>
<p>But for those who aren&#8217;t so much into multimedia on their computer, or for whom music is plenty, or for just light computer users: this may be a great option for the money.  And seriously, the battery life seems killer &#8211; that&#8217;s one benefit of having an &#8220;underpowered&#8221; CPU is that it keeps going and going.</p>
<p>That&#8217;s about it.  And for those who are curious what I would buy: I&#8217;d say something, probably an Ultrabook, with at least an Intel Core i3.  Intel really does have a strong leg up on the competition nowadays.  If you can afford an i5, go for it; I think the i5 still has more active CPU cores than the i3 and the extra cores do help.  The value of the i7 is debatable, although I personally may go for it.</p>
<p>Also, keep in mind that many new Ultrabooks come with Intel&#8217;s integrated &#8220;HD&#8221; graphics, which is actually a halfway decent onboard graphics solution.  I believe it&#8217;s supposed to handle 1080p video by design if I recall what I&#8217;ve read right.  This is probably my suggestion for people who want a good solid system but without spending the premium for a &#8220;gaming&#8221; laptop.</p>
<hr />
<p><strong>Update:</strong> Been using this laptop a bit more, and it&#8217;s basically reinforced what I previously wrote.  This does seem like a decent laptop for my mother; I don&#8217;t want her to return it or anything.  However, I could do another test: Netflix.  Netflix in HD is totally a slideshow.  Normal netflix is mildly choppy but tolerable.  (Both cases tested at fullscreen.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vultaire.net/blog/2012/10/13/personal-hardware-review-toshiba-satellite-c655/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Recovering from downtime (site moved to new account)</title>
		<link>http://www.vultaire.net/blog/2012/06/18/recovering-from-downtime-site-moved-to-new-account/</link>
		<comments>http://www.vultaire.net/blog/2012/06/18/recovering-from-downtime-site-moved-to-new-account/#comments</comments>
		<pubDate>Mon, 18 Jun 2012 11:31:11 +0000</pubDate>
		<dc:creator>Paul Goins</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.vultaire.net/blog/?p=243</guid>
		<description><![CDATA[Just a quick note. I recently moved my site to a new account. I think things are pretty much up and running as before, but if anything seems broken, please let me know.]]></description>
				<content:encoded><![CDATA[<p>Just a quick note.  I recently moved my site to a new account.  I think things are pretty much up and running as before, but if anything seems broken, please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vultaire.net/blog/2012/06/18/recovering-from-downtime-site-moved-to-new-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
