<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.xsl" type="text/xsl"?>
<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>DICOM &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/dicom/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Tue, 24 Sep 2024 07:36:26 +0000</lastBuildDate>
	<language>en-GB</language>
	<copyright>© Terence Eden. 🄯 CC BY-SA. See https://shkspr.mobi/blog/copyright-and-copyleft/</copyright>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>DICOM &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[Opening Compact File Set (CFS)  files in Linux]]></title>
		<link>https://shkspr.mobi/blog/2024/10/opening-compact-file-set-cfs-files-in-linux/</link>
					<comments>https://shkspr.mobi/blog/2024/10/opening-compact-file-set-cfs-files-in-linux/#comments</comments>
				<dc:creator><![CDATA[Terence Eden]]></dc:creator>
		<pubDate>Thu, 24 Oct 2024 11:34:13 +0000</pubDate>
		<category><![CDATA[DICOM]]></category><category><![CDATA[linux]]></category>		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=52251</guid>

					<description><![CDATA[I was sent some medical images in a password-protected CFS file. Here&#039;s how to open them in Linux.  You can&#039;t.  OK, that&#039;s a bit of an exaggeration.  It&#039;s complex, but here&#039;s how to do it.  The Linux software for the Compact File Set hasn&#039;t been updated in years and only works with ancient versions of Linux.  Here&#039;s how to temporarily install an old version, install the software, and then…]]></description>
										<content:encoded>&lt;p&gt;I was sent some medical images in a password-protected CFS file. Here's how to open them in Linux.&lt;/p&gt;

&lt;p&gt;You can't.&lt;/p&gt;

&lt;p&gt;OK, that's a bit of an exaggeration.  It's complex, but here's how to do it.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://pismotec.com/cfs/"&gt;Linux software for the Compact File Set&lt;/a&gt; hasn't been updated in years and only works with &lt;em&gt;ancient&lt;/em&gt; versions of Linux.  Here's how to temporarily install an old version, install the software, and then liberate your files.&lt;/p&gt;

&lt;ol start="0"&gt;
&lt;li&gt;Install VirtualBox or your favourite Virtual Machine.&lt;/li&gt;
&lt;li&gt;Install &lt;a href="https://www.releases.ubuntu.com/bionic/"&gt;Ubuntu 18.04.6 LTS (Bionic Beaver)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Once you're in Ubuntu, run &lt;code&gt;sudo apt install make gcc&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Download the &lt;a href="https://pismotec.com/download/"&gt;Pismo File System Redirector build 23X&lt;/a&gt; for Linux.&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;chmod +x fsr-23X-lin.run&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Extract it with &lt;code&gt;runstub_folder=. ./fsr-23X-lin.run&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Go into the folder it created &lt;code&gt;cd fsr-23X-lin/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Install with &lt;code&gt;sudo ./fsrcmd install&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Go back to the location where you downloaded the files &lt;code&gt;cd ..&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Downloand the &lt;a href="https://pismotec.com/download/pfm-23X-lin.run"&gt;Pismo File Mount build 23X&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;chmod +x pfm-23X-lin.run&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;sudo ./pfm-23X-lin.run install&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Mount the file with &lt;code&gt;pfm mount YourFile.cfs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Type the file's password (not your login password)&lt;/li&gt;
&lt;li&gt;Open your file explorer, you should see the folder mounted with the files ready to copy off.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If that doesn't work, there is an alternative.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Download an install &lt;a href="https://pismotec.com/download/pfm-23X-lin.run"&gt;Pismo File Mount build 23X&lt;/a&gt; as above.&lt;/li&gt;
&lt;li&gt;That installs a helper app called &lt;code&gt;ptcfs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;ptcfs extract YourFile.cfs&lt;/code&gt; and all the contents should be unpacked.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Thanks to the NHS for supplying my medical files free of charge. But why did they have to use this weird and non-standard file format? Luckily the medical images are in DICOM format, so I can 3D print my brains.&lt;/p&gt;
&lt;img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=52251&amp;amp;HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager"&gt;</content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2024/10/opening-compact-file-set-cfs-files-in-linux/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
