Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: bfauska on February 24, 2007, 08:02:21 pm
-
I don't know if I have set up Johnny5 correctly or not, I am definately having problems with it but I don't know if it is my fault.
I unzipped the downloaded file into it's own directory and set up the mame directory and mame exe in the parsing options screen. When I try to run Johnny5 from the command line I get an error message:
"Run-time error '339':
Component 'LEDWIZM.OCX' or one of it's dependencies not correctly registered: a file is missing or invalid."
This message is poping up over the default cp picture with no labels on it.
In my current settings I am using mameplus command line version mamep.exe and I have tested it also with mame32, and mame32fx.
In addition to the error message I am also not getting it to launch the roms. When I tried it with mame32 it opened the cp picture, poped the error message and opened mame32's frontend and now that I am trying it with a command line mame it only opens the cp picture. If I try to pass mame32 or mamep a rom name directly in the command line that works, so I must not have johnny5 set up right to send a rom name to mame.
To make a long post longer... the whole reason I am even attempting to set this up is so that I can use the command.dat system. I have that working directly through mameplus but would like to run it independant of the mame build. I also love the idea of showing a particular games controls in the FE before the game gets launched.
I feel like if I just understood what files go where and how I have them reference eachother I would be able to figure much of this out.
Thanks for any help, I would love to be able to use this program it looks like a great addition to my future cabinet.
Later,
Brian
-
The error message tells you what is wrong. Ledwizm.ocx is not registered properly. I don't do it for you because, well ocx's are funny and j5 doesn't use the latest version of the ocx (yet).
open up a command prompt, navigate to your johnny5 folder and type
regsvr32 ledwizm.ocx
All should be well.
-
I hate to seem helpless, but when I tried that command I got another error message:
"ledwizm.ocx" is not an executable file and no registration helper is registered for this file type."
Ideas?
Thanks,
Brian
EDIT:
I should mention I am running Windows XP with all current updates. I was however missing mfc30.dll which a microsoft help page said may cause problems so I dl'd it and restarted and tried again. Same probs.
-
Honestly? Sounds like something is wrong with windows. You didn't by chance do one of those "tiny" installs did you?
I wanted to make absolutely sure that there wasn't a glitch in the ocx so I re-registered mine using the command I suggested above. I got a "ledwizm.ocx successfully registered" message and that was it. I run xp too btw.
-
Standard install. I should say Gateway install, on a laptop, but I've never had any trouble like this before. I could try it on my desktop just to see if it is this computer. I think I'll do that and see if that's the problem.
-
Same thing on my desktop computer. Maybe my download was bad? Can you post a link to the zip I should be downloading? I will try again from the site in your sig.
I could also be missing some other step.
Download zip
unzip to folder C:\johnny5
regsvr32 ledwizm.ocx
ERROR MESSAGE.
Like I said I'll try to re-aquire the zip.
Later,
Brian
-
Re-downloaded from
http://www.oscarcontrols.com/lazarus/files/Johnny5%203.0beta.zip
same thing. I'm lost. :dunno
-
They are right Howard, I just tried downloading from the link above myself and I get the same error. I've never had problems registering the LEDWiz ocx before so this file must be corrupted or something.
-
just hold tight then
I was gonna wait until later this week to release 3.1, which is essentially the same as 3.0 but with a new, updated ocx. I'll see if I can get it out in a few.
-
Alright guys, 3.1 is up see if that works for you.
-
I've also updated the j5 command dat addon to include the latest version of command.dat
-
I downloaded the new files and unzipped them into my johnny5 folder (replacing old files) this fixed the ocx problem, but now I get a new error message when I start run johnny5. It shows the message over the cp image.
run-time error '374':
Failed to activate control 'VB.UserControl'. This control may be incompatible with your application. Make sure you are using the version of the control that was provided with your application.
I can try unzipping into a new folder, and I will, but I thougt I would get this posted asap to give you a heads up.
Thank you very much by the way for pushing up your schedule on the release of the new beta for me. Hopefully I can get it to work.
Later,
Brian
-
Yeah that is why I don't register the ocx myself..... something on your system (maybe even when you tried j5 before) is using an old version of the ocx. They can't live together. Register this new ocx I included and j5 will work, but whatever you have that is using the old ocx will now be broken. This is an issue with the ocx and thus it's out of my hands.
-
That happened after registering the OCX. Maybe I'll wait on getting this running utill I build my dedicated mame machine. :dunno It should be a pretty lean system w/o too much other stuff. Unless it has a conflict with an emulator or whichever FE I choose, there won't really be much else installed.
Thanks for the help in trying to figure this out, even if I can't solve it yet.
Brian
-
I tried the new 3.1 tonight and am getting these exact same issues. Ie. after I registerd the new ocx it is giving me the 'VB.UserControl' error and it was giving me the 'LEDWIZM.OCX' error before.
I've tried an older version of J5 in the past, so that is likely what is using the older version of the ocx (if there is one). This is on a pretty bare bones computer that really doesn't have anything on it other than my mame stuff so I am not too worried about loosing the function of the older ocx. Is there any way to get rid of it or another way around this?
Man-o-man would I love to get this app working...
:badmood:
-
yeah wait for 3.2 ;)
Seriously, it looks like the exe got corrupted and I don't have a backup.
3.2 is almost ready anyway.
-
Ask and you shall recieve gentlemen. 3.2 is up, and I tested the dl myself this time. Seems to be working fine. Also there are some other minor improvments.
Enjoy!
-
Crap... I don't know where my head is today.... found a minor bug, please hold.
-
It was fixed (as of last night)... sorry I only posted the update on my site.
-
Thanks Howard! I can't wait to try it out.
:cheers:
-
I really hate to say it, but my J5 struggles continue. Now I am getting a run-time error that is saying I have a bad file name. The viewer opens, shows no labels and this error pops up in front of it.
:hissy:
Let me go through exactly what I am doing because I am sure I am making some stupid mistake.
-I downloaded the new version off your site and extracted to E:\J5
-Run the exe with no options to set up the viewer options: specify my mame path, verify mame.exe and clear the controller config field. Click ok in the options window and then close johnny.
-Then I open a command prompt on my J5 folder and type 'johnny5 1942' and hit enter.
Is this not enough to get Johnny to run w/o errors, albeit in a very bare bones fashion? Do I have to register that ocx again?? On your site it says to remember to clear your cache. How do I do that???
I apologize for being so dense about all of this... I don't have much background with this type of stuff and I am definitely learning as I go. One thing is for sure, I am VERY motivated to get this app working! I really appreciate the help you've already given me and any more you may be able to offer.
:notworthy:
-
By clear the cache I meant clear the internet cache when you download. That has nothing to do with the app itself, I just wanted to make sure you downloaded the latest version.
A bad filename error generally means just that. Either that or you've got an invalid path or setting set leading to a bad file name (for example, maybe you have spaces in the ctrlr field instead of it being really clear). Also make sure your mame.ini doesn't have any syntax errors, and yes you MUST have a mame.ini as j5 reads a lot of stuff from it.
And no that isn't enough.... you have to make your own layout file or modify the existing one so that the buttons are mapped properly. You also need to use a curent version of mame (not necessarily the newest, but fairly new) version prior to around .100 aren't officially supported. Also the fact that you aren't using a controller file might be giving it grief. In theory it should run without a ctrlr file set, but in practice, I seldom test for how it works with no ctrlr file. -edit- ignore that bit I tested the latest build without a ctrlr file just in case... works fine.