Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Johnny5 help  (Read 3490 times)

0 Members and 1 Guest are viewing this topic.

bfauska

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1372
  • Last login:April 15, 2025, 10:49:31 pm
  • "You're not wrong Walter, you're just an @##hole!"
Johnny5 help
« 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

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 10:27:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Johnny5 help
« Reply #1 on: February 24, 2007, 09:15:36 pm »
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.


bfauska

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1372
  • Last login:April 15, 2025, 10:49:31 pm
  • "You're not wrong Walter, you're just an @##hole!"
Re: Johnny5 help
« Reply #2 on: February 24, 2007, 09:29:34 pm »
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.
« Last Edit: February 24, 2007, 10:03:29 pm by bfauska »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 10:27:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Johnny5 help
« Reply #3 on: February 24, 2007, 10:15:45 pm »
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.

bfauska

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1372
  • Last login:April 15, 2025, 10:49:31 pm
  • "You're not wrong Walter, you're just an @##hole!"
Re: Johnny5 help
« Reply #4 on: February 25, 2007, 02:01:11 am »
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.

bfauska

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1372
  • Last login:April 15, 2025, 10:49:31 pm
  • "You're not wrong Walter, you're just an @##hole!"
Re: Johnny5 help
« Reply #5 on: February 25, 2007, 02:21:04 am »
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

bfauska

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1372
  • Last login:April 15, 2025, 10:49:31 pm
  • "You're not wrong Walter, you're just an @##hole!"
Re: Johnny5 help
« Reply #6 on: February 25, 2007, 02:39:48 am »

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Johnny5 help
« Reply #7 on: February 25, 2007, 06:59:10 am »
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.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 10:27:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Johnny5 help
« Reply #8 on: February 25, 2007, 01:46:28 pm »
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.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 10:27:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Johnny5 help
« Reply #9 on: February 25, 2007, 01:57:28 pm »
Alright guys, 3.1 is up see if that works for you.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 10:27:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Johnny5 help
« Reply #10 on: February 25, 2007, 02:10:51 pm »
I've also updated the j5 command dat addon to include the latest version of command.dat

bfauska

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1372
  • Last login:April 15, 2025, 10:49:31 pm
  • "You're not wrong Walter, you're just an @##hole!"
Re: Johnny5 help
« Reply #11 on: February 25, 2007, 09:41:56 pm »
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

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 10:27:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Johnny5 help
« Reply #12 on: February 26, 2007, 12:00:25 pm »
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.

bfauska

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1372
  • Last login:April 15, 2025, 10:49:31 pm
  • "You're not wrong Walter, you're just an @##hole!"
Re: Johnny5 help
« Reply #13 on: February 26, 2007, 12:59:13 pm »
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

Dustin Mustangs

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:September 14, 2017, 11:43:18 am
  • Cut the sheet!
    • My Site
Re: Johnny5 help
« Reply #14 on: March 10, 2007, 08:43:01 pm »
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:   

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 10:27:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Johnny5 help
« Reply #15 on: March 10, 2007, 09:21:06 pm »
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.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 10:27:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Johnny5 help
« Reply #16 on: March 10, 2007, 09:44:58 pm »
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!

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 10:27:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Johnny5 help
« Reply #17 on: March 10, 2007, 10:10:39 pm »
Crap... I don't know where my head is today.... found a minor bug, please hold.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 10:27:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Johnny5 help
« Reply #18 on: March 11, 2007, 06:36:41 pm »
It was fixed (as of last night)... sorry I only posted the update on my site.

Dustin Mustangs

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:September 14, 2017, 11:43:18 am
  • Cut the sheet!
    • My Site
Re: Johnny5 help
« Reply #19 on: March 12, 2007, 09:25:09 am »
Thanks Howard!  I can't wait to try it out.

 :cheers:


Dustin Mustangs

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:September 14, 2017, 11:43:18 am
  • Cut the sheet!
    • My Site
Re: Johnny5 help
« Reply #20 on: March 16, 2007, 09:25:56 am »
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:

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 10:27:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Johnny5 help
« Reply #21 on: March 17, 2007, 12:26:01 am »
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. 
« Last Edit: March 17, 2007, 12:31:29 am by Howard_Casto »