<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - EMS Flasher by Lacklustre on Windows - HowTo]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/17128/"/>
	<updated>2016-04-07T21:44:45Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/17128/ems-flasher-by-lacklustre-on-windows-howto/</id>
		<entry>
			<title type="html"><![CDATA[Re: EMS Flasher by Lacklustre on Windows - HowTo]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/242241/#p242241"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Ledfyr wrote:</cite><blockquote><p>I wanted to mention that this version of ems-flasher also adds multi-rom support (although it does not work with LSDJ). So you may be interested to compile it as well: <a href="https://github.com/Drenn1/ems-flasher" target="_blank">https://github.com/Drenn1/ems-flasher</a></p></blockquote></div><p>I have updated the compiled version. This is now the multirom version, not the old legacy flasher...<br />Still the same url:<br /><a href="http://theotherdays.net/files/ems-flasher-win32/" target="_blank">http://theotherdays.net/files/ems-flasher-win32/</a></p>]]></content>
			<author>
				<name><![CDATA[cyberic]]></name>
				<uri>https://chipmusic.org/cyberic</uri>
			</author>
			<updated>2016-04-07T21:44:45Z</updated>
			<id>https://chipmusic.org/forums/post/242241/#p242241</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EMS Flasher by Lacklustre on Windows - HowTo]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/238822/#p238822"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>urbster1 wrote:</cite><blockquote><p>...this version of ems-flasher also adds multi-rom support...</p></blockquote></div><p>Sweet! Thanks for posting that <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[Shifty Pixlz]]></name>
				<uri>https://chipmusic.org/Shifty+Pixlz</uri>
			</author>
			<updated>2016-01-25T02:55:57Z</updated>
			<id>https://chipmusic.org/forums/post/238822/#p238822</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EMS Flasher by Lacklustre on Windows - HowTo]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/238820/#p238820"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Ledfyr wrote:</cite><blockquote><p>Connect your EMS cartridge to a USB port and install the latest WinUSB driver using Zadig (<a href="http://zadig.akeo.ie/" target="_blank">http://zadig.akeo.ie/</a>).<br />If you have previously installed a driver for your EMS cart, click options - list all devices and select it in the list. This will overwrite the driver, so you will not be able to use the cart with other software unless you reinstall the old driver.<br />Warning! Don&#039;t overwrite the wrong driver e.g. your keyboard (will be problematic).<br />If you haven&#039;t previously installed a driver for the EMS cartridge, it should show up as &quot;Unknown Device #1&quot; or similar in Zadig (no need to list all devices).<br />Choose a name for the cartridge, make sure the latest WinUSB driver is selected and click the install button.</p></blockquote></div><p>Ah! I too compiled this in Cygwin following the same steps you did, but didn&#039;t realize I needed these drivers installed. Kept saying I couldn&#039;t find the cartridge and now I know why! (For whatever reason I still cannot get the EMS drivers to install on my Windows 7 x64 installation after multiple failed attempts, nor would it work in Virtual PC in XP Mode. It was easier to install Linux in VirtualBox.)</p><p>I wanted to mention that this version of ems-flasher also adds multi-rom support (although it does not work with LSDJ). So you may be interested to compile it as well: <a href="https://github.com/Drenn1/ems-flasher" target="_blank">https://github.com/Drenn1/ems-flasher</a></p><p>I have compiled it for myself and I can confirm that performs the normal flashing and backing up correctly. I can&#039;t speak to the multi-rom capabilities but I can&#039;t see why it wouldn&#039;t work just fine.<br />Thanks so much!!! Now I don&#039;t have to boot into Linux in a VirtualBox every time I want to back up my sav&#039;s!!!</p>]]></content>
			<author>
				<name><![CDATA[urbster1]]></name>
				<uri>https://chipmusic.org/urbster1</uri>
			</author>
			<updated>2016-01-25T02:12:12Z</updated>
			<id>https://chipmusic.org/forums/post/238820/#p238820</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EMS Flasher by Lacklustre on Windows - HowTo]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/235410/#p235410"/>
			<content type="html"><![CDATA[<p>Nice work on this! <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[Shifty Pixlz]]></name>
				<uri>https://chipmusic.org/Shifty+Pixlz</uri>
			</author>
			<updated>2015-10-14T02:08:15Z</updated>
			<id>https://chipmusic.org/forums/post/235410/#p235410</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EMS Flasher by Lacklustre on Windows - HowTo]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/235400/#p235400"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Ledfyr wrote:</cite><blockquote><p>Did you pick both libusb1.0 and libusb1.0-devel, or just the devel? I will edit my instructions, thanks for noticing.</p></blockquote></div><p>Both of them I think.</p>]]></content>
			<author>
				<name><![CDATA[cyberic]]></name>
				<uri>https://chipmusic.org/cyberic</uri>
			</author>
			<updated>2015-10-13T22:21:13Z</updated>
			<id>https://chipmusic.org/forums/post/235400/#p235400</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EMS Flasher by Lacklustre on Windows - HowTo]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/235392/#p235392"/>
			<content type="html"><![CDATA[<p>Did you pick both libusb1.0 and libusb1.0-devel, or just the devel? I will edit my instructions, thanks for noticing.</p>]]></content>
			<author>
				<name><![CDATA[Ledfyr]]></name>
				<uri>https://chipmusic.org/Ledfyr</uri>
			</author>
			<updated>2015-10-13T19:57:48Z</updated>
			<id>https://chipmusic.org/forums/post/235392/#p235392</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EMS Flasher by Lacklustre on Windows - HowTo]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/235390/#p235390"/>
			<content type="html"><![CDATA[<p>Good to hear you got this working.</p><p>I just mailed Lacklustre in case he wants a Windows version on his page.</p>]]></content>
			<author>
				<name><![CDATA[Ledfyr]]></name>
				<uri>https://chipmusic.org/Ledfyr</uri>
			</author>
			<updated>2015-10-13T19:53:51Z</updated>
			<id>https://chipmusic.org/forums/post/235390/#p235390</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: EMS Flasher by Lacklustre on Windows - HowTo]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/235043/#p235043"/>
			<content type="html"><![CDATA[<p>Thank you!<br />I managed to compile it successfully.<br />And yes, I needed libusb1.0-devel, it is needed.<br />I have put the binary here:<br /><a href="http://theotherdays.net/files/ems-flasher-win32/" target="_blank">http://theotherdays.net/files/ems-flasher-win32/</a></p>]]></content>
			<author>
				<name><![CDATA[cyberic]]></name>
				<uri>https://chipmusic.org/cyberic</uri>
			</author>
			<updated>2015-10-01T08:28:57Z</updated>
			<id>https://chipmusic.org/forums/post/235043/#p235043</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[EMS Flasher by Lacklustre on Windows - HowTo]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/234901/#p234901"/>
			<content type="html"><![CDATA[<p>I have successfully compiled Lacklustre&#039;s EMS flasher using Cygwin. It&#039;s working perfectly on Windows 8.1 with my EMS 64M cartridge.<br />This should work on any Windows version where Cygwin and Zadig runs.<br />Cygwin might not be necessary if you have all the dependencies.</p><p>Instructions:</p><p>Install Cygwin and choose the following packages:</p><p>Libs: libusb1.0<br />Libs: libusb1.0-devel<br />Devel: pkg-config<br />Devel: gcc-core<br />Devel: make<br />Devel: git (optional, you can download the source from lacklustre.net)</p><p>Start Cygwin and clone the repo (or navigate to the downloaded directory):<br /></p><div class="codebox"><pre><code>git clone git://lacklustre.net/ems-flasher</code></pre></div><p>Edit main.c line 252-254 (- remove, + add). Otherwise you will get a compilation error. (There might be other ways to deal with this.)<br /></p><div class="codebox"><pre><code>-            tolower(opts.file[namelen - 3]) == &#039;s&#039; &amp;&amp;
-            tolower(opts.file[namelen - 2]) == &#039;a&#039; &amp;&amp;
-            tolower(opts.file[namelen - 1]) == &#039;v&#039;) {
+            tolower((unsigned char)opts.file[namelen - 3]) == &#039;s&#039; &amp;&amp;
+            tolower((unsigned char)opts.file[namelen - 2]) == &#039;a&#039; &amp;&amp;
+            tolower((unsigned char)opts.file[namelen - 1]) == &#039;v&#039;) {</code></pre></div><p>Run make in the ems-flasher directory:<br /></p><div class="codebox"><pre><code>cd ems-flasher
make</code></pre></div><p>If everything goes well, you will get an ems-flasher.exe binary in the same directory.</p><p>Connect your EMS cartridge to a USB port and install the latest WinUSB driver using Zadig (<a href="http://zadig.akeo.ie/" target="_blank">http://zadig.akeo.ie/</a>).<br />If you have previously installed a driver for your EMS cart, click options - list all devices and select it in the list. This will overwrite the driver, so you will not be able to use the cart with other software unless you reinstall the old driver.<br />Warning! Don&#039;t overwrite the wrong driver e.g. your keyboard (will be problematic).<br />If you haven&#039;t previously installed a driver for the EMS cartridge, it should show up as &quot;Unknown Device #1&quot; or similar in Zadig (no need to list all devices).<br />Choose a name for the cartridge, make sure the latest WinUSB driver is selected and click the install button.</p><p>Now you should be able to run ems-flasher.exe. Connect the cartridge and e.g. backup your .sav:<br /></p><div class="codebox"><pre><code>./ems-flasher.exe --read --save lsdj.sav</code></pre></div><p>Let me know if you get this working, or if you have any problems.</p>]]></content>
			<author>
				<name><![CDATA[Ledfyr]]></name>
				<uri>https://chipmusic.org/Ledfyr</uri>
			</author>
			<updated>2015-09-24T21:31:51Z</updated>
			<id>https://chipmusic.org/forums/post/234901/#p234901</id>
		</entry>
</feed>
