<?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>blackvoltage.org</title>
	<atom:link href="http://blog.blackvoltage.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.blackvoltage.org</link>
	<description>coding / xbmc / ps3</description>
	<lastBuildDate>Wed, 23 Jan 2008 07:44:28 +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>PostgreSQL Diff Tool</title>
		<link>http://blog.blackvoltage.org/2008/01/23/postgresql-diff-tool/</link>
		<comments>http://blog.blackvoltage.org/2008/01/23/postgresql-diff-tool/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 07:36:40 +0000</pubDate>
		<dc:creator>codelogic</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.blackvoltage.org/2008/01/23/postgresql-diff-tool/</guid>
		<description><![CDATA[I wrote this command line tool to do simple table comparisons between two PostgreSQL databases. Web based database applications generally, from time to time, get schema changes. If your application doesn&#8217;t use an abstraction layer than automates such schema changes, then a tool such as this can come in handy. A similar web-based and much [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote this command line tool to do simple table comparisons between two PostgreSQL databases. Web based database applications generally, from time to time, get schema changes. If your application doesn&#8217;t use an abstraction layer than automates such schema changes, then a tool such as this can come in handy. A similar web-based and much more advanced tool exists called <a href="http://pgdiff.sourceforge.net" title="pgdiff" target="_blank">pgdiff</a>. I needed a command line tool that operated only on tables that&#8217;s why I wrote this. You can download it <a href="/code-and-projects/postgresql-diff-tool/">here</a> if you&#8217;re interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blackvoltage.org/2008/01/23/postgresql-diff-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PS3 Theme Extractor 0.11</title>
		<link>http://blog.blackvoltage.org/2007/12/09/ps3-theme-extractor-011/</link>
		<comments>http://blog.blackvoltage.org/2007/12/09/ps3-theme-extractor-011/#comments</comments>
		<pubDate>Sun, 09 Dec 2007 04:37:52 +0000</pubDate>
		<dc:creator>codelogic</dc:creator>
				<category><![CDATA[PS3]]></category>
		<category><![CDATA[extractor]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.blackvoltage.org/2007/12/09/ps3-theme-extractor-011/</guid>
		<description><![CDATA[This release adds support to extract sounds files from theme files. The sound files appear to be encoded in the VAG audio format. Some details about this format can be found here.
The previous release, 0.10, fixed an issue with padding in GIM files. Some icons, whose width were not a multiple of 4, were being [...]]]></description>
			<content:encoded><![CDATA[<p>This release adds support to extract sounds files from theme files. The sound files appear to be encoded in the <a href="http://filext.com/file-extension/VAG">VAG audio format</a>. Some details about this format can be found <a href="http://mixonline.com/mag/audio_sound_playstation/">here</a>.</p>
<p>The previous release, 0.10, fixed an issue with padding in GIM files. Some icons, whose width were not a multiple of 4, were being extracted &#8220;skewed&#8221; due to the fact that they were being read incorrectly. Thanks to FluBBa for <a href="http://blog.blackvoltage.org/2007/12/06/ps3-theme-extractor-09/#comment-2">pointing this out</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blackvoltage.org/2007/12/09/ps3-theme-extractor-011/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PS3 Theme Extractor 0.9</title>
		<link>http://blog.blackvoltage.org/2007/12/06/ps3-theme-extractor-09/</link>
		<comments>http://blog.blackvoltage.org/2007/12/06/ps3-theme-extractor-09/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 18:27:47 +0000</pubDate>
		<dc:creator>codelogic</dc:creator>
				<category><![CDATA[PS3]]></category>
		<category><![CDATA[extractor]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.blackvoltage.org/2007/12/06/ps3-theme-extractor-09/</guid>
		<description><![CDATA[This is basically a bug fix release. Under Windows, dragging and dropping theme files on the executable now extracts them correctly (thanks to Matt Endersby for reporting the issue).
In addition, I changed the default extraction path to include the theme filename so that multiple theme files can be dragged and dropped from the same directory [...]]]></description>
			<content:encoded><![CDATA[<p>This is basically a bug fix release. Under Windows, dragging and dropping theme files on the executable now extracts them correctly (thanks to <strong>Matt Endersby</strong> for reporting the issue).</p>
<p>In addition, I changed the default extraction path to include the theme filename so that multiple theme files can be dragged and dropped from the same directory and each one will be extracted into its own directory.</p>
<p><strong>Developers using this program</strong>: Please note the change of the default extraction path.</p>
<p><a href="http://ps3.blackvoltage.org/">Download Page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blackvoltage.org/2007/12/06/ps3-theme-extractor-09/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Egress Filtering</title>
		<link>http://blog.blackvoltage.org/2007/12/04/egress-filtering/</link>
		<comments>http://blog.blackvoltage.org/2007/12/04/egress-filtering/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 18:19:56 +0000</pubDate>
		<dc:creator>codelogic</dc:creator>
				<category><![CDATA[TCP/IP]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://blog.blackvoltage.org/2007/12/04/egress-filtering/</guid>
		<description><![CDATA[As part of the hacking contest I am participating in, level 39 involves IP address spoofing. It requires a UDP request to be sent to a particular server but the request should appear, to this server, to have come from a specific IP provided by them. Crafting the actual packet is quite trivial when you [...]]]></description>
			<content:encoded><![CDATA[<p>As part of the <a href="/2007/11/29/hacking-contest/">hacking contest</a> I am participating in, level 39 involves <a href="http://www.phrack.org/issues.html?issue=48&amp;id=14&amp;mode=txt">IP address spoofing</a>. It requires a UDP request to be sent to a particular server but the request should appear, to this server, to have come from a specific IP provided by them. Crafting the actual packet is quite trivial when you have tools like <a href="http://www.secdev.org/projects/scapy/">Scapy</a> at your disposal, however, ensuring the crafted packet actually reaches its destination is far from trivial.</p>
<p><strong>IP Header</strong></p>
<pre style="line-height: 1">
-----------------------------------------------------

| Version |  IHL  |  TOS  |      Total length       |

-----------------------------------------------------

|     Identification      | Flags | Fragment offset |

-----------------------------------------------------

| TTL     |   Protocol    |     Header checksum     |

-----------------------------------------------------

|    ----&gt;       Source IP address       &lt;----      |

-----------------------------------------------------

|              Destination IP address               |

-----------------------------------------------------

|               Options and padding                 |

-----------------------------------------------------</pre>
<p>The &#8220;problem&#8221; (it&#8217;s actually a good thing) being that most ISPs these days employ <a href="http://en.wikipedia.org/wiki/Egress_filtering">egress filtering</a> on their border routers. The egress filter is a check on outbound traffic. The filter looks at the source IP address in the <a href="http://www.networksorcery.com/enp/protocol/ip.htm">IP header</a> to check that the packet is coming from within its own network. If the source IP doesn&#8217;t belong to its network, the packet is dropped.</p>
<p>For now, the only alternative (legal) seems to be to try to somehow get access to an ISP that doesn&#8217;t egress filter its traffic and send the packet from there.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blackvoltage.org/2007/12/04/egress-filtering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PS3 Theme Extractor 0.8</title>
		<link>http://blog.blackvoltage.org/2007/12/04/ps3-theme-extractor-08/</link>
		<comments>http://blog.blackvoltage.org/2007/12/04/ps3-theme-extractor-08/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 01:00:58 +0000</pubDate>
		<dc:creator>codelogic</dc:creator>
				<category><![CDATA[PS3]]></category>
		<category><![CDATA[extractor]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.blackvoltage.org/2007/12/04/ps3-theme-extractor-08/</guid>
		<description><![CDATA[Fixed a bug reported by h9z3zzj02. The name of the XML file being generated had the wrong prefix prepended to it.
It looks like many people have found the extractor to be useful. As of now, the web server has logged a total of 3.5G of downloads since I released it. It has been linked from [...]]]></description>
			<content:encoded><![CDATA[<p>Fixed a bug reported by <strong>h9z3zzj02</strong>. The name of the XML file being generated had the wrong prefix prepended to it.</p>
<p>It looks like many people have found the extractor to be useful. As of now, the web server has logged a total of 3.5G of downloads since I released it. It has been linked from many sites, two of which are:</p>
<p><a href="http://www.ps3-themes.com/theme-extractor">PS3-Themes.com</a><br />
<a href="http://ps3mods.blogspot.com/2007/11/ps3-theme-extractor-tutorial.html">PS3 Theme Extractor Tutorial</a></p>
<p>It is also being used by other programs as an external app for extracting p3t files.</p>
<p><a href="http://www.freewebs.com/ps3themecreator/">PS3 Theme Creator</a><br />
<a href="http://www.lili-chan.com/">Playstation 3 Theme Builder</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blackvoltage.org/2007/12/04/ps3-theme-extractor-08/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacking Contest</title>
		<link>http://blog.blackvoltage.org/2007/11/29/hacking-contest/</link>
		<comments>http://blog.blackvoltage.org/2007/11/29/hacking-contest/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 18:40:01 +0000</pubDate>
		<dc:creator>codelogic</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[TCP/IP]]></category>
		<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://blog.blackvoltage.org/2007/11/29/hacking-contest/</guid>
		<description><![CDATA[I&#8217;ve been taking part in very addictive hacking &#8220;contest&#8221; over at hax.tor.hu. I&#8217;ve managed to reach level 35 and am currently no.5 in the Top Ten list. My handle on it is codelogic. Highly recommended for those who enjoy puzzle solving and hacking.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been taking part in very addictive hacking &#8220;contest&#8221; over at <a href="http://hax.tor.hu/">hax.tor.hu</a>. I&#8217;ve managed to reach level 35 and am currently no.5 in the Top Ten list. My handle on it is <strong>codelogic</strong>. Highly recommended for those who enjoy puzzle solving and hacking.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blackvoltage.org/2007/11/29/hacking-contest/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PS3 Theme Extractor</title>
		<link>http://blog.blackvoltage.org/2007/11/16/ps3-theme-extractor/</link>
		<comments>http://blog.blackvoltage.org/2007/11/16/ps3-theme-extractor/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 20:31:08 +0000</pubDate>
		<dc:creator>codelogic</dc:creator>
				<category><![CDATA[PS3]]></category>
		<category><![CDATA[extractor]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.blackvoltage.org/?p=4</guid>
		<description><![CDATA[I reverse engineered the PS3 theme file format (p3t). I managed to write an extractor for it. It is a &#8220;compiled&#8221; XML, i.e. an XML file converted to binary format using headers, offsets, etc. The background images in the P3T files are stored as JPEGs whereas the icons are stored in Sony&#8217;s GIM format, which [...]]]></description>
			<content:encoded><![CDATA[<p>I reverse engineered the PS3 theme file format (p3t). I managed to write an extractor for it. It is a &#8220;compiled&#8221; XML, i.e. an XML file converted to binary format using headers, offsets, etc. The background images in the P3T files are stored as JPEGs whereas the icons are stored in Sony&#8217;s GIM format, which seems to be a format optimized for texture loading. Since it wasn&#8217;t too complicated I wrote a parser in the extractor to convert GIMs to PNGs.</p>
<p><a href="http://ps3.blackvoltage.org">Download Page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blackvoltage.org/2007/11/16/ps3-theme-extractor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joined Team-XBMC</title>
		<link>http://blog.blackvoltage.org/2007/06/03/joined-team-xbmc/</link>
		<comments>http://blog.blackvoltage.org/2007/06/03/joined-team-xbmc/#comments</comments>
		<pubDate>Sun, 03 Jun 2007 22:30:57 +0000</pubDate>
		<dc:creator>codelogic</dc:creator>
				<category><![CDATA[XBMC]]></category>
		<category><![CDATA[d4rk]]></category>
		<category><![CDATA[team xbmc]]></category>

		<guid isPermaLink="false">http://blog.blackvoltage.org/?p=3</guid>
		<description><![CDATA[A few days back, I joined Team XBMC. I&#8217;ll be helping them with porting XBMC to Linux using OpenGL as the base graphics API. As an avid XBMC user myself, I&#8217;m really thrilled to be part of the team that makes it happen. My handle on the team is d4rk.

]]></description>
			<content:encoded><![CDATA[<p>A few days back, I joined <a href="http://www.xboxmediacenter.com/wiki/index.php?title=Team_XBMC_and_Others">Team XBMC</a>. I&#8217;ll be helping them with porting XBMC to Linux using OpenGL as the base graphics API. As an avid XBMC user myself, I&#8217;m really thrilled to be part of the team that makes it happen. My handle on the team is <a href="http://www.xboxmediacenter.com/wiki/index.php?title=User:D4rk">d4rk</a>.</p>
<p><a href="http://blog.blackvoltage.org/wp-content/uploads/2007/11/screenshot002bmp.png" title="XBMC Linux Screenshot"><img src="http://blog.blackvoltage.org/wp-content/uploads/2007/11/screenshot002bmp.thumbnail.png" alt="XBMC Linux Screenshot" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.blackvoltage.org/2007/06/03/joined-team-xbmc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
