<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[ChipMusic.org - How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
		<link>https://chipmusic.org/forums/topic/19399/how-to-alter-lsdj-so-it-uses-128k-on-bennvenn-256m/</link>
		<description><![CDATA[The most recent posts in How to alter LSDJ so it uses 128k on BennVenn 256M?.]]></description>
		<lastBuildDate>Sun, 14 May 2017 19:37:29 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/252655/#p252655</link>
			<description><![CDATA[<b><i>Psynaptik says:</i></b><p>YOu&#039;d have to ask BennVenn. When I wrote this 4.7.3 wasn&#039;t quite the latest then either.</p><p>Most likely, until there&#039;s a major feature increase, no. But do you really need it?</p>]]></description>
			<pubDate>Sun, 14 May 2017 19:37:29 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/252655/#p252655</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/252652/#p252652</link>
			<description><![CDATA[<b><i>Fricoco says:</i></b><p>Any luck getting this to work with the latest lsdj?</p>]]></description>
			<pubDate>Sun, 14 May 2017 11:23:36 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/252652/#p252652</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/250980/#p250980</link>
			<description><![CDATA[<b><i>Psynaptik says:</i></b><p>Okay, as promised I had a go at writing a guide for anyone else who might have this problem. Hope it helps someone and saves them all the time I spent trying to work it out!</p><p>The file that I refer to is here: <a href="https://mega.nz/#!205TjTJb!iK73-HB0Fg4p0CvyRul7aJ4UxHmZcPQhx9_HC_Czrfs" target="_blank">https://mega.nz/#!205TjTJb!iK73-HB0Fg4p &#133; 9_HC_Czrfs</a></p><p>I did this because there are 3 different downloads floating around which are relevant to this, with only a few files which are still relevant, so I repackaged them, hoping to make the process easier.</p><p>=====================</p><p># Guide to using LSDJ and game roms on BennVenn 256M</p><p>## Intro</p><p>I had a lot of obstacles getting these cartridges working properly with LSDJ!</p><p>Most GB games use SRAM (save game memory) of 32K as default. Very few want/need more than this. LSDJ however is writter to use 128K for it&#039;s save memory. It *can* be used with 32K, but then you can only have one song at a time.</p><p>So here&#039;s a guide to save someone else the time that I had to spend! I hope this gives you an A to B guide to setting up and using LSDJ on your BennVenn 256M.</p><p>You will need:</p><p>- A Joey joebags reader/writer - available from BennVenn (the manufacturer) and other Gameboy websites.<br />- A 64M or 256M BennVenn flashcart (also available from various sites)<br />- A copy of LSDJ 4.7.3.</p><p>(If you just want to use the 256M for games and non-LSDJ programs, then this guide will not be of much interest to you - you can look at the BennVenn Setup.pdf thats available alongside the download links on Benn&#039;s website.)</p><p>## Software setup</p><p>1. If you haven&#039;t already, buy LSDJ (it&#039;s donation-ware, so dead cheap!) and download 4.7.3. </p><p>**At time of writing (02/17) 4.7.3 is the only version that can be used. This is due to complex save calls being made from/to the LSDJ rom, which takes some time to write. To be fair though, there are no major feature differences between 4.7.3 and 4.8.0 (latest at time of writing).**</p><p>2. Get latest Joey Software from Benn&#039;s download page: <a href="http://bennvenn.myshopify.com/pages/downloads" target="_blank">http://bennvenn.myshopify.com/pages/downloads</a></p><p>3. If you want to use Python script (or are not on Windows), you need to install Python, Tcl and pyUSB. This varies from system to system.<br />&nbsp; &nbsp; - For Windows:<br />&nbsp; &nbsp; &nbsp; &nbsp; - Not strictly necessary - there is a windows build that comes with the software (in the /dist directory). Stop here.<br />&nbsp; &nbsp; &nbsp; &nbsp; - If you just *have* to use the python script (?!), download and install latest version of Python, ActiveTcl (which installs Tcl on your system) and pyUSB.</p><p>4. Install xpsXP-111 using the xpsXP-111-setup.exe that&#039;s included with this download, or by finding the relevant version for your system (easily googled I think).</p><br /><p>## Process</p><p>Before flashing LSDJ 4.7.3 to the cart, make sure you&#039;re done all kit patching and save building that you want to do.</p><p>### Patch the LSDJ rom.</p><p>1. Double click on LSDJ_SRAM_MOD_Linker.ips. This should be associated with ipsXP and open the program.<br />2. Navigate to the lsdj.gb rom you want to patch and select it.<br />3. Your original rom will be renamed to lsdj.gb.bak, meaning that the new lsdj.gb is the patched file.</p><p>### Run it through the LSDJ builder</p><p>It helps to keep the file window where your lsdj.gb rom is in view to watch the file size.</p><p>1. Open up LSDJBuilder.exe<br />2. Click &#039;Patched LSDJ file&#039;. Navigate to the newly patched lsdj.gb rom.<br />3. Click &#039;output file&#039;. You can select the very same file so that it&#039;s just overwritten.<br />4. Click &#039;Generate 64M LSDJ file&#039;. (ignore the fact it says 64M - this was a smaller precursor to the 256M). You should see the size of lsdj.gb jump from 1024KB to 8192KB.</p><p>### Building the menu for the cart.</p><p>Now we need to add roms to the menu system and build them into a format the cartridge can understand for multibooting.</p><p>IMPORTANT: Before doing this step, make sure that all your roms and Menu.gb are in the same directory. My advice is to copy all the roms you want to use (including our newly patched and built LSDJ), plus Menu256_LSDJ_Fix.exe to the same directory.</p><p>1. Run &#039;Menu256_LSDJ_Fix.exe&#039;. This is an alternative version of the standard menu builder program.<br />2. Click &#039;Find File&#039;. Navigate to where your newly patched and built LSDJ is and select it.<br />3. BIZARRELY, DO NO TICK THE &#039;SAVE?&#039; BOX FOR LSDJ!!!!!<br />4. Click &#039;Add Rom&#039;. You&#039;ll know it&#039;s going fine if the block size of this LSDJ is 256. If it says 32 then you&#039;ve missed a step. </p><p>Repeat all this if you have more versions of LSDJ (i.e. if they have different kit setups or different save files) to load. You can have a maximum of 3 on the 256M cart, though keep in mind this leaves you little to no room for anything else.</p><p>Now you can add other roms, such as games or other music programs. If a game (e.g. Pokemon or many others) require a save game file, then check the &#039;Save?&#039; box BEFORE clicking &#039;Add Roms&#039;.</p><p>5. When you&#039;ve finished, click &#039;Generate Compilation&#039;. This will create some files in the same directory where this builder and all your roms are, called Output.gb and Output1.gb, Output2.gb, and maybe Output3.gb and Output4.gb, depending on how much you&#039;re wanting to flash to the cart.</p><p>### Flashing the cartridge.</p><p>1. Start up the joey reader/writer software.<br />2. Click on Cart Type &gt;&gt; BennVenn256M &gt;&gt; Block1 &gt;&gt; Flash ROM.<br />3. Navigate to your recently generated Output1.gb and select it.<br />4. Follow instructions for removing and replacing cart from the program and it will start to write to your cart.<br />5. Follow the instructions when the writing process has completed.</p><p>Repeat these steps for as many banks of data/output files as you have, but flash output2.gb to block 2, output3.gb to block 3 and output4.gb to block 4 - as many as necessary.</p><p>It is not necessary to flash all four blocks unless needed. If there&#039;s only 2 output files that you made, then just do blocks 1 and 2.</p><p>### Play!</p><p>Your cartridge should be all ready to go. You pop it in your gameboy, then select an item from the menu. It will then reboot the gameboy into that program.</p><p>If you want to know more about flashing and dumping save files etc., then see the .pdf guide that&#039;s on Benn&#039;s website.</p><p>Have fun!</p>]]></description>
			<pubDate>Fri, 03 Feb 2017 12:19:21 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/250980/#p250980</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/250897/#p250897</link>
			<description><![CDATA[<b><i>Psynaptik says:</i></b><p>Okay, so 4.8.0 doesn&#039;t work with those patch files (as expected), but since there aren&#039;t any major feature differences between 4.7.3 and 4.8.0 that&#039;s not really a problem.</p><p>Thanks for your help. Got a load of work to deal with now (since I&#039;ve spent too long on this issue!) and I&#039;ll try to get to writing a guide later this week.</p>]]></description>
			<pubDate>Tue, 31 Jan 2017 11:08:58 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/250897/#p250897</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/250894/#p250894</link>
			<description><![CDATA[<b><i>Psynaptik says:</i></b><p>@zemzelett - you absolute legend! Got it working. Would appear that I needed to add the LSDJBuilder.exe into the mix.</p><p>That at least builds an LSDJ 4.7.3 with save capability. Going to try adding other roms and following same steps for LSDJ 4.8.0 now, will update....</p>]]></description>
			<pubDate>Tue, 31 Jan 2017 09:47:54 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/250894/#p250894</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/250883/#p250883</link>
			<description><![CDATA[<b><i>Psynaptik says:</i></b><p>Okay, that&#039;s all great, I&#039;ll give it a shot tomorrow when I have chance.</p><p>There *is* a guide of some sort on ninstrument.com, but doesn&#039;t have details about how to build LSDJ. But I&#039;ll have another look and see what I can come up with. The only guides I can find are the &quot;BennVenn User guide.pdf&quot; and the guide in setup.rar on this page: <a href="http://www.ninstrument.com/?page_id=1758." target="_blank">http://www.ninstrument.com/?page_id=1758.</a></p><p>I think Benn is busy pushing out some new products, so I&#039;ve sent him a few messages on FB and just need to wait for him to get back to me I think.</p><p>My aim is to put something together where someone can patch their LSDJ rom and then compile as they like to Benn&#039;s 256M. We&#039;ll see how this goes!</p>]]></description>
			<pubDate>Mon, 30 Jan 2017 20:16:45 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/250883/#p250883</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/250882/#p250882</link>
			<description><![CDATA[<b><i>zemzelett says:</i></b><p>Copied right out of a mail from ben:</p><div class="quotebox"><cite>Ben wrote:</cite><blockquote><p><em>As for IPS patching.</em></p><p><em>You take your LSDJ ROM, IPS patch the SRAM MOD IPS file</em></p><p><em>Then run it through the builder program which generates an 8mb file</em></p><p><em>Then compile using the compiler with the LSDJ fix in it.</em></p><p><em>I have a new IPS patch too for the newer USB linker. I&#039;ll find it and send it to you</em></p></blockquote></div><p>Which verifies what i said and answers your latest question about which IPS patch to apply.</p><br /><p>Another mail:<br /></p><div class="quotebox"><cite>Ben wrote:</cite><blockquote><p><em>If you could get a screenshot and how u triggered the bug that would be cool. There is a guide on Ninstrument.com how to compile LSDJ. Little things like NOT ticking SRAM etc...</em></p></blockquote></div><p>Ok, i did never find the mentioned guide and ben did never get around sending it to me. But maybe try out the part with not checking the Save option when adding LSDJ? Who knows. Otherwise i have no further info. Hope you&#039;ll get it to work and write the guide about it!</p><p>Maybe also try emailing Ben again.</p><p>Someone should write newer software that does the same process but easier for the user. Preferably also in Python or Javascript so anyone could use it easily on any system etc. But i think only Ben would be able to do so as it&#039;s his carts and only he knows the internals?</p>]]></description>
			<pubDate>Mon, 30 Jan 2017 18:51:50 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/250882/#p250882</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/250872/#p250872</link>
			<description><![CDATA[<b><i>Psynaptik says:</i></b><p>I wasn&#039;t sure what the LSDJBuilder.exe was for, and it seems to only take a patched file...question is which one?!</p><p>What I get when adding the LSDJ rom in the menu builder is that it&#039;s 32k, where I was expecting something larger. I know that when I used the dumps of the banks from before (when there were 3 LSDJs with full save capabilities) it shows up as 256 etc. as you say, so I kind of knew that it wasn&#039;t going to work, but had a go anyway.</p><p>Thanks for your help. When I get this sorted I&#039;ll write a readme.txt/blog post on how to patch lsdj and get it working so that someone can learn from my pain! Kind of surprised that that hasn&#039;t been done already though....</p>]]></description>
			<pubDate>Mon, 30 Jan 2017 10:54:47 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/250872/#p250872</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/250871/#p250871</link>
			<description><![CDATA[<b><i>zemzelett says:</i></b><p>Did you also use the <em>LSDJBuilder.exe</em> to make 8k LSDJ ROMs prior to assembling them with the (LSDJ Fix) menu builder?</p><p>It should show you that it does not assign flash while adding LSDJ (8k version) but in the end it actually does when it compiles it. Keep in mind you can only have 3 instances of LSDJ on 1 256 cart like that. I think... (Flash locations should show you 256, 512, 768, 0 when compiled)</p><p>I had email contact with ben about a few things regarding his carts and flasher 1 and a 1/2 years back. I&#039;ll look this up this afternoon. Maybe there&#039;s some knowledge about that there.</p>]]></description>
			<pubDate>Mon, 30 Jan 2017 10:04:06 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/250871/#p250871</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/250859/#p250859</link>
			<description><![CDATA[<b><i>Psynaptik says:</i></b><p>Ah, didn&#039;t know about the LSDJ buffering thing.</p><p>I&#039;m going to go through a few other ways of doing things this afternoon and let you know how I get on.</p><p>Thanks for help so far.</p><p>**Later Edit:**</p><p>Have tried flashing LSDJ 4.7.3 vanilla, and 4.7.3 with either of the 2 patches that are in the setup.rar from ninstruments.com.</p><p>All flashed with Menu256_LSDJ_Fix.exe and all I get is LSDJ &#039;one song&#039; version.<br />Re: patching - have downloaded and installed ips XP 1.11.2600 and used to try flashing 4.7.3 with LSDJ_Patch_1_001.ips and LSDJ_SRAM_MOD_Linker.ips, but no luck. Just end up with LSDJ 4.7.3 with no save capability (this is on a DMG).</p><p>Am flashing to a 256M with latest (3.18c) joey software, using the python script (having faffed about with getting Tcl installed and pyUSB).</p><p>Am on Windows 10, although operating system shouldn&#039;t make a difference really.</p><p>**Later Later Edit**</p><p>Patched 4.7.3 with both patch files - same result (can only work on one song).</p><p>Am using 4.7.3 because the date of all the files in the setup.rar predate 4.8.0.</p>]]></description>
			<pubDate>Sun, 29 Jan 2017 16:52:49 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/250859/#p250859</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/250858/#p250858</link>
			<description><![CDATA[<b><i>zemzelett says:</i></b><p>I have no Windows machine at hand today but i&#039;ll try to use my work pc tommorow to help you out with that.</p><p>Also, i thought it&#039;s a standard feature that LSDJ buffers your current song in SRAM as long as you work on it.</p>]]></description>
			<pubDate>Sun, 29 Jan 2017 16:43:04 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/250858/#p250858</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/250856/#p250856</link>
			<description><![CDATA[<b><i>Psynaptik says:</i></b><p>Ah yes - I had that when I got this gear second hand. I dumped those four banks and can write them back with no problem.</p><p>It&#039;s just that I&#039;d like to have some control over what goes on my flash cart. I can flash back 3 copies of 4.7.3 with 128K ram because I dumped all 4 of the banks before I did anything else. But I wanted to put just 1/2 copies of lsdj plus some games on there. </p><p>I can&#039;t just add &#039;Dump1&#039; to the menu builder program (it doesn&#039;t build properly) and I&#039;ve tried adding lsdj is various permutations, with or without patches. None of it comes out right.</p><p>I&#039;d also like to know so I can write an up to date guide on this to help others!</p>]]></description>
			<pubDate>Sun, 29 Jan 2017 13:08:10 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/250856/#p250856</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/250853/#p250853</link>
			<description><![CDATA[<b><i>MaxDolensky says:</i></b><p>I own two 256M carts and they came loaded with 3 instances of LSDJ each as well as a 4th ROM. Each save has 128kb accessible. Sounds like a ROM configuration issue using the ROM-packer on his site?</p><p>EDIT: Suh</p>]]></description>
			<pubDate>Sun, 29 Jan 2017 03:49:57 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/250853/#p250853</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/250846/#p250846</link>
			<description><![CDATA[<b><i>Psynaptik says:</i></b><p>Will experiment with that. There are a ton of files in all these downloads, and I get the impression that some of them are just there because they *used* to be useful, but aren&#039;t now.</p><p>But no idea which is which!</p><p>Update: LSDJ 4.8.0 and the file you named above doesn&#039;t work. You have no ability to save your song AT ALL!<br />Update 2: Okay, so now I get it - I didn&#039;t *need* to save. I turned off the cart and turned it on later with no change in my song. So whilst it was pretty cool that I didn&#039;t have to explicitly save, obviously that means I only have 32K save and therefore only 1 song.</p>]]></description>
			<pubDate>Sat, 28 Jan 2017 23:44:11 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/250846/#p250846</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to alter LSDJ so it uses 128k on BennVenn 256M?]]></title>
			<link>https://chipmusic.org/forums/post/250843/#p250843</link>
			<description><![CDATA[<b><i>zemzelett says:</i></b><p>There&#039;s an extra <em>Menu256_LSDJ-Fix.exe</em> file for doing this. Is there something like that in the zip file you have downloaded? This file should assign SRAM properly.</p><p>I have no means of uploading the file i have atm. So maybe search around for it on google.</p>]]></description>
			<pubDate>Sat, 28 Jan 2017 20:07:18 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/250843/#p250843</guid>
		</item>
	</channel>
</rss>
