 |
gbadev.org gbadev forum
|
| View previous topic :: View next topic |
| Author |
Message |
psychowood
Joined: 29 Jan 2007 Posts: 60
|
Posted: Mon Jan 29, 2007 1:05 pm Post subject: [v0.93]My patcher, DLDIrc: neither commandline nor GUI based |
|
|
Hi all,
I've spent some hours developing a little and useful (at least for me, and I hope for someone else too :) ) tool to apply a DLDI patch on homebrew roms. It is for Windows (XP/2k/NT), is different from the patchers already available because uses Chishm's dlditool to patch via right clicking the rom. No GUI, no command prompt. Two clicks, that's all. :)
If you use more than one flashcard, you can install more than one DLDI driver, and you'll have every single choice available in the context menu.
It can be downloaded from here (it is a direct download link, I'm just using that link to count the clicks :) ), if someone wants to try it and give me an opinion... well, I'm here. :)
Last edited by psychowood on Wed Oct 17, 2007 1:28 pm; edited 23 times in total |
|
| Back to top |
|
 |
dantheman
Joined: 07 Oct 2005 Posts: 890
|
Posted: Mon Jan 29, 2007 9:12 pm Post subject: |
|
|
It doesn't work for me, using Windows XP. The Start Menu shortucts are created, and the DLDI files are extracted and all, but nothing has changed in my right-click menu when clicking on a .nds file. Rebooting after installation provided no changes.
According to the log file that is created when it is installed or uninstalled, it appears that all it does is extract the files to the location I specify and create shortcuts. Shouldn't it be writing to the registry or something, to modify the right-click menu of .ds.gba and .nds files? Or do registry edits not appear in this log?
Other people have reportedly gotten it to work, so I'm hoping it's merely an error on my end. |
|
| Back to top |
|
 |
psychowood
Joined: 29 Jan 2007 Posts: 60
|
Posted: Mon Jan 29, 2007 9:38 pm Post subject: |
|
|
| dantheman wrote: | | It doesn't work for me, using Windows XP. |
Hi dantheman, thanks for taking some time trying DLDIrc. :)
Can you tell me your exact version of XP, and what language are you using?
| Quote: | | The Start Menu shortucts are created, and the DLDI files are extracted and all, but nothing has changed in my right-click menu when clicking on a .nds file. Rebooting after installation provided no changes. |
It should work out-of-the-box, no reboot required.
| Quote: | | According to the log file that is created when it is installed or uninstalled, it appears that all it does is extract the files to the location I specify and create shortcuts. Shouldn't it be writing to the registry or something, to modify the right-click menu of .ds.gba and .nds files? Or do registry edits not appear in this log? |
Exactly, the setup simply copies files in the destination directory and creates (tries to..) some shorcuts and registry keys. Specifically:
-HKLM\Software\DLDIrc to store the install path
-HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\DLDIrc to add the uninstall option in the Add/Remove Software Control Panel page
-HKCR\.nds\shell\DLDI.....\Command (one key for every selected DLDI driver), which is the heart of the tool and is the context menu item
The only thing that comes up in my mind is the fact that I forgot about testing it in a non-administrator environment, and it is possible that writing a registry key in HKLM and in HKCR requires a high privileged user: did you install it using a standard user or a poweruser/administrator?
| Quote: | | Other people have reportedly gotten it to work, so I'm hoping it's merely an error on my end. |
Yep, the download link counted about 2 hundred downloads, and your is the first non-working case. Lets solve it, then :) |
|
| Back to top |
|
 |
dantheman
Joined: 07 Oct 2005 Posts: 890
|
Posted: Mon Jan 29, 2007 10:09 pm Post subject: |
|
|
I'm using Windows XP Home edition, English language. I'm running an administrator account, the only one on my system.
Looking at HKEY_LOCAL_MACHINE\Software\DLDIrc, I see a single key called Install_Dir with a value of C:\Program Files\DLDIrc. Nothing out of the ordinary there. The uninstall location seems to be fine as well. Even the HKEY_CLASSES_ROOT one looks correct. I tried making my own string value, with a name of "test" and the contents that you put in yours, but it doesn't show up either in my right-click menu. How odd. |
|
| Back to top |
|
 |
psychowood
Joined: 29 Jan 2007 Posts: 60
|
Posted: Tue Jan 30, 2007 12:22 am Post subject: |
|
|
| dantheman wrote: | | I'm using Windows XP Home edition, English language. I'm running an administrator account, the only one on my system. |
Haven't had a chance to try it on XP Home yet, but the differences with the Pro Edition should not be related with this problem.
| Quote: | | Looking at HKEY_LOCAL_MACHINE\Software\DLDIrc, I see a single key called Install_Dir with a value of C:\Program Files\DLDIrc. Nothing out of the ordinary there. The uninstall location seems to be fine as well. Even the HKEY_CLASSES_ROOT one looks correct. I tried making my own string value, with a name of "test" and the contents that you put in yours, but it doesn't show up either in my right-click menu. How odd. |
What DLDI driver did you tried? I've already tested them all (even installing all together) and the only issue I noticed is that if you install both the M3 SD drivers, only one of them shows up in the context menu (but it isn't really a issue, I'd say).
Can you try making a whole new key, something like
HKEY_CLASSES_ROOT\.nds\shell\MYKEY\command\
with nothing in it, and seeing if it shows up when you right-click a .nds file?
And, could you export and send me the subkeys of the .nds class, too (in regedit, right click on ".nds" in HKCR, and then select "export", it will save a .reg text file)? You can find my email address at the end of the readme.txt file.
Thanks. |
|
| Back to top |
|
 |
dantheman
Joined: 07 Oct 2005 Posts: 890
|
Posted: Tue Jan 30, 2007 12:54 am Post subject: |
|
|
I first tried the Supercard SD driver, but then when that didn't work, I tried installing several others. They all showed up in regedit, but none of them actually did anything.
Creating my own key also does nothing. I've sent you an e-mail with the .reg file. |
|
| Back to top |
|
 |
chishm
Joined: 09 Jan 2005 Posts: 1391 Location: Canberra, Australia
|
Posted: Tue Jan 30, 2007 1:12 am Post subject: |
|
|
psychowood:
I did get your email, but I am a little slow in answering I suppose. I was looking at ways that you could get the latest dlditool when installing, which isn't easy using SourceForge. Perhaps just grab the one included with DKA r20. I'm still not sure what to do about the DLDI files yet. _________________ http://chishm.drunkencoders.com
http://dldi.drunkencoders.com |
|
| Back to top |
|
 |
psychowood
Joined: 29 Jan 2007 Posts: 60
|
Posted: Tue Jan 30, 2007 2:03 am Post subject: |
|
|
| dantheman wrote: | I first tried the Supercard SD driver, but then when that didn't work, I tried installing several others. They all showed up in regedit, but none of them actually did anything.
Creating my own key also does nothing. I've sent you an e-mail with the .reg file. |
Sorry, I'm almost sure that the problem lies in your PC :(
I added the key without a problem and it shows up correctly.. I really don't know what could be the problem, because if even the one you created isn't visible.... :|
Do you have some kind of strange system extension installed?
chishm:
Well, after only two or three days you aren't on the slow side yet :) I asked just because I did not got the return receipt (not that I expected it, after all you didn't know my address) and recently I've been "antispammed" more than once. :)
Actually I've put in the package the one you have in your site, v1.21, together with every working driver available, for now I'll manually update when needed, if I come up with a decent idea (I was thinking about a DLDI repositloty with pre-patched roms..) I'll let you know. |
|
| Back to top |
|
 |
dantheman
Joined: 07 Oct 2005 Posts: 890
|
Posted: Tue Jan 30, 2007 3:38 am Post subject: |
|
|
| Yeah, it's probably my computer. I've had some issues with .nds files before, refusing to open with the program I told them to, but oh well. Thanks for trying nonetheless. |
|
| Back to top |
|
 |
RVK
Joined: 15 Feb 2006 Posts: 76
|
Posted: Tue Jan 30, 2007 3:46 am Post subject: |
|
|
| Mine was not working either but I found that I had associated .nds files with my SC patch program. As soon as I removed the association, your tool works fine. |
|
| Back to top |
|
 |
dantheman
Joined: 07 Oct 2005 Posts: 890
|
Posted: Tue Jan 30, 2007 3:54 am Post subject: |
|
|
There we go, that fixed it. By default, I have .nds files open with No$GBA since it has good homebrew compatibility. I went into Regedit and removed the "nds_auto_file" value data from the .nds key, which made it open in your script by default. Now that I added "nds_auto_file" back in, it runs by default in No$GBA again, but I now have an option in the "Open With..." menu for "Windows Command Processor" which patches with your script.
I haven't tested it much, but it appears to work. The best part is that you can easily update the DLDI patches or the dlditool since they're standalone files in the installation directory.
Thank you RVK for that tip. |
|
| Back to top |
|
 |
Goosey
Joined: 16 Jul 2006 Posts: 33
|
Posted: Tue Jan 30, 2007 5:45 pm Post subject: |
|
|
| dantheman wrote: | There we go, that fixed it. By default, I have .nds files open with No$GBA since it has good homebrew compatibility. I went into Regedit and removed the "nds_auto_file" value data from the .nds key, which made it open in your script by default. Now that I added "nds_auto_file" back in, it runs by default in No$GBA again, but I now have an option in the "Open With..." menu for "Windows Command Processor" which patches with your script.
I haven't tested it much, but it appears to work. The best part is that you can easily update the DLDI patches or the dlditool since they're standalone files in the installation directory.
Thank you RVK for that tip. |
I was having the same issue, and your fix worked for me.
Somehow if DLDIrc could coexist with prexisting auto-open setups that would be a good fix for a future version. :) |
|
| Back to top |
|
 |
tyraen
Joined: 12 Jul 2006 Posts: 94
|
Posted: Tue Jan 30, 2007 6:23 pm Post subject: |
|
|
| You could probably make it create a context menu of its own, like WinRAR or 7-zip. :) |
|
| Back to top |
|
 |
psychowood
Joined: 29 Jan 2007 Posts: 60
|
Posted: Tue Jan 30, 2007 8:43 pm Post subject: |
|
|
I'll give a look to see what I can do, the strange thing I really don't understand is that it should work this way, because it is the normal way Windows uses file associations...
| tyraen wrote: | | You could probably make it create a context menu of its own, like WinRAR or 7-zip. :) |
You have a point here, but I'd like to avoid using .dll and .exe...
I'll look more deeply into this problem, and let you know :) |
|
| Back to top |
|
 |
psychowood
Joined: 29 Jan 2007 Posts: 60
|
Posted: Tue Jan 30, 2007 10:21 pm Post subject: v0.2 :) |
|
|
Hi again,
version 0.2 is up.
I rewrote the association code (now it uses batch files, if the problem regarded the lenght of the registry key now should be solved, if you want to giva a try..).
I also added the official AceKard+ DLDI driver and the ability to associate .nds files with a nice looking icon. :) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|