<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Redump Forum — Primary Volume Descriptor (PVD) Dumper in Python]]></title>
	<link rel="self" href="http://forum.redump.org/feed/atom/topic/15711" />
	<updated>2020-12-28T20:15:36Z</updated>
	<generator version="1.4.4">PunBB</generator>
	<id>http://forum.redump.org/topic/15711/primary-volume-descriptor-pvd-dumper-in-python/</id>
		<entry>
			<title type="html"><![CDATA[Re: Primary Volume Descriptor (PVD) Dumper in Python]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/86613/#p86613" />
			<content type="html"><![CDATA[<p>Ha, man, that&#039;s some advanced formatting going on there.&nbsp; Impressive.&nbsp; I with a knew about that a while ago, would&#039;ve probably saved a couple hours or so cumulative over all the discs I&#039;ve dumped.&nbsp; Very much appreciate you sharing!</p>]]></content>
			<author>
				<name><![CDATA[nitro322]]></name>
				<uri>http://forum.redump.org/user/62505/</uri>
			</author>
			<updated>2020-12-28T20:15:36Z</updated>
			<id>http://forum.redump.org/post/86613/#p86613</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Primary Volume Descriptor (PVD) Dumper in Python]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/86397/#p86397" />
			<content type="html"><![CDATA[<p>hexdump + nl</p><p><strong>CD</strong><br /></p><div class="codebox"><pre><code>% hexdump -v -s0x9638 -n96 -e&#039;8/1 &quot;%02x &quot; &quot;  &quot; 8/1 &quot;%02x &quot;&#039; -e&#039;&quot;   &quot; 16 &quot;%_p&quot; &quot;\n&quot;&#039; pvd_cd.bin | nl -nrz -w4 -s&#039; : &#039; -v320 -i10
0320 : 20 20 20 20 20 20 20 20  20 20 20 20 20 31 39 39                199
0330 : 39 30 38 31 31 31 32 30  30 30 30 30 30 24 31 39   9081112000000$19
0340 : 39 39 30 38 31 31 31 32  30 30 30 30 30 30 24 30   99081112000000$0
0350 : 30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 00   000000000000000.
0360 : 30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 30   0000000000000000
0370 : 00 01 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................</code></pre></div><p><strong>DVD</strong><br /></p><div class="codebox"><pre><code>% hexdump -v -s0x8320 -n96 -e&#039;8/1 &quot;%02x &quot; &quot;  &quot; 8/1 &quot;%02x &quot;&#039; -e&#039;&quot;   &quot; 16 &quot;%_p&quot; &quot;\n&quot;&#039; pvd_dvd.bin | nl -nrz -w4 -s&#039; : &#039; -v320 -i10
0320 : 20 20 20 20 20 20 20 20  20 20 20 20 20 32 30 30                200
0330 : 34 30 33 31 39 30 30 30  30 30 30 30 30 24 30 30   4031900000000$00
0340 : 30 30 30 30 30 30 30 30  30 30 30 30 30 30 00 30   00000000000000.0
0350 : 30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 00   000000000000000.
0360 : 30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 30   0000000000000000
0370 : 00 01 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................</code></pre></div>]]></content>
			<author>
				<name><![CDATA[fuzzball]]></name>
				<uri>http://forum.redump.org/user/4225/</uri>
			</author>
			<updated>2020-12-23T00:48:11Z</updated>
			<id>http://forum.redump.org/post/86397/#p86397</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Primary Volume Descriptor (PVD) Dumper in Python]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/86356/#p86356" />
			<content type="html"><![CDATA[<p>I know this is an old post, but wanted to say thanks.&nbsp; I run Linux and can get the PVD from games with this hexdump command:</p><div class="codebox"><pre><code>hexdump -C -n 96 -s 33568 game.iso</code></pre></div><p>But it doesn&#039;t output the results in exactly the same format as IsoBuster, and since the form validator seems to compare against that IsoBuster format I always have to massage the output a bit to get it accepted.&nbsp; Just stumbled across this for the first time and tried it out and it works great.&nbsp; Will save me a bit of time and effort for each disc I rip going forward.</p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[nitro322]]></name>
				<uri>http://forum.redump.org/user/62505/</uri>
			</author>
			<updated>2020-12-20T03:53:16Z</updated>
			<id>http://forum.redump.org/post/86356/#p86356</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Primary Volume Descriptor (PVD) Dumper in Python]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/54051/#p54051" />
			<content type="html"><![CDATA[<p>I wrote a program to dump the Primary Volume Descriptor from a .bin file in IsoBuster format. Can be helpful to quickly dump the PVD to a file without needing to open IsoBuster, or used programmatically.</p><p><a href="https://gist.github.com/anonymous/2a308eb7bddf9e6a2b7b880b829a9c92">https://gist.github.com/anonymous/2a308 … 0b829a9c92</a></p><p>I have created a small batch file &quot;PVD_Dumper.bat&quot; which I drag and drop a .bin file to and it dumps the PVD to a text file in the same directory as the .bin file. This is the batch file:</p><div class="codebox"><pre><code>&quot;%~dp0\PVD_Dumper.py&quot; %1 &gt; &quot;%~dp1\%~n1_PVD.txt&quot;</code></pre></div><p>I attached both the batch file and python file to this post for easy download.</p><p>Requirements: <a href="https://www.python.org/">Python 3.x</a></p>]]></content>
			<author>
				<name><![CDATA[hiker13526]]></name>
				<uri>http://forum.redump.org/user/8875/</uri>
			</author>
			<updated>2017-02-19T05:53:05Z</updated>
			<id>http://forum.redump.org/post/54051/#p54051</id>
		</entry>
</feed>
